From c1e48a47b39dbd6919bfd9cf2e7023e9f3d6fee8 Mon Sep 17 00:00:00 2001 From: 101captain <237651143@qq.com> Date: 星期五, 05 十一月 2021 10:24:21 +0800 Subject: [PATCH] 1105测试代码修改 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActActivityService.java | 111 ++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 104 insertions(+), 7 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActActivityService.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActActivityService.java index 1306700..85993d7 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActActivityService.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActActivityService.java @@ -8,8 +8,6 @@ import com.panzhihua.common.model.vos.R; import com.panzhihua.common.model.vos.community.*; import com.panzhihua.service_community.model.dos.ComActActivityDO; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestBody; /** * @program: springcloud_k8s_panzhihuazhihuishequ @@ -93,6 +91,15 @@ R listActivitySigns(ActivitySignVO activitySignVO); /** + * description getSignLists 查询活动报名名单 + * @param activitySignVO 查询参数 + * @return R 查询结果 + * @author txb + * @date 2021/8/24 14:03 + */ + R getSignLists(ActivitySignVO activitySignVO); + + /** * description listActivityRegists 分页查询活动评价 * @param comActActEvaluateVO 活动评价vo * @return R 分页查询结果 @@ -100,6 +107,15 @@ * @date 2021/8/24 14:03 */ R pageActivityEvaluates(ComActActEvaluateVO comActActEvaluateVO); + + /** + * description getEvaluateLists 查询活动评价 + * @param comActActEvaluateVO 查询参数 + * @return R 查询结果 + * @author txb + * @date 2021/8/24 14:03 + */ + R getEvaluateLists(ComActActEvaluateVO comActActEvaluateVO); /** * description pageActivityRegists 分页查询活动签到 @@ -111,13 +127,48 @@ R pageActivityRegists(ComActActRegistVO comActActRegistVO); /** - * description getEvaluateListsByIds 批量查询活动评价 - * @param ids ids + * description getRegistLists 查询活动签到 + * @param comActActRegistVO 查询参数 * @return R 查询结果 * @author txb - * @date 2021/8/24 14:03 + * @date 2021/8/25 9:33 */ - R getEvaluateListsByIds(List<Long> ids); + R getRegistLists(ComActActRegistVO comActActRegistVO); + + /** + * description getRegistLists 查询活动未签到 + * @param comActActRegistVO 查询参数 + * @return R 查询结果 + * @author txb + * @date 2021/8/25 9:33 + */ + R getNoRegistLists(ComActActRegistVO comActActRegistVO); + + /** + * description activityStagistics 活动数据统计 + * @param activityId 活动id + * @return R 统计结果 + * @author txb + * @date 2021/8/25 13:33 + */ + R activityStatistics(Long activityId); + + /** + * 获取活动历史封面 getPictureList + * @param userId 用户id + * @return R 统计结果 + * @author txb + * @date 2021/8/27 13:33 + */ + R getPictureList(Long userId); + + /** + * 获取系统预置图库 getSysPictureList + * @return R 系统图库集 + * @author txb + * @date 2021/8/27 13:33 + */ + R getSysPictureList(Integer type); /** * 分页展示我的所有活动 时间倒序排列 @@ -142,9 +193,10 @@ * * @param userId * 用户id + * @param status * @return 活动列表 */ - R listActivity(Long userId); + R listActivity(Long userId, Integer status); /** * 查询志愿者参与的所有已经完成的活动 @@ -196,4 +248,49 @@ */ R timedTaskActivityNotice(); + /** + * 用户签到 + * + * @param comActActRegistVO 签到参数 + * @return 签到结果 + */ + R activitySignIn(ComActActRegistVO comActActRegistVO); + + /** + *用户签到记录列表 + * + * @param userId 用id + * @return 用户签到列表 + */ + R listSignInActivity(Long userId); + + /** + * 获取活动报名签到记录 + * @param id 活动主键id + * @return + */ + R listSignInRecord(Long id); + + /** + * 活动签到记录 + * @param id 活动主键 + * @param userId 用户id + * @return + */ + R listRegistRecord(Long id, Long userId); + + /** + * 获取活动类型(目前只有志愿者活动需要获取) + * @param communityId + * @param type + * @return + */ + R listActivityType(Long communityId, Integer type); + + /** + * 添加活动类型 + * @param comActActivityTypeVO + * @return + */ + R addActivityType(ComActActivityTypeVO comActActivityTypeVO); } -- Gitblit v1.7.1