@ -955,7 +955,7 @@
STATUS = '0'
AND CUSTOMER_ID = #{customerId}
<if test="pids != null and pids.trim() != ''">
and AGENCY_ID = #{agencyId} OR PIDS like CONCAT(#{pids}, '%')
and ( AGENCY_ID = #{agencyId} OR PIDS like CONCAT(#{pids}, '%') )
</if>
<if test="gridId != null and gridId.trim() != ''">
and GRID_ID = #{gridId}