From cc1098fc00a50cb1591d182f04bc37066ff0a9e2 Mon Sep 17 00:00:00 2001 From: 罗元桥 <2376770955@qq.com> Date: 星期四, 05 八月 2021 15:12:39 +0800 Subject: [PATCH] Merge branch 'test' into 'master' --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActEasyPhotoService.java | 78 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 78 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActEasyPhotoService.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActEasyPhotoService.java index 0bf605c..ad14ab5 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActEasyPhotoService.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActEasyPhotoService.java @@ -1,9 +1,18 @@ package com.panzhihua.service_community.service; import com.baomidou.mybatisplus.extension.service.IService; +import com.panzhihua.common.model.dtos.community.ComActEasyPhotoCommentDTO; +import com.panzhihua.common.model.dtos.community.GrantRewardDTO; +import com.panzhihua.common.model.dtos.community.PageComActEasyPhotoCommentDTO; +import com.panzhihua.common.model.dtos.community.ComActEasyPhotoCommentUserDTO; +import com.panzhihua.common.model.dtos.partybuilding.ComPbServiceTeamDTO; +import com.panzhihua.common.model.dtos.partybuilding.PageComPbServiceTeamDTO; import com.panzhihua.common.model.vos.R; import com.panzhihua.common.model.vos.community.ComActEasyPhotoVO; +import com.panzhihua.common.model.vos.community.TodoEventsVO; import com.panzhihua.service_community.model.dos.ComActEasyPhotoDO; + +import java.util.List; /** * @program: springcloud_k8s_panzhihuazhihuishequ @@ -37,4 +46,73 @@ * @return 操作结果 */ R putEasyPhoto(ComActEasyPhotoVO comActEasyPhotoVO); + /** + * 审核反馈随手拍 + * @param comActEasyPhotoVO 操作参数 + * @return 操作结果 + */ + R putEasypHotoStatus(ComActEasyPhotoVO comActEasyPhotoVO); + + /** + * 随手拍是否有待审核和带反馈的事件 + * @param communityId 社区id + * @param userId 登录用户id + * @return 待处理事件集合 + */ + List<TodoEventsVO> selectNeedToDo(Long communityId, Long userId); + /** + * 小程序分页查询随手拍 + * @param comActEasyPhotoVO 查询参数 + * @return 返回结果 + */ + R pageEasyPhotoApplets(ComActEasyPhotoVO comActEasyPhotoVO); + /** + * 随手拍评论分页查询 + * @param pageComActEasyPhotoCommentDTO 查询参数 + * @return 查询结果 + */ + R pageComActEasyPhotoComment(PageComActEasyPhotoCommentDTO pageComActEasyPhotoCommentDTO); + /** + * 评论点赞/取消点赞 + * @param comActEasyPhotoCommentUserDTO 操作 + * @return 操作结果 + */ + R commentSign(ComActEasyPhotoCommentUserDTO comActEasyPhotoCommentUserDTO); + /** + * 随手拍--评论--新增评论 + * @param comActEasyPhotoCommentDTO 新增内容 + * @return 新增结果 + */ + R addComActEasyPhotoComment(ComActEasyPhotoCommentDTO comActEasyPhotoCommentDTO); + + /** + * 社区随手拍列表统计 + * @param communityId 社区id + * @return 统计结果 + */ + R easyPhotoStatistics(Long communityId); + + /** + * 随手拍发放奖励 + * @param grantRewardDTO 请求参数 + * @return 发放结果 + */ + R grantReward(GrantRewardDTO grantRewardDTO); + + /** + * 获取最新活动和用户最新收益 + * @param userId 用户id + * @param communityId 社区id + * @return 最新活动和用户最新收益 + */ + R getUserReward(Long userId,Long communityId); + + /** + * 读取用户随手拍奖励 + * @param userId 用户id + * @return 读取结果 + */ + R readUserReward(Long userId,Long communityId); + + } -- Gitblit v1.7.1