From 4c11fcb07ed8afc22bef4b26b72224e945d250db Mon Sep 17 00:00:00 2001
From: longz <longzhaoz@qq.com>
Date: 星期一, 22 六月 2026 08:57:52 +0800
Subject: [PATCH] 分账fix

---
 ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/controller/ChargingBillController.java |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/controller/ChargingBillController.java b/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/controller/ChargingBillController.java
index 4b26ca7..a6fda40 100644
--- a/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/controller/ChargingBillController.java
+++ b/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/controller/ChargingBillController.java
@@ -154,6 +154,8 @@
         accountListVO.setRefundAmount(res.getRefundAmount().setScale(2, BigDecimal.ROUND_DOWN));
         accountListVO.setCommissionAmount(res.getCommissionAmount().setScale(2, BigDecimal.ROUND_DOWN));
         accountListVO.setSharingAmount(res.getSharingAmount().setScale(2, BigDecimal.ROUND_DOWN));
+        accountListVO.setPlatformIncome(res.getPlatformIncome().setScale(2, BigDecimal.ROUND_DOWN));
+        accountListVO.setPartnerIncome(res.getPartnerIncome().setScale(2, BigDecimal.ROUND_DOWN));
         accountListVO.setList(res.getList());
         accountListVO.setOrderList(res.getExportList());
         return R.ok(accountListVO);
@@ -203,6 +205,8 @@
             tChargingBillExport.setBillWeek(orderInvoiceVO.getBillWeek());
             tChargingBillExport.setSiteName(orderInvoiceVO.getSiteName());
             tChargingBillExport.setPaymentAmount(orderInvoiceVO.getPaymentAmount());
+            tChargingBillExport.setPlatformIncome(orderInvoiceVO.getPlatformIncome());
+            tChargingBillExport.setPartnerIncome(orderInvoiceVO.getPartnerIncome());
             tChargingBillExport.setElectrovalence(orderInvoiceVO.getElectrovalence());
             tChargingBillExport.setServiceCharge(orderInvoiceVO.getServiceCharge());
             tChargingBillExport.setChargingCapacity(orderInvoiceVO.getChargingCapacity());
@@ -276,6 +280,8 @@
             tChargingBillExport.setBillWeek(orderInvoiceVO.getBillWeek());
             tChargingBillExport.setSiteName(orderInvoiceVO.getSiteName());
             tChargingBillExport.setPaymentAmount(orderInvoiceVO.getPaymentAmount());
+            tChargingBillExport.setPlatformIncome(orderInvoiceVO.getPlatformIncome());
+            tChargingBillExport.setPartnerIncome(orderInvoiceVO.getPartnerIncome());
             tChargingBillExport.setElectrovalence(orderInvoiceVO.getElectrovalence());
             tChargingBillExport.setServiceCharge(orderInvoiceVO.getServiceCharge());
             tChargingBillExport.setChargingCapacity(orderInvoiceVO.getChargingCapacity());

--
Gitblit v1.7.1