Kaynağa Gözat

+ 告警数据对接

chen.cheng 1 ay önce
ebeveyn
işleme
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">