From 3440dd3406fac18217bf59be0910127bb0d8a848 Mon Sep 17 00:00:00 2001
From: xyh <18782104331@139.com>
Date: 星期三, 16 六月 2021 18:18:57 +0800
Subject: [PATCH] 人口,工作大屏

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java |    6 ++----
 1 files changed, 2 insertions(+), 4 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 2ce7176..4591c34 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
@@ -810,7 +810,8 @@
         comActPopulationScreenVO.setOutNum(vo.getOutTotal() == null ? 0 : vo.getOutTotal().longValue());
         comActPopulationScreenVO.setSpecialNum(vo.getSpecialTotal() == null ? 0 : vo.getSpecialTotal().longValue());
         //统计已使用社区通人数
-        setUsedCommunityNum(comActPopulationScreenVO,communityId);
+        Long count = populationDAO.countUsedCommunityPopulation(communityId);
+        comActPopulationScreenVO.setUsedCommunityNum(count == null ? 0 : count);
 
         //统计性别
         Map<String,Long> sexMap = populationDAO.countBySex(communityId);
@@ -828,9 +829,6 @@
         return R.ok(comActPopulationScreenVO);
     }
 
-    private void setUsedCommunityNum(ComActPopulationScreenVO comActPopulationScreenVO, Long communityId) {
-
-    }
 
     private void setCultureGroup(ComActPopulationScreenVO comActPopulationScreenVO, Long communityId) {
         Map<String,Long> cultureMap = populationDAO.countByCulture(communityId);

--
Gitblit v1.7.1