|
@ -80,7 +80,7 @@ |
|
|
AND c.CUSTOMER_ID = #{customerId} |
|
|
AND c.CUSTOMER_ID = #{customerId} |
|
|
</if> |
|
|
</if> |
|
|
<if test="agencyId != null and agencyId != ''"> |
|
|
<if test="agencyId != null and agencyId != ''"> |
|
|
AND p.AGENCY_PIDS like '%${agencyId}%' OR p.AGENCY_ID = #{agencyId} |
|
|
AND p.AGENCY_ID = #{agencyId} |
|
|
</if> |
|
|
</if> |
|
|
group by p.id |
|
|
group by p.id |
|
|
</where> |
|
|
</where> |
|
|