lisai17@sina.com 2021-03-17 11:12:01 +08:00
parent 1b7d64c620
commit e37f5140b9
1 changed files with 2 additions and 0 deletions

View File

@ -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);