提交 6ed9ff0f authored 作者: aiqingguo's avatar aiqingguo

运单流程

上级 8f22c54d
......@@ -869,22 +869,21 @@ public class OrderChildServiceImpl implements OrderChildService {
* 更新货单数据
*/
private void updateOrderGoodsAmount(OrderGoods orderGoods, BigDecimal weight){
orderGoodsDao.updateOrderGoodsReduceWeightAndStatus(orderGoods.getId(), weight);
orderGoodsService.updateOrderGoodsReduceWeightAndStatus(orderGoods.getId(), weight);
}
/**
* 取消返吨数
*/
private void updateOrderGoodsAmountReturn(OrderChild orderChild, OrderGoods orderGoods){
orderGoodsDao.updateOrderGoodsReduceWeightAndStatus(orderGoods.getId(), orderChild.getWeight().negate());
orderGoodsService.updateOrderGoodsReduceWeightAndStatus(orderGoods.getId(), orderChild.getWeight().negate());
}
/**
* 装车补偿
*/
private void updateOrderGoodsAmountLoad(OrderGoods orderGoods, BigDecimal dif){
orderGoodsDao.updateOrderGoodsReduceWeightAndStatus(orderGoods.getId(), dif);
orderGoodsService.updateOrderGoodsReduceWeightAndStatus(orderGoods.getId(), dif);
}
/**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论