Browse Source

nextlevelareacodelist修改

dev_shibei_match
yinzuomei 4 years ago
parent
commit
ffd3d6252f
  1. 2
      epmet-module/data-aggregator/data-aggregator-server/src/main/resources/mapper/govorg/CustomerAgencyDao.xml
  2. 1
      epmet-module/data-aggregator/data-aggregator-server/src/main/resources/mapper/opercrm/CustomerRelationDao.xml

2
epmet-module/data-aggregator/data-aggregator-server/src/main/resources/mapper/govorg/CustomerAgencyDao.xml

@ -24,7 +24,7 @@
<select id="selectUsedAreaCodeList" parameterType="java.lang.String" resultType="java.lang.String">
SELECT
ca.AREA_CODE
distinct ca.AREA_CODE
FROM
customer_agency ca
WHERE

1
epmet-module/data-aggregator/data-aggregator-server/src/main/resources/mapper/opercrm/CustomerRelationDao.xml

@ -10,6 +10,7 @@
customer_relation cr
WHERE
cr.DEL_FLAG = '0'
and cr.CUSTOMER_TYPE='external'
AND cr.AREA_CODE LIKE concat(#{areaCode}, '%')
AND cr.AREA_CODE != #{areaCode}
</select>

Loading…
Cancel
Save