mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-12 19:29:52 +08:00
Compare commits
1 Commits
dev
...
feature-BI
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d4d284eceb |
@@ -400,10 +400,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
|
|
||||||
<select id="getGeneralSituationInfo" resultType="com.jsowell.pile.vo.web.IndexGeneralSituationVO">
|
<select id="getGeneralSituationInfo" resultType="com.jsowell.pile.vo.web.IndexGeneralSituationVO">
|
||||||
select
|
select
|
||||||
t1.total_amount as totalChargingAmount,
|
ifnull(sum(t1.total_amount), 0) as totalChargingAmount,
|
||||||
t1.settle_amount as totalSettleAmount,
|
ifnull(sum(t1.settle_amount), 0) as totalSettleAmount,
|
||||||
t1.use_electricity as totalChargingDegree,
|
ifnull(sum(t1.use_electricity), 0) as totalChargingDegree,
|
||||||
t1.charge_num as totalChargingQuantity
|
ifnull(sum(t1.charge_num), 0) as totalChargingQuantity
|
||||||
from
|
from
|
||||||
settle_order_report t1
|
settle_order_report t1
|
||||||
where
|
where
|
||||||
@@ -418,6 +418,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
#{item}
|
#{item}
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
|
group by t1.station_id
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getMaxNumPileInfo" resultMap="PileBasicInfoResult">
|
<select id="getMaxNumPileInfo" resultMap="PileBasicInfoResult">
|
||||||
|
|||||||
Reference in New Issue
Block a user