|
|
|
@ -1516,8 +1516,6 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
String content = "包件在 " + warehouseEntity.getName() + "卸车确认"; |
|
|
|
|
packageTrackLogAsyncService.addPackageTrackLog(AuthUtil.getTenantId(), AuthUtil.getUserId(), Func.firstLong(AuthUtil.getDeptId()), AuthUtil.getNickName(), orderPackageCodes, warehouseId, warehouseEntity.getName(), node.getCode(), content); |
|
|
|
|
|
|
|
|
|
//同步一次系统无编码数据
|
|
|
|
|
syncNoSystemData(loadId, warehouseId, warehouseEntity.getName()); |
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
log.warn("###############unloadPackage: 存入异常列表记录失败"); |
|
|
|
@ -11896,6 +11894,8 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
currentStockArticleEntity.setIncomingNum(0); |
|
|
|
|
currentStockArticleEntity.setAllocation(null); |
|
|
|
|
currentStockArticleEntity.setTrays(null); |
|
|
|
|
currentStockArticleEntity.setWarehouseEntryTime(new Date()); |
|
|
|
|
currentStockArticleEntity.setWarehouseEntryTimeEnd(new Date()); |
|
|
|
|
currentOrderId = distributionStockArticleClient.addData(currentStockArticleEntity); |
|
|
|
|
currentStockArticleEntity.setId(currentOrderId); |
|
|
|
|
} else { |
|
|
|
@ -12109,6 +12109,8 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
currentStockArticleEntity.setGenre(1); |
|
|
|
|
currentStockArticleEntity.setAllocation(null); |
|
|
|
|
currentStockArticleEntity.setTrays(null); |
|
|
|
|
currentStockArticleEntity.setWarehouseEntryTime(new Date()); |
|
|
|
|
currentStockArticleEntity.setWarehouseEntryTimeEnd(new Date()); |
|
|
|
|
currentOrderId = distributionStockArticleClient.addData(currentStockArticleEntity); |
|
|
|
|
currentStockArticleEntity.setId(currentOrderId); |
|
|
|
|
} else { |
|
|
|
@ -12281,6 +12283,8 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
stockArticleEntity.setIncomingNum(0); |
|
|
|
|
stockArticleEntity.setAllocation(null); |
|
|
|
|
stockArticleEntity.setTrays(null); |
|
|
|
|
stockArticleEntity.setWarehouseEntryTime(new Date()); |
|
|
|
|
stockArticleEntity.setWarehouseEntryTimeEnd(new Date()); |
|
|
|
|
currentOrderId = distributionStockArticleClient.addData(stockArticleEntity); |
|
|
|
|
stockArticleEntity.setId(currentOrderId); |
|
|
|
|
} else { |
|
|
|
@ -12379,6 +12383,8 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
newStockArticle.setWarehouse(basicdataWarehouseEntity.getName()); |
|
|
|
|
newStockArticle.setAllocation(null); |
|
|
|
|
newStockArticle.setTrays(null); |
|
|
|
|
newStockArticle.setWarehouseEntryTime(new Date()); |
|
|
|
|
newStockArticle.setWarehouseEntryTimeEnd(new Date()); |
|
|
|
|
orderId = distributionStockArticleClient.addData(newStockArticle); |
|
|
|
|
} else { |
|
|
|
|
orderId = newStockArticle.getId(); |
|
|
|
@ -12744,6 +12750,8 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
currentStockArticleEntity.setTransferQuantity(0); |
|
|
|
|
currentStockArticleEntity.setSigninQuantity(0); |
|
|
|
|
currentStockArticleEntity.setIncomingNum(0); |
|
|
|
|
currentStockArticleEntity.setWarehouseEntryTime(new Date()); |
|
|
|
|
currentStockArticleEntity.setWarehouseEntryTimeEnd(new Date()); |
|
|
|
|
currentOrderId = distributionStockArticleClient.addData(currentStockArticleEntity); |
|
|
|
|
currentStockArticleEntity.setId(currentOrderId); |
|
|
|
|
} else { |
|
|
|
@ -12891,6 +12899,8 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
currentStockArticleEntity.setTransferQuantity(0); |
|
|
|
|
currentStockArticleEntity.setSigninQuantity(0); |
|
|
|
|
currentStockArticleEntity.setIncomingNum(0); |
|
|
|
|
currentStockArticleEntity.setWarehouseEntryTime(new Date()); |
|
|
|
|
currentStockArticleEntity.setWarehouseEntryTimeEnd(new Date()); |
|
|
|
|
currentOrderId = distributionStockArticleClient.addData(currentStockArticleEntity); |
|
|
|
|
currentStockArticleEntity.setId(currentOrderId); |
|
|
|
|
} else { |
|
|
|
@ -13054,6 +13064,8 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
stockArticleEntity.setIncomingNum(0); |
|
|
|
|
stockArticleEntity.setAllocation(null); |
|
|
|
|
stockArticleEntity.setTrays(null); |
|
|
|
|
stockArticleEntity.setWarehouseEntryTime(new Date()); |
|
|
|
|
stockArticleEntity.setWarehouseEntryTimeEnd(new Date()); |
|
|
|
|
currentOrderId = distributionStockArticleClient.addData(stockArticleEntity); |
|
|
|
|
stockArticleEntity.setId(currentOrderId); |
|
|
|
|
} else { |
|
|
|
@ -13149,6 +13161,8 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
newStockArticle.setWarehouse(basicdataWarehouseEntity.getName()); |
|
|
|
|
newStockArticle.setAllocation(null); |
|
|
|
|
newStockArticle.setTrays(null); |
|
|
|
|
newStockArticle.setWarehouseEntryTime(new Date()); |
|
|
|
|
newStockArticle.setWarehouseEntryTimeEnd(new Date()); |
|
|
|
|
orderId = distributionStockArticleClient.addData(newStockArticle); |
|
|
|
|
} else { |
|
|
|
|
orderId = newStockArticle.getId(); |
|
|
|
|