From c9a8b4c31fc9e947092c4de8beb2c6a2088c2b63 Mon Sep 17 00:00:00 2001 From: zxc <1272811460@qq.com> Date: Wed, 29 Jun 2022 10:46:11 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A4=BE=E5=8C=BA=E6=9F=A5=E8=AF=A2=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E5=8F=B3=E4=BE=A7=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/IcResiCategoryStatsConfigDao.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epmet-module/oper-customize/oper-customize-server/src/main/resources/mapper/IcResiCategoryStatsConfigDao.xml b/epmet-module/oper-customize/oper-customize-server/src/main/resources/mapper/IcResiCategoryStatsConfigDao.xml index 2493d1a14c..f138b59d0d 100644 --- a/epmet-module/oper-customize/oper-customize-server/src/main/resources/mapper/IcResiCategoryStatsConfigDao.xml +++ b/epmet-module/oper-customize/oper-customize-server/src/main/resources/mapper/IcResiCategoryStatsConfigDao.xml @@ -85,7 +85,7 @@ wc.LEVEL_2 AS level2, wc.LEVEL_3 AS level3 FROM ic_resi_category_stats_config sc - INNER JOIN ic_resi_category_warn_config wc ON (wc.CUSTOMER_ID = sc.CUSTOMER_ID AND wc.COLUMN_NAME = sc.COLUMN_NAME AND wc.WARN = 1) + INNER JOIN ic_resi_category_warn_config wc ON (wc.CUSTOMER_ID = sc.CUSTOMER_ID AND wc.DEL_FLAG = '0' AND wc.COLUMN_NAME = sc.COLUMN_NAME AND wc.WARN = 1) WHERE sc.DEL_FLAG = '0' AND sc.`STATUS` = 'show' AND sc.CUSTOMER_ID = #{customerId}