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 | 20 ++++++++++++++++++++ 1 files changed, 20 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 be4b66b..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; @@ -145,6 +150,21 @@ return locMast; } + @Override + public LocMast findInnerLoc(String locNo) { + 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; + } + } + return null; + } + /** * 閫氳繃搴撲綅鍙疯幏鍙� 鎺� */ -- Gitblit v1.9.1