|
|
|
@ -1220,10 +1220,10 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
if (unloadType == 1) { |
|
|
|
|
node = WorkNodeEnums.TRANSFER_WAREHOUSE_UNLOADING; |
|
|
|
|
//网点卸车确认
|
|
|
|
|
if ("40".equals(loadStatus)) { |
|
|
|
|
log.warn("#############unloadByLoadId: 当前节点为终点 loadId={} loadStatus={}", loadId, loadStatus); |
|
|
|
|
throw new CustomerException(400, "当前节点为终点"); |
|
|
|
|
} |
|
|
|
|
// if ("40".equals(loadStatus)) {
|
|
|
|
|
// log.warn("#############unloadByLoadId: 当前节点为终点 loadId={} loadStatus={}", loadId, loadStatus);
|
|
|
|
|
// throw new CustomerException(400, "当前节点为终点");
|
|
|
|
|
// }
|
|
|
|
|
updateUnloadStatus.setId(currentCarsLoadLineEntity.getId()); |
|
|
|
|
updateUnloadStatus.setUnloadStatus("1"); |
|
|
|
|
currentCarsLoadLineEntity.setUnloadStatus("1"); |
|
|
|
|