From 69414cd2a7f04b4f31d152b51876f3b559b43a3a Mon Sep 17 00:00:00 2001 From: 野心家 <1051256694@qq.com> Date: 星期三, 09 四月 2025 08:03:28 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/task/handler/WorkMastHandler.java | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/handler/WorkMastHandler.java b/src/main/java/com/zy/asrs/task/handler/WorkMastHandler.java index d5a1f4c..c941a80 100644 --- a/src/main/java/com/zy/asrs/task/handler/WorkMastHandler.java +++ b/src/main/java/com/zy/asrs/task/handler/WorkMastHandler.java @@ -177,6 +177,15 @@ .eq("barcode",wrkDetl1.getMatnr()) .eq("status",4) ); + if (Cools.isEmpty(testMast)){ + testMast = testMastService.selectOne(new EntityWrapper<TestMast>() + .eq("barcode",wrkDetl1.getMatnr()) + .eq("status",5) + ); + } + if (Cools.isEmpty(testMast)){ + throw new CoolException("鏇存敼娴嬭瘯鐘舵�佸け璐�,鏌ヨ娴嬭瘯妗f澶辫触"); + } testMast.setStatus(5); testMast.setModiTime(new Date()); if (!testMastService.update(testMast,new EntityWrapper<TestMast>().eq("barcode",wrkDetl1.getMatnr()).eq("status",4))){ -- Gitblit v1.9.1