长者管理-审核管理-审核历史搜索sql调整
This commit is contained in:
parent
90c84e4c27
commit
1cf70a456c
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in New Issue