From 3a641ecf65d1e4cbcd14d0cab169a2665fe36ffb Mon Sep 17 00:00:00 2001 From: xjm Date: Fri, 8 Mar 2024 14:51:37 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E5=8A=9F=E8=83=BD=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ssjygl/order/ordercluster/OrderclusterSyncService.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ssjygl-xsx-service/src/main/java/com/cowr/service/ssjygl/order/ordercluster/OrderclusterSyncService.java b/ssjygl-xsx-service/src/main/java/com/cowr/service/ssjygl/order/ordercluster/OrderclusterSyncService.java index 8a418bf..087c066 100644 --- a/ssjygl-xsx-service/src/main/java/com/cowr/service/ssjygl/order/ordercluster/OrderclusterSyncService.java +++ b/ssjygl-xsx-service/src/main/java/com/cowr/service/ssjygl/order/ordercluster/OrderclusterSyncService.java @@ -592,8 +592,10 @@ public class OrderclusterSyncService extends BaseSyncService { } // 客户在所有砂站的未完成的配额中,未执行完成的总金额 - BigDecimal undo_price = OrderclusterService.me.undoPrice(model.getCustomerId(), 1); - BigDecimal plan_total_price = model.getTotalWeight().multiply(unitprice).add(undo_price).setScale(2, BigDecimal.ROUND_HALF_UP); // 本次配额总价格 +// BigDecimal undo_price = OrderclusterService.me.undoPrice(model.getCustomerId(), 1); +// BigDecimal plan_total_price = model.getTotalWeight().multiply(unitprice).add(undo_price).setScale(2, BigDecimal.ROUND_HALF_UP); // 本次配额总价格 + + BigDecimal plan_total_price = model.getTotalWeight().multiply(unitprice).setScale(2, BigDecimal.ROUND_HALF_UP); // 本次配额总价格 // 本次计划总额加上未完成的量,不能超过余额 if (plan_total_price.compareTo(surplus) > 0) {