From 265efbc31da0cf910f372cc31d12a24d326e0fc0 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期二, 31 八月 2021 11:22:12 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/test' into test

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java
index 501e34b..7bd7276 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java
@@ -550,7 +550,7 @@
         try {
             // 查询社区信息
             log.info("开始查询社区信息数据");
-            ComPopulationActVO populationActVO = comActDAO.getPopulationActById(31L);
+            ComPopulationActVO populationActVO = comActDAO.getPopulationActById(communityId);
             if (populationActVO == null) {
                 log.error("未查询到社区信息");
                 return R.fail("未查询到社区信息");
@@ -560,7 +560,7 @@
             // 查询当前社区标签列表
             List<String> labelList = new ArrayList<>();
             List<ComMngUserTagDO> comMngUserTagDOS = comMngUserTagDAO
-                .selectList(new QueryWrapper<ComMngUserTagDO>().eq("sys_flag", 1).or().eq("community_id", 31));
+                .selectList(new QueryWrapper<ComMngUserTagDO>().eq("sys_flag", 1).or().eq("community_id", communityId));
             if (!ObjectUtils.isEmpty(comMngUserTagDOS)) {
                 labelList = comMngUserTagDOS.stream().map(comMngUserTagDO -> comMngUserTagDO.getTagName())
                     .collect(Collectors.toList());
@@ -632,7 +632,7 @@
                 log.info("开始查询小区街路巷是否存在");
                 // 查询小区街路巷是否存在
                 ComMngVillageDO comMngVillageDO = null;
-                String villageKey = 31 + vo.getRoad() + vo.getDoorNo();
+                String villageKey = communityId + vo.getRoad() + vo.getDoorNo();
                 if (!isOnly(villageKey, villageMap)) {
                     comMngVillageDO = (ComMngVillageDO)villageMap.get(villageKey);
                 } else {

--
Gitblit v1.7.1