lidongdong
2023-06-27 0e4d72b9d914bb9c6a910b530783de3829d396f9
新增三资公开区域筛选接口添加社区信息
1个文件已修改
15 ■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngProvinceServiceImpl.java 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngProvinceServiceImpl.java
@@ -135,7 +135,7 @@
                    ComMngAreaVO districtVo = new ComMngAreaVO(d.getDistrictAdcode(), d.getDistrictName());
                    BeanUtils.copyProperties(d, districtVo);
                    cityVo.getChildren().add(districtVo);
                    vos.add(districtVo);
                    LambdaQueryWrapper<ComStreetDO> param = new QueryWrapper<ComStreetDO>().lambda();
                    ComStreetVO comStreetVO=new ComStreetVO();
@@ -148,21 +148,22 @@
                    {
                        ComMngAreaVO csd = new ComMngAreaVO(0, dos.getName(),dos.getStreetId()+"");
                        BeanUtils.copyProperties(dos, csd);
                        districtVo.getChildren().add(csd);
                        // 查询街道下社区列表
                        List<CommunitySwitchAllAppletsVO> communityList = comActDAO.getCommunityListByStreetId(dos.getStreetId());
                        communityList.forEach(csaa ->{
                            ComMngAreaVO cssd = new ComMngAreaVO(0, csaa.getName(),csaa.getCommunityId()+"");
                            BeanUtils.copyProperties(csaa, cssd);
                        communityList.forEach(commItem ->
                        {
                            ComMngAreaVO cssd = new ComMngAreaVO(0, commItem.getName(),commItem.getCommunityId()+"");
                            BeanUtils.copyProperties(commItem, cssd);
                            csd.getChildren().add(cssd);
                        });
                        districtVo.getChildren().add(csd);
                    });
                    vos.add(districtVo);
                });
            });
        });