| | |
| | | |
| | | import com.panzhihua.common.model.dtos.community.GetIdentityEidTokenDTO; |
| | | import com.panzhihua.common.model.dtos.community.*; |
| | | import com.panzhihua.common.model.dtos.community.cluster.PageClusterMemberDto; |
| | | import com.panzhihua.common.model.dtos.community.cluster.admin.*; |
| | | import com.panzhihua.common.model.dtos.property.CommonPage; |
| | | import com.panzhihua.common.model.dtos.community.discuss.ComActDiscussDetailDTO; |
| | | import com.panzhihua.common.model.dtos.community.discuss.ComActDiscussPublishResultDTO; |
| | | import com.panzhihua.common.model.dtos.community.elder.ElderAuthStatisticHeaderDTO; |
| | | import com.panzhihua.common.model.dtos.community.elder.PageElderAuthStatisticDTO; |
| | | import com.panzhihua.common.model.dtos.community.elder.PagePensionAuthStatisticDTO; |
| | | import com.panzhihua.common.model.dtos.community.elder.SignElderAuthStatisticDTO; |
| | | import com.panzhihua.common.model.dtos.neighbor.*; |
| | | import com.panzhihua.common.model.vos.community.*; |
| | | import com.panzhihua.common.model.vos.community.cluster.admin.ComClusterMemberExcelVO; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | |
| | | R getElderAuthRecordsByIds(@RequestBody List<Long> ids); |
| | | |
| | | /** |
| | | * 导出高龄认证记录 exportElderAuthRecordsStatistic 导出高龄认证记录 |
| | | * 导出高龄认证统计记录 exportElderAuthRecordsStatistic |
| | | * @param pageElderAuthRecordsDTO 查询参数 |
| | | * @return R 查询结果 |
| | | * @author txb |
| | | * @date 2021/9/02 11:03 |
| | | */ |
| | | @PostMapping("/elders/authRecords/statistic/export") |
| | | R exportElderAuthRecordsStatistic(@RequestBody PageElderAuthRecordsDTO pageElderAuthRecordsDTO); |
| | | R exportElderAuthRecordsStatistic(@RequestBody PageElderAuthStatisticDTO pageElderAuthRecordsDTO); |
| | | |
| | | /** |
| | | * 分页查询养老金人员认证记录 pagePensionAuthRecords 分页查询养老金人员认证记录 |
| | |
| | | * @param eldersAuthTypeQueryDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/elders/authtype") |
| | | @PostMapping("/elders/authType") |
| | | R communityElderAuthType(@RequestBody EldersAuthTypeQueryDTO eldersAuthTypeQueryDTO); |
| | | |
| | | /** |
| | |
| | | */ |
| | | @PostMapping("discuss/permissions") |
| | | R getDiscussPermissions(@RequestBody ComActDiscussDTO comActDiscussDTO); |
| | | |
| | | /** |
| | | * 高龄认证统计-分页查询 |
| | | * @param pageElderAuthStatisticDTO 请求参数 |
| | | * @return 高龄认证统计列表 |
| | | */ |
| | | @PostMapping("/elders/auth/statistic/page") |
| | | R pageAuthStatisticAdmin(@RequestBody PageElderAuthStatisticDTO pageElderAuthStatisticDTO); |
| | | |
| | | /** |
| | | * 高龄认证统计-标记 |
| | | * @param signElderAuthStatisticDTO 请求参数 |
| | | * @return 标记结果 |
| | | */ |
| | | @PostMapping("/elders/auth/statistic/sign") |
| | | R signAuthStatisticAdmin(@RequestBody SignElderAuthStatisticDTO signElderAuthStatisticDTO); |
| | | |
| | | /** |
| | | * 高龄认证统计-统计表头数据 |
| | | * @param statisticHeaderDTO 请求参数 |
| | | * @return 统计表头数据 |
| | | */ |
| | | @PostMapping("/elders/auth/header/statistic") |
| | | R getAuthHeaderStatisticAdmin(@RequestBody ElderAuthStatisticHeaderDTO statisticHeaderDTO); |
| | | |
| | | /** |
| | | * 养老认证统计-分页查询 |
| | | * @param pensionAuthStatisticDTO 请求参数 |
| | | * @return 养老认证统列表 |
| | | */ |
| | | @PostMapping("/elders/pension/auth/statistic/page") |
| | | R pagePensionAuthStatisticAdmin(@RequestBody PagePensionAuthStatisticDTO pensionAuthStatisticDTO); |
| | | |
| | | /** |
| | | * 养老认证记标记 |
| | | * @param signElderAuthStatisticDTO 请求参数 |
| | | * @return 标记结果 |
| | | */ |
| | | @PostMapping("/elders/pension/auth/statistic/sign") |
| | | R signPensionAuthStatisticAdmin(@RequestBody SignElderAuthStatisticDTO signElderAuthStatisticDTO); |
| | | |
| | | /** |
| | | * 养老认证表头统计 |
| | | * @param statisticHeaderDTO 请求参数 |
| | | * @return 统计结果 |
| | | */ |
| | | @PostMapping("/elders/pension/auth/header/statistic") |
| | | R getPensionAuthHeaderStatisticAdmin(@RequestBody ElderAuthStatisticHeaderDTO statisticHeaderDTO); |
| | | |
| | | /** |
| | | * 分页查询所有数据 |
| | | * |
| | | * @param commonPage 查询实体 |
| | | * @return 所有数据 |
| | | */ |
| | | @PostMapping("/comActSocialOrg/queryAll") |
| | | R comActSocialOrgSelectAll(CommonPage commonPage); |
| | | |
| | | /** |
| | | * 新增数据 |
| | | * |
| | | * @param comActSocialOrg 实体对象 |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/comActSocialOrg") |
| | | R comActSocialOrgInsert(@RequestBody ComActSocialOrgVO comActSocialOrg); |
| | | |
| | | /** |
| | | * 修改数据 |
| | | * |
| | | * @param comActSocialOrg 实体对象 |
| | | * @return 修改结果 |
| | | */ |
| | | @PostMapping("/comActSocialOrg/update") |
| | | R comActSocialOrgUpdate(@RequestBody ComActSocialOrgVO comActSocialOrg); |
| | | |
| | | /** |
| | | * 删除数据 |
| | | * |
| | | * @param id 主键结合 |
| | | * @return 删除结果 |
| | | */ |
| | | @GetMapping("/comActSocialOrg/del") |
| | | R comActSocialOrgDelete(@RequestParam("id") Long id); |
| | | |
| | | /** |
| | | * 分页查询所有数据 |
| | | * |
| | | * @param commonPage 查询实体 |
| | | * @return 所有数据 |
| | | */ |
| | | @PostMapping("/comActCommittee/queryAll") |
| | | R comActCommitteeSelectAll(@RequestBody CommonPage commonPage); |
| | | /** |
| | | * 新增数据 |
| | | * |
| | | * @param comActCommittee 实体对象 |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/comActCommittee") |
| | | R comActCommitteeInsert(@RequestBody ComActCommiteeVO comActCommittee); |
| | | /** |
| | | * 修改数据 |
| | | * |
| | | * @param comActCommittee 实体对象 |
| | | * @return 修改结果 |
| | | */ |
| | | @PostMapping("/comActCommittee/update") |
| | | R comActCommitteeUpdate(@RequestBody ComActCommiteeVO comActCommittee); |
| | | |
| | | /** |
| | | * 删除数据 |
| | | * |
| | | * @param id 主键结合 |
| | | * @return 删除结果 |
| | | */ |
| | | @GetMapping("/comActCommittee/del") |
| | | R comActCommitteeDelete(@RequestParam("id") Long id); |
| | | |
| | | /** |
| | | * 分页查询所有数据 |
| | | * |
| | | * @param commonPage 查询实体 |
| | | * @return 所有数据 |
| | | */ |
| | | @PostMapping("/comProperty/queryAll") |
| | | R comPropertySelectAll(@RequestBody CommonPage commonPage); |
| | | /** |
| | | * 新增数据 |
| | | * |
| | | * @param comPropertyVO 实体对象 |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/comProperty") |
| | | R comPropertyInsert(@RequestBody ComPropertyVO comPropertyVO); |
| | | /** |
| | | * 修改数据 |
| | | * |
| | | * @param comPropertyVO 实体对象 |
| | | * @return 修改结果 |
| | | */ |
| | | @PostMapping("/comProperty/update") |
| | | R comPropertyUpdate(@RequestBody ComPropertyVO comPropertyVO); |
| | | |
| | | /** |
| | | * 删除数据 |
| | | * |
| | | * @param id 主键结合 |
| | | * @return 删除结果 |
| | | */ |
| | | @GetMapping("/comProperty/del") |
| | | R comPropertyDelete(@RequestParam("id") Long id); |
| | | |
| | | /** |
| | | * 群团组织成员列表-小程序分页查询 |
| | | * @param pageClusterMemberDto 请求参数 |
| | | * @return 群团组织成员列表 |
| | | */ |
| | | @PostMapping("/cluster/member/page/applets") |
| | | R pageClusterMemberApplets(@RequestBody PageClusterMemberDto pageClusterMemberDto); |
| | | |
| | | /** |
| | | * 群团组织列表-小程序查询社区群团组织列表 |
| | | * @param communityId 社区id |
| | | * @return 社区群团组织列表 |
| | | */ |
| | | @GetMapping("/cluster/list/applets") |
| | | R listClusterApplets(@RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 分页查询群团组织列表 |
| | | * @param pageClusterAdminDto 请求参数 |
| | | * @return 群团组织列表 |
| | | */ |
| | | @PostMapping("/cluster/page/admin") |
| | | R pageClusterAdmin(@RequestBody PageClusterAdminDto pageClusterAdminDto); |
| | | |
| | | /** |
| | | * 新增群团组织 |
| | | * @param addClusterAdminDto 请求参数 |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/cluster/add/admin") |
| | | R addClusterAdmin(@RequestBody AddClusterAdminDto addClusterAdminDto); |
| | | |
| | | /** |
| | | * 修改群团组织 |
| | | * @param editClusterAdminDto 请求参数 |
| | | * @return 修改结果 |
| | | */ |
| | | @PostMapping("/cluster/edit/admin") |
| | | R editClusterAdmin(@RequestBody EditClusterAdminDto editClusterAdminDto); |
| | | |
| | | /** |
| | | * 删除群团组织 |
| | | * @param id 组织id |
| | | * @return 删除结果 |
| | | */ |
| | | @GetMapping("/cluster/delete/admin") |
| | | R deleteClusterAdmin(@RequestParam("id") Long id); |
| | | |
| | | /** |
| | | * 群团组织详情 |
| | | * @param id 组织id |
| | | * @return 群团组织详情 |
| | | */ |
| | | @GetMapping("/cluster/detail/admin") |
| | | R detailClusterAdmin(@RequestParam("id") Long id); |
| | | |
| | | /** |
| | | * 分页查询群团组织成员列表 |
| | | * @param pageClusterMemberAdminDto 请求参数 |
| | | * @return 群团组织成员列表 |
| | | */ |
| | | @PostMapping("/cluster/member/page/admin") |
| | | R pageClusterMemberAdmin(@RequestBody PageClusterMemberAdminDto pageClusterMemberAdminDto); |
| | | |
| | | /** |
| | | * 新增群团组织成员 |
| | | * @param addClusterMemberAdminDto 请求参数 |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/cluster/member/add/admin") |
| | | R addClusterMemberAdmin(@RequestBody AddClusterMemberAdminDto addClusterMemberAdminDto); |
| | | |
| | | /** |
| | | * 编辑群团组织成员 |
| | | * @param editClusterMemberAdminDto 请求参数 |
| | | * @return 编辑结果 |
| | | */ |
| | | @PostMapping("/cluster/member/edit/admin") |
| | | R editClusterMemberAdmin(@RequestBody EditClusterMemberAdminDto editClusterMemberAdminDto); |
| | | |
| | | /** |
| | | * 删除群团组织成员 |
| | | * @param id 组织成员id |
| | | * @return 删除结果 |
| | | */ |
| | | @GetMapping("/cluster/member/delete/admin") |
| | | R deleteClusterMemberAdmin(@RequestParam("id") Long id); |
| | | |
| | | /** |
| | | * 群团组织成员详情 |
| | | * @param id 组织成员id |
| | | * @return 群团组织成员详情 |
| | | */ |
| | | @GetMapping("/cluster/member/detail/admin") |
| | | R detailClusterMemberAdmin(@RequestParam("id") Long id); |
| | | |
| | | /** |
| | | * 查询系统民族列表 |
| | | * @return 民族列表 |
| | | */ |
| | | @GetMapping("/cluster/member/nation/list/admin") |
| | | R memberNationListAdmin(); |
| | | |
| | | /** |
| | | * 群团组织成员导入 |
| | | * @param list 导入数据 |
| | | * @param communityId 社区id |
| | | * @param userId 操作用户id |
| | | * @return 导入结果 |
| | | */ |
| | | @PostMapping("/cluster/member/import/admin") |
| | | R importClusterMember(@RequestBody List<ComClusterMemberExcelVO> list, |
| | | @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); |
| | | |
| | | /** |
| | | * 群团组织导出数据查询 |
| | | * @param pageClusterMemberAdminDto 请求参数 |
| | | * @return 导出数据结果集 |
| | | */ |
| | | @PostMapping("/cluster/member/export/admin") |
| | | R exportClusterMember(@RequestBody PageClusterMemberAdminDto pageClusterMemberAdminDto); |
| | | } |