From f84448a10d99a0fa82e71088051e3517637edaa7 Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期二, 09 四月 2024 15:11:52 +0800
Subject: [PATCH] #

---
 zy-asrs-common/src/main/java/com/zy/asrs/common/wms/service/impl/LocDetlServiceImpl.java |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/zy-asrs-common/src/main/java/com/zy/asrs/common/wms/service/impl/LocDetlServiceImpl.java b/zy-asrs-common/src/main/java/com/zy/asrs/common/wms/service/impl/LocDetlServiceImpl.java
index 6fbf6c4..4fe5548 100644
--- a/zy-asrs-common/src/main/java/com/zy/asrs/common/wms/service/impl/LocDetlServiceImpl.java
+++ b/zy-asrs-common/src/main/java/com/zy/asrs/common/wms/service/impl/LocDetlServiceImpl.java
@@ -34,13 +34,8 @@
     }
 
     @Override
-    public List<LocDetl> queryStock(String matnr, String batch, String orderNo, Set<String> locNos) {
-        List<LocDetl> result = new ArrayList<>();
-        List<QueryStockPreDo> preDos = this.baseMapper.queryStockPre(matnr);
-        for (QueryStockPreDo preDo : preDos) {
-            List<LocDetl> locDetls = this.baseMapper.queryStock(matnr, preDo.getNo(), preDo.getOrderBy(), preDo.getBay());
-            result.addAll(locDetls);
-        }
+    public List<LocDetl> queryStock(String matnr, String batch, Long hostId) {
+        List<LocDetl> result = this.baseMapper.queryStock(matnr, batch, hostId);
         return result;
     }
 
@@ -73,4 +68,9 @@
     public List<ReportStockDto> getReportStockDto(Long hostId) {
         return this.baseMapper.getReportStockDto(hostId);
     }
+
+    @Override
+    public List<String> getSameDetl(String matnr, String batch, Long hostId) {
+        return this.baseMapper.selectSameDetl(matnr, batch, hostId);
+    }
 }

--
Gitblit v1.9.1