From ee4643ab09a85661532fd75ddb45a1b44e92f530 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期二, 16 五月 2023 09:37:18 +0800
Subject: [PATCH] 库存调整支持修改客户信息和备注

---
 src/main/java/com/zy/asrs/service/impl/LocMastServiceImpl.java |    4 ++++
 1 files changed, 4 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 9ad0930..14d108e 100644
--- a/src/main/java/com/zy/asrs/service/impl/LocMastServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/LocMastServiceImpl.java
@@ -157,6 +157,10 @@
         LocMast finalRes = null;
         for (String locNo : locNos) {
             LocMast locMast = this.selectById(locNo);
+            if(locMast == null)
+            {
+                continue;
+            }
             if (locMast.getLocSts().equals("O")) {
                 if (finalRes == null) {
                     finalRes = locMast;

--
Gitblit v1.9.1