提交 7fdec82c authored 作者: 刘海泉's avatar 刘海泉

新增取消运单、货单对应的方法,恢复到上级对应的吨数

上级 89ad9748
...@@ -1006,7 +1006,7 @@ public class OrderGoodsServiceImpl implements OrderGoodsService, InitializingBea ...@@ -1006,7 +1006,7 @@ public class OrderGoodsServiceImpl implements OrderGoodsService, InitializingBea
orderGoodsLog.setCreateBy(param.getCreateBy()); orderGoodsLog.setCreateBy(param.getCreateBy());
orderGoodsLog.setRemark("货主发起减吨请求,当前已挂单量超过总拉运量,自动取消"); orderGoodsLog.setRemark("货主发起减吨请求,当前已挂单量超过总拉运量,自动取消");
orderGoodsLogs.add(orderGoodsLog); orderGoodsLogs.add(orderGoodsLog);
totalCancelWeight.add(Objects.nonNull(orderGoods.getResidueTransportWeight())? totalCancelWeight = totalCancelWeight.add(Objects.nonNull(orderGoods.getResidueTransportWeight())?
orderGoods.getResidueTransportWeight() : BigDecimal.ZERO); orderGoods.getResidueTransportWeight() : BigDecimal.ZERO);
} }
orderGoodsLogService.saveBatchLog(orderGoodsLogs); orderGoodsLogService.saveBatchLog(orderGoodsLogs);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论