|
@ -294,6 +294,7 @@ |
|
|
IFNULL(REMARKS,'') AS REMARKS |
|
|
IFNULL(REMARKS,'') AS REMARKS |
|
|
FROM ic_resi_user |
|
|
FROM ic_resi_user |
|
|
WHERE DEL_FLAG = '0' |
|
|
WHERE DEL_FLAG = '0' |
|
|
|
|
|
AND CUSTOMER_ID = #{customerId} |
|
|
<if test="level != null and level != ''"> |
|
|
<if test="level != null and level != ''"> |
|
|
<if test="level=='agency'"> |
|
|
<if test="level=='agency'"> |
|
|
AND (AGENCY_ID = #{id} OR PIDS LIKE CONCAT('%',#{id},'%')) |
|
|
AND (AGENCY_ID = #{id} OR PIDS LIKE CONCAT('%',#{id},'%')) |
|
|