|
|
|
@ -116,6 +116,7 @@ public class QualityDeliverServiceImpl extends BaseServiceImpl<QualityDeliverMap
|
|
|
|
|
BigDecimal fuelCost = BigDecimal.ZERO; |
|
|
|
|
trainDetailEntity.setSettlementStatus("未结算"); |
|
|
|
|
for (QualityDeliverEntity qualityDeliverEntity : value) { |
|
|
|
|
trainDetailEntity.setTrainCompletionTime(qualityDeliverEntity.getCarComplateTime()); |
|
|
|
|
trainDetailEntity.setTotalOrderQuantity(qualityDeliverEntity.getOrderNumber()); |
|
|
|
|
trainDetailEntity.setDeliveryVehicle(qualityDeliverEntity.getSignCarNumber()); |
|
|
|
|
trainDetailEntity.setDistributionModel(qualityDeliverEntity.getSignCarType()); |
|
|
|
@ -426,16 +427,16 @@ public class QualityDeliverServiceImpl extends BaseServiceImpl<QualityDeliverMap
|
|
|
|
|
baseMapper.delPlanDelivery(id); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void delDistributionCarStart(Long id) { |
|
|
|
|
baseMapper.delDistributionCarStart(id); |
|
|
|
|
} |
|
|
|
|
@Override |
|
|
|
|
public void delDistributionCarStart(Long id) { |
|
|
|
|
baseMapper.delDistributionCarStart(id); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void carExpenseDispatchDetailFinal(String trainNumber) { |
|
|
|
|
if(StrUtil.isNotEmpty(trainNumber)){ |
|
|
|
|
if (StrUtil.isNotEmpty(trainNumber)) { |
|
|
|
|
List<QualityDeliverEntity> entities = this.list(Wrappers.<QualityDeliverEntity>lambdaQuery().eq(QualityDeliverEntity::getSignTrainNumber, trainNumber)); |
|
|
|
|
if(CollUtil.isNotEmpty(entities)){ |
|
|
|
|
if (CollUtil.isNotEmpty(entities)) { |
|
|
|
|
buildCarExpenseReport(entities); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|