feat(credit): 扩展信用公司搜索功能并添加被执行人字段
- 修改CreditCompanyMapper.xml中的搜索条件,增加名称和匹配名称的模糊搜索 - 添加对信用代码的精确搜索功能 - 在CreditJudgmentDebtor实体中新增name1字段用于存储被执行人信息 - 为name1字段添加数据导入参数映射配置 - 更新数据库查询逻辑以支持多字段搜索匹配
This commit is contained in:
@@ -35,6 +35,9 @@ public class CreditJudgmentDebtor implements Serializable {
|
||||
@Schema(description = "被执行人名称")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "被执行人")
|
||||
private String name1;
|
||||
|
||||
@Schema(description = "证件号/组织机构代码")
|
||||
private String code;
|
||||
|
||||
|
||||
@@ -188,9 +188,11 @@
|
||||
AND a.create_time <= #{param.createTimeEnd}
|
||||
</if>
|
||||
<if test="param.keywords != null">
|
||||
AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
)
|
||||
</if>
|
||||
AND (a.name LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
OR a.match_name LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
OR a.code = #{param.keywords}
|
||||
)
|
||||
</if>
|
||||
</where>
|
||||
</sql>
|
||||
|
||||
|
||||
@@ -18,6 +18,9 @@ public class CreditJudgmentDebtorImportParam implements Serializable {
|
||||
@Excel(name = "被执行人名称")
|
||||
private String name;
|
||||
|
||||
@Excel(name = "被执行人")
|
||||
private String name1;
|
||||
|
||||
@Excel(name = "证件号/组织机构代码")
|
||||
private String code;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user