From 7be751f246da4c3df60d2390be45266a47b8350a Mon Sep 17 00:00:00 2001 From: zhenghaoyu Date: Sun, 27 Oct 2024 18:57:08 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=B9=B2=E7=BA=BFbug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/OpenOrderServiceImpl.java | 9 --------- .../impl/TrunklineAdvanceServiceImpl.java | 18 +++++++++++++++--- .../impl/TrunklineCarsLoadServiceImpl.java | 2 +- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/OpenOrderServiceImpl.java b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/OpenOrderServiceImpl.java index 2004f333c..054184a35 100644 --- a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/OpenOrderServiceImpl.java +++ b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/OpenOrderServiceImpl.java @@ -803,15 +803,6 @@ public class OpenOrderServiceImpl implements IOpenOrderService { //计算扫码入库的包件是否需要把运单和提货单挂上 openOrderAsyncService.dealwithBillladingInfo(advanceIds,warehouseId,warehouseName,waybillId,waybillNo); - //判断是否是开单及入库的配置 - Boolean aBoolean = basicdataOpenIncomingClient.checkOpenIncoming(warehouseId, brandId); - if (Boolean.TRUE.equals(aBoolean)) { - openOrderAsyncService.incomingPackageBatch(advanceIds, AuthUtil.getUserId(), Func.firstLong(AuthUtil.getDeptId()), AuthUtil.getTenantId(), AuthUtil.getNickName(), IncomingTypeEnum.OPEN_TO_IN.getCode(), warehouseId, warehouseName, waybillEntity); - waybillEntity.setStockCount(waybillEntity.getTotalCount()); - waybillEntity.setWaybillStatus("20"); - warehouseWaybillClient.updateEntity(waybillEntity); - } - //异步存入日志 String nickName = AuthUtil.getNickName(); Long userId = AuthUtil.getUserId(); diff --git a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineAdvanceServiceImpl.java b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineAdvanceServiceImpl.java index b94d994e8..7db37f96d 100644 --- a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineAdvanceServiceImpl.java +++ b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineAdvanceServiceImpl.java @@ -447,12 +447,13 @@ public class TrunklineAdvanceServiceImpl extends BaseServiceImpl parcelListEntityList = new ArrayList<>(); List orderPackageCodes = new ArrayList<>(); for (TrunklineAdvanceDetailEntity advanceDetailEntity : detailList) { @@ -612,7 +619,12 @@ public class TrunklineAdvanceServiceImpl extends BaseServiceImpl unloadPackageList = new ArrayList<>();