修改数据大屏
This commit is contained in:
parent
b5d7c801ad
commit
f531afb503
@ -181,7 +181,7 @@
|
||||
SELECT
|
||||
DATE_FORMAT( end_time, "%Y-%m-%d" ) end_time,
|
||||
count( history_order_id ) number,
|
||||
sum(act_power_price+act_service_price) actPrice
|
||||
FLOOR(ifnull(sum(act_power_price+act_service_price),0)) actPrice
|
||||
FROM
|
||||
xhpc_history_order
|
||||
WHERE
|
||||
|
||||
@ -35,13 +35,13 @@
|
||||
</select>
|
||||
<select id="selectByTenantIdsAndCharingStationIds" resultType="Map">
|
||||
select
|
||||
ROUND(ro.charging_degree,2) as chargingDegree,
|
||||
ifnull(ROUND(ro.charging_degree,2),0) as chargingDegree,
|
||||
DATE_FORMAT(co.start_time,"%H:%i") as startTime,
|
||||
ro.amount_charged amountCharged,
|
||||
ro.electric_current electricCurrent,
|
||||
ifnull(ro.amount_charged,0) amountCharged,
|
||||
ifnull(ro.electric_current,0) electricCurrent,
|
||||
ro.real_time_order_id as realTimeOrderId,
|
||||
ro.voltage as voltage,
|
||||
ro.soc as soc,
|
||||
ifnull(ro.voltage,0) as voltage,
|
||||
ifnull(ro.soc,0) as soc,
|
||||
ro.charging_time chargingTime,
|
||||
CASE
|
||||
WHEN co.charging_mode = "新电途" THEN
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user