|
@ -30,15 +30,6 @@ |
|
|
<if test='orgId != null and orgId != "" '> |
|
|
<if test='orgId != null and orgId != "" '> |
|
|
AND CONCAT(c.PIDS,':',c.AGENCY_ID) LIKE CONCAT('%',#{orgId},'%') |
|
|
AND CONCAT(c.PIDS,':',c.AGENCY_ID) LIKE CONCAT('%',#{orgId},'%') |
|
|
</if> |
|
|
</if> |
|
|
<if test='neighborHoodId != null and neighborHoodId != "" '> |
|
|
|
|
|
AND c.VILLAGE_ID = #{neighborHoodId} |
|
|
|
|
|
</if> |
|
|
|
|
|
<if test='buildingId != null and buildingId != "" '> |
|
|
|
|
|
AND c.BUILD_ID = #{buildingId} |
|
|
|
|
|
</if> |
|
|
|
|
|
<if test='houseId != null and houseId != "" '> |
|
|
|
|
|
AND c.HOME_ID = #{houseId} |
|
|
|
|
|
</if> |
|
|
|
|
|
<if test='address != null and address != "" '> |
|
|
<if test='address != null and address != "" '> |
|
|
AND c.ADDRESS LIKE CONCAT('%',#{address},'%') |
|
|
AND c.ADDRESS LIKE CONCAT('%',#{address},'%') |
|
|
</if> |
|
|
</if> |
|
|