反参新增字段 订单总电费金额 订单总服务费金额

This commit is contained in:
2023-04-14 08:39:38 +08:00
parent fdfcfd8479
commit 08230095cb
2 changed files with 7 additions and 1 deletions

View File

@@ -81,4 +81,8 @@ public class OrderVO {
* 充电时长 * 充电时长
*/ */
private String chargingTime; private String chargingTime;
private BigDecimal totalElectricityAmount;
private BigDecimal totalServiceAmount;
} }

View File

@@ -735,7 +735,9 @@
t1.pay_amount as payAmount, t1.pay_amount as payAmount,
t2.total_used_electricity as chargingDegree, t2.total_used_electricity as chargingDegree,
t1.charge_start_time as startTime, t1.charge_start_time as startTime,
t1.charge_end_time as endTime t1.charge_end_time as endTime,
t2.total_electricity_amount as totalElectricityAmount,
t2.total_service_amount as totalServiceAmount
from order_basic_info t1 from order_basic_info t1
join order_detail t2 on t1.order_code = t2.order_code join order_detail t2 on t1.order_code = t2.order_code
join pile_station_info t3 on t1.station_id = t3.id join pile_station_info t3 on t1.station_id = t3.id