|
|
|
@ -312,9 +312,10 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
trunklineCarsLoadLineService.updateStartTime(carsLoadLineEntity.getId(),"20",date,AuthUtil.getUserId(),AuthUtil.getNickName()); |
|
|
|
|
|
|
|
|
|
//修改配载计划的节点状态
|
|
|
|
|
carsLoadEntity.setStartTime(date); |
|
|
|
|
carsLoadEntity.setLoadStatus("10"); |
|
|
|
|
updateById(carsLoadEntity); |
|
|
|
|
baseMapper.updateStartTime(loadId,"10",date); |
|
|
|
|
// carsLoadEntity.setStartTime(date);
|
|
|
|
|
// carsLoadEntity.setLoadStatus("10");
|
|
|
|
|
// updateById(carsLoadEntity);
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
|
//异步存入日志
|
|
|
|
@ -387,8 +388,9 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
trunklineCarsLoadLineService.updateStartTime(currentCarsLoadLineEntity.getId(),"20",date,AuthUtil.getUserId(),AuthUtil.getNickName()); |
|
|
|
|
|
|
|
|
|
//修改配载计划的节点状态
|
|
|
|
|
carsLoadEntity.setLoadStatus("30"); |
|
|
|
|
updateById(carsLoadEntity); |
|
|
|
|
baseMapper.updateStartTime(loadId,"30",date); |
|
|
|
|
// carsLoadEntity.setLoadStatus("30");
|
|
|
|
|
// updateById(carsLoadEntity);
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
|
//异步存入日志
|
|
|
|
@ -815,9 +817,10 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
// trunklineCarsLoadLineService.updateById(currentCarsLoadLineEntity);
|
|
|
|
|
trunklineCarsLoadLineService.updateStartTime(currentCarsLoadLineEntity.getId(),"10",null,null,null); |
|
|
|
|
|
|
|
|
|
carsLoadEntity.setLoadStatus("0"); |
|
|
|
|
carsLoadEntity.setStartTime(null); |
|
|
|
|
updateById(carsLoadEntity); |
|
|
|
|
baseMapper.updateStartTime(loadId,"0",null); |
|
|
|
|
// carsLoadEntity.setLoadStatus("0");
|
|
|
|
|
// carsLoadEntity.setStartTime(null);
|
|
|
|
|
// updateById(carsLoadEntity);
|
|
|
|
|
try { |
|
|
|
|
carsLoadAsyncService.saveLog(carsLoadEntity, currentCarsLoadLineEntity, CarsLoadLogTypeConstant.CANCEL_FIRST_START_CARS_LOAD.getValue(), AuthUtil.getNickName(), AuthUtil.getUserId()); |
|
|
|
|
openOrderAsyncService.saveCancelStartCarLog(currentCarsLoadLineEntity, AuthUtil.getNickName(), AuthUtil.getUserId()); |
|
|
|
@ -833,9 +836,10 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
//中间网点发车
|
|
|
|
|
trunklineCarsLoadLineService.updateStartTime(currentCarsLoadLineEntity.getId(),"10",null,null,null); |
|
|
|
|
|
|
|
|
|
carsLoadEntity.setLoadStatus("20"); |
|
|
|
|
carsLoadEntity.setStartTime(null); |
|
|
|
|
updateById(carsLoadEntity); |
|
|
|
|
baseMapper.updateStartTime(loadId,"20",null); |
|
|
|
|
// carsLoadEntity.setLoadStatus("20");
|
|
|
|
|
// carsLoadEntity.setStartTime(null);
|
|
|
|
|
// updateById(carsLoadEntity);
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
|
carsLoadAsyncService.saveLog(carsLoadEntity, currentCarsLoadLineEntity, CarsLoadLogTypeConstant.CANCEL_NET_START_CARS_LOAD.getValue(), AuthUtil.getNickName(), AuthUtil.getUserId()); |
|
|
|
|