From 78dde5ad6acc2a49fd08472afb61a1504ea791d9 Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期五, 22 八月 2025 13:38:43 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/jxgtasrs' into jxgtasrs --- src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java index aff9cec..c2d19b7 100644 --- a/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java @@ -528,8 +528,12 @@ // wrkMastLogEntityWrapper.isNotNull("sheet_no"); wrkMastLogService.selectList(wrkMastLogEntityWrapper).forEach(wrkMastLog -> { if (wrkMastLog.getWrkSts() == 5 || wrkMastLog.getWrkSts() == 15) { - List<WrkDetlLog> wrkDetlLogs = wrkDetlLogService.selectList(new EntityWrapper<WrkDetlLog>() - .eq("wrk_no", wrkMastLog.getWrkNo()).eq("zpallet", wrkMastLog.getBarcode())); + EntityWrapper<WrkDetlLog> wrkDetlLogEntityWrapper = new EntityWrapper<>(); + wrkDetlLogEntityWrapper.eq("wrk_no", wrkMastLog.getWrkNo()); + if (wrkMastLog.getIoType() != 300 && wrkMastLog.getIoType() != 301){ + wrkDetlLogEntityWrapper.eq("zpallet", wrkMastLog.getBarcode()); + } + List<WrkDetlLog> wrkDetlLogs = wrkDetlLogService.selectList(wrkDetlLogEntityWrapper); wrkDetlLogs.forEach(wrkDetlLog -> { if (wrkDetlLog.getOrderNo() != null && !wrkDetlLog.getOrderNo().isEmpty()) { LocDetlByTimeDTO locDetlByTimeDTO = new LocDetlByTimeDTO(); -- Gitblit v1.9.1