From a77b79d76907fa6a804ad0c66e372dd34e277ccd Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期一, 22 一月 2024 17:31:56 +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