From 68a3e4c053d15961ede69fe7698f63fe827624c3 Mon Sep 17 00:00:00 2001 From: puhanshu <a9236326> Date: 星期一, 13 九月 2021 16:08:44 +0800 Subject: [PATCH] Merge branch 'test' of http://gitlab.nhys.cdnhxx.com/root/zhihuishequ into auth --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 557 ++++++++++++++++++++++++++++++++++++++++++++++--------- 1 files changed, 462 insertions(+), 95 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 1c0c47c..b36e3ca 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 @@ -3,6 +3,10 @@ import java.util.List; import com.panzhihua.common.model.dtos.community.GetIdentityEidTokenDTO; +import com.panzhihua.common.model.dtos.community.*; +import com.panzhihua.common.model.dtos.neighbor.*; +import com.panzhihua.common.model.vos.community.*; +import io.swagger.annotations.ApiOperation; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.GetMapping; @@ -142,20 +146,6 @@ import com.panzhihua.common.model.dtos.grid.admin.ComMngVillageListExportAdminDTO; import com.panzhihua.common.model.dtos.grid.admin.PageComMngVillagePopulationDTO; import com.panzhihua.common.model.dtos.grid.admin.PageComMngVillagePopulationHouseDTO; -import com.panzhihua.common.model.dtos.neighbor.AddComActNeighborCircleAppDTO; -import com.panzhihua.common.model.dtos.neighbor.AddNeighborCircleTopicAdminDTO; -import com.panzhihua.common.model.dtos.neighbor.ComActNeighborAddBrowseAppDTO; -import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCircleAdminDTO; -import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCircleAppDTO; -import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCircleDetailAppDTO; -import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCircleTopicAdminDTO; -import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCommentAppDTO; -import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCommentReplyAppDTO; -import com.panzhihua.common.model.dtos.neighbor.ComActNeighborFabulousAppDTO; -import com.panzhihua.common.model.dtos.neighbor.ComActNeighborForwardAppDTO; -import com.panzhihua.common.model.dtos.neighbor.ComActNeighborReplyAppDTO; -import com.panzhihua.common.model.dtos.neighbor.DetailNeighborAllCommentByAdminDTO; -import com.panzhihua.common.model.dtos.neighbor.DetailNeighborCommentReplyByAdminDTO; import com.panzhihua.common.model.dtos.shop.ComShopAddressDTO; import com.panzhihua.common.model.dtos.shop.ComShopCartDTO; import com.panzhihua.common.model.dtos.shop.ComShopEditNubCartDTO; @@ -423,6 +413,15 @@ R getPictureList(@RequestParam("userId") Long userId); /** + * 获取系统预置图库 getSysPictureList + * @return R 系统图库集 + * @author txb + * @date 2021/8/27 13:33 + */ + @GetMapping("/activity/sysPicture/getList") + R getSysPictureList(@RequestParam("type")Integer type); + + /** * 活动报名名单 * * @param activitySignVO @@ -535,6 +534,16 @@ */ @PostMapping("pagemicrowish") R pageMicroWish(@RequestBody ComActMicroWishVO comActMicroWishVO); + + /** + * 小程序分页查询微心愿 + * + * @param comActMicroWishVO + * 查询参数 + * @return 分页集合 + */ + @PostMapping("pagemicrowish/applets") + R pageMicroWishApplets(@RequestBody ComActMicroWishVO comActMicroWishVO); /** * 心愿详情 @@ -1258,7 +1267,7 @@ R addComActEasyPhotoComment(@RequestBody ComActEasyPhotoCommentDTO comActEasyPhotoCommentDTO); /** - * 一起议-新增 + * 议事投票-新增 * * @param comActDiscussDTO * 新增参数 @@ -1268,7 +1277,17 @@ R addDiscuss(@RequestBody ComActDiscussDTO comActDiscussDTO); /** - * 一起议-详情 + * 议事投票-新增 + * + * @param comActDiscussDTO + * 新增参数 + * @return 新增结果 + */ + @PostMapping("editdiscuss") + R editDiscuss(@RequestBody ComActDiscussDTO comActDiscussDTO); + + /** + * 议事投票-详情 * * @param id * 主键 @@ -1278,7 +1297,7 @@ R detailDiscuss(@RequestParam("id") Long id); /** - * 一起议-删除 + * 议事投票-删除 * * @param id * 主键 @@ -1288,7 +1307,7 @@ R deleteDiscuss(@RequestParam("id") Long id); /** - * 一起议-回复 + * 议事投票-回复 * * @param comActDiscussCommentDTO * 评论内容 @@ -1298,7 +1317,7 @@ R addDiscussComment(@RequestBody ComActDiscussCommentDTO comActDiscussCommentDTO); /** - * 一起议-分页查询 + * 议事投票-分页查询 * * @param pageComActDiscussDTO * 查询参数 @@ -1308,7 +1327,7 @@ R pageDiscuss(@RequestBody PageComActDiscussDTO pageComActDiscussDTO); /** - * 一起议-评论-查看 + * 议事投票-评论-查看 * * @param id * 主键 @@ -1318,7 +1337,7 @@ R detailDiscussComment(@RequestParam("id") Long id); /** - * 一起议-评论-置顶 + * 议事投票-评论-置顶 * * @param id * 主键 @@ -1328,7 +1347,7 @@ R putDiscussCommentTop(@RequestParam("id") Long id); /** - * 一起议-评论-回复 + * 议事投票-评论-回复 * * @param comActDiscussCommentDTO * 回复内容 @@ -1338,7 +1357,7 @@ R addDiscussCommentBack(@RequestBody ComActDiscussCommentDTO comActDiscussCommentDTO); /** - * 一起议-评论-分页查询 + * 议事投票-评论-分页查询 * * @param pageComActDiscussCommentDTO * 分页查询参数 @@ -1348,7 +1367,7 @@ R pageDiscussComment(@RequestBody PageComActDiscussCommentDTO pageComActDiscussCommentDTO); /** - * 一起议-分页查询 小程序 + * 议事投票-分页查询 小程序 * * @param pageComActDiscussDTO * 查询参数 @@ -1358,7 +1377,7 @@ R pageDiscussApplets(@RequestBody PageComActDiscussDTO pageComActDiscussDTO); /** - * 一起议-点赞、取消点赞 + * 议事投票-点赞、取消点赞 * * @param comActDiscussUserDTO * 操作类型 @@ -1368,7 +1387,7 @@ R putDiscussUser(@RequestBody ComActDiscussUserDTO comActDiscussUserDTO); /** - * 一起议-评论-分页查询 小程序 + * 议事投票-评论-分页查询 小程序 * * @param pageComActDiscussCommentDTO * 分页参数 @@ -1378,7 +1397,7 @@ R pageDiscussCommentApplets(@RequestBody PageComActDiscussCommentDTO pageComActDiscussCommentDTO); /** - * 一起议-详情 小程序 + * 议事投票-详情 小程序 * * @param id * 主键 @@ -1390,7 +1409,7 @@ R detailDiscussApplets(@RequestParam("id") Long id, @RequestParam("userId") Long userId); /** - * 一起议-投票 + * 议事投票-投票 * * @param comActDiscussOptionUserDTO * 投票信息 @@ -1400,7 +1419,7 @@ R addDiscussOptionUser(@RequestBody ComActDiscussOptionUserDTO comActDiscussOptionUserDTO); /** - * 一起议-评论-点赞、取消点赞 + * 议事投票-评论-点赞、取消点赞 * * @param comActDiscussUserDTO * 评论点赞 @@ -1575,7 +1594,7 @@ R pageComCvtBusinessByServiceArea(@RequestBody PageComCvtBusinessAppletsDTO comCvtBusinessAppletsDTO); /** - * 一起议-新增 + * 议事投票-新增 * * @param comOpsHouseDTO * 新增参数 @@ -1585,7 +1604,7 @@ R addOpsHouse(@RequestBody ComOpsHouseDTO comOpsHouseDTO); /** - * 一起议-详情 + * 议事投票-详情 * * @param id * 主键 @@ -1625,7 +1644,7 @@ R undercarriageHouse(@RequestBody ComOpsHouseUndercarriageVO comOpsHouseVO); /** - * 一起议-删除 + * 议事投票-删除 * * @param id * 主键 @@ -1819,7 +1838,7 @@ */ @PostMapping("/convenient/serve/import") R listSaveConvenientServeExcelVO(@RequestBody List<ComCvtServeExcelVO> list, - @RequestParam(value = "communityId", required = false) Long communityId); + @RequestParam(value = "communityId", required = false) Long communityId); /** * 导出房屋信息 @@ -1935,7 +1954,7 @@ */ @PostMapping("/common/data/company/import") R listSaveMngRealCompanyExcelVO(@RequestBody List<ComMngRealCompanyExcelVO> list, - @RequestParam("communityId") Long communityId); + @RequestParam("communityId") Long communityId); /** * 实有单位导出 @@ -1990,7 +2009,7 @@ */ @PostMapping("/common/data/assets/import") R listSaveMngRealAssetsExcelVO(@RequestBody List<ComMngRealAssetsExcelVO> list, - @RequestParam("communityId") Long communityId); + @RequestParam("communityId") Long communityId); /** * 实有单位导出 @@ -2138,7 +2157,7 @@ */ @PostMapping("/village/import") R listSaveVillageServeExcelVO(@RequestBody List<ComMngVillageServeExcelVO> list, - @RequestParam(value = "communityId") Long communityId); + @RequestParam(value = "communityId") Long communityId); /** * 批量导入实有人口 @@ -2151,7 +2170,7 @@ */ @PostMapping("/common/data/population/import") R listSavePopulationServeExcelVO(@RequestBody List<ComMngPopulationServeExcelVO> list, - @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); /** * 批量导入吸毒人员 @@ -2164,7 +2183,7 @@ */ @PostMapping("/common/data/population/importDrug") R listSavePopulationDrugExcelVO(@RequestBody List<ComMngPopulationDrugExcelVO> list, - @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); /** * 批量导入社区矫正人员 @@ -2177,7 +2196,7 @@ */ @PostMapping("/common/data/population/importCorrect") R listSavePopulationCorrectExcelVO(@RequestBody List<ComMngPopulationCorrectExcelVO> list, - @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); /** * 批量导入重精人员 @@ -2190,7 +2209,7 @@ */ @PostMapping("/common/data/population/importMajor") R listSavePopulationMajorExcelVO(@RequestBody List<ComMngPopulationMajorExcelVO> list, - @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); /** * 批量导入邪教人员 @@ -2203,7 +2222,7 @@ */ @PostMapping("/common/data/population/importCult") R listSavePopulationCultExcelVO(@RequestBody List<ComMngPopulationCultExcelVO> list, - @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); /** * 批量导入刑释人员 @@ -2216,7 +2235,7 @@ */ @PostMapping("/common/data/population/importRehabilitation") R listSavePopulationRehabilitationExcelVO(@RequestBody List<ComMngPopulationRehabilitationExcelVO> list, - @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); /** * 批量导入重点上访人员 @@ -2229,7 +2248,7 @@ */ @PostMapping("/common/data/population/importKey") R listSavePopulationKeyExcelVO(@RequestBody List<ComMngPopulationKeyExcelVO> list, - @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); /** * 批量导入服刑人员 @@ -2242,7 +2261,7 @@ */ @PostMapping("/common/data/population/importSentence") R listSavePopulationSentenceExcelVO(@RequestBody List<ComMngPopulationSentenceExcelVO> list, - @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); /** * 批量导入退役军人 @@ -2255,7 +2274,7 @@ */ @PostMapping("/common/data/population/importVeterans") R listSavePopulationVeteransExcelVO(@RequestBody List<ComMngPopulationVeteransExcelVO> list, - @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); /** * 批量导入残疾人 @@ -2268,7 +2287,7 @@ */ @PostMapping("/common/data/population/importDisability") R listSavePopulationDisabilityExcelVO(@RequestBody List<ComMngPopulationDisabilityExcelVO> list, - @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); /** * 批量导入低保户 @@ -2281,7 +2300,57 @@ */ @PostMapping("/common/data/population/importLowSecurity") R listSavePopulationLowSecurityExcelVO(@RequestBody List<ComMngPopulationLowSecurityExcelVO> list, - @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + + /** + * 批量导入高龄老人 listSavePopulationElderExcelVO 批量导入高龄老人 + * @param list 高龄老人数据 + * @param communityId 社区id + * @return R 导入结果 + * @author txb + * @date 2021/9/01 15:03 + */ + @PostMapping("/common/data/population/importElder") + R listSavePopulationElderExcelVO(@RequestBody List<ComMngPopulationElderExcelVO> list, + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + + /** + * 批量导入养老金人员 listSavePopulationPensionExcelVO 批量导入养老金人员 + * @param list 养老金人员数据 + * @param communityId 社区id + * @return R 导入结果 + * @author txb + * @date 2021/9/01 15:03 + */ + @PostMapping("/common/data/population/importPension") + R listSavePopulationPensionExcelVO(@RequestBody List<ComMngPopulationPensionExcelVO> list, + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + + /** + * 批量导入高龄老人线下认证记录 listSaveElderAuthRecordExcelVO 批量导入高龄老人线下认证记录 + * @param list 高龄老人线下认证记录数据 + * @param communityId 社区id + * @param userId 登录人id + * @return R 导入结果 + * @author txb + * @date 2021/9/01 15:03 + */ + @PostMapping("/elders/authRecords/underLine/import") + R listSaveElderAuthRecordExcelVO(@RequestBody List<ComElderAuthRecordImportExcelVO> list, + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + + /** + * 批量导入养老线下认证记录 listSavePensionAuthRecordExcelVO 批量导入养老线下认证记录 + * @param list 养老线下认证记录数据 + * @param communityId 社区id + * @param userId 登录人id + * @return R 导入结果 + * @author txb + * @date 2021/9/01 15:03 + */ + @PostMapping("/elders/pensionAuthRecords/underLine/import") + R listSavePensionAuthRecordExcelVO(@RequestBody List<ComPensionAuthRecordImportExcelVO> list, + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); /** * 确认导入实有人口(有则更新,无则新建) @@ -2294,7 +2363,7 @@ */ @PostMapping("/common/data/population/import/confirm") R listSavePopulationConfirm(@RequestBody List<ComMngPopulationServeExcelVO> list, - @RequestParam(value = "communityId") Long communityId); + @RequestParam(value = "communityId") Long communityId); /** * 分页查询实有人口 @@ -2314,7 +2383,7 @@ * @return 实有人口详细信息 */ @PostMapping("/common/data/population/detail") - R<ComMngPopulationVO> detailPopulation(@RequestParam(value = "populationId") Long populationId); + R<ComMngPopulationVO> detailPopulation(@RequestParam(value = "populationId") Long populationId, @RequestParam(value = "communityId") Long communityId); /** * 根据id查询实有人口电子档案信息 @@ -2454,7 +2523,7 @@ /** * 小程序-问卷调查详情 - * + * * @param userId * 用户id * @param questId @@ -2466,7 +2535,7 @@ /** * 小程序-新增问卷调查浏览数量 - * + * * @param questId * 问卷调查id * @return 增加结果 @@ -2476,7 +2545,7 @@ /** * 小程序-用户弹窗添加不在提醒接口 - * + * * @param questId * 问卷id * @param userId @@ -2488,7 +2557,7 @@ /** * 社区后台-查询问卷调查详情 - * + * * @param questId * 问卷id * @return 问卷调查详情 @@ -3012,7 +3081,7 @@ */ @PostMapping("/common/data/population/edit") R editPopulation(@RequestBody ComMngPopulationEditDTO populationEditDTO, - @RequestParam("communityId") Long communityId); + @RequestParam("communityId") Long communityId); /** * 微心愿删除 @@ -3089,6 +3158,45 @@ */ @PostMapping("/delectworkguide") R delectWorkGuide(@RequestParam("workGuideId") Long workGuideId); + + /** + * 分页查询办事指南-分类管理 pageWorkGuideClassify 分页查询办事指南-分类管理 + * @param comActWorkGuideClassifyVO 查询参数 + * @return R 返回结果 + * @author txb + * @date 2021/8/31 15:03 + */ + @PostMapping("/workGuide/classify/apage") + R pageWorkGuideClassify(@RequestBody ComActWorkGuideClassifyVO comActWorkGuideClassifyVO); + + /** + * 办事指南-分类管理新增或修改 addWorkGuideClassify 办事指南-分类管理新增或修改 + * @param comActWorkGuideClassifyVO 新增或修改参数 + * @return R 返回结果 + * @author txb + * @date 2021/8/31 15:03 + */ + @PostMapping("/workGuide/classify/add") + R addWorkGuideClassify(@RequestBody ComActWorkGuideClassifyVO comActWorkGuideClassifyVO); + + /** + * 办事指南-分类管理删除 deleteWorkGuideClassify 办事指南-分类管理删除 + * @param workGuideClassifyId 办事指南-分类管理id + * @return R 返回结果 + * @author txb + * @date 2021/8/31 15:03 + */ + @GetMapping("/workGuide/classify/delete") + R deleteWorkGuideClassify(@RequestParam("workGuideClassifyId") Long workGuideClassifyId); + + /** + * 办事指南-分类管理列表查询 getWorkGuideClassifyList 办事指南-分类管理列表查询 + * @return R 返回结果 + * @author txb + * @date 2021/8/31 15:03 + */ + @GetMapping("/workGuide/classify/getList") + R getWorkGuideClassifyList(); /** * 分页查询邻里圈 @@ -3534,6 +3642,127 @@ @PostMapping("/eldersauth/addFeedback") R addFeedback(@RequestBody EldersAuthFeedbackAddDTO eldersAuthFeedbackAddDTO); + //2021-8-30 身份认证改版(高龄老人认证管理)接口 + /** + * 分页查询高龄老人认证记录 pageElderAuthRecords 分页查询高龄老人认证记录 + * @param pageElderAuthRecordsDTO 查询参数 + * @return R 查询结果 + * @author txb + * @date 2021/9/02 11:03 + */ + @PostMapping("/elders/authRecords/page") + R pageElderAuthRecords(@RequestBody PageElderAuthRecordsDTO pageElderAuthRecordsDTO); + + /** + * 根据高龄认证记录id查询详情 detailElderAuthRecords 根据高龄认证记录id查询详情 + * @param authRecordId 高龄认证记录id + * @return R 查询结果 + * @author txb + * @date 2021/9/02 11:03 + */ + @GetMapping("/elders/authRecords/detail") + R detailElderAuthRecords(@RequestParam(value = "authRecordId") Long authRecordId); + + /** + * 高龄认证审核 examineElderAuthRecords 高龄认证审核 + * @param comElderAuthRecordVO 高龄认证审核参数 + * @return R 查询结果 + * @author txb + * @date 2021/9/02 11:03 + */ + @PostMapping("/elders/authRecords/examine") + R examineElderAuthRecords(@RequestBody ComElderAuthRecordVO comElderAuthRecordVO); + + /** + * 高龄认证标记 examineElderAuthRecords 高龄认证标记 + * @param comElderAuthRecordVO 高龄认证标记参数 + * @return R 查询结果 + * @author txb + * @date 2021/9/02 11:03 + */ + @PostMapping("/elders/authRecords/sign") + R signElderAuthRecords(@RequestBody ComElderAuthRecordVO comElderAuthRecordVO); + + /** + * 根据高龄认证记录id批量查询 getElderAuthRecordsByIds 根据高龄认证记录id批量查询 + * @param ids 高龄认证记录id集合 + * @return R 查询结果 + * @author txb + * @date 2021/9/02 11:03 + */ + @PostMapping("/elders/authRecords/getList") + R getElderAuthRecordsByIds(@RequestBody List<Long> ids); + + /** + * 导出高龄认证记录 exportElderAuthRecordsStatistic 导出高龄认证记录 + * @param pageElderAuthRecordsDTO 查询参数 + * @return R 查询结果 + * @author txb + * @date 2021/9/02 11:03 + */ + @PostMapping("/elders/authRecords/statistic/export") + R exportElderAuthRecordsStatistic(@RequestBody PageElderAuthRecordsDTO pageElderAuthRecordsDTO); + + /** + * 分页查询养老金人员认证记录 pagePensionAuthRecords 分页查询养老金人员认证记录 + * @param pageElderAuthRecordsDTO 查询参数 + * @return R 查询结果 + * @author txb + * @date 2021/9/07 14:03 + */ + @PostMapping("/elders/pensionAuthRecords/page") + R pagePensionAuthRecords(@RequestBody PageElderAuthRecordsDTO pageElderAuthRecordsDTO); + + /** + * 根据养老认证记录id查询详情 detailPensionAuthRecords 根据养老认证记录id查询详情 + * @param authRecordId 养老认证记录id + * @return R 查询结果 + * @author txb + * @date 2021/9/07 11:03 + */ + @GetMapping("/elders/pensionAuthRecords/detail") + R detailPensionAuthRecords(@RequestParam(value = "authRecordId") Long authRecordId); + + /** + * 养老认证审核 examinePensionAuthRecords 养老认证审核 + * @param comPensionAuthRecordVO 养老认证审核参数 + * @return R 查询结果 + * @author txb + * @date 2021/9/07 11:03 + */ + @PostMapping("/elders/pensionAuthRecords/examine") + R examinePensionAuthRecords(@RequestBody ComPensionAuthRecordVO comPensionAuthRecordVO); + + /** + * 养老认证标记 signPensionAuthRecords 养老认证标记 + * @param comPensionAuthRecordVO 养老认证标记参数 + * @return R 查询结果 + * @author txb + * @date 2021/9/02 11:03 + */ + @PostMapping("/elders/pensionAuthRecords/sign") + R signPensionAuthRecords(@RequestBody ComPensionAuthRecordVO comPensionAuthRecordVO); + + /** + * 根据养老认证记录id批量查询 getPensionAuthRecordsByIds 根据养老认证记录id批量查询 + * @param ids 养老认证记录id集合 + * @return R 查询结果 + * @author txb + * @date 2021/9/02 11:03 + */ + @PostMapping("/elders/pensionAuthRecords/getList") + R getPensionAuthRecordsByIds(@RequestBody List<Long> ids); + + /** + * 导出养老认证记录 exportPensionAuthRecordsStatistic 导出养老认证记录 + * @param pageElderAuthRecordsDTO 查询参数 + * @return R 查询结果 + * @author txb + * @date 2021/9/02 11:03 + */ + @PostMapping("/elders/pensionAuthRecords/statistic/export") + R exportPensionAuthRecordsStatistic(@RequestBody PageElderAuthRecordsDTO pageElderAuthRecordsDTO); + /** * 小程序-查询疫苗分类列表 * @@ -3703,7 +3932,7 @@ */ @PostMapping("/eldersauthelderly/batchSave") R listSaveEldersAuthElderlyExcelVO(@RequestBody List<EldersAuthElderlyExcelVO> newVoList, - @RequestParam("communityId") Long communityId, @RequestParam("createBy") Long createBy); + @RequestParam("communityId") Long communityId, @RequestParam("createBy") Long createBy); /** * 批量保存楼栋 @@ -3714,7 +3943,7 @@ */ @PostMapping("/building/batchSave") R listSaveBuildingExcelVO(@RequestBody List<ComMngBuildingExcelVO> newVoList, - @RequestParam("communityId") Long communityId); + @RequestParam("communityId") Long communityId); /** * 插入字典 @@ -3894,7 +4123,7 @@ */ @PostMapping("/bigscreen/party/ageGender") R<BigScreenStatisticAgeGender> - ageGender(@RequestBody BigScreenStatisticAgeGenderDTO bigScreenStatisticAgeGenderDTO); + ageGender(@RequestBody BigScreenStatisticAgeGenderDTO bigScreenStatisticAgeGenderDTO); /** * 党建数据概览 @@ -3919,7 +4148,7 @@ */ @PostMapping("/bigscreen/party/bigscreenPartyactivity") R<List<BigScreenStatisticPartyActivity>> - bigscreenPartyactivity(BigScreenStatisticPartyActivityDTO bigScreenStatisticPartyActivityDTO); + bigscreenPartyactivity(BigScreenStatisticPartyActivityDTO bigScreenStatisticPartyActivityDTO); /** * 首页大屏统计接口 @@ -3967,7 +4196,7 @@ R activity(@RequestParam("communityId") Long communityId); /** - * 大屏统计一起议 + * 大屏统计议事投票 * * @param communityId * @return @@ -4035,11 +4264,11 @@ R getScreenEventDetail(@RequestBody BigScreenEventDetailDTO eventDetailDTO); /** - * 工作大屏-一起议列表 + * 工作大屏-议事投票列表 * * @param discussListDTO * 请求参数 - * @return 一起议列表 + * @return 议事投票列表 */ @PostMapping("/screen/work/getScreenDiscussList") R getScreenDiscussList(@RequestBody ScreenDiscussListDTO discussListDTO); @@ -4438,7 +4667,7 @@ /** * 查询用户交易记录总额 - * + * * @param pageTradeAdminDTO * 请求参数 * @return 交易记录总额 @@ -4448,7 +4677,7 @@ /** * 查询用户导出数据 - * + * * @param pageTradeAdminDTO * 请求参数 * @return 用户导出数据 @@ -4458,7 +4687,7 @@ /** * 导出奖励台账数据 - * + * * @param pageTradeAdminDTO * 请求参数 * @return 奖励台账数据 @@ -4468,7 +4697,7 @@ /** * 查询社区统计数据 - * + * * @param pageTradeAdminDTO * 查询社区统计数据 * @return 社区统计数据 @@ -4478,7 +4707,7 @@ /** * 社区随手拍列表统计 - * + * * @param communityId * 社区id * @return 统计结果 @@ -4524,7 +4753,7 @@ * @return 邻里圈话题列表 */ @GetMapping("/neighbor/getNeighborTopicByApp") - R getNeighborTopicByApp(@RequestParam("communityId") Long communityId); + R getNeighborTopicByApp(@RequestParam("communityId") Long communityId,@RequestParam("isZero") Integer isZero,@RequestParam("name") String name); /** * 综治后台-查询社区列表 @@ -4617,6 +4846,17 @@ R getUserReward(@RequestParam("userId") Long userId, @RequestParam("communityId") Long communityId); /** + * 获取首页弹窗接口 + * @param userId + * 用户id + * @param communityId + * 社区id + * @return 首页弹窗接口 + */ + @PostMapping("/easyphoto/getUserRewards") + R getUserRewards(@RequestParam("userId") Long userId, @RequestParam("communityId") Long communityId); + + /** * 读取用户随手拍奖励 * * @param userId @@ -4647,6 +4887,16 @@ R addPatrolRecord(@RequestBody ComSwPatrolRecordAddDTO comSwPatrolRecordAddDTO); /** + * 编辑巡查记录 editPatrolRecord 编辑巡查记录 + * @param comSwPatrolRecordEditDTO 编辑巡查记录参数 + * @return R 编辑结果 + * @author txb + * @date 2021/9/08 17:03 + */ + @PostMapping("/patrolRecord/edit") + R editPatrolRecord(@RequestBody ComSwPatrolRecordEditDTO comSwPatrolRecordEditDTO); + + /** * 根据巡查记录id查询详情 * * @param patrolRecordId @@ -4667,6 +4917,16 @@ R pageSafetyWorkRecord(@RequestBody ComSwPatrolRecordPageDTO comSwPatrolRecordPageDTO); /** + * 编辑安全工作记录 editSafetyWork 编辑安全工作记录 + * @param comSwSafetyWorkEditDTO 编辑安全工作记录参数 + * @return R 编辑结果 + * @author txb + * @date 2021/9/08 17:03 + */ + @PostMapping("/patrolRecord/safetyWorkRecord/edit") + R editSafetyWork(@RequestBody ComSwSafetyWorkEditDTO comSwSafetyWorkEditDTO); + + /** * 根据安全工作记录id查询详情 * * @param safetyWorkRecordId @@ -4675,7 +4935,7 @@ */ @GetMapping("/patrolRecord/safetyWorkRecord/detail") R detailSafetyWorkRecord(@RequestParam(value = "safetyWorkRecordId") Long safetyWorkRecordId, - @RequestParam(value = "communityId", required = false) Long communityId); + @RequestParam(value = "communityId", required = false) Long communityId); /** * 根据巡查记录id查询安全工作记录详情 @@ -4686,7 +4946,7 @@ */ @GetMapping("/patrolRecord/safetyWorkRecord/detailByPrId") R detailSafetyWorkRecordByPrId(@RequestParam(value = "patrolRecordId") Long patrolRecordId, - @RequestParam(value = "communityId", required = false) Long communityId); + @RequestParam(value = "communityId", required = false) Long communityId); /** * 分页查询隐患报告 @@ -4697,6 +4957,16 @@ */ @PostMapping("/patrolRecord/dangerReport/page") R pageDangerReport(@RequestBody ComSwPatrolRecordPageDTO comSwPatrolRecordPageDTO); + + /** + * 编辑隐患报告 editDangerReport 编辑隐患报告 + * @param comSwDangerReportEditDTO 编辑隐患报告参数 + * @return R 编辑结果 + * @author txb + * @date 2021/9/08 17:03 + */ + @PostMapping("/patrolRecord/dangerReport/edit") + R editDangerReport(@RequestBody ComSwDangerReportEditDTO comSwDangerReportEditDTO); /** * 根据隐患报告id查询详情 @@ -4757,7 +5027,7 @@ /** * 小程序-查询积分说明 - * + * * @return 积分说明 */ @GetMapping("/integral/explain/applets") @@ -4765,7 +5035,7 @@ /** * 小程序-用户查询当前社区可领取积分规则列表 - * + * * @param userId * 用户id * @param communityId @@ -4777,7 +5047,7 @@ /** * 小程序-查询用户积分列表 - * + * * @param userId * 用户id * @return 用户积分列表 @@ -4787,7 +5057,7 @@ /** * 小程序-查询社区积分账户排行榜 - * + * * @param communityRankDTO * 请求参数 * @return 社区积分账户排行榜 @@ -4797,7 +5067,7 @@ /** * 小程序-查询用户社区积分明细 - * + * * @param communityTradeDTO * 请求参数 * @return 用户社区积分明细 @@ -4807,7 +5077,7 @@ /** * 社区后台-根据社区id查询社区下积分规则列表 - * + * * @param integralRuleDTO * 请求参数 * @return 社区下积分规则列表 @@ -4817,7 +5087,7 @@ /** * 社区后台-编辑社区积分规则 - * + * * @param integralRuleDTO * 请求参数 * @return 编辑结果 @@ -4827,7 +5097,7 @@ /** * 社区后台-分页查询社区下积分明细记录 - * + * * @param integralRuleDTO * 请求参数 * @return 社区下积分明细记录 @@ -4837,7 +5107,7 @@ /** * 给用户添加积分 - * + * * @param integralUserDTO * 请求参数 * @return 添加积分结果 @@ -4847,7 +5117,7 @@ /** * 根据社区活动id查询社区活动报名人员列表 - * + * * @param activityId * 活动id * @return 社区活动报名人员列表 @@ -4867,7 +5137,7 @@ /** * 根据id查询值班表 - * + * * @param rotaId * 值班表id * @return 值班表详情 @@ -4887,7 +5157,7 @@ /** * 批量删除值班表 - * + * * @param rotaIds * 值班ids * @return 删除结果 @@ -4934,7 +5204,7 @@ /** * 查询社区所有列表 - * + * * @return 社区列表 */ @GetMapping("/switch/community/all/list") @@ -4942,7 +5212,7 @@ /** * 根据名字查询所有社区列表 - * + * * @param name * 社区名字 * @return 社区列表 @@ -4952,7 +5222,7 @@ /** * 根据经纬度以及距离搜索附近社区列表 - * + * * @param communityDTO * 请求参数 * @return 社区列表 @@ -4962,7 +5232,7 @@ /** * 问卷调查统计汇总 - * + * * @param summaryDTO * 请求参数 * @return 统计汇总 @@ -4972,7 +5242,7 @@ /** * 问卷调查统计汇总导出数据查询 - * + * * @param questId * 调查问卷id * @return 调查统计汇总导出数据 @@ -4982,7 +5252,7 @@ /** * 问卷调查统计汇总表头统计 - * + * * @param questId * 调查问卷id * @return 问卷调查统计汇总表头统计数据 @@ -4992,7 +5262,7 @@ /** * 运营后台-新增随手拍分类 - * + * * @param addPhotoClassify * 请求参数 * @return 新增结果 @@ -5002,7 +5272,7 @@ /** * 运营后台-编辑随手拍分类 - * + * * @param addPhotoClassify * 请求参数 * @return 编辑结果 @@ -5012,7 +5282,7 @@ /** * 运营后台-分页查询随手拍分类 - * + * * @param addPhotoClassify * 请求参数 * @return 随手拍分类列表 @@ -5022,7 +5292,7 @@ /** * 运营后台-随手拍分类详情 - * + * * @param id * 随手拍分类id * @return 随手拍分类 @@ -5032,7 +5302,7 @@ /** * 运营后台-随手拍分类删除 - * + * * @param id * 随手拍分类id * @return 删除结果 @@ -5042,7 +5312,7 @@ /** * 运营后台-查询随手拍分类列表 - * + * * @return 随手拍分类列表 */ @GetMapping("/classify/admin/list") @@ -5050,7 +5320,7 @@ /** * 社区后台-切换随手拍公示状态 - * + * * @param comActEasyPhotoVO * 请求参数 * @return 切换结果 @@ -5060,7 +5330,7 @@ /** * 查询社区待处理随手拍id集合 - * + * * @param communityId * 社区id * @return 社区待处理随手拍id集合 @@ -5320,6 +5590,103 @@ R timedTaskActivityDefaultPraise(); /** + * 小程序-用户新增话题 + * @param circleTopicAppDTO 请求参数 + * @return 新增结果 + */ + @PostMapping("/neighbor/addNeighborTopicByApp") + R addNeighborTopicByApp(@RequestBody AddNeighborCircleTopicAppDTO circleTopicAppDTO); + + /** + * 小程序-删除邻里圈 + * @param circleTopicAppDTO 请求参数 + * @return 删除结果 + */ + @PostMapping("/neighbor/deleteNeighborByApp") + R deleteNeighborByApp(@RequestBody DeleteNeighborCircleAppDTO circleTopicAppDTO); + + /** + * 获取系统配置value + * @param key 系统配置code + * @param communityId 社区id + * @return 系统配置value + */ + @GetMapping("/sys/conf/getSysConfValue") + R getSysConfValue(@RequestParam("key") String key,@RequestParam("communityId") Long communityId); + + /** + * 新增系统配置 + * @param key 系统配置code + * @param communityId 社区id + * @param name 系统配置名称 + * @param value 系统配置value + * @return 新增结果 + */ + @GetMapping("/sys/conf/addSysConfValue") + R addSysConfValue(@RequestParam("key") String key,@RequestParam("communityId") Long communityId,@RequestParam("name") String name,@RequestParam("value") String value); + + /** + * 编辑系统配置 + * @param communityId 社区id + * @param status 配置值 + * @return 编辑结果 + */ + @GetMapping("/sys/conf/editSysConfValue") + R editSysConfValue(@RequestParam("communityId") Long communityId,@RequestParam("status") Integer status); + + /** + * 定时任务扫描高龄认证记录信息 + * @return 执行结果 + */ + @PostMapping("/elders/auth/task") + R timedTaskEldersAuthJobHandler(); + + /** + * 定时任务扫描上月高龄认证使用视频认证的用户添加成功记录 + * @return 执行结果 + */ + @PostMapping("/elders/auth/record/task") + R timedTaskEldersAuthRecordJobHandler(); + + /** + * 定时任务每月1号0点统计高龄老人本期应该认证总人数 + * @return 执行结果 + */ + @PostMapping("/elders/authRecords/statistics") + R timedTaskElderAuthStatisticsJobHandler(); + + /** + * 定时任务每年3月1号0点统计养老认证本期应该认证总人数 + * @return 执行结果 + */ + @PostMapping("/elders/pensionAuthRecords/statistics") + R timedTaskPensionAuthStatisticsJobHandler(); + + /** + * 办事指南列表-按分类查询 + * @param pageActWorkGuideDTO 请求参数 + * @return 办事指南分类列表 + */ + @PostMapping("/listworkguide") + R listWorkGuide(@RequestBody PageActWorkGuideDTO pageActWorkGuideDTO); + + /** + * 根据办事指南分类id查询办事指南列表 + * @param classifyId 办事指南分类id + * @return 办事指南列表数据 + */ + @GetMapping("/listworkguide/classify") + R listWorkGuideByClassifyId(@RequestParam("classifyId") Long classifyId); + + /** + * 小程序查询所有进行中的预约登记 + * @param communityId 社区id + * @return 社区所有进行中的预约登记列表 + */ + @GetMapping("/reserve/list") + R reserveListApplets(@RequestParam("communityId") Long communityId); + + /** * 新增身份认证 * @param addIdentityAuthDTO 新增身份认证请求参数 * @return 新增结果结果 -- Gitblit v1.7.1