Browse Source

排名bug

dev_shibei_match
jianjun 4 years ago
parent
commit
7f0b3b48a0
  1. 6
      epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenIndexDataMonthlyDao.xml

6
epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenIndexDataMonthlyDao.xml

@ -260,10 +260,10 @@
WHERE WHERE
dm.del_flag = '0' dm.del_flag = '0'
AND rd.del_flag = '0' AND rd.del_flag = '0'
<if test="customerId != null and customerId != ''">
AND org.CUSTOMER_ID = #{customerId}
</if>
<choose> <choose>
<when test="customerId != null and customerId != ''">
AND org.CUSTOMER_ID = #{customerId}
</when>
<when test="areaCode != null and areaCode != ''"> <when test="areaCode != null and areaCode != ''">
AND org.AREA_CODE LIKE concat(#{areaCode}, '%') AND org.AREA_CODE LIKE concat(#{areaCode}, '%')
</when> </when>

Loading…
Cancel
Save