From 1aa70f3b0a1411d0de3f4ca78b639bf065168be2 Mon Sep 17 00:00:00 2001 From: puhanshu <a9236326> Date: 星期五, 10 九月 2021 18:29:10 +0800 Subject: [PATCH] Merge branch 'zzj' of http://gitlab.nhys.cdnhxx.com/root/zhihuishequ into discuss --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 731 +++++++++++++++++++++++++++++++++++++++---------------- 1 files changed, 517 insertions(+), 214 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 65ec706..ffa80ad 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,6 +2,12 @@ import java.util.List; +import com.panzhihua.common.model.dtos.community.*; +import com.panzhihua.common.model.dtos.community.discuss.ComActDiscussDetailDTO; +import com.panzhihua.common.model.dtos.community.discuss.ComActDiscussPublishResultDTO; +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; @@ -15,72 +21,6 @@ import com.panzhihua.common.model.dtos.PageDTO; import com.panzhihua.common.model.dtos.advertisement.ComOpsAdvDTO; import com.panzhihua.common.model.dtos.advertisement.PageComOpsAdvDTO; -import com.panzhihua.common.model.dtos.community.AddComActDynTypeDTO; -import com.panzhihua.common.model.dtos.community.CascadeHouseDTO; -import com.panzhihua.common.model.dtos.community.ComActDiscussCommentDTO; -import com.panzhihua.common.model.dtos.community.ComActDiscussCommentUserDTO; -import com.panzhihua.common.model.dtos.community.ComActDiscussDTO; -import com.panzhihua.common.model.dtos.community.ComActDiscussOptionUserDTO; -import com.panzhihua.common.model.dtos.community.ComActDiscussUserDTO; -import com.panzhihua.common.model.dtos.community.ComActEasyPhotoCommentDTO; -import com.panzhihua.common.model.dtos.community.ComActEasyPhotoCommentUserDTO; -import com.panzhihua.common.model.dtos.community.ComCvtBusinessDTO; -import com.panzhihua.common.model.dtos.community.ComCvtCategoryDTO; -import com.panzhihua.common.model.dtos.community.ComCvtServeDTO; -import com.panzhihua.common.model.dtos.community.ComExServicemanDTO; -import com.panzhihua.common.model.dtos.community.ComMngCarAppletDTO; -import com.panzhihua.common.model.dtos.community.ComMngCarSaveDTO; -import com.panzhihua.common.model.dtos.community.ComMngPopulationDTO; -import com.panzhihua.common.model.dtos.community.ComMngPopulationEditDTO; -import com.panzhihua.common.model.dtos.community.ComMngPopulationHouseAdminDTO; -import com.panzhihua.common.model.dtos.community.ComMngPopulationHouseEditAdminDTO; -import com.panzhihua.common.model.dtos.community.ComMngPopulationTagDTO; -import com.panzhihua.common.model.dtos.community.ComMngRealCompanyBelongsDTO; -import com.panzhihua.common.model.dtos.community.ComOpsHouseDTO; -import com.panzhihua.common.model.dtos.community.ComSwDangerReportHandleDTO; -import com.panzhihua.common.model.dtos.community.ComSwDangerReportRectifyDTO; -import com.panzhihua.common.model.dtos.community.ComSwPatrolRecordAddDTO; -import com.panzhihua.common.model.dtos.community.ComSwPatrolRecordPageDTO; -import com.panzhihua.common.model.dtos.community.ComSwRotaPageDTO; -import com.panzhihua.common.model.dtos.community.ComSwRotaSaveDTO; -import com.panzhihua.common.model.dtos.community.DisabledPersonsDTO; -import com.panzhihua.common.model.dtos.community.EditComActDynTypeDTO; -import com.panzhihua.common.model.dtos.community.EldersAuthAddByFamilyDTO; -import com.panzhihua.common.model.dtos.community.EldersAuthAddDTO; -import com.panzhihua.common.model.dtos.community.EldersAuthDeleteDTO; -import com.panzhihua.common.model.dtos.community.EldersAuthEditDTO; -import com.panzhihua.common.model.dtos.community.EldersAuthElderlyDTO; -import com.panzhihua.common.model.dtos.community.EldersAuthFeedbackAddDTO; -import com.panzhihua.common.model.dtos.community.EldersAuthTypeQueryDTO; -import com.panzhihua.common.model.dtos.community.ExportComMngCarExcelDTO; -import com.panzhihua.common.model.dtos.community.ExportRealAssetsExcelDTO; -import com.panzhihua.common.model.dtos.community.ExportRealCompanyExcelDTO; -import com.panzhihua.common.model.dtos.community.GrantRewardDTO; -import com.panzhihua.common.model.dtos.community.KeyPersonInfoDTO; -import com.panzhihua.common.model.dtos.community.PageActWorkGuideDTO; -import com.panzhihua.common.model.dtos.community.PageComActDTO; -import com.panzhihua.common.model.dtos.community.PageComActDiscussCommentDTO; -import com.panzhihua.common.model.dtos.community.PageComActDiscussDTO; -import com.panzhihua.common.model.dtos.community.PageComActDynTypeDTO; -import com.panzhihua.common.model.dtos.community.PageComActEasyPhotoCommentDTO; -import com.panzhihua.common.model.dtos.community.PageComCvtBusinessAppletsDTO; -import com.panzhihua.common.model.dtos.community.PageComCvtBusinessDTO; -import com.panzhihua.common.model.dtos.community.PageComCvtCategoryDTO; -import com.panzhihua.common.model.dtos.community.PageComCvtServeDTO; -import com.panzhihua.common.model.dtos.community.PageComEldersRecordsDTO; -import com.panzhihua.common.model.dtos.community.PageComMngCarDTO; -import com.panzhihua.common.model.dtos.community.PageComMngRealAssetsDTO; -import com.panzhihua.common.model.dtos.community.PageComMngRealCompanyDTO; -import com.panzhihua.common.model.dtos.community.PageComMngVillageDTO; -import com.panzhihua.common.model.dtos.community.PageComOpsHouseDTO; -import com.panzhihua.common.model.dtos.community.PageComStreetDTO; -import com.panzhihua.common.model.dtos.community.PageEldersAuthDTO; -import com.panzhihua.common.model.dtos.community.PageEldersAuthElderlyDTO; -import com.panzhihua.common.model.dtos.community.PageEldersAuthHistoryDTO; -import com.panzhihua.common.model.dtos.community.PageEldersAuthRecordDTO; -import com.panzhihua.common.model.dtos.community.PageQuestnaireAnswerDTO; -import com.panzhihua.common.model.dtos.community.PageQuestnaireDTO; -import com.panzhihua.common.model.dtos.community.PageQuestnaireSubDetailsDTO; import com.panzhihua.common.model.dtos.community.bigscreen.BigScreenEventDTO; import com.panzhihua.common.model.dtos.community.bigscreen.BigScreenEventDetailDTO; import com.panzhihua.common.model.dtos.community.bigscreen.BigScreenStatisticAgeGenderDTO; @@ -102,6 +42,7 @@ import com.panzhihua.common.model.dtos.community.integral.admin.PageComActIntegralRuleDTO; import com.panzhihua.common.model.dtos.community.integral.admin.PageComActIntegralTradeDTO; import com.panzhihua.common.model.dtos.community.questnaire.StatisticsSummaryDTO; +import com.panzhihua.common.model.dtos.community.reserve.*; import com.panzhihua.common.model.dtos.community.switchs.SearchCommunityDTO; import com.panzhihua.common.model.dtos.community.wallet.ComActWalletDetailDTO; import com.panzhihua.common.model.dtos.community.wallet.ComActWalletSettlementAdminDTO; @@ -124,20 +65,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; @@ -170,52 +97,6 @@ import com.panzhihua.common.model.vos.DictionaryVO; import com.panzhihua.common.model.vos.R; import com.panzhihua.common.model.vos.SystemmanagementConfigVO; -import com.panzhihua.common.model.vos.community.ComActActRegistVO; -import com.panzhihua.common.model.vos.community.ActivitySignVO; -import com.panzhihua.common.model.vos.community.BatchhouseVO; -import com.panzhihua.common.model.vos.community.ComActActEvaluateVO; -import com.panzhihua.common.model.vos.community.ComActActivityVO; -import com.panzhihua.common.model.vos.community.ComActDynVO; -import com.panzhihua.common.model.vos.community.ComActEasyPhotoVO; -import com.panzhihua.common.model.vos.community.ComActMessageBackVO; -import com.panzhihua.common.model.vos.community.ComActMessageVO; -import com.panzhihua.common.model.vos.community.ComActMicroWishVO; -import com.panzhihua.common.model.vos.community.ComActVO; -import com.panzhihua.common.model.vos.community.ComActWorkGuideVO; -import com.panzhihua.common.model.vos.community.ComCvtServeExcelVO; -import com.panzhihua.common.model.vos.community.ComEldersAuthElderlyDetailsVO; -import com.panzhihua.common.model.vos.community.ComMngBuildingExcelVO; -import com.panzhihua.common.model.vos.community.ComMngCarExcelVO; -import com.panzhihua.common.model.vos.community.ComMngPopulationCorrectExcelVO; -import com.panzhihua.common.model.vos.community.ComMngPopulationCultExcelVO; -import com.panzhihua.common.model.vos.community.ComMngPopulationDisabilityExcelVO; -import com.panzhihua.common.model.vos.community.ComMngPopulationDrugExcelVO; -import com.panzhihua.common.model.vos.community.ComMngPopulationKeyExcelVO; -import com.panzhihua.common.model.vos.community.ComMngPopulationLowSecurityExcelVO; -import com.panzhihua.common.model.vos.community.ComMngPopulationMajorExcelVO; -import com.panzhihua.common.model.vos.community.ComMngPopulationRehabilitationExcelVO; -import com.panzhihua.common.model.vos.community.ComMngPopulationSentenceExcelVO; -import com.panzhihua.common.model.vos.community.ComMngPopulationServeExcelVO; -import com.panzhihua.common.model.vos.community.ComMngPopulationVO; -import com.panzhihua.common.model.vos.community.ComMngPopulationVeteransExcelVO; -import com.panzhihua.common.model.vos.community.ComMngRealAssetsExcelVO; -import com.panzhihua.common.model.vos.community.ComMngRealAssetsVO; -import com.panzhihua.common.model.vos.community.ComMngRealCompanyExcelVO; -import com.panzhihua.common.model.vos.community.ComMngRealCompanyVO; -import com.panzhihua.common.model.vos.community.ComMngStructAreaVO; -import com.panzhihua.common.model.vos.community.ComMngStructHouseVO; -import com.panzhihua.common.model.vos.community.ComMngStructOtherBuildVO; -import com.panzhihua.common.model.vos.community.ComMngVillageServeExcelVO; -import com.panzhihua.common.model.vos.community.ComMngVillageVO; -import com.panzhihua.common.model.vos.community.ComMngVolunteerMngVO; -import com.panzhihua.common.model.vos.community.ComOpsHouseUndercarriageVO; -import com.panzhihua.common.model.vos.community.ComOpsHouseVO; -import com.panzhihua.common.model.vos.community.ComStreetVO; -import com.panzhihua.common.model.vos.community.ComSwRotaExcelVO; -import com.panzhihua.common.model.vos.community.EldersAuthDetailsVO; -import com.panzhihua.common.model.vos.community.EldersAuthElderlyExcelVO; -import com.panzhihua.common.model.vos.community.ResetComActMessageVO; -import com.panzhihua.common.model.vos.community.SignactivityVO; import com.panzhihua.common.model.vos.community.bigscreen.BigScreenStatisticAgeGender; import com.panzhihua.common.model.vos.community.bigscreen.BigScreenStatisticPartyActivity; import com.panzhihua.common.model.vos.community.bigscreen.BigScreenStatisticPartyBuild; @@ -223,6 +104,7 @@ import com.panzhihua.common.model.vos.community.questnaire.EditComActQuestnaireVo; import com.panzhihua.common.model.vos.community.questnaire.QuestnaireVO; import com.panzhihua.common.model.vos.community.questnaire.UsersAnswerQuestnaireVO; +import com.panzhihua.common.model.vos.community.reserve.*; import com.panzhihua.common.model.vos.neighbor.AddNeighborCircleAdminVO; import com.panzhihua.common.model.vos.neighbor.ChangeCommentReplyStatusByAdminVO; import com.panzhihua.common.model.vos.neighbor.ChangeCommentStatusByAdminVO; @@ -324,6 +206,16 @@ R listActivitySign(@RequestBody ActivitySignVO activitySignVO); /** + * description getSignLists 查询活动报名名单 + * @param activitySignVO 查询参数 + * @return R 查询结果 + * @author txb + * @date 2021/8/24 14:03 + */ + @PostMapping("/activity/sign/getList") + R getSignLists(@RequestBody ActivitySignVO activitySignVO); + + /** * description listActivityRegists 分页查询活动评价 * @param comActActEvaluateVO 活动评价vo * @return R 分页查询结果 @@ -331,17 +223,67 @@ * @date 2021/8/24 14:03 */ @PostMapping("/activity/evaluate/page") - R pageActivityRegists(@RequestBody ComActActEvaluateVO comActActEvaluateVO); + R pageActivityEvaluates(@RequestBody ComActActEvaluateVO comActActEvaluateVO); /** - * description getEvaluateListsByIds 批量查询活动评价 - * @param ids ids + * description getEvaluateLists 查询活动评价 + * @param comActActEvaluateVO 查询参数 * @return R 查询结果 * @author txb * @date 2021/8/24 14:03 */ @PostMapping("/activity/evaluate/getList") - R getEvaluateListsByIds(@RequestBody List<Long> ids); + R getEvaluateLists(@RequestBody ComActActEvaluateVO comActActEvaluateVO); + + /** + * description pageActivityRegists 分页查询活动签到 + * @param comActActRegistVO 活动签到vo + * @return R 分页查询结果 + * @author txb + * @date 2021/8/24 14:03 + */ + @PostMapping("/activity/regist/page") + R pageActivityRegists(@RequestBody ComActActRegistVO comActActRegistVO); + + /** + * description getRegistLists 查询活动签到 + * @param comActActRegistVO 查询参数 + * @return R 查询结果 + * @author txb + * @date 2021/8/25 9:33 + */ + @PostMapping("/activity/regist/getList") + R getRegistLists(@RequestBody ComActActRegistVO comActActRegistVO); + + /** + * description getRegistLists 查询活动未签到 + * @param comActActRegistVO 查询参数 + * @return R 查询结果 + * @author txb + * @date 2021/8/25 9:33 + */ + @PostMapping("/activity/noRegist/getList") + R getNoRegistLists(@RequestBody ComActActRegistVO comActActRegistVO); + + /** + * description activityStagistics 活动数据统计 + * @param activityId 活动id + * @return R 统计结果 + * @author txb + * @date 2021/8/25 13:33 + */ + @GetMapping("/activity/statistics") + R activityStatistics(@RequestParam("activityId") Long activityId); + + /** + * 获取活动历史封面 getPictureList + * @param userId 用户id + * @return R 统计结果 + * @author txb + * @date 2021/8/27 13:33 + */ + @GetMapping("/activity/picture/getList") + R getPictureList(@RequestParam("userId") Long userId); /** * 活动报名名单 @@ -1179,7 +1121,7 @@ R addComActEasyPhotoComment(@RequestBody ComActEasyPhotoCommentDTO comActEasyPhotoCommentDTO); /** - * 一起议-新增 + * 议事投票-新增 * * @param comActDiscussDTO * 新增参数 @@ -1189,17 +1131,35 @@ R addDiscuss(@RequestBody ComActDiscussDTO comActDiscussDTO); /** - * 一起议-详情 + * 议事投票-新增 * - * @param id - * 主键 + * @param comActDiscussDTO + * 新增参数 + * @return 新增结果 + */ + @PostMapping("editdiscuss") + R editDiscuss(@RequestBody ComActDiscussDTO comActDiscussDTO); + + /** + * 议事投票-详情 + * + * @param discussDetailDTO + * 请求参数 * @return ComActDiscussVO */ @PostMapping("detaildiscuss") - R detailDiscuss(@RequestParam("id") Long id); + R detailDiscuss(@RequestBody ComActDiscussDetailDTO discussDetailDTO); /** - * 一起议-删除 + * 分页查询评论下回复列表 + * @param discussDetailDTO 请求参数 + * @return 回复列表 + */ + @PostMapping("discussCommentReplyAdmin") + R discussCommentReplyAdmin(@RequestBody ComActDiscussDetailDTO discussDetailDTO); + + /** + * 议事投票-删除 * * @param id * 主键 @@ -1209,7 +1169,7 @@ R deleteDiscuss(@RequestParam("id") Long id); /** - * 一起议-回复 + * 议事投票-回复 * * @param comActDiscussCommentDTO * 评论内容 @@ -1219,7 +1179,7 @@ R addDiscussComment(@RequestBody ComActDiscussCommentDTO comActDiscussCommentDTO); /** - * 一起议-分页查询 + * 议事投票-分页查询 * * @param pageComActDiscussDTO * 查询参数 @@ -1229,7 +1189,17 @@ R pageDiscuss(@RequestBody PageComActDiscussDTO pageComActDiscussDTO); /** - * 一起议-评论-查看 + * 议事投票-后台分页查询 + * + * @param pageComActDiscussDTO + * 查询参数 + * @return ComActDiscussVO + */ + @PostMapping("pagediscussAdmin") + R pageDiscussAdmin(@RequestBody PageComActDiscussDTO pageComActDiscussDTO); + + /** + * 议事投票-评论-查看 * * @param id * 主键 @@ -1239,7 +1209,15 @@ R detailDiscussComment(@RequestParam("id") Long id); /** - * 一起议-评论-置顶 + * 议事投票评论详情 + * @param pageComActDiscussCommentDTO 请求参数 + * @return 议事投票详情 + */ + @PostMapping("detaildiscusscommentAdmin") + R detailDiscussCommentAdmin(@RequestBody PageComActDiscussCommentDTO pageComActDiscussCommentDTO); + + /** + * 议事投票-评论-置顶 * * @param id * 主键 @@ -1249,7 +1227,7 @@ R putDiscussCommentTop(@RequestParam("id") Long id); /** - * 一起议-评论-回复 + * 议事投票-评论-回复 * * @param comActDiscussCommentDTO * 回复内容 @@ -1259,7 +1237,7 @@ R addDiscussCommentBack(@RequestBody ComActDiscussCommentDTO comActDiscussCommentDTO); /** - * 一起议-评论-分页查询 + * 议事投票-评论-分页查询 * * @param pageComActDiscussCommentDTO * 分页查询参数 @@ -1269,7 +1247,17 @@ R pageDiscussComment(@RequestBody PageComActDiscussCommentDTO pageComActDiscussCommentDTO); /** - * 一起议-分页查询 小程序 + * 议事投票-评论-后台分页查询 + * + * @param pageComActDiscussCommentDTO + * 分页查询参数 + * @return ComActDiscussCommentVO + */ + @PostMapping("pagediscusscommentAdmin") + R pageDiscussCommentAdmin(@RequestBody PageComActDiscussCommentDTO pageComActDiscussCommentDTO); + + /** + * 议事投票-分页查询 小程序 * * @param pageComActDiscussDTO * 查询参数 @@ -1279,7 +1267,7 @@ R pageDiscussApplets(@RequestBody PageComActDiscussDTO pageComActDiscussDTO); /** - * 一起议-点赞、取消点赞 + * 议事投票-点赞、取消点赞 * * @param comActDiscussUserDTO * 操作类型 @@ -1289,7 +1277,7 @@ R putDiscussUser(@RequestBody ComActDiscussUserDTO comActDiscussUserDTO); /** - * 一起议-评论-分页查询 小程序 + * 议事投票-评论-分页查询 小程序 * * @param pageComActDiscussCommentDTO * 分页参数 @@ -1299,7 +1287,7 @@ R pageDiscussCommentApplets(@RequestBody PageComActDiscussCommentDTO pageComActDiscussCommentDTO); /** - * 一起议-详情 小程序 + * 议事投票-详情 小程序 * * @param id * 主键 @@ -1311,7 +1299,7 @@ R detailDiscussApplets(@RequestParam("id") Long id, @RequestParam("userId") Long userId); /** - * 一起议-投票 + * 议事投票-投票 * * @param comActDiscussOptionUserDTO * 投票信息 @@ -1321,7 +1309,7 @@ R addDiscussOptionUser(@RequestBody ComActDiscussOptionUserDTO comActDiscussOptionUserDTO); /** - * 一起议-评论-点赞、取消点赞 + * 议事投票-评论-点赞、取消点赞 * * @param comActDiscussUserDTO * 评论点赞 @@ -1496,7 +1484,7 @@ R pageComCvtBusinessByServiceArea(@RequestBody PageComCvtBusinessAppletsDTO comCvtBusinessAppletsDTO); /** - * 一起议-新增 + * 议事投票-新增 * * @param comOpsHouseDTO * 新增参数 @@ -1506,7 +1494,7 @@ R addOpsHouse(@RequestBody ComOpsHouseDTO comOpsHouseDTO); /** - * 一起议-详情 + * 议事投票-详情 * * @param id * 主键 @@ -1546,7 +1534,7 @@ R undercarriageHouse(@RequestBody ComOpsHouseUndercarriageVO comOpsHouseVO); /** - * 一起议-删除 + * 议事投票-删除 * * @param id * 主键 @@ -1740,7 +1728,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); /** * 导出房屋信息 @@ -1856,7 +1844,7 @@ */ @PostMapping("/common/data/company/import") R listSaveMngRealCompanyExcelVO(@RequestBody List<ComMngRealCompanyExcelVO> list, - @RequestParam("communityId") Long communityId); + @RequestParam("communityId") Long communityId); /** * 实有单位导出 @@ -1911,7 +1899,7 @@ */ @PostMapping("/common/data/assets/import") R listSaveMngRealAssetsExcelVO(@RequestBody List<ComMngRealAssetsExcelVO> list, - @RequestParam("communityId") Long communityId); + @RequestParam("communityId") Long communityId); /** * 实有单位导出 @@ -2059,7 +2047,7 @@ */ @PostMapping("/village/import") R listSaveVillageServeExcelVO(@RequestBody List<ComMngVillageServeExcelVO> list, - @RequestParam(value = "communityId") Long communityId); + @RequestParam(value = "communityId") Long communityId); /** * 批量导入实有人口 @@ -2072,7 +2060,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); /** * 批量导入吸毒人员 @@ -2085,7 +2073,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); /** * 批量导入社区矫正人员 @@ -2098,7 +2086,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); /** * 批量导入重精人员 @@ -2111,7 +2099,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); /** * 批量导入邪教人员 @@ -2124,7 +2112,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); /** * 批量导入刑释人员 @@ -2137,7 +2125,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); /** * 批量导入重点上访人员 @@ -2150,7 +2138,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); /** * 批量导入服刑人员 @@ -2163,7 +2151,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); /** * 批量导入退役军人 @@ -2176,7 +2164,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); /** * 批量导入残疾人 @@ -2189,7 +2177,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); /** * 批量导入低保户 @@ -2202,7 +2190,7 @@ */ @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); /** * 确认导入实有人口(有则更新,无则新建) @@ -2215,7 +2203,7 @@ */ @PostMapping("/common/data/population/import/confirm") R listSavePopulationConfirm(@RequestBody List<ComMngPopulationServeExcelVO> list, - @RequestParam(value = "communityId") Long communityId); + @RequestParam(value = "communityId") Long communityId); /** * 分页查询实有人口 @@ -2375,7 +2363,7 @@ /** * 小程序-问卷调查详情 - * + * * @param userId * 用户id * @param questId @@ -2387,7 +2375,7 @@ /** * 小程序-新增问卷调查浏览数量 - * + * * @param questId * 问卷调查id * @return 增加结果 @@ -2397,7 +2385,7 @@ /** * 小程序-用户弹窗添加不在提醒接口 - * + * * @param questId * 问卷id * @param userId @@ -2409,7 +2397,7 @@ /** * 社区后台-查询问卷调查详情 - * + * * @param questId * 问卷id * @return 问卷调查详情 @@ -2933,7 +2921,7 @@ */ @PostMapping("/common/data/population/edit") R editPopulation(@RequestBody ComMngPopulationEditDTO populationEditDTO, - @RequestParam("communityId") Long communityId); + @RequestParam("communityId") Long communityId); /** * 微心愿删除 @@ -2989,7 +2977,7 @@ * @return 详情 */ @GetMapping("/detailworkguide") - R detailWorkGuide(@RequestParam("workGuideId") Long workGuideId, @RequestParam("conmunityId") Long conmunityId); + R detailWorkGuide(@RequestParam("workGuideId") Long workGuideId, @RequestParam("communityId") Long communityId); /** * 办事指南_分页 @@ -3624,7 +3612,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); /** * 批量保存楼栋 @@ -3635,7 +3623,7 @@ */ @PostMapping("/building/batchSave") R listSaveBuildingExcelVO(@RequestBody List<ComMngBuildingExcelVO> newVoList, - @RequestParam("communityId") Long communityId); + @RequestParam("communityId") Long communityId); /** * 插入字典 @@ -3815,7 +3803,7 @@ */ @PostMapping("/bigscreen/party/ageGender") R<BigScreenStatisticAgeGender> - ageGender(@RequestBody BigScreenStatisticAgeGenderDTO bigScreenStatisticAgeGenderDTO); + ageGender(@RequestBody BigScreenStatisticAgeGenderDTO bigScreenStatisticAgeGenderDTO); /** * 党建数据概览 @@ -3840,7 +3828,7 @@ */ @PostMapping("/bigscreen/party/bigscreenPartyactivity") R<List<BigScreenStatisticPartyActivity>> - bigscreenPartyactivity(BigScreenStatisticPartyActivityDTO bigScreenStatisticPartyActivityDTO); + bigscreenPartyactivity(BigScreenStatisticPartyActivityDTO bigScreenStatisticPartyActivityDTO); /** * 首页大屏统计接口 @@ -3888,7 +3876,7 @@ R activity(@RequestParam("communityId") Long communityId); /** - * 大屏统计一起议 + * 大屏统计议事投票 * * @param communityId * @return @@ -3956,11 +3944,11 @@ R getScreenEventDetail(@RequestBody BigScreenEventDetailDTO eventDetailDTO); /** - * 工作大屏-一起议列表 + * 工作大屏-议事投票列表 * * @param discussListDTO * 请求参数 - * @return 一起议列表 + * @return 议事投票列表 */ @PostMapping("/screen/work/getScreenDiscussList") R getScreenDiscussList(@RequestBody ScreenDiscussListDTO discussListDTO); @@ -4359,7 +4347,7 @@ /** * 查询用户交易记录总额 - * + * * @param pageTradeAdminDTO * 请求参数 * @return 交易记录总额 @@ -4369,7 +4357,7 @@ /** * 查询用户导出数据 - * + * * @param pageTradeAdminDTO * 请求参数 * @return 用户导出数据 @@ -4379,7 +4367,7 @@ /** * 导出奖励台账数据 - * + * * @param pageTradeAdminDTO * 请求参数 * @return 奖励台账数据 @@ -4389,7 +4377,7 @@ /** * 查询社区统计数据 - * + * * @param pageTradeAdminDTO * 查询社区统计数据 * @return 社区统计数据 @@ -4399,7 +4387,7 @@ /** * 社区随手拍列表统计 - * + * * @param communityId * 社区id * @return 统计结果 @@ -4445,7 +4433,7 @@ * @return 邻里圈话题列表 */ @GetMapping("/neighbor/getNeighborTopicByApp") - R getNeighborTopicByApp(@RequestParam("communityId") Long communityId); + R getNeighborTopicByApp(@RequestParam("communityId") Long communityId,@RequestParam("isZero") Integer isZero); /** * 综治后台-查询社区列表 @@ -4596,7 +4584,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查询安全工作记录详情 @@ -4607,7 +4595,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); /** * 分页查询隐患报告 @@ -4678,7 +4666,7 @@ /** * 小程序-查询积分说明 - * + * * @return 积分说明 */ @GetMapping("/integral/explain/applets") @@ -4686,7 +4674,7 @@ /** * 小程序-用户查询当前社区可领取积分规则列表 - * + * * @param userId * 用户id * @param communityId @@ -4698,7 +4686,7 @@ /** * 小程序-查询用户积分列表 - * + * * @param userId * 用户id * @return 用户积分列表 @@ -4708,7 +4696,7 @@ /** * 小程序-查询社区积分账户排行榜 - * + * * @param communityRankDTO * 请求参数 * @return 社区积分账户排行榜 @@ -4718,7 +4706,7 @@ /** * 小程序-查询用户社区积分明细 - * + * * @param communityTradeDTO * 请求参数 * @return 用户社区积分明细 @@ -4728,7 +4716,7 @@ /** * 社区后台-根据社区id查询社区下积分规则列表 - * + * * @param integralRuleDTO * 请求参数 * @return 社区下积分规则列表 @@ -4738,7 +4726,7 @@ /** * 社区后台-编辑社区积分规则 - * + * * @param integralRuleDTO * 请求参数 * @return 编辑结果 @@ -4748,7 +4736,7 @@ /** * 社区后台-分页查询社区下积分明细记录 - * + * * @param integralRuleDTO * 请求参数 * @return 社区下积分明细记录 @@ -4758,7 +4746,7 @@ /** * 给用户添加积分 - * + * * @param integralUserDTO * 请求参数 * @return 添加积分结果 @@ -4768,7 +4756,7 @@ /** * 根据社区活动id查询社区活动报名人员列表 - * + * * @param activityId * 活动id * @return 社区活动报名人员列表 @@ -4788,7 +4776,7 @@ /** * 根据id查询值班表 - * + * * @param rotaId * 值班表id * @return 值班表详情 @@ -4808,7 +4796,7 @@ /** * 批量删除值班表 - * + * * @param rotaIds * 值班ids * @return 删除结果 @@ -4855,7 +4843,7 @@ /** * 查询社区所有列表 - * + * * @return 社区列表 */ @GetMapping("/switch/community/all/list") @@ -4863,7 +4851,7 @@ /** * 根据名字查询所有社区列表 - * + * * @param name * 社区名字 * @return 社区列表 @@ -4873,7 +4861,7 @@ /** * 根据经纬度以及距离搜索附近社区列表 - * + * * @param communityDTO * 请求参数 * @return 社区列表 @@ -4883,7 +4871,7 @@ /** * 问卷调查统计汇总 - * + * * @param summaryDTO * 请求参数 * @return 统计汇总 @@ -4893,7 +4881,7 @@ /** * 问卷调查统计汇总导出数据查询 - * + * * @param questId * 调查问卷id * @return 调查统计汇总导出数据 @@ -4903,7 +4891,7 @@ /** * 问卷调查统计汇总表头统计 - * + * * @param questId * 调查问卷id * @return 问卷调查统计汇总表头统计数据 @@ -4913,7 +4901,7 @@ /** * 运营后台-新增随手拍分类 - * + * * @param addPhotoClassify * 请求参数 * @return 新增结果 @@ -4923,7 +4911,7 @@ /** * 运营后台-编辑随手拍分类 - * + * * @param addPhotoClassify * 请求参数 * @return 编辑结果 @@ -4933,7 +4921,7 @@ /** * 运营后台-分页查询随手拍分类 - * + * * @param addPhotoClassify * 请求参数 * @return 随手拍分类列表 @@ -4943,7 +4931,7 @@ /** * 运营后台-随手拍分类详情 - * + * * @param id * 随手拍分类id * @return 随手拍分类 @@ -4953,7 +4941,7 @@ /** * 运营后台-随手拍分类删除 - * + * * @param id * 随手拍分类id * @return 删除结果 @@ -4963,7 +4951,7 @@ /** * 运营后台-查询随手拍分类列表 - * + * * @return 随手拍分类列表 */ @GetMapping("/classify/admin/list") @@ -4971,7 +4959,7 @@ /** * 社区后台-切换随手拍公示状态 - * + * * @param comActEasyPhotoVO * 请求参数 * @return 切换结果 @@ -4981,7 +4969,7 @@ /** * 查询社区待处理随手拍id集合 - * + * * @param communityId * 社区id * @return 社区待处理随手拍id集合 @@ -4989,6 +4977,215 @@ @GetMapping("/easyphoto/noHandle/list") R easyPhotoNoHandleList(@RequestParam("communityId") Long communityId); + @GetMapping("/reserve/detail") + R reserveDetail(@RequestParam("id") Long id,@RequestParam("userId") Long userId,@RequestParam("recordId") Long recordId,@RequestParam("isBack") Integer isBack); + + @PostMapping("/reserve/commit") + R reserveCommit(@RequestBody ComActReserveCommitVO comActReserveCommitVO); + + /** + * 我的预约/登记 + * @param pageUserReserveDTO + * @return + */ + @PostMapping("/reserve/userReserveList") + R userReserveList(@RequestBody PageUserReserveDTO pageUserReserveDTO); + + /** + * 取消预约/登记 + */ + @PostMapping("/reserve/cancelReserve") + R userCancelReserve(@RequestBody CancelRecordDTO comActReserveRecordDO); + + /** + * 预约详情操作记录 + */ + @PostMapping("/reserve/detailOperation") + R reserveOperation(@RequestBody OperationDetailDTO comActReserveOperationRecordDO); + + /** + * 社区后台-分页查询预约登记列表 + * @param pageReserveDTO 请求参数 + * @return 预约登记列表 + */ + @PostMapping("/reserve/admin/page") + R pageReserveAdmin(@RequestBody PageReserveAdminDTO pageReserveDTO); + + /** + * 社区后台-新增预约登记信息 + * @param addReserveDTO 请求参数 + * @return 新增结果 + */ + @PostMapping("/reserve/admin/add") + R addReserveAdmin(@RequestBody AddReserveAdminDTO addReserveDTO); + + /** + * 社区后台-编辑预约登记信息 + * @param editReserveDTO 请求参数 + * @return 新增结果 + */ + @PostMapping("/reserve/admin/edit") + R editReserveAdmin(@RequestBody EditReserveAdminDTO editReserveDTO); + + /** + * 社区后台-修改预约登记状态 + * @param editReserveDTO 请求参数 + * @return 修改结果 + */ + @PostMapping("/reserve/admin/edit/status") + R editReserveStatusAdmin(@RequestBody EditComActReserveStatusDTO editReserveDTO); + + /** + * 社区后台-继续预约登记 + * @param editReserveDTO 请求参数 + * @return 修改结果 + */ + @PostMapping("/reserve/admin/edit/info") + R editReserveInfoAdmin(@RequestBody EditComActReserveInfoDTO editReserveDTO); + + /** + * 社区后台-根据预约登记id查询详情 + * @param reserveId 预约登记id + * @return 预约登记详情 + */ + @GetMapping("/reserve/admin/detail") + R detailReserveAdmin(@RequestParam("reserveId") Long reserveId); + + /** + * 社区后台-根据社区id统计预约类数据 + * @param makeStatisticsDTO 请求参数 + * @return 统计预约类数据 + */ + @PostMapping("/reserve/admin/make/statistics") + R makeStatisticsAdmin(@RequestBody ComActReserveMakeStatisticsDTO makeStatisticsDTO); + + /** + * 社区后台-查询导出预约统计汇总数据 + * @param makeStatisticsDTO 请求参数 + * @return 统计预约类数据 + */ + @PostMapping("/reserve/admin/make/statistics/export") + R makeStatisticsExportAdmin(@RequestBody ComActReserveMakeStatisticsDTO makeStatisticsDTO); + + /** + * 社区后台-根据预约id查询预约明细 + * @param pageMakeDTO 请求参数 + * @return 预约明细 + */ + @PostMapping("/reserve/admin/make/page") + R pageMakeAdmin(@RequestBody PageReserveMakeAdminDTO pageMakeDTO); + + /** + * 根据预约记录id查询预约明细操作记录 + * @param reserveRecordId 预约记录id + * @return 预约明细操作记录 + */ + @GetMapping("/reserve/admin/make/detail") + R detailMakeAdmin(@RequestParam("reserveRecordId") Long reserveRecordId); + + /** + * 批量取消预约记录 + * @param reserveRecordDTO 请求参数 + * @return 取消结果 + */ + @PostMapping("/reserve/admin/make/cancel") + R makeCancelAdmin(@RequestBody CancelReserveRecordDTO reserveRecordDTO); + + /** + * 预约明细导出数据查询 + * @param pageMakeDTO 请求参数 + * @return 预约明细数据 + */ + @PostMapping("/reserve/admin/make/list/export") + R exportMakeAdmin(@RequestBody PageReserveMakeAdminDTO pageMakeDTO); + + /** + * 分页查询登记统计汇总 + * @param registerStatisticsDTO 请求参数 + * @return 登记统计汇总 + */ + @PostMapping("/reserve/admin/register/page") + R registerStatisticsAdmin(@RequestBody ComActReserveRegisterStatisticsDTO registerStatisticsDTO); + + /** + * 导出登记统计汇总 + * @param registerStatisticsDTO 请求参数 + * @return 登记统计汇总 + */ + @PostMapping("/reserve/admin/register/export") + R registerStatisticsExportAdmin(@RequestBody ComActReserveRegisterStatisticsDTO registerStatisticsDTO); + + /** + * 分页查询预约处理列表 + * @param pageMakeHandleDTO 请求参数 + * @return 预约处理列表 + */ + @PostMapping("/reserve/admin/make/handle/page") + R pageMakeHandleAdmin(@RequestBody PageReserveMakeHandleAdminDTO pageMakeHandleDTO); + + /** + * 批量处理预约记录 + * @param makeHandleDTO 请求参数 + * @return 处理结果 + */ + @PostMapping("/reserve/admin/make/handle") + R makeHandleAdmin(@RequestBody MakeHandleAdminDTO makeHandleDTO); + + /** + * 导出预约处理列表数据查询 + * @param pageMakeHandleDTO 请求参数 + * @return 预约处理列表 + */ + @PostMapping("/reserve/admin/make/handle/export") + R exportMakeHandleAdmin(@RequestBody PageReserveMakeHandleAdminDTO pageMakeHandleDTO); + + /** + * 删除预约登记信息 + * @param reserveId 预约登记id + * @return 删除结果 + */ + @GetMapping("/reserve/admin/delete") + R deleteReserveAdmin(@RequestParam("reserveId") Long reserveId); + + /** + * 查询社区所有预约信息列表 + * @param communityId 社区id + * @return 预约信息列表 + */ + @GetMapping("/reserve/admin/list") + R listReserveAdmin(@RequestParam("communityId") Long communityId); + + /** + * 导出登记明细数据 + * @param reserveId 登记id + * @return 登记明细数据 + */ + @GetMapping("/reserve/admin/register/list/export") + R exportRegisterAdmin(@RequestParam("reserveId") Long reserveId); + + /** + * 查询预约登记题目列表 + * @param reserveId 预约登记id + * @return 约登记题目列表 + */ + @GetMapping("/reserve/admin/subject/list") + R subjectListAdmin(@RequestParam("reserveId") Long reserveId); + + /** + * 分页查询登记明细列表 + * @param detailedAdminDTO 请求参数 + * @return 登记明细列表 + */ + @PostMapping("/reserve/admin/register/detailed/list") + R registerDetailedListAdmin(@RequestBody PageReserveRegisterDetailedAdminDTO detailedAdminDTO); + + /** + * 查询登记详情记录 + * @param reserveRecordId 登记记录id + * @return 登记详情记录 + */ + @GetMapping("/reserve/admin/register/detailed/detail") + R registerDetailedDetailAdmin(@RequestParam("reserveRecordId") Long reserveRecordId); /** * 活动签到 * @@ -5030,4 +5227,110 @@ */ @PostMapping("/activity/default-praise") R timedTaskActivityDefaultPraise(); + + /** + * 小程序-用户新增话题 + * @param circleTopicAppDTO 请求参数 + * @return 新增结果 + */ + @PostMapping("/neighbor/addNeighborTopicByApp") + R addNeighborTopicByApp(@RequestBody AddNeighborCircleTopicAppDTO circleTopicAppDTO); + + /** + * 小程序-删除邻里圈 + * @param circleTopicAppDTO 请求参数 + * @return 删除结果 + */ + @PostMapping("/neighbor/circleTopicAppDTO") + 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); + + /** + * 议事投票后台公布结果 + * @param publishResultDTO 请求参数 + * @return 公布结果 + */ + @PostMapping("publishResultAdmin") + R publishResultAdmin(@RequestBody ComActDiscussPublishResultDTO publishResultDTO); + + /** + * 议事投票-评论/回复删除 + * @param id 评论/回复id + * @return 删除结果 + */ + @GetMapping("deleteDiscussCommentAdmin") + R deleteDiscussCommentAdmin(@RequestParam("id") Long id); + + /** + * 查询社区可发布议事投票权限配置 + * @param communityId 社区id + * @return 社区可发布议事投票权限配置 + */ + @GetMapping("discussJurisdictionGet") + R discussJurisdictionGet(@RequestParam("communityId") Long communityId,@RequestParam("userId") Long userId); + + /** + * 设置当前社区议事投票小程序身份验证参数(1.全部 2.党员 3.志愿者 4.社区工作人员) + * @param communityId 社区id + * @param value 需要设置的参数值 + * @return 设置结果 + */ + @GetMapping("discussJurisdictionSet") + R discussJurisdictionSet(@RequestParam("communityId") Long communityId, @RequestParam("value") String value); + + /** + * 议事投票检测状态定时任务 + * @return 执行结果 + */ + @GetMapping("timedTaskDiscussInspectStatus") + R timedTaskDiscussInspectStatus(); + + /** + * 一起议增加浏览量 + * @param discussId 一起议主键id + */ + @PostMapping("discuss/increase-view-num") + void increaseViewNum(@RequestParam("discussId") Long discussId); + + /** + * 定时任务每半小时执行一次将一起议浏览量写入到表中 + */ + @PostMapping("discuss/write-view-num") + R timedTaskWriteDiscussViewNumToTable(); + + /** + * 公布/编辑一起议投票结果 + * @param comActDiscussDTO + * @return 请求结果 + */ + @PostMapping("discuss/edit-result") + R editDiscussResult(@RequestBody ComActDiscussDTO comActDiscussDTO); } -- Gitblit v1.7.1