From 2e64c232ab6b51b2cecf1ee96e1e9b709234f326 Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期六, 21 八月 2021 16:35:14 +0800 Subject: [PATCH] 随手拍改版接口开发 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComMngPopulationService.java | 224 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 216 insertions(+), 8 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 b8d1155..7c6f48c 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,14 +4,26 @@ 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; +import com.panzhihua.common.model.dtos.grid.PagePopulationListDTO; +import com.panzhihua.common.model.dtos.grid.admin.ComMngPopulationExportDTO; +import com.panzhihua.common.model.dtos.grid.admin.ComMngPopulationListDTO; +import com.panzhihua.common.model.dtos.grid.admin.ComMngPopulationSubordinateDTO; +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; @@ -67,8 +79,96 @@ * @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); + + /** + * 批量导入刑释人员 + * + * @param list 刑释人员数据 + * @param communityId 社区id + * @return 导入结果 + */ + R listSaveRehabilitationPopulation(List<ComMngPopulationRehabilitationExcelVO> list, Long communityId); + + /** + * 批量导入重点上访人员 + * + * @param list 重点上访人员数据 + * @param communityId 社区id + * @return 导入结果 + */ + R listSaveKeyPopulation(List<ComMngPopulationKeyExcelVO> list, Long communityId); + + /** + * 批量导入服刑人员 + * + * @param list 服刑人员数据 + * @param communityId 社区id + * @return 导入结果 + */ + R listSaveSentencePopulation(List<ComMngPopulationSentenceExcelVO> list, Long communityId); + + /** + * 批量导入退役军人 + * + * @param list 退役军人数据 + * @param communityId 社区id + * @return 导入结果 + */ + R listSaveVeteransPopulation(List<ComMngPopulationVeteransExcelVO> list, Long communityId); + + /** + * 批量导入残疾人 + * + * @param list 残疾人数据 + * @param communityId 社区id + * @return 导入结果 + */ + R listSaveDisabilityPopulation(List<ComMngPopulationDisabilityExcelVO> list, Long communityId); + + /** + * 批量导入低保户 + * + * @param list 低保户数据 + * @param communityId 社区id + * @return 导入结果 + */ + R listSaveLowSecurityPopulation(List<ComMngPopulationLowSecurityExcelVO> list, Long communityId); /** * 确认导入实有人口(有则更新,无则新建) * @@ -77,7 +177,6 @@ * @return 导入结果 */ R listSavePopulationConfirm(List<ComMngPopulationServeExcelVO> list, Long communityId); - /** * 根据实有人口id修改用户标签 * @@ -111,6 +210,14 @@ R getPopulationLists(List<Long> Ids); /** + * 根据小区id查询实有人口 + * + * @param villageId 小区id + * @return 查询结果 + */ + R getPopulationListByVillageId(Long villageId); + + /** * 编辑实有人口 * * @param populationEditDTO @@ -134,6 +241,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); /** * 查询实有人口电子档信息 @@ -166,10 +294,10 @@ /** * 事件大屏统计接口 - * @param communityId 社区id + * @param screenEventDTO 请求参数 * @return 统计结果 */ - R getScreenEvent(Long communityId); + R getScreenEvent(BigScreenEventDTO screenEventDTO); /** * 民生大屏统计接口 @@ -177,7 +305,7 @@ * @return 统计结果 */ R getScreenCivil(Long communityId); - + /** * description 根据身份证信息修改用户标签信息 * @@ -205,7 +333,87 @@ */ R screenStatistic(Long communityId); + /** + * 获取社区网格 + * + * @param communityId 社区id + * @return 网格数据 + */ R getScreenGirds(Long communityId); + /** + * 事件大屏查询事件详情 + * + * @param eventDetailDTO 请求参数 + * @return 事件详情 + */ R getScreenEventDetail(BigScreenEventDetailDTO eventDetailDTO); + + /** + * 获取人口数据信息 + * + * @param populationListDTO 请求参数 + * @return 人口数据 + */ + R pagePopulationListApp(PagePopulationListDTO populationListDTO); + + /** + * 根据人口id获取人口详情 + * + * @param populationId 人口id + * @return 人口详情 + */ + R getPopulationDetailApp(Long populationId); + + /** + * 修复人口加密问题 + * + * @return 修复结果 + */ + R getPopulationRepairByApp(); + + /** + * 综治后台-居民列表 + * @param populationListDTO 请求参数 + * @return 居民列表 + */ + R getGridPopulationAdminList(ComMngPopulationListDTO populationListDTO); + + /** + * 综治后台-删除居民 + * @param ids 居民id集合 + * @return 删除结果 + */ + R delGridPopulationAdmin(List<Long> ids); + + /** + * 查询平台人口列表 + * @param populationDTO 请求参数 + * @return 人口列表 + */ + R getBuildingHousePopulationList(PageComMngPopulationDTO populationDTO); + + R binding(); + + /** + * 综治后台-居民标签栏统计 + * @return 居民统计 + */ + R getGridPopulationStatistics(Long communityId); + + /** + * 综治后台-居民导出查询居民数据 + * @param populationExportDTO 请求参数 + * @return 导出结果 + */ + R getGridPopulationExport(ComMngPopulationExportDTO populationExportDTO); + + /** + * 综治后台-居民管理小区列表 + * @param name 小区名字 + * @return 小区列表 + */ + R relationVillage(String name); + + R getVillagePopulationAdmin(PageComMngVillagePopulationDTO villagePopulationDTO); } -- Gitblit v1.7.1