From 9eb3e196a12bc56da59f7c3e3dd2432cdb69e6d4 Mon Sep 17 00:00:00 2001 From: zyx <zyx123456> Date: 星期四, 18 一月 2024 10:48:38 +0800 Subject: [PATCH] # 库存导出修改 --- src/main/java/com/zy/asrs/service/impl/LocMastServiceImpl.java | 8 ++++++++ 1 files changed, 8 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 c1fa598..92799e0 100644 --- a/src/main/java/com/zy/asrs/service/impl/LocMastServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/LocMastServiceImpl.java @@ -39,6 +39,11 @@ } @Override + public List<LocMast> selectAreaEmptyByLev(Short locType1, Integer locType3, Integer lev) { + return this.baseMapper.selectAreaEmptyByLev(locType1, locType3, lev); + } + + @Override public List<String> queryGroupEmptyStock(String sourceLocNo) { if (Cools.isEmpty(sourceLocNo)) { return null; @@ -150,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