|
@ -77,13 +77,13 @@ |
|
|
<where> |
|
|
<where> |
|
|
delete_flag = 'normal' |
|
|
delete_flag = 'normal' |
|
|
<if test="residentName != null and residentName != ''"> |
|
|
<if test="residentName != null and residentName != ''"> |
|
|
AND resident_name = #{residentName} |
|
|
AND resident_name like '%${residentName}%' |
|
|
</if> |
|
|
</if> |
|
|
<if test="houseName != null and houseName != ''"> |
|
|
<if test="houseName != null and houseName != ''"> |
|
|
AND house_name = #{houseName} |
|
|
AND house_name like '%${houseName}%' |
|
|
</if> |
|
|
</if> |
|
|
<if test="renterName != null and renterName != ''"> |
|
|
<if test="renterName != null and renterName != ''"> |
|
|
AND renter_name = #{renterName} |
|
|
AND renter_name like '%${renterName}%' |
|
|
</if> |
|
|
</if> |
|
|
</where> |
|
|
</where> |
|
|
</select> |
|
|
</select> |
|
|