修改首页数据接口bug

This commit is contained in:
Guoqs
2024-06-14 15:25:58 +08:00
parent 53d83bf1af
commit f77fcfec80
3 changed files with 7 additions and 7 deletions

View File

@@ -381,9 +381,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="getGeneralSituationInfo" resultType="com.jsowell.pile.vo.web.IndexGeneralSituationVO">
select
sum(t1.total_amount) as totalChargingAmount,
sum(t1.use_electricity) as totalChargingDegree,
sum(t1.charge_num) as totalChargingQuantity
ifnull(sum(t1.total_amount), 0) as totalChargingAmount,
ifnull(sum(t1.use_electricity), 0) as totalChargingDegree,
ifnull(sum(t1.charge_num), 0) as totalChargingQuantity
from
settle_order_report t1
where