From 193c3204f7f998df4d603df202dbea88a3074585 Mon Sep 17 00:00:00 2001 From: Junjie <540245094@qq.com> Date: 星期四, 04 九月 2025 09:03:39 +0800 Subject: [PATCH] #入库逻辑变更 --- src/main/java/com/zy/common/web/WcsController.java | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/zy/common/web/WcsController.java b/src/main/java/com/zy/common/web/WcsController.java index 23e99f4..ac04da3 100644 --- a/src/main/java/com/zy/common/web/WcsController.java +++ b/src/main/java/com/zy/common/web/WcsController.java @@ -122,7 +122,7 @@ // 妫�绱㈠簱浣� FindLocNoAttributeVo findLocNoAttributeVo = new FindLocNoAttributeVo(); - StartupDto dto = commonService.getLocNo(10, 12, findLocNoAttributeVo, locTypeDto); + StartupDto dto = commonService.getLocNo(10, 12, findLocNoAttributeVo, locTypeDto, null); Date now = new Date(); // 鐢熸垚宸ヤ綔妗� WrkMast wrkMast = new WrkMast(); @@ -178,6 +178,7 @@ // FindLocNoAttributeVo findLocNoAttributeVo = new FindLocNoAttributeVo(matnrs.get(0), batchs.get(0)); WaitPakin waitPakin1 = waitPakins.get(0); FindLocNoAttributeVo findLocNoAttributeVo = new FindLocNoAttributeVo(); + findLocNoAttributeVo.setMatnr(waitPakin1.getMatnr()); //TODO 娴嬭瘯 // StartupDto dto = new StartupDto(); @@ -188,7 +189,7 @@ // dto.setLocNo(locMastxx.getLocNo()); // dto.setWorkNo(Integer.parseInt((System.currentTimeMillis() + "").substring(10))); - StartupDto dto = commonService.getLocNo( 1, devpNo,findLocNoAttributeVo, locTypeDto); + StartupDto dto = commonService.getLocNo(1, devpNo, findLocNoAttributeVo, locTypeDto, barcode); if (dto == null) { throw new CoolException("鎵句笉鍒扮┖搴撲綅"); } @@ -264,7 +265,7 @@ // 妫�绱㈠簱浣� FindLocNoAttributeVo findLocNoAttributeVo = new FindLocNoAttributeVo(); - StartupDto dto = commonService.getLocNo(10, devpNo, findLocNoAttributeVo, locTypeDto); + StartupDto dto = commonService.getLocNo(10, devpNo, findLocNoAttributeVo, locTypeDto, barcode); int workNo = dto.getWorkNo(); // 鐢熸垚宸ヤ綔妗� WrkMast wrkMast = new WrkMast(); -- Gitblit v1.9.1