mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-29 07:25:05 +08:00
Merge branch 'dev' of http://192.168.2.2:8099/jsowell/jsowell-charger-web into dev
This commit is contained in:
@@ -2701,7 +2701,8 @@
|
||||
use_electricity AS totalElectricity,
|
||||
total_amount as totalOrderAmount
|
||||
from settle_order_report
|
||||
where date(trade_date) >= DATE_SUB(CURDATE(), INTERVAL 30 day)
|
||||
where del_flag = '0'
|
||||
and date(trade_date) >= DATE_SUB(CURDATE(), INTERVAL 30 day)
|
||||
<if test="dto.stationId != null and dto.stationId != ''">
|
||||
and station_id = #{dto.stationId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user