From 2e64c232ab6b51b2cecf1ee96e1e9b709234f326 Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期六, 21 八月 2021 16:35:14 +0800 Subject: [PATCH] 随手拍改版接口开发 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActEasyPhotoService.java | 41 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 41 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 e692b2f..32f45d9 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 @@ -2,8 +2,10 @@ 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.community.easyPhoto.ExportEasyPhotoDTO; import com.panzhihua.common.model.dtos.partybuilding.ComPbServiceTeamDTO; import com.panzhihua.common.model.dtos.partybuilding.PageComPbServiceTeamDTO; import com.panzhihua.common.model.vos.R; @@ -91,5 +93,44 @@ */ 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); + + R easyPhotoCount(ComActEasyPhotoVO comActEasyPhotoVO); + /** + * 社区后台-切换随手拍公示状态 + * @param comActEasyPhotoVO 请求参数 + * @return 切换结果 + */ + R easyPhotoSwitchPublicity(ComActEasyPhotoVO comActEasyPhotoVO); + + R updatePageeasyphoto(ComActEasyPhotoVO comActEasyPhotoVO); + + R export(ExportEasyPhotoDTO exportEasyPhotoDTO); + + /** + * 查询社区待处理随手拍id集合 + * @param communityId 社区id + * @return 社区待处理随手拍id集合 + */ + R easyPhotoNoHandleList(Long communityId); } -- Gitblit v1.7.1