From 179c4d64313c9b7572778da4aaaf6c6584fe457d Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期二, 20 五月 2025 23:48:08 +0800
Subject: [PATCH] 修改文件上传类型限制

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationHouseServiceImpl.java |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationHouseServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationHouseServiceImpl.java
index 1f8e860..30b810c 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationHouseServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationHouseServiceImpl.java
@@ -116,7 +116,7 @@
                                 () -> new TreeSet<>(Comparator.comparing(o -> o.getAlley() + ";" + o.getHouseNum()))),
                                 ArrayList::new));
                     cascadeHouseVOList.forEach(cascade -> {
-                        cascade.setName(cascade.getHouseNum());
+                        cascade.setName(cascade.getHouseNum()+"("+cascade.getName()+")");
                     });
                 }
                 break;
@@ -434,8 +434,8 @@
                 // subordinateList =
                 // subordinateList.stream().collect(Collectors.collectingAndThen(Collectors.toCollection(() -> new
                 // TreeSet<>(Comparator.comparing(o -> o.getFloor()))), ArrayList::new));
-                subordinateList = subordinateList.stream().filter(distinctByKey(ComMngSubordinateVO::getFloor))
-                    .collect(Collectors.toList());
+//                subordinateList = subordinateList.stream().filter(distinctByKey(ComMngSubordinateVO::getFloor))
+//                    .collect(Collectors.toList());
                 subordinateList.forEach(cascade -> {
                     if (cascade.getFloor().contains("栋")) {
                         cascade.setName(cascade.getFloor());
@@ -448,8 +448,8 @@
                 if (houseDO != null) {
                     subordinateList =
                         this.baseMapper.getHouseLevelByUnitNos(houseDO.getVillageId(), houseDO.getFloor());
-                    subordinateList = subordinateList.stream().filter(distinctByKey(ComMngSubordinateVO::getUnitNo))
-                        .collect(Collectors.toList());
+//                    subordinateList = subordinateList.stream().filter(distinctByKey(ComMngSubordinateVO::getUnitNo))
+//                        .collect(Collectors.toList());
                     // subordinateList =
                     // subordinateList.stream().collect(Collectors.collectingAndThen(Collectors.toCollection(() -> new
                     // TreeSet<>(Comparator.comparing(o -> o.getUnitNo()))), ArrayList::new));
@@ -466,8 +466,8 @@
                 if (houseDO != null) {
                     subordinateList = this.baseMapper.getHouseLevelByHouseNos(houseDO.getVillageId(),
                         houseDO.getFloor(), houseDO.getUnitNo());
-                    subordinateList = subordinateList.stream().filter(distinctByKey(ComMngSubordinateVO::getHouseNo))
-                        .collect(Collectors.toList());
+//                    subordinateList = subordinateList.stream().filter(distinctByKey(ComMngSubordinateVO::getHouseNo))
+//                        .collect(Collectors.toList());
                     // subordinateList =
                     // subordinateList.stream().collect(Collectors.collectingAndThen(Collectors.toCollection(() -> new
                     // TreeSet<>(Comparator.comparing(o -> o.getHouseNo()))), ArrayList::new));

--
Gitblit v1.7.1