|
@ -955,7 +955,7 @@ |
|
|
STATUS = '0' |
|
|
STATUS = '0' |
|
|
AND CUSTOMER_ID = #{customerId} |
|
|
AND CUSTOMER_ID = #{customerId} |
|
|
<if test="pids != null and pids.trim() != ''"> |
|
|
<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> |
|
|
<if test="gridId != null and gridId.trim() != ''"> |
|
|
<if test="gridId != null and gridId.trim() != ''"> |
|
|
and GRID_ID = #{gridId} |
|
|
and GRID_ID = #{gridId} |
|
|