|
|
@ -371,6 +371,7 @@ |
|
|
|
WHERE |
|
|
|
cg.DEL_FLAG = '0' |
|
|
|
AND cg.PID =#{agencyId} |
|
|
|
order by cg.sort |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="selectSubAgencyByPid" resultMap="treeMap"> |
|
|
@ -715,14 +716,6 @@ |
|
|
|
agency.CUSTOMER_ID as customerId, |
|
|
|
agency.longitude, |
|
|
|
agency.latitude, |
|
|
|
CASE |
|
|
|
WHEN LOCATE( '一', ORGANIZATION_NAME ) = 1 THEN |
|
|
|
1 |
|
|
|
WHEN LOCATE( '二', ORGANIZATION_NAME ) = 1 THEN |
|
|
|
2 |
|
|
|
WHEN LOCATE( '三', ORGANIZATION_NAME ) = 1 THEN |
|
|
|
3 |
|
|
|
END |
|
|
|
FROM |
|
|
|
CUSTOMER_AGENCY agency |
|
|
|
WHERE |
|
|
|