From 75a60fc4e19fa76352cc28d026b57260d20954b5 Mon Sep 17 00:00:00 2001 From: Kelvin Date: Sun, 5 Jan 2025 20:31:30 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E5=87=BA=E5=BA=93=E8=AE=A1=E5=88=92):?= =?UTF-8?q?=20=E7=B1=BB=E5=9E=8B=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ktg/mes/md/service/impl/WmsOutPlanServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ktg-mes/src/main/java/com/ktg/mes/md/service/impl/WmsOutPlanServiceImpl.java b/ktg-mes/src/main/java/com/ktg/mes/md/service/impl/WmsOutPlanServiceImpl.java index b3faa5b..32001f5 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/md/service/impl/WmsOutPlanServiceImpl.java +++ b/ktg-mes/src/main/java/com/ktg/mes/md/service/impl/WmsOutPlanServiceImpl.java @@ -314,7 +314,7 @@ public class WmsOutPlanServiceImpl implements IWmsOutPlanService { // 构建出库计划 WmsOutPlan wmsOutPlan = new WmsOutPlan(); wmsOutPlan.setPlanCode(Long.toString(System.currentTimeMillis(), 32).toUpperCase(Locale.ROOT)); - wmsOutPlan.setWmsBusinessTypeId(this.wmsBusinessTypeMapper.selectWmsBusinessTypeByCode("CK04").getTypeId() != null ? Long.parseLong(this.wmsBusinessTypeMapper.selectWmsBusinessTypeByCode("CK04").getTypeId()) : 14L); + wmsOutPlan.setWmsBusinessTypeId(this.wmsBusinessTypeMapper.selectWmsBusinessTypeByCode("CK04").getTypeId() != null ? this.wmsBusinessTypeMapper.selectWmsBusinessTypeByCode("CK04").getTypeId() : 14L); wmsOutPlan.setPlanState("1"); wmsOutPlan.setPlanType("SGLR"); wmsOutPlan.setRemark("一键清退无寿命物品");