From ec39dfceb757b13cf8226e9f9e4f1497d25e5147 Mon Sep 17 00:00:00 2001 From: Kelvin Date: Fri, 13 Dec 2024 14:37:25 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E5=87=BA=E5=BA=93=E8=AE=A1=E5=88=92):?= =?UTF-8?q?=20=E8=AF=AD=E6=B3=95=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ktg/mes/md/controller/WmsOutPlanController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ktg-mes/src/main/java/com/ktg/mes/md/controller/WmsOutPlanController.java b/ktg-mes/src/main/java/com/ktg/mes/md/controller/WmsOutPlanController.java index 451ff28..6b825a9 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/md/controller/WmsOutPlanController.java +++ b/ktg-mes/src/main/java/com/ktg/mes/md/controller/WmsOutPlanController.java @@ -89,7 +89,7 @@ public class WmsOutPlanController extends BaseController { // return AjaxResult.error("新增出库计划失败,出库计划编码“" + wmsOutPlan.getPlanCode() + "”已存在"); // } // 出库计划编码自动生成 - if (wmsOutPlan.getPlanCode().isEmpty() || wmsOutPlan.getPlanCode() == null) { + if (wmsOutPlan.getPlanCode() == null || wmsOutPlan.getPlanCode().isEmpty()) { wmsOutPlan.setPlanCode(MultiModuleCodeGenerator.generateTaskCode("CKP")); } wmsOutPlan.setCreateBy(getUsername());