mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-13 03:39:55 +08:00
update 首页数据大屏
This commit is contained in:
@@ -532,10 +532,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<!-- 按merchantId分组汇总settle_order_report(每个商户一行,Java再汇总) -->
|
<!-- 按merchantId分组汇总settle_order_report(每个商户一行,Java再汇总) -->
|
||||||
<select id="getSettleReportGroupByMerchant" resultType="com.jsowell.pile.vo.web.IndexGeneralSituationVO">
|
<select id="getSettleReportGroupByMerchant" 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 settle_order_report t1
|
from settle_order_report t1
|
||||||
where t1.del_flag = '0'
|
where t1.del_flag = '0'
|
||||||
<if test="merchantIdList != null and merchantIdList.size() > 0">
|
<if test="merchantIdList != null and merchantIdList.size() > 0">
|
||||||
@@ -544,6 +544,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
#{item}
|
#{item}
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
|
group by t1.merchant_id
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 按stationId查settle_order_report原始行,Java汇总返回 -->
|
<!-- 按stationId查settle_order_report原始行,Java汇总返回 -->
|
||||||
|
|||||||
Reference in New Issue
Block a user