@ -953,6 +953,7 @@
FROM ic_resi_user
WHERE
STATUS = '0'
AND DEL_FLAG = '0'
AND CUSTOMER_ID = #{customerId}
<if test="pids != null and pids.trim() != ''">
and ( AGENCY_ID = #{agencyId} OR PIDS like CONCAT(#{pids}, '%') )