|
|
@ -1005,9 +1005,11 @@ |
|
|
|
AND gsr.del_flag = '0' |
|
|
|
AND gsr.role_name = '网格员' |
|
|
|
AND cs.customer_id = #{customerId} |
|
|
|
<foreach collection="staffIdList" item="staffId" open="AND cs.USER_ID IN (" separator="," close=")"> |
|
|
|
#{staffId} |
|
|
|
</foreach> |
|
|
|
<if test="staffIdList != null and staffIdList.size() > 0"> |
|
|
|
<foreach collection="staffIdList" item="staffId" open="AND cs.USER_ID IN (" separator="," close=")"> |
|
|
|
#{staffId} |
|
|
|
</foreach> |
|
|
|
</if> |
|
|
|
</select> |
|
|
|
|
|
|
|
</mapper> |
|
|
|