Browse Source

如果是areaCode parentAreaCode不会为空

master
jianjun 4 years ago
parent
commit
54ef157c7e
  1. 2
      epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenCustomerAgencyDao.xml

2
epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenCustomerAgencyDao.xml

@ -445,6 +445,8 @@
</if> </if>
<if test="areaCode != null and areaCode != ''"> <if test="areaCode != null and areaCode != ''">
AND sca.AREA_CODE like CONCAT(#{areaCode},'%') AND sca.AREA_CODE like CONCAT(#{areaCode},'%')
AND sca.PARENT_AREA_CODE != ''
AND sca.PARENT_AREA_CODE IS NOT NULL
</if> </if>
</select> </select>

Loading…
Cancel
Save