Parcourir la source

+ 告警数据对接

chen.cheng il y a 1 mois
Parent
commit
6248d0d07b

+ 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">