|
@@ -259,6 +259,7 @@ public class KwtTransportCommonService {
|
|
|
.eq(KwtLogisticsOrderAmount::getDelFlag, 0)
|
|
.eq(KwtLogisticsOrderAmount::getDelFlag, 0)
|
|
|
);
|
|
);
|
|
|
vo.setLoadAmount(orderAmount != null ? orderAmount.getAmount() : new BigDecimal("0.00"));
|
|
vo.setLoadAmount(orderAmount != null ? orderAmount.getAmount() : new BigDecimal("0.00"));
|
|
|
|
|
+ vo.setAddressId(loadAddress.getId());
|
|
|
loadAddressList.add(vo);
|
|
loadAddressList.add(vo);
|
|
|
|
|
|
|
|
});
|
|
});
|
|
@@ -278,6 +279,7 @@ public class KwtTransportCommonService {
|
|
|
.eq(KwtLogisticsOrderAmount::getDelFlag, 0)
|
|
.eq(KwtLogisticsOrderAmount::getDelFlag, 0)
|
|
|
);
|
|
);
|
|
|
vo.setUnloadAmount(orderAmount != null ? orderAmount.getAmount() : new BigDecimal("0.00"));
|
|
vo.setUnloadAmount(orderAmount != null ? orderAmount.getAmount() : new BigDecimal("0.00"));
|
|
|
|
|
+ vo.setAddressId(unloadAddress.getId());
|
|
|
unloadAddressList.add(vo);
|
|
unloadAddressList.add(vo);
|
|
|
|
|
|
|
|
});
|
|
});
|
|
@@ -1751,7 +1753,7 @@ public class KwtTransportCommonService {
|
|
|
Long orderId = logisticsOrder.getId();
|
|
Long orderId = logisticsOrder.getId();
|
|
|
List<LogisticsOrderLineFreightRateDto> lineFreightRate = params.getLineFreightRate();
|
|
List<LogisticsOrderLineFreightRateDto> lineFreightRate = params.getLineFreightRate();
|
|
|
lineFreightRate.forEach(dto -> {
|
|
lineFreightRate.forEach(dto -> {
|
|
|
- Long lineFreightRateId = dto.getLineFreightRateId();
|
|
|
|
|
|
|
+ Long lineFreightRateId = dto.getLineFreightId();
|
|
|
KwtLogisticsOrderLineFreightRate orderLineFreightRate = lineFreightRateMapper.selectOne(new LambdaQueryWrapper<KwtLogisticsOrderLineFreightRate>()
|
|
KwtLogisticsOrderLineFreightRate orderLineFreightRate = lineFreightRateMapper.selectOne(new LambdaQueryWrapper<KwtLogisticsOrderLineFreightRate>()
|
|
|
.eq(KwtLogisticsOrderLineFreightRate::getLOrderId, orderId)
|
|
.eq(KwtLogisticsOrderLineFreightRate::getLOrderId, orderId)
|
|
|
.eq(KwtLogisticsOrderLineFreightRate::getLineFreightRateId, lineFreightRateId)
|
|
.eq(KwtLogisticsOrderLineFreightRate::getLineFreightRateId, lineFreightRateId)
|