From e7f03acfa5ee4ad4fd6d1ee9e9ae9a5655488f6d Mon Sep 17 00:00:00 2001 From: 101captain <237651143@qq.com> Date: 星期二, 09 十一月 2021 17:04:46 +0800 Subject: [PATCH] 1109修改 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComMngPopulationService.java | 39 +++++++++++++++++++++++++++++++++++---- 1 files changed, 35 insertions(+), 4 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 e8d9dd6..399d9f7 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 @@ -19,6 +19,10 @@ 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.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestParam; /** * 实有人口Service @@ -58,7 +62,7 @@ * 实有人口id * @return 实有人口详情 */ - R detailPopulation(Long populationId); + R detailPopulation(Long populationId, Long communityId); /** * 分页查询实有人口 @@ -203,6 +207,26 @@ R listSaveLowSecurityPopulation(List<ComMngPopulationLowSecurityExcelVO> list, Long communityId, Long userId); /** + * 批量导入高龄老人 listSavePopulationElderExcelVO 批量导入高龄老人 + * @param list 高龄老人数据 + * @param communityId 社区id + * @return R 导入结果 + * @author txb + * @date 2021/9/01 15:03 + */ + R listSaveEdlerPopulation(List<ComMngPopulationElderExcelVO> list, Long communityId, Long userId); + + /** + * 批量导入养老金人员 listSavePopulationPensionExcelVO 批量导入养老金人员 + * @param list 养老金人员数据 + * @param communityId 社区id + * @return R 导入结果 + * @author txb + * @date 2021/9/01 15:03 + */ + R listSavePensionPopulation(List<ComMngPopulationPensionExcelVO> list, Long communityId, Long userId); + + /** * 确认导入实有人口(有则更新,无则新建) * * @param list @@ -225,11 +249,11 @@ /** * 批量删除实有人口 * - * @param Ids + * @param ids * 实有人口id集合 * @return 删除结果 */ - R deletePopulations(List<Long> Ids); + R deletePopulations(List<Long> ids, Long communityId); /** * 根据社区id查询所有实有人口 @@ -283,7 +307,7 @@ * 特殊群体id * @return 删除结果 */ - R deleteSpecialInputUser(Long id); + R deleteSpecialInputUser(Long id,Long communityId); /** * 基础数据》特殊群体》分页查询标签列表 @@ -490,4 +514,11 @@ R relationVillage(String name); R getVillagePopulationAdmin(PageComMngVillagePopulationDTO villagePopulationDTO); + + /** + * 导出特殊人群 + * @param PageInputUserDTO + * @return + */ + R specialInputUserExport(PageInputUserDTO PageInputUserDTO); } -- Gitblit v1.7.1