From 77c914a38aff6c0d11e0ec7e232358a77e0d0d41 Mon Sep 17 00:00:00 2001 From: "autumn.g@foxmail.com" Date: Wed, 19 Apr 2023 10:59:44 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=9B=B4=E6=96=B0=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/jsowell/api/uniapp/JumpController.java | 2 ++ .../jsowell/pile/service/impl/OrderBasicInfoServiceImpl.java | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/jsowell-admin/src/main/java/com/jsowell/api/uniapp/JumpController.java b/jsowell-admin/src/main/java/com/jsowell/api/uniapp/JumpController.java index 3d2814bc4..8615000ee 100644 --- a/jsowell-admin/src/main/java/com/jsowell/api/uniapp/JumpController.java +++ b/jsowell-admin/src/main/java/com/jsowell/api/uniapp/JumpController.java @@ -74,7 +74,9 @@ public class JumpController extends BaseController { /** * 更新接口 + * http://localhost:8080/app-xcx-h5/pile/updateOrderDetail */ + @GetMapping("updateOrderDetail") public RestApiResponse updateOrderDetail() { orderBasicInfoService.updateElecAmount(); return new RestApiResponse<>(); diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderBasicInfoServiceImpl.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderBasicInfoServiceImpl.java index 7e719ffae..a7c1d520a 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderBasicInfoServiceImpl.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderBasicInfoServiceImpl.java @@ -746,7 +746,6 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService { totalElectricityAmount = totalElectricityAmount.add(multiply); } - // 平时段用电量 BigDecimal flatUsedElectricity = orderDetail.getFlatUsedElectricity(); if (flatUsedElectricity != null) {