From 494c0066b28158a813953b66e3daa2abea313a87 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 29 九月 2022 10:46:28 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/service/impl/LocMastServiceImpl.java |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/zy/asrs/service/impl/LocMastServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/LocMastServiceImpl.java
index 8482b74..2b08e21 100644
--- a/src/main/java/com/zy/asrs/service/impl/LocMastServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/LocMastServiceImpl.java
@@ -127,8 +127,10 @@
         while (iterator.hasNext()) {
             String next = iterator.next();
             LocMast locMast = this.selectById(next);
-            if (locMast.getLocSts().equals("F") || locMast.getLocSts().equals("D") || excludeLocNos.contains(locMast.getLocNo())) {
-                continue;
+            if (locMast.getLocSts().equals("F") || locMast.getLocSts().equals("D")) {
+                if (!excludeLocNos.contains(locMast.getLocNo())) {
+                    continue;
+                }
             }
             iterator.remove();
         }

--
Gitblit v1.9.1