From e939bd98510e3cd011ec4ac51b725544c6b91924 Mon Sep 17 00:00:00 2001
From: yanghui <2536613402@qq.com>
Date: 星期一, 28 十一月 2022 17:35:06 +0800
Subject: [PATCH] #feat .

---
 springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/impl/UserServiceImpl.java |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/impl/UserServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/impl/UserServiceImpl.java
index eda1ddf..1264b4a 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/impl/UserServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/impl/UserServiceImpl.java
@@ -3768,15 +3768,15 @@
     @Override
     public R getAllCommunityList() {
         List<Integer> areaList = areaCodeList();
-        List<AreaVOS> areaVOList = new ArrayList<>();
+        List<AreaVOStr> areaVOList = new ArrayList<>();
         for (Integer code : areaList) {
-            AreaVOS areaVO = new AreaVOS();
-            areaVO.setId(code);
+            AreaVOStr areaVO = new AreaVOStr();
+            areaVO.setId(code+"");
             areaVO.setName(areaCodeToName(code.longValue()));
-            List<StreetVOS> streetVOS = userDao.selectStreetByAreaCode(code);
-            Iterator<StreetVOS> iterator = streetVOS.listIterator();
+            List<StreetVOStr> streetVOS = userDao.selectStreetByAreaCodeStr(code);
+            Iterator<StreetVOStr> iterator = streetVOS.listIterator();
             while (iterator.hasNext()) {
-                StreetVOS vo = iterator.next();
+                StreetVOStr vo = iterator.next();
                 List<CommunityVO> communityVOS = userDao.selectCommunityByStreetId(vo.getId(), 3);
                 vo.setChildList(communityVOS);
 

--
Gitblit v1.7.1