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