From cf0353e26f5e5c698d6eff9a31d0424bfe5838d9 Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期三, 24 五月 2023 15:26:52 +0800 Subject: [PATCH] man_mat增加物料类型 --- 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