Browse Source

+ 告警数据对接

chen.cheng 1 month ago
parent
commit
6248d0d07b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ems/ems-core/src/main/resources/mapper/ems/ElecMeterHMapper.xml

+ 1 - 1
ems/ems-core/src/main/resources/mapper/ems/ElecMeterHMapper.xml

@@ -243,7 +243,7 @@
         SUM(use_elec_cost) use_elec_cost
         from adm_elec_meter_h aemh
         where `date` like concat(#{startRecTime}, '%')
-        <if test="areaCode != null and areaCode != ''">and aemh.area_code = #{areaCode}</if>
+        <if test="areaCode != null and areaCode != '' and areaCode !='-1'">and aemh.area_code = #{areaCode}</if>
     </select>
 
     <select id="qryTimeIndexElecMeterByDay" resultMap="ElecMeterHResult">