From b5fa899c46b54a7f7c447d7d8d7ba0c440415204 Mon Sep 17 00:00:00 2001 From: lsh <1> Date: 星期三, 24 一月 2024 17:21:18 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/task/handler/OneLouHangJiaHandler.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/handler/OneLouHangJiaHandler.java b/src/main/java/com/zy/asrs/task/handler/OneLouHangJiaHandler.java index dd86582..2d7f723 100644 --- a/src/main/java/com/zy/asrs/task/handler/OneLouHangJiaHandler.java +++ b/src/main/java/com/zy/asrs/task/handler/OneLouHangJiaHandler.java @@ -75,7 +75,7 @@ return FAIL; } List<WrkDetl> wrkDetls = wrkDetlService.selectByWrkNo(wrkMast.getWrkNo()); - if (Cools.isEmpty(wrkDetls) || wrkDetls.size()!=1){ + if (Cools.isEmpty(wrkDetls) || wrkDetls.size()==0){ return FAIL; } WrkDetl wrkDetl = wrkDetls.get(0); -- Gitblit v1.9.1