|
@ -1050,7 +1050,7 @@ |
|
|
and LEVEL = 'community' |
|
|
and LEVEL = 'community' |
|
|
AND CUSTOMER_ID = #{customerId} |
|
|
AND CUSTOMER_ID = #{customerId} |
|
|
<if test="staffAgencyId != null and staffAgencyId != ''"> |
|
|
<if test="staffAgencyId != null and staffAgencyId != ''"> |
|
|
AND PIDS like concat('%',#{staffAgencyId},'%') |
|
|
AND (PIDS like concat('%',#{staffAgencyId},'%') or ID = #{staffAgencyId}) |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|