From 184a0722e53f64f40ddb2c88f11f26941f565a8c Mon Sep 17 00:00:00 2001 From: ZY <zc857179121@qq.com> Date: 星期三, 18 十二月 2024 14:56:44 +0800 Subject: [PATCH] 上报逻辑调整 --- src/main/java/com/zy/asrs/task/handler/AgvWrkMastHandler.java | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/handler/AgvWrkMastHandler.java b/src/main/java/com/zy/asrs/task/handler/AgvWrkMastHandler.java index e26edd6..61f6a6f 100644 --- a/src/main/java/com/zy/asrs/task/handler/AgvWrkMastHandler.java +++ b/src/main/java/com/zy/asrs/task/handler/AgvWrkMastHandler.java @@ -716,11 +716,11 @@ List<AgvWrkDetl> data = new ArrayList<>(); //鍖哄垎涓嶅悓浠诲姟绫诲瀷鐨勪笂鎶ユ柟寮� for (AgvWrkDetl agvWrkDetl : agvWrkDetls) { - if (agvWrkDetl.getMatnr().startsWith("10") || agvWrkDetl.getMatnr().startsWith("20") || agvWrkDetl.getMatnr().startsWith("30")) { + if (agvWrkDetl.getMatnr().compareTo("39") <= 0) { data.add(agvWrkDetl); } } - if (!Cools.isEmpty(data)) { + if (!data.isEmpty()) { if (IN_TYPE_LIST.contains(agvWrkMast.getIoType())) { reportMesPakinOrder(agvWrkMast, data); } @@ -734,6 +734,8 @@ } + + private void reportMesPakinOrder(AgvWrkMast agvWrkMast, List<AgvWrkDetl> agvWrkDetls) { for (AgvWrkDetl agvWrkDetl : agvWrkDetls) { -- Gitblit v1.9.1