From 90de589a0964981f05b1571e441110130f35f4b8 Mon Sep 17 00:00:00 2001 From: 罗元桥 <2376770955@qq.com> Date: 星期五, 18 二月 2022 11:01:59 +0800 Subject: [PATCH] Merge branch 'volunteer_lyq' into 'dev' --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 177 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 177 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java index d103e2a..198ac25 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java @@ -2,7 +2,9 @@ import java.util.List; +import com.panzhihua.common.model.dtos.common.*; import com.panzhihua.common.model.dtos.community.microCommercialStreet.DeleteProductDTO; +import com.panzhihua.common.model.vos.community.volunteer.ComMngVolunteerExcelVO; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.scheduling.annotation.Async; import org.springframework.web.bind.annotation.DeleteMapping; @@ -2529,6 +2531,17 @@ */ @PostMapping("/common/data/population/page") R pagePopulation(ComMngPopulationDTO comMngPopulationVO); + + /** + * 导出老人 + * + * @param comMngPopulationVO + * 查询参数 + * @return 分页集合 + */ + @PostMapping("/common/data/population/exportOld") + R exportOld(ComMngPopulationDTO comMngPopulationVO); + /** * 根据身份证查询实有人口信息 @@ -5761,6 +5774,14 @@ R registerDetailedListAdmin(@RequestBody PageReserveRegisterDetailedAdminDTO detailedAdminDTO); /** + * 导出登记明细列表 + * @param detailedAdminDTO 请求参数 + * @return 登记明细列表 + */ + @PostMapping("/reserve/admin/register/detailed/list/export") + R registerDetailedListAdminExport(@RequestBody PageReserveRegisterDetailedAdminDTO detailedAdminDTO); + + /** * 查询登记详情记录 * @param reserveRecordId 登记记录id * @return 登记详情记录 @@ -8273,4 +8294,160 @@ @PostMapping("/common/data/history/filled") R filledPopulationPersonType(@RequestBody List<ComMngPopulationServeExcelVO> newVoList, @RequestParam("communityId") Long communityId, @RequestParam("userId") Long userId); + + /** + * 社区后台-分页查询志愿者组织队伍 + * + * @param orgTeamDto 请求参数 + * @return 志愿者组织队伍 + */ + @PostMapping("/comMngVolunteerOrgTeam/page") + R pageVolunteerOrgAdmin(@RequestBody PageComMngVolunteerOrgTeamDto orgTeamDto); + + /** + * 社区后台-新增志愿者组织队伍 + * + * @param orgTeamDto 请求参数 + * @return 新增结果 + */ + @PostMapping("/comMngVolunteerOrgTeam/add") + R addVolunteerOrgAdmin(@RequestBody AddComMngVolunteerOrgTeamDto orgTeamDto); + + /** + * 社区后台-编辑志愿者组织队伍 + * + * @param orgTeamDto 请求参数 + * @return 编辑结果 + */ + @PutMapping("/comMngVolunteerOrgTeam/edit") + R editVolunteerOrgAdmin(@RequestBody EditComMngVolunteerOrgTeamDto orgTeamDto); + + /** + * 社区后台-删除志愿者组织队伍 + * + * @param id 主键id + * @return 删除结果 + */ + @GetMapping("/comMngVolunteerOrgTeam/delete") + R deleteVolunteerOrgAdmin(@RequestParam("id") Long id); + + /** + * 社区后台-查询志愿者组织列表 + * + * @param orgTeamDto 请求参数 + * @return 志愿者组织列表 + */ + @PostMapping("/comMngVolunteerOrgTeam/list") + R listVolunteerOrgAdmin(@RequestBody PageComMngVolunteerOrgTeamDto orgTeamDto); + + /** + * 社区后台-分页查询服务类型 + * + * @param serviceTypeDto 请求参数 + * @return 服务类型列表 + */ + @PostMapping("/comMngVolunteerServiceType/page") + R pageServiceTypeAdmin(@RequestBody PageComMngVolunteerServiceTypeDto serviceTypeDto); + + /** + * 社区后台-新增服务类型 + * + * @param serviceTypeDto 请求参数 + * @return 新增结果 + */ + @PostMapping("/comMngVolunteerServiceType/add") + R addServiceTypeAdmin(@RequestBody AddComMngVolunteerServiceTypeDto serviceTypeDto); + + /** + * 社区后台-编辑服务类型 + * + * @param serviceTypeDto 请求参数 + * @return 编辑结果 + */ + @PutMapping("/comMngVolunteerServiceType/edit") + R editServiceTypeAdmin(@RequestBody EditComMngVolunteerServiceTypeDto serviceTypeDto); + + /** + * 社区后台-删除服务类型 + * + * @param id 主键id + * @return 删除结果 + */ + @GetMapping("/comMngVolunteerServiceType/delete") + R deleteServiceTypeAdmin(@RequestParam("id") Long id); + + /** + * 社区后台-分页查询志愿者技能列表 + * + * @param volunteerSkillDto 请求参数 + * @return 志愿者技能列表 + */ + @PostMapping("/comMngVolunteerSkill/page") + R pageVolunteerSkillAdmin(@RequestBody PageComMngVolunteerSkillDto volunteerSkillDto); + + /** + * 社区后台-新增志愿者技能 + * + * @param volunteerSkillDto 请求参数 + * @return 新增结果 + */ + @PostMapping("/comMngVolunteerSkill/add") + R addVolunteerSkillAdmin(@RequestBody AddComMngVolunteerSkillDto volunteerSkillDto); + + /** + * 社区后台-编辑志愿者技能 + * + * @param volunteerSkillDto 请求参数 + * @return 编辑结果 + */ + @PutMapping("/comMngVolunteerSkill/edit") + R editVolunteerSkillAdmin(@RequestBody EditComMngVolunteerSkillDto volunteerSkillDto); + + /** + * 社区后台-删除志愿者技能 + * + * @param id 主键id + * @return 删除结果 + */ + @GetMapping("/comMngVolunteerSkill/delete") + R deleteVolunteerSkillAdmin(@RequestParam("id") Long id); + + /** + * 社区后台-查询志愿者服务类型列表 + * + * @param serviceTypeDto 请求参数 + * @return 志愿者服务列表 + */ + @PostMapping("/comMngVolunteerServiceType/list") + R listServiceTypeAdmin(@RequestBody PageComMngVolunteerServiceTypeDto serviceTypeDto); + + /** + * 社区后台-查询志愿者技能列表 + * + * @param volunteerSkillDto 请求参数 + * @return 志愿者技能列表 + */ + @PostMapping("/comMngVolunteerSkill/list") + R listVolunteerSkillAdmin(@RequestBody PageComMngVolunteerSkillDto volunteerSkillDto); + + /** + * 社区后台-志愿者组织统计 + * + * @param communityId 社区id + * @return 志愿者组织统计 + */ + @GetMapping("/comMngVolunteerOrgTeam/statistics") + R statisticsVolunteerOrgAdmin(@RequestParam("communityId") Long communityId); + + /** + * 志愿者导入 + * + * @param list 志愿者数据列表 + * @param communityId 社区id + * @param userId 用户id + * @return 导入结果 + */ + @PostMapping("/volunteer/import/admin") + R importVolunteerAdmin(@RequestBody List<ComMngVolunteerExcelVO> list, + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); } -- Gitblit v1.7.1