|
|
@ -130,7 +130,7 @@ |
|
|
|
LEFT JOIN ic_building_unit d on a.BUILDING_UNIT_ID = d.ID and d.DEL_FLAG = '0' |
|
|
|
<where> |
|
|
|
<if test="pids != null and pids != ''"> |
|
|
|
AND c.AGENCY_PIDS like CONCAT(#{pids},'%') |
|
|
|
AND CONCAT(c.AGENCY_PIDS,':',c.AGENCY_ID) like CONCAT(#{pids},'%') |
|
|
|
</if> |
|
|
|
<if test="buildingId != null and buildingId.trim() != ''"> |
|
|
|
AND a.BUILDING_ID = #{buildingId} |
|
|
|