From c3811d01d1929a98a0f34f70ca187d82ee312dbb Mon Sep 17 00:00:00 2001 From: manailin <261030956@qq.com> Date: 星期三, 03 十一月 2021 17:26:50 +0800 Subject: [PATCH] Merge branch 'test' of http://gitlab.nhys.cdnhxx.com/root/zhihuishequ into test --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActActivityService.java | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 55 insertions(+), 5 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 947f335..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,10 +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.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestParam; /** * @program: springcloud_k8s_panzhihuazhihuishequ @@ -167,6 +163,14 @@ R getPictureList(Long userId); /** + * 获取系统预置图库 getSysPictureList + * @return R 系统图库集 + * @author txb + * @date 2021/8/27 13:33 + */ + R getSysPictureList(Integer type); + + /** * 分页展示我的所有活动 时间倒序排列 * * @param comActActivityVO @@ -189,9 +193,10 @@ * * @param userId * 用户id + * @param status * @return 活动列表 */ - R listActivity(Long userId); + R listActivity(Long userId, Integer status); /** * 查询志愿者参与的所有已经完成的活动 @@ -243,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