zjh
2025-02-08 b5286f21559b057f4240ae1e903beaf1fa314a5d
ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjSamplingController.java
@@ -364,7 +364,7 @@
        if (list.size() >= 2) {
            // 进行合并
            List<String> stringList = list.stream().map(TjSampling::getId).collect(Collectors.toList());
            log.info("提取id ->{}",stringList);
//            log.info("提取id ->{}",stringList);
            for (String s : stringList) {
                if (tjSamplingService.isMergeItem(s) != 0) {
                    list.removeIf(item -> Objects.equals(item.getId(), s));