From 4ad2b9d3c88251b34030dde82af003701511003e Mon Sep 17 00:00:00 2001 From: Lemon Date: Sat, 23 Dec 2023 09:49:44 +0800 Subject: [PATCH] =?UTF-8?q?update=20=20=E8=AE=A2=E5=8D=95=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E6=B7=BB=E5=8A=A0=E5=B0=96=E5=B3=B0=E5=B9=B3=E8=B0=B7?= =?UTF-8?q?=E5=9B=9B=E4=B8=AA=E6=97=B6=E6=AE=B5=E7=94=A8=E7=94=B5=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/jsowell/pile/vo/web/OrderListVO.java | 24 +++++++++++++++++++ .../mapper/pile/OrderBasicInfoMapper.xml | 4 ++++ 2 files changed, 28 insertions(+) diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/vo/web/OrderListVO.java b/jsowell-pile/src/main/java/com/jsowell/pile/vo/web/OrderListVO.java index 2e7929449..039e912b0 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/vo/web/OrderListVO.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/vo/web/OrderListVO.java @@ -194,6 +194,30 @@ public class OrderListVO { @Excel(name = "服务费") private BigDecimal totalServiceAmount; + /** + * 尖时段用电量 + */ + @Excel(name = "尖时段用电量") + private BigDecimal sharpElectricity; + + /** + * 峰时段用电量 + */ + @Excel(name = "峰时段用电量") + private BigDecimal peakElectricity; + + /** + * 平时段用电量 + */ + @Excel(name = "平时段用电量") + private BigDecimal flatElectricity; + + /** + * 谷时段用电量 + */ + @Excel(name = "谷时段用电量") + private BigDecimal valleyElectricity; + /** * 虚拟金额 */ diff --git a/jsowell-pile/src/main/resources/mapper/pile/OrderBasicInfoMapper.xml b/jsowell-pile/src/main/resources/mapper/pile/OrderBasicInfoMapper.xml index 710047832..526e4ca59 100644 --- a/jsowell-pile/src/main/resources/mapper/pile/OrderBasicInfoMapper.xml +++ b/jsowell-pile/src/main/resources/mapper/pile/OrderBasicInfoMapper.xml @@ -192,6 +192,10 @@ t4.total_used_electricity as chargingDegree, t4.total_electricity_amount as totalElectricityAmount, t4.total_service_amount as totalServiceAmount, + t4.sharp_used_electricity as sharpElectricity, + t4.peak_used_electricity as peakElectricity, + t4.flat_used_electricity as flatElectricity, + t4.valley_used_electricity as valleyElectricity, t5.payment_institutions as paymentInstitutions from order_basic_info t1 left join member_basic_info t2 on t1.member_id = t2.member_id and t2.del_flag = '0'