解决长者审核历史能看到其他老人信息bug

This commit is contained in:
1378012178@qq.com 2026-02-04 13:40:22 +08:00
parent ad02e519ad
commit 8244c9d43d
1 changed files with 3 additions and 0 deletions

View File

@ -100,6 +100,9 @@
<if test="dto.name != null and dto.name != ''">
and mi.name like concat('%', #{dto.name}, '%')
</if>
<if test="dto.guardianOpenId != null and dto.guardianOpenId != ''">
and mi.guardian_open_id = #{dto.guardianOpenId}
</if>
<if test="dto.guardianName != null and dto.guardianName != ''">
and mi.guardian_name like concat('%', #{dto.guardianName}, '%')
</if>