|
|
@ -112,6 +112,7 @@ public class QualityDeliverServiceImpl extends BaseServiceImpl<QualityDeliverMap |
|
|
|
BigDecimal fuelCost = BigDecimal.ZERO; |
|
|
|
BigDecimal fuelCost = BigDecimal.ZERO; |
|
|
|
trainDetailEntity.setSettlementStatus("未结算"); |
|
|
|
trainDetailEntity.setSettlementStatus("未结算"); |
|
|
|
for (QualityDeliverEntity qualityDeliverEntity : value) { |
|
|
|
for (QualityDeliverEntity qualityDeliverEntity : value) { |
|
|
|
|
|
|
|
trainDetailEntity.setTotalOrderQuantity(qualityDeliverEntity.getOrderNumber()); |
|
|
|
trainDetailEntity.setDeliveryVehicle(qualityDeliverEntity.getSignCarNumber()); |
|
|
|
trainDetailEntity.setDeliveryVehicle(qualityDeliverEntity.getSignCarNumber()); |
|
|
|
trainDetailEntity.setDistributionModel(qualityDeliverEntity.getSignCarType()); |
|
|
|
trainDetailEntity.setDistributionModel(qualityDeliverEntity.getSignCarType()); |
|
|
|
trainDetailEntity.setTrainNumber(qualityDeliverEntity.getSignTrainNumber()); |
|
|
|
trainDetailEntity.setTrainNumber(qualityDeliverEntity.getSignTrainNumber()); |
|
|
@ -176,6 +177,8 @@ public class QualityDeliverServiceImpl extends BaseServiceImpl<QualityDeliverMap |
|
|
|
if (CollUtil.isNotEmpty(orderCodeSet)) { |
|
|
|
if (CollUtil.isNotEmpty(orderCodeSet)) { |
|
|
|
trainDetailEntity.setPlannedTotalQuantity(orderCodeSet.size()); |
|
|
|
trainDetailEntity.setPlannedTotalQuantity(orderCodeSet.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
trainDetailEntity.setTotalReceiptCost(Convert.toInt(totalSignNumber)); |
|
|
|
|
|
|
|
trainDetailEntity.setTotalLoadedPieces(Convert.toInt(totalLoadNumber)); |
|
|
|
trainDetailEntity.setDistributionCost(Convert.toDouble(distributionCost)); |
|
|
|
trainDetailEntity.setDistributionCost(Convert.toDouble(distributionCost)); |
|
|
|
trainDetailEntity.setStairCarryingFee(Convert.toDouble(apstairsCost)); |
|
|
|
trainDetailEntity.setStairCarryingFee(Convert.toDouble(apstairsCost)); |
|
|
|
trainDetailEntity.setGoodsAllocationCost(Convert.toDouble(apartCost)); |
|
|
|
trainDetailEntity.setGoodsAllocationCost(Convert.toDouble(apartCost)); |
|
|
|