feat(shop): 添加客户编号查询功能

- 在 ShopDealerApplyParam 中新增 dealerCode 字段用于客户编号查询
- 在 ShopDealerApplyMapper.xml 中添加 dealer_code 查询条件
- 实现按客户编号精确匹配的查询逻辑
- 更新参数校验和文档注释
This commit is contained in:
2026-01-21 17:40:51 +08:00
parent 492928667a
commit a6aba2c49b
2 changed files with 6 additions and 0 deletions

View File

@@ -40,6 +40,9 @@
<if test="param.dealerName != null">
AND a.dealer_name LIKE CONCAT('%', #{param.dealerName}, '%')
</if>
<if test="param.dealerCode != null">
AND a.dealer_code = #{param.dealerCode}
</if>
<if test="param.refereeId != null">
AND a.referee_id = #{param.refereeId}
</if>

View File

@@ -34,6 +34,9 @@ public class ShopDealerApplyParam extends BaseParam {
@QueryField(type = QueryType.EQ)
private Integer userId;
@Schema(description = "客户编号")
private String dealerCode;
@Schema(description = "姓名")
private String realName;