From cc1098fc00a50cb1591d182f04bc37066ff0a9e2 Mon Sep 17 00:00:00 2001
From: 罗元桥 <2376770955@qq.com>
Date: 星期四, 05 八月 2021 15:12:39 +0800
Subject: [PATCH] Merge branch 'test' into 'master'

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComMngPopulationService.java |   82 ++++++++++++++++++++++++++++++++++++++---
 1 files changed, 76 insertions(+), 6 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComMngPopulationService.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComMngPopulationService.java
index 29723dd..ecf66ca 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComMngPopulationService.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComMngPopulationService.java
@@ -4,6 +4,7 @@
 import com.panzhihua.common.model.dtos.community.ComMngPopulationEditDTO;
 import com.panzhihua.common.model.dtos.community.ComMngPopulationTagCardNoDTO;
 import com.panzhihua.common.model.dtos.community.ComMngPopulationTagDTO;
+import com.panzhihua.common.model.dtos.community.bigscreen.BigScreenEventDTO;
 import com.panzhihua.common.model.dtos.community.bigscreen.BigScreenEventDetailDTO;
 import com.panzhihua.common.model.dtos.grid.AddComMngHousePopulationDTO;
 import com.panzhihua.common.model.dtos.grid.PageComMngPopulationDTO;
@@ -14,11 +15,15 @@
 import com.panzhihua.common.model.dtos.grid.admin.PageComMngVillagePopulationDTO;
 import com.panzhihua.common.model.dtos.user.PageInputUserDTO;
 import com.panzhihua.common.model.vos.R;
-import com.panzhihua.common.model.vos.community.ComMngPopulationServeExcelVO;
-import com.panzhihua.common.model.vos.community.ComMngPopulationVO;
-import com.panzhihua.common.model.vos.community.EditComMngPopulationVO;
+import com.panzhihua.common.model.vos.community.*;
+import com.panzhihua.common.model.vos.user.ComMngTagVO;
 import com.panzhihua.common.model.vos.user.UserElectronicFileVO;
 import com.panzhihua.service_community.model.dos.ComMngPopulationDO;
+import org.springframework.transaction.annotation.Transactional;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestParam;
 
 import java.util.List;
 
@@ -74,7 +79,43 @@
      * @param communityId
      * @return
      */
-    R listSavePopulation(List<ComMngPopulationServeExcelVO> list, Long communityId) throws Exception;
+    R listSavePopulation(List<ComMngPopulationServeExcelVO> list, Long communityId);
+
+    /**
+     * 导入吸毒人员
+     * @param list
+     * @param communityId
+     * @return
+     */
+    R listSaveDrugPopulation(List<ComMngPopulationDrugExcelVO> list, Long communityId);
+
+    /**
+     * 批量导入社区矫正人员
+     *
+     * @param list        社区矫正人员数据
+     * @param communityId 社区id
+     * @return 导入结果
+     */
+    R listSaveCorrectPopulation(List<ComMngPopulationCorrectExcelVO> list, Long communityId);
+
+    /**
+     * 批量导入重精人员
+     *
+     * @param list        重精人员数据
+     * @param communityId 社区id
+     * @return 导入结果
+     */
+    R listSaveMajorPopulation(List<ComMngPopulationMajorExcelVO> list, Long communityId);
+
+    /**
+     * 批量导入邪教人员
+     *
+     * @param list        邪教人员数据
+     * @param communityId 社区id
+     * @return 导入结果
+     */
+    R listSaveCultPopulation(List<ComMngPopulationCultExcelVO> list, Long communityId);
+
 
     /**
      * 确认导入实有人口(有则更新,无则新建)
@@ -117,6 +158,14 @@
     R getPopulationLists(List<Long> Ids);
 
     /**
+     * 根据小区id查询实有人口
+     *
+     * @param villageId 小区id
+     * @return 查询结果
+     */
+    R getPopulationListByVillageId(Long villageId);
+
+    /**
      * 编辑实有人口
      *
      * @param populationEditDTO
@@ -140,6 +189,27 @@
      * @return 删除结果
      */
     R deleteSpecialInputUser(Long id);
+
+    /**
+     * 基础数据》特殊群体》分页查询标签列表
+     * @param comMngUserTagDTO
+     * @return
+     */
+    R specialInputUserTags(PageInputUserDTO comMngUserTagDTO);
+
+    /**
+     * 新增或修改特殊群体标签
+     * @param comMngTagVO
+     * @return
+     */
+    R saveSpecialInputUserTags(ComMngTagVO comMngTagVO);
+
+    /**
+     * 删除特殊群体标签
+     * @param id
+     * @return
+     */
+    R deleteSpecialInputUserTags(Long id);
 
     /**
      * 查询实有人口电子档信息
@@ -172,10 +242,10 @@
 
     /**
      * 事件大屏统计接口
-     * @param communityId   社区id
+     * @param screenEventDTO   请求参数
      * @return  统计结果
      */
-    R getScreenEvent(Long communityId);
+    R getScreenEvent(BigScreenEventDTO screenEventDTO);
 
     /**
      * 民生大屏统计接口

--
Gitblit v1.7.1