浏览代码

修改查询省份的省电量有些为0的异常

zhj 9 月之前
父节点
当前提交
4616114ae7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/mapper/LampInfoLogNewMapper.xml

+ 1 - 1
src/main/resources/mapper/LampInfoLogNewMapper.xml

@@ -127,7 +127,7 @@
     <!--  查询各省份的省电量  -->
     <select id="getLampLogProvinceList" resultType="LampInfoLogNewDTO">
         SELECT
-        SUM(l.total_ele_save) AS totalEleSaveDouble,
+        SUM(l.total_ele_save_cache) AS totalEleSaveDouble,
         c.id AS provinceId
         <choose>
             <when test="version == 2">