From c72fa1f231efc96386d05982b1a1b4765c952fa5 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期二, 01 六月 2021 11:10:39 +0800
Subject: [PATCH] 修改bug

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngPopulationDAO.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngPopulationDAO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngPopulationDAO.java
index 69a4333..89c1940 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngPopulationDAO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngPopulationDAO.java
@@ -231,7 +231,7 @@
     @Select("select count(id) as populationTotal " +
             ",(select count(id) from com_mng_population where act_id = #{communityId} and out_or_local = 1) as localTotal " +
             ",(select count(id) from com_mng_population where act_id = #{communityId} and out_or_local = 2) as outTotal " +
-            ",(select count(id) from com_mng_population where act_id = #{communityId} and label is null) as specialTotal " +
+            ",(select count(id) from com_mng_population where act_id = #{communityId} and label is not null) as specialTotal " +
             " from com_mng_population as cmp where act_id = #{communityId}")
     ComMngPopulationTotalVO getPopulationTotalByAdmin(@Param("communityId") Long communityId);
 }

--
Gitblit v1.7.1