feat(mapper): 更新多个信用模块的关键词搜索功能

- 在CreditBreachOfTrustMapper中添加案件编号关键词搜索
- 在CreditCaseFilingMapper中添加案件编号关键词搜索
- 在CreditCourtAnnouncementMapper中添加案件编号关键词搜索
- 在CreditCourtSessionMapper中添加案件编号关键词搜索
- 在CreditCustomerMapper中添加客户名称关键词搜索
- 在CreditDeliveryNoticeMapper中添加案件编号关键词搜索
- 在CreditExternalMapper中修复外部数据关键词搜索参数
- 在CreditJudgmentDebtorMapper中添加案件编号关键词搜索
- 在CreditJudicialDocumentMapper中添加案件编号关键词搜索
- 在CreditMediationMapper中添加案件编号关键词搜索
- 统一各mapper中的SQL查询格式化缩进
This commit is contained in:
2026-01-30 12:44:42 +08:00
parent e2f3b444ae
commit 0af3b6467d
12 changed files with 15 additions and 5 deletions

View File

@@ -64,6 +64,7 @@
AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%')
OR a.case_number = #{param.keywords}
OR b.name LIKE CONCAT('%', #{param.keywords}, '%')
OR a.case_number LIKE CONCAT('%', #{param.keywords}, '%')
)
</if>
</where>

View File

@@ -75,6 +75,7 @@
<if test="param.keywords != null">
AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%')
OR b.name LIKE CONCAT('%', #{param.keywords}, '%')
OR a.case_number LIKE CONCAT('%', #{param.keywords}, '%')
)
</if>
</where>

View File

@@ -75,6 +75,7 @@
<if test="param.keywords != null">
AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%')
OR b.name LIKE CONCAT('%', #{param.keywords}, '%')
OR a.case_number LIKE CONCAT('%', #{param.keywords}, '%')
)
</if>
</where>

View File

@@ -75,6 +75,7 @@
<if test="param.keywords != null">
AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%')
OR b.name LIKE CONCAT('%', #{param.keywords}, '%')
OR a.case_number LIKE CONCAT('%', #{param.keywords}, '%')
)
</if>
</where>

View File

@@ -60,6 +60,7 @@
<if test="param.keywords != null">
AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%')
OR b.name LIKE CONCAT('%', #{param.keywords}, '%')
OR a.name LIKE CONCAT('%', #{param.keywords}, '%')
)
</if>
</where>

View File

@@ -60,6 +60,7 @@
<if test="param.keywords != null">
AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%')
OR b.name LIKE CONCAT('%', #{param.keywords}, '%')
OR a.case_number LIKE CONCAT('%', #{param.keywords}, '%')
)
</if>
</where>

View File

@@ -87,6 +87,7 @@
<if test="param.keywords != null">
AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%')
OR b.name LIKE CONCAT('%', #{param.keywords}, '%')
OR a.name LIKE CONCAT('%', #{param.name}, '%')
)
</if>
</where>

View File

@@ -67,6 +67,7 @@
AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%')
OR a.case_number = #{param.keywords}
OR b.name LIKE CONCAT('%', #{param.keywords}, '%')
OR a.case_number LIKE CONCAT('%', #{param.keywords}, '%')
)
</if>
</where>

View File

@@ -63,6 +63,7 @@
<if test="param.keywords != null">
AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%')
OR b.name LIKE CONCAT('%', #{param.keywords}, '%')
OR a.case_number LIKE CONCAT('%', #{param.keywords}, '%')
)
</if>
</where>

View File

@@ -75,6 +75,7 @@
<if test="param.keywords != null">
AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%')
OR b.name LIKE CONCAT('%', #{param.keywords}, '%')
OR a.case_number LIKE CONCAT('%', #{param.keywords}, '%')
)
</if>
</where>