提交 88dccfa4 authored 作者: liruixin's avatar liruixin

Merge branch 'v4.9_create_goods_child_20230918' into test

......@@ -1119,7 +1119,7 @@ public class OrderChildServiceImpl implements OrderChildService {
BigDecimal lossDeduction=BigDecimal.ZERO;
if(Objects.nonNull(orderChild.getLoadNet()) && Objects.nonNull(orderChild.getUnloadNet())){
if(orderChild.getLoadNet().compareTo(orderChild.getUnloadNet()) >0){
lossDeduction = carrierOrderChildDetailVO.getLossPrice().multiply(orderChild.getLoadNet().subtract(orderChild.getUnloadNet()));
lossDeduction = carrierOrderChildDetailVO.getLossPrice().movePointLeft(2).multiply(orderChild.getLoadNet().subtract(orderChild.getUnloadNet()));
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论