From 151cdb80ece106c232bfe57537b6af10280127ac Mon Sep 17 00:00:00 2001 From: tangxiaobao <303826152@qq.com> Date: 星期一, 30 八月 2021 09:45:44 +0800 Subject: [PATCH] 社区活动改版后台接口开发 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 81 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 81 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 22c3848..106a81e 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,7 @@ import java.util.List; +import io.swagger.annotations.ApiOperation; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.*; @@ -143,6 +144,86 @@ 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 分页查询结果 + * @author txb + * @date 2021/8/24 14:03 + */ + @PostMapping("/activity/evaluate/page") + R pageActivityEvaluates(@RequestBody ComActActEvaluateVO comActActEvaluateVO); + + /** + * description getEvaluateLists 查询活动评价 + * @param comActActEvaluateVO 查询参数 + * @return R 查询结果 + * @author txb + * @date 2021/8/24 14:03 + */ + @PostMapping("/activity/evaluate/getList") + 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); + + /** * 活动报名名单 * * @param activitySignVO -- Gitblit v1.7.1