From 41ee26f49db69e01dab44c36d86760f3fa2a3c87 Mon Sep 17 00:00:00 2001
From: xyh <18782104331@139.com>
Date: 星期五, 25 六月 2021 18:32:13 +0800
Subject: [PATCH] 走访任务修改
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComMngPopulationService.java | 158 +++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 155 insertions(+), 3 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 1b8d668..f77a1d8 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
@@ -1,11 +1,18 @@
package com.panzhihua.service_community.service;
import com.panzhihua.common.model.dtos.community.ComMngPopulationDTO;
+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.BigScreenEventDetailDTO;
+import com.panzhihua.common.model.dtos.grid.PagePopulationListDTO;
+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 org.springframework.cloud.openfeign.FeignClient;
-import org.springframework.web.bind.annotation.PostMapping;
+import com.panzhihua.common.model.vos.community.EditComMngPopulationVO;
+import com.panzhihua.common.model.vos.user.UserElectronicFileVO;
+import com.panzhihua.service_community.model.dos.ComMngPopulationDO;
import java.util.List;
@@ -61,5 +68,150 @@
* @param communityId
* @return
*/
- R listSavePopulation(List<ComMngPopulationServeExcelVO> list, Long communityId);
+ R listSavePopulation(List<ComMngPopulationServeExcelVO> list, Long communityId) throws Exception;
+
+ /**
+ * 确认导入实有人口(有则更新,无则新建)
+ *
+ * @param list 用户信息
+ * @param communityId 社区id
+ * @return 导入结果
+ */
+ R listSavePopulationConfirm(List<ComMngPopulationServeExcelVO> list, Long communityId);
+ /**
+ * 根据实有人口id修改用户标签
+ *
+ * @param populationTagDTO 请求参数
+ * @return 修改结果
+ */
+ R editTagPopulation(ComMngPopulationTagDTO populationTagDTO);
+
+ /**
+ * 批量删除实有人口
+ *
+ * @param Ids 实有人口id集合
+ * @return 删除结果
+ */
+ R deletePopulations(List<Long> Ids);
+
+ /**
+ * 根据社区id查询所有实有人口
+ *
+ * @param communityId 社区id
+ * @return 查询结果
+ */
+ R getPopulationListByCommunityId(Long communityId);
+
+ /**
+ * 根据id集合查询实有人口
+ *
+ * @param Ids 实有人口id集合
+ * @return 查询结果
+ */
+ R getPopulationLists(List<Long> Ids);
+
+ /**
+ * 编辑实有人口
+ *
+ * @param populationEditDTO
+ * @param communityId
+ * @return
+ */
+ R editPopulation(ComMngPopulationEditDTO populationEditDTO, Long communityId) throws Exception;
+
+ /**
+ * 分页查询特殊群体
+ *
+ * @param pageInputUserDTO 请求参数
+ * @return 特殊群体列表
+ */
+ R specialInputUser(PageInputUserDTO pageInputUserDTO);
+
+ /**
+ * 删除特殊群体人员
+ *
+ * @param id 特殊群体id
+ * @return 删除结果
+ */
+ R deleteSpecialInputUser(Long id);
+
+ /**
+ * 查询实有人口电子档信息
+ *
+ * @param populationId 实有人口id
+ * @return 实有人口电子档信息
+ */
+ R electronicArchivesPopulation(Long populationId);
+
+ /**
+ * 编辑电子档案
+ * @param userElectronicFileVO
+ * @return
+ */
+ R editUserElectronicFile(UserElectronicFileVO userElectronicFileVO);
+
+ /**
+ * 实有人口统计
+ * @param communityId 社区id
+ * @return 统计结果
+ */
+ R getPopulationTotalByAdmin(Long communityId);
+
+ /**
+ * 首页大屏统计接口
+ * @param communityId 社区id
+ * @return 统计结果
+ */
+ R getScreenIndex(Long communityId);
+
+ /**
+ * 事件大屏统计接口
+ * @param communityId 社区id
+ * @return 统计结果
+ */
+ R getScreenEvent(Long communityId);
+
+ /**
+ * 民生大屏统计接口
+ * @param communityId 社区id
+ * @return 统计结果
+ */
+ R getScreenCivil(Long communityId);
+
+ /**
+ * description 根据身份证信息修改用户标签信息
+ *
+ * @param comMngPopulationTagCardNoDTO 查询对象
+ * @return ComMngPopulationDO 实有人口信息
+ * @author manailin
+ * @date 2021/6/10 17:00
+ */
+ R editTagPopulationByCardNo(ComMngPopulationTagCardNoDTO comMngPopulationTagCardNoDTO);
+
+ /**
+ * description 根据身份证信息从实有人口表查询对应信息
+ *
+ * @param cardNo 身份证号码
+ * @return ComMngPopulationDO 实有人口信息
+ * @author manailin
+ * @date 2021/6/10 17:00
+ */
+ ComMngPopulationDO getPopulationByCardNo(String cardNo);
+
+ /**
+ * 大屏统计实有人口
+ * @param communityId
+ * @return
+ */
+ R screenStatistic(Long communityId);
+
+ R getScreenGirds(Long communityId);
+
+ R getScreenEventDetail(BigScreenEventDetailDTO eventDetailDTO);
+
+ R pagePopulationListApp(PagePopulationListDTO populationListDTO);
+
+ R getPopulationDetailApp(Long populationId);
+
+ R getPopulationRepairByApp();
}
--
Gitblit v1.7.1