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}