1 Commits

Author SHA1 Message Date
Lemon
d4d284eceb bugfix 首页数据查询超时 2026-05-27 09:14:46 +08:00

View File

@@ -400,10 +400,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="getGeneralSituationInfo" resultType="com.jsowell.pile.vo.web.IndexGeneralSituationVO">
select
t1.total_amount as totalChargingAmount,
t1.settle_amount as totalSettleAmount,
t1.use_electricity as totalChargingDegree,
t1.charge_num as totalChargingQuantity
ifnull(sum(t1.total_amount), 0) as totalChargingAmount,
ifnull(sum(t1.settle_amount), 0) as totalSettleAmount,
ifnull(sum(t1.use_electricity), 0) as totalChargingDegree,
ifnull(sum(t1.charge_num), 0) as totalChargingQuantity
from
settle_order_report t1
where
@@ -418,6 +418,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{item}
</foreach>
</if>
group by t1.station_id
</select>
<select id="getMaxNumPileInfo" resultMap="PileBasicInfoResult">