From cd92182d01a20e85f60f6a5a595506ee8ed31ffc Mon Sep 17 00:00:00 2001 From: zyx <zyx123456> Date: 星期四, 02 十一月 2023 12:05:15 +0800 Subject: [PATCH] 库存统计明细修复 --- src/main/java/com/zy/asrs/task/handler/AutoReplenishmentHandler.java | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/handler/AutoReplenishmentHandler.java b/src/main/java/com/zy/asrs/task/handler/AutoReplenishmentHandler.java index 3b95b94..3f5d2cd 100644 --- a/src/main/java/com/zy/asrs/task/handler/AutoReplenishmentHandler.java +++ b/src/main/java/com/zy/asrs/task/handler/AutoReplenishmentHandler.java @@ -75,9 +75,14 @@ } String matnr = orderDetl.getMatnr(); + String batch = orderDetl.getBatch(); + String csocode = orderDetl.getThreeCode(); + String isocode = orderDetl.getDeadTime(); + Double orderAnfme = orderDetl.getAnfme(); - List<String> locNosSearch = locDetlService.selectLocNo(matnr); + //List<String> locNosSearch = locDetlService.selectLocNo(matnr); + Set<String> locNosSearch = locDetlService.selectLocNo(matnr, batch, csocode, isocode); for(String locNo : locNosSearch){ List<LocDetl> locDetls = locDetlService.selectByLocNo(locNo); -- Gitblit v1.9.1