修复风险管控台账管控责任人搜索无效的问题

0927cmt
songwenxuan 2024-06-13 19:17:36 +08:00
parent 8b88ae3f62
commit 523290ad6a
1 changed files with 5 additions and 1 deletions

View File

@ -280,7 +280,11 @@
and f.ACCIDENTS LIKE CONCAT(CONCAT('%', #{pd.BIANMA}),'%')
</if>
<if test="pd.gkzrName != null and pd.gkzrName != ''">
and u.NAME LIKE CONCAT(CONCAT('%', #{pd.gkzrName}),'%')
and (
u.NAME LIKE CONCAT(CONCAT('%', #{pd.gkzrName}),'%')
or
f.USER_ID LIKE CONCAT(CONCAT('%', #{pd.gkzrName}),'%')
)
</if>
order by f.CREATTIME desc, f.SORT asc,f.OPERATTIME asc ,RISKUNITNAME desc ,PARTSNAME desc
</select>