From e37f5140b969f6fbcebef101305527f4e7bfd493 Mon Sep 17 00:00:00 2001 From: "lisai17@sina.com" Date: Wed, 17 Mar 2021 11:12:01 +0800 Subject: [PATCH] . --- .../ssjygl/order/ordercluster/OrderclusterSyncService.java | 2 ++ 1 file changed, 2 insertions(+) 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 3097819..bf7d87f 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 @@ -723,6 +723,7 @@ public class OrderclusterSyncService extends BaseSyncService { BigDecimal offset_total_price = ofsset_weight.multiply(oldobj.getUnitPrice()); // 本次修改增加的价格 plan_total_price = offset_total_price.add(undo_price); // 剩余未完成金额加上本次增加的金额 + // 线上调试 log.debug("已完成:%s", overweight); log.debug("旧配额:%s", oldobj.getTotalWeight()); log.debug("本调整:%s", ofsset_weight); @@ -734,6 +735,7 @@ public class OrderclusterSyncService extends BaseSyncService { BigDecimal offset_total_price = ofsset_weight.multiply(oldobj.getUnitPrice()); // 本次修改增加的价格 plan_total_price = undo_price.subtract(offset_total_price); // 剩余未完成金额加上本次增加的金额 + // 线上调试 log.debug("已完成:%s", overweight); log.debug("旧配额:%s", oldobj.getTotalWeight()); log.debug("本调整:%s", ofsset_weight);