|
|
|
@ -1359,6 +1359,19 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
if (1 == updateType) { |
|
|
|
|
TrunklineCarsLoadLineEntity loadLineEntity = trunklineCarsLoadLineService.getById(carsLoadLineId); |
|
|
|
|
loadLineEntity.setSort(sort); |
|
|
|
|
loadLineEntity.setNowTransportCost(carsLoadLineDTO.getNowTransportCost()); |
|
|
|
|
loadLineEntity.setOilCost(carsLoadLineDTO.getOilCost()); |
|
|
|
|
loadLineEntity.setBackTransportCost(carsLoadLineDTO.getBackTransportCost()); |
|
|
|
|
loadLineEntity.setReachTransportCost(carsLoadLineDTO.getReachTransportCost()); |
|
|
|
|
loadLineEntity.setWholeCarInfoCost(carsLoadLineDTO.getWholeCarInfoCost()); |
|
|
|
|
loadLineEntity.setWholeCarInsuranceCost(carsLoadLineDTO.getWholeCarInsuranceCost()); |
|
|
|
|
loadLineEntity.setWholeCarGroundCost(carsLoadLineDTO.getWholeCarGroundCost()); |
|
|
|
|
loadLineEntity.setHairWholeCost(carsLoadLineDTO.getHairWholeCost()); |
|
|
|
|
loadLineEntity.setHairWholeOtherCost(carsLoadLineDTO.getHairWholeOtherCost()); |
|
|
|
|
loadLineEntity.setUnloadCost(carsLoadLineDTO.getUnloadCost()); |
|
|
|
|
loadLineEntity.setUnloadOtherCost(carsLoadLineDTO.getUnloadOtherCost()); |
|
|
|
|
loadLineEntity.setFuel(carsLoadLineDTO.getFuel()); |
|
|
|
|
loadLineEntity.setTollFee(carsLoadLineDTO.getTollFee()); |
|
|
|
|
trunklineCarsLoadLineService.updateById(loadLineEntity); |
|
|
|
|
} else if (2 == updateType) { |
|
|
|
|
TrunklineCarsLoadLineEntity carsLoadLineEntity = new TrunklineCarsLoadLineEntity(); |
|
|
|
|