|
@ -37,7 +37,7 @@ |
|
|
where DEL_FLAG=0 |
|
|
where DEL_FLAG=0 |
|
|
and CUSTOMER_ID=#{customerId} |
|
|
and CUSTOMER_ID=#{customerId} |
|
|
<choose> |
|
|
<choose> |
|
|
<when test="orgPid != ''' and orgPid != null and agencyId != null and agencyId != ''"> |
|
|
<when test="orgPid != '' and orgPid != null and agencyId != null and agencyId != ''"> |
|
|
AND ((AGENCY_ID = #{agencyId} or AGENCY_PIDS LIKE concat('%',#{agencyId}, '%' )) |
|
|
AND ((AGENCY_ID = #{agencyId} or AGENCY_PIDS LIKE concat('%',#{agencyId}, '%' )) |
|
|
or |
|
|
or |
|
|
id =#{orgPid}) |
|
|
id =#{orgPid}) |
|
|