From 2b31e21c138a6640758436318f4afb9b17cbf82b Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期一, 15 一月 2024 10:18:51 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/asrs/service/impl/LocMastServiceImpl.java | 3 +++
1 files changed, 3 insertions(+), 0 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 a15ceb7..92799e0 100644
--- a/src/main/java/com/zy/asrs/service/impl/LocMastServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/LocMastServiceImpl.java
@@ -155,6 +155,9 @@
List<String> groupLoc = Utils.getGroupLoc(locNo);
for (String loc : groupLoc) {
LocMast tmp = this.baseMapper.selectByLoc(loc);
+ if (tmp == null) {
+ continue;
+ }
if (tmp.getLocSts().equals("O")) {
return tmp;
}
--
Gitblit v1.9.1