dev
parent
1b7d64c620
commit
e37f5140b9
|
|
@ -723,6 +723,7 @@ public class OrderclusterSyncService extends BaseSyncService {
|
||||||
BigDecimal offset_total_price = ofsset_weight.multiply(oldobj.getUnitPrice()); // 本次修改增加的价格
|
BigDecimal offset_total_price = ofsset_weight.multiply(oldobj.getUnitPrice()); // 本次修改增加的价格
|
||||||
plan_total_price = offset_total_price.add(undo_price); // 剩余未完成金额加上本次增加的金额
|
plan_total_price = offset_total_price.add(undo_price); // 剩余未完成金额加上本次增加的金额
|
||||||
|
|
||||||
|
// 线上调试
|
||||||
log.debug("已完成:%s", overweight);
|
log.debug("已完成:%s", overweight);
|
||||||
log.debug("旧配额:%s", oldobj.getTotalWeight());
|
log.debug("旧配额:%s", oldobj.getTotalWeight());
|
||||||
log.debug("本调整:%s", ofsset_weight);
|
log.debug("本调整:%s", ofsset_weight);
|
||||||
|
|
@ -734,6 +735,7 @@ public class OrderclusterSyncService extends BaseSyncService {
|
||||||
BigDecimal offset_total_price = ofsset_weight.multiply(oldobj.getUnitPrice()); // 本次修改增加的价格
|
BigDecimal offset_total_price = ofsset_weight.multiply(oldobj.getUnitPrice()); // 本次修改增加的价格
|
||||||
plan_total_price = undo_price.subtract(offset_total_price); // 剩余未完成金额加上本次增加的金额
|
plan_total_price = undo_price.subtract(offset_total_price); // 剩余未完成金额加上本次增加的金额
|
||||||
|
|
||||||
|
// 线上调试
|
||||||
log.debug("已完成:%s", overweight);
|
log.debug("已完成:%s", overweight);
|
||||||
log.debug("旧配额:%s", oldobj.getTotalWeight());
|
log.debug("旧配额:%s", oldobj.getTotalWeight());
|
||||||
log.debug("本调整:%s", ofsset_weight);
|
log.debug("本调整:%s", ofsset_weight);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue