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