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