From 10eb18ee10bb247181fe24e985f058a12697511a Mon Sep 17 00:00:00 2001 From: zhenghaoyu Date: Mon, 24 Mar 2025 18:38:48 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=94=AE=E5=90=8E=E5=BC=82=E5=B8=B8=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=A4=84=E7=90=86bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/springblade/common/constant/WorkNodeEnums.java | 1 + .../com/logpm/trunkline/service/impl/InComingServiceImpl.java | 2 ++ 2 files changed, 3 insertions(+) diff --git a/blade-biz-common/src/main/java/org/springblade/common/constant/WorkNodeEnums.java b/blade-biz-common/src/main/java/org/springblade/common/constant/WorkNodeEnums.java index 075098679..d8ca4857a 100644 --- a/blade-biz-common/src/main/java/org/springblade/common/constant/WorkNodeEnums.java +++ b/blade-biz-common/src/main/java/org/springblade/common/constant/WorkNodeEnums.java @@ -17,6 +17,7 @@ public enum WorkNodeEnums implements Serializable { INITIAL_DATA_ENTRY(101010, "数据入库"), INITIAL_WAREHOUSE_ENTRY(101020, "始发仓入库"), UNLOAD_WAREHOUSE_ENTRY(101021, "卸车并入库"), + ERROR_WAREHOUSE_ENTRY(101022, "异常入库"), OPEN_ORDER(102010, "开单"), CHANGE_ORDER(102020, "改单"), diff --git a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/InComingServiceImpl.java b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/InComingServiceImpl.java index c52647bff..0f2ee527a 100644 --- a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/InComingServiceImpl.java +++ b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/InComingServiceImpl.java @@ -339,6 +339,8 @@ public class InComingServiceImpl implements IInComingService { if(incomingType.equals(IncomingTypeEnum.PACKAGE_INCOMING.getCode())){ c = WorkNodeEnums.UNLOAD_WAREHOUSE_ENTRY.getCode(); + }else if(incomingType.equals(IncomingTypeEnum.SYNC_INCOMING.getCode())){ + c = WorkNodeEnums.ERROR_WAREHOUSE_ENTRY.getCode(); } //存入日志