长者管理-审核管理-审核历史搜索sql调整

This commit is contained in:
1378012178@qq.com 2026-02-03 09:27:57 +08:00
parent 90c84e4c27
commit 1cf70a456c
1 changed files with 4 additions and 2 deletions

View File

@ -98,8 +98,10 @@
left join nu_biz_elder_info ei on mi.pk_id = ei.id
<where>
<if test="dto.name != null and dto.name != ''">
and (ei.name like concat('%', #{dto.name}, '%')
or ei.guardian_name like concat('%', #{dto.name}, '%'))
and mi.name like concat('%', #{dto.name}, '%')
</if>
<if test="dto.guardianName != null and dto.guardianName != ''">
and mi.guardian_name like concat('%', #{dto.guardianName}, '%')
</if>
<if test="dto.modifyType != null and dto.modifyType != ''">
and mi.modify_type = #{dto.modifyType}