From a07b3420c0c94cf236d6bf92c8e26a8eedc0eaa6 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期三, 25 八月 2021 14:30:58 +0800
Subject: [PATCH] 修复实有人口问题SQL

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java |   12 ++++++------
 1 files changed, 6 insertions(+), 6 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 58d1752..0248640 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
@@ -5787,7 +5787,7 @@
             userTagList.forEach(userTag -> {
                 if (userTag != null) {
                     if (userTag.getSysFlag().equals(0)) {
-                        Integer count = comMngPopulationDAO.getSpecialStatisticsByLabel(userTag.getTagName());
+                        Integer count = comMngPopulationDAO.getSpecialStatisticsByLabel(userTag.getTagName(),communityId);
                         otherSpecialVO.setSum(otherSpecialVO.getSum() + count);
                     } else {
                         if (StringUtils.isNotEmpty(userTag.getTagName())) {
@@ -5819,7 +5819,7 @@
                             } else {
                                 IndexSpecialStatisticsVO specialStatisticsVO = new IndexSpecialStatisticsVO();
                                 specialStatisticsVO.setTitle(userTag.getTagName());
-                                Integer count = comMngPopulationDAO.getSpecialStatisticsByLabel(userTag.getTagName());
+                                Integer count = comMngPopulationDAO.getSpecialStatisticsByLabel(userTag.getTagName(),communityId);
                                 specialStatisticsVO.setSum(count);
                                 specialStatisticsVOList.add(specialStatisticsVO);
                             }
@@ -6000,7 +6000,7 @@
             userTagList.forEach(userTag -> {
                 if (userTag != null) {
                     if (userTag.getSysFlag().equals(0)) {
-                        Integer count = comMngPopulationDAO.getSpecialStatisticsByLabel(userTag.getTagName());
+                        Integer count = comMngPopulationDAO.getSpecialStatisticsByLabel(userTag.getTagName(),communityId);
                         otherSpecialVO.setSum(otherSpecialVO.getSum() + count);
                     } else {
                         if (StringUtils.isNotEmpty(userTag.getTagName())) {
@@ -6032,7 +6032,7 @@
                             } else {
                                 IndexSpecialStatisticsVO specialStatisticsVO = new IndexSpecialStatisticsVO();
                                 specialStatisticsVO.setTitle(userTag.getTagName());
-                                Integer count = comMngPopulationDAO.getSpecialStatisticsByLabel(userTag.getTagName());
+                                Integer count = comMngPopulationDAO.getSpecialStatisticsByLabel(userTag.getTagName(),communityId);
                                 specialStatisticsVO.setSum(count);
                                 specialStatisticsVOList.add(specialStatisticsVO);
                             }
@@ -6100,7 +6100,7 @@
             userTagList.forEach(userTag -> {
                 if (userTag != null) {
                     if (userTag.getSysFlag().equals(0)) {
-                        Integer count = comMngPopulationDAO.getSpecialStatisticsByLabel(userTag.getTagName());
+                        Integer count = comMngPopulationDAO.getSpecialStatisticsByLabel(userTag.getTagName(),communityId);
                         otherSpecialVO.setSum(otherSpecialVO.getSum() + count);
                     } else {
                         if (StringUtils.isNotEmpty(userTag.getTagName())) {
@@ -6132,7 +6132,7 @@
                             } else {
                                 IndexSpecialStatisticsVO specialStatisticsVO = new IndexSpecialStatisticsVO();
                                 specialStatisticsVO.setTitle(userTag.getTagName());
-                                Integer count = comMngPopulationDAO.getSpecialStatisticsByLabel(userTag.getTagName());
+                                Integer count = comMngPopulationDAO.getSpecialStatisticsByLabel(userTag.getTagName(),communityId);
                                 specialStatisticsVO.setSum(count);
                                 specialStatisticsVOList.add(specialStatisticsVO);
                             }

--
Gitblit v1.7.1