Browse Source

1.干线卸车确认bug修复

pre-production
zhenghaoyu 2 weeks ago
parent
commit
58fc656af1
  1. 8
      blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineCarsLoadServiceImpl.java

8
blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineCarsLoadServiceImpl.java

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

Loading…
Cancel
Save