提交 d96b7845 authored 作者: huyufan's avatar huyufan

修改bug

上级 88987fe7
......@@ -87,6 +87,7 @@ public class OneGoodsOrderStrategy implements GoodsOrderStrategy, InitializingBe
//提取吨数
orderGoods.setExtractWeight(child.getExtractWeight());
orderGoods.setResidueTransportWeight(child.getExtractWeight());
orderGoods.setAlreadyTransportWeight(BigDecimal.ZERO);
orderGoods.setLossPrice(orderInfo.getLossPrice());
orderGoods.setTruckDemand(TruckDemandEnum.TruckType.PLATFORM_CAR.getCode());
//提取方式 1提取全部 2提取部分
......
......@@ -85,6 +85,8 @@ public class ThreeGoodsOrderStrategy implements GoodsOrderStrategy, Initializing
//提取吨数
orderGoods.setExtractWeight(child.getExtractWeight());
orderGoods.setResidueTransportWeight(child.getExtractWeight());
orderGoods.setAlreadyTransportWeight(BigDecimal.ZERO);
orderGoods.setLossPrice(orderInfo.getLossPrice());
orderGoods.setTruckDemand(TruckDemandEnum.TruckType.OWNER_CAR.getCode());
......
......@@ -92,6 +92,8 @@ public class TwoGoodsOrderStrategy implements GoodsOrderStrategy, InitializingBe
//提取吨数
orderGoods.setExtractWeight(child.getExtractWeight());
orderGoods.setResidueTransportWeight(child.getExtractWeight());
orderGoods.setAlreadyTransportWeight(BigDecimal.ZERO);
orderGoods.setLossPrice(orderInfo.getLossPrice());
orderGoods.setTruckDemand(TruckDemandEnum.TruckType.PLATFORM_ANY_CAR.getCode());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论