From 8578dec9ec5be0281acc87cb5cbb10458a5f0d9f Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期四, 20 十月 2022 13:32:38 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/service/impl/LocMastServiceImpl.java | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/LocMastServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/LocMastServiceImpl.java index 2b08e21..eae14bd 100644 --- a/src/main/java/com/zy/asrs/service/impl/LocMastServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/LocMastServiceImpl.java @@ -99,18 +99,6 @@ } else { rows = locNos.stream().map(item -> Integer.parseInt(item.substring(0, 2))).distinct().collect(Collectors.toList()); } - -// if (!rows.retainAll(new ArrayList<Integer>() {{ add(1);add(2);add(3);}}) -// || !rows.retainAll(new ArrayList<Integer>() {{ add(8);add(9);add(10);add(11);}}) -// || !rows.retainAll(new ArrayList<Integer>() {{ add(15);add(16);add(17);add(18);}}) -// ) { -// locNos.sort(Comparator.comparingInt(o -> Integer.parseInt(o.substring(0, 2)))); -// } else if (!rows.retainAll(new ArrayList<Integer>() {{ add(4);add(5);add(6);add(7);}}) -// || !rows.retainAll(new ArrayList<Integer>() {{ add(12);add(13);add(14);}}) -// || !rows.retainAll(new ArrayList<Integer>() {{ add(19);add(20);add(21);}}) -// ) { -// locNos.sort((o1, o2) -> Integer.parseInt(o2.substring(0, 2)) - Integer.parseInt(o1.substring(0, 2))); -// } for (String locNo : locNos) { LocMast locMast = this.selectById(locNo); if (locMast.getLocSts().equals("O")) { -- Gitblit v1.9.1