@ -208,6 +208,9 @@
<if test="customerId != null and customerId != '' ">
AND a.customer_id = #{customerId}
</if>
<if test="staffId != null and staffId != '' ">
AND a.created_by = #{staffId}
<if test="agencyId != null and agencyId != '' ">
AND a.org_id_path like concat('%',#{agencyId},'%')