From 4103bb9c1279fa84dffa3d5aa99298da426b00fe Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期四, 12 十二月 2024 09:17:01 +0800 Subject: [PATCH] #回库任务不生成历史工作明细,同时保留订单编号 --- src/main/java/com/zy/asrs/task/handler/AutoLocMoveHandler.java | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/handler/AutoLocMoveHandler.java b/src/main/java/com/zy/asrs/task/handler/AutoLocMoveHandler.java index d8bc282..263c796 100644 --- a/src/main/java/com/zy/asrs/task/handler/AutoLocMoveHandler.java +++ b/src/main/java/com/zy/asrs/task/handler/AutoLocMoveHandler.java @@ -47,7 +47,8 @@ if (!Cools.isEmpty(locMasts) && locMasts.size()<4){ for (LocMast locMast:locMasts){ LocDetl locDetl = locDetlService.selectOne(new EntityWrapper<LocDetl>().eq("loc_no", locMast.getLocNo())); - StartupDto startupDto = commonService.getLocNo(crnNo == 1 ? 6 : 5, ioType, crnNo == 1 ? 917 : 918, locDetl.getMatnr(), locDetl.getBatch(),locDetl.getBrand(),0, null, 0); +// StartupDto startupDto = commonService.getLocNo(crnNo == 1 ? 6 : 5, ioType, crnNo == 1 ? 917 : 918, locDetl.getMatnr(), locDetl.getBatch(),locDetl.getBrand(), null); + StartupDto startupDto = commonService.getLocNo( ioType, crnNo == 1 ? 917 : 918, locDetl.getMatnr(), locDetl.getBatch(),locDetl.getBrand(), null,false); workService.locMove(locMast.getLocNo(), startupDto.getLocNo(),9527L); } return SUCCESS; @@ -67,7 +68,8 @@ List<LocDetl> locDetlList = locDetlService.selectLocDetlUnilateralMoveShuttle(matnr, batch, grade, crnNo); for (LocDetl locDetl : locDetlList) { - StartupDto startupDto = commonService.getLocNo(crnNo == 1 ? 4 : 3, ioType, crnNo == 1 ? 901 : 932, locDetl.getMatnr(), locDetl.getBatch(), locDetl.getBrand(),0, null, 0); +// StartupDto startupDto = commonService.getLocNo(crnNo == 1 ? 4 : 3, ioType, crnNo == 1 ? 901 : 932, locDetl.getMatnr(), locDetl.getBatch(), locDetl.getBrand(), null); + StartupDto startupDto = commonService.getLocNo( ioType, crnNo == 1 ? 901 : 932, locDetl.getMatnr(), locDetl.getBatch(), locDetl.getBrand(), null,false); workService.locMove(locDetl.getLocNo(), startupDto.getLocNo(), 9527L); } } -- Gitblit v1.9.1