From 86df207c37502cce1b2043e1c7c0486459eef1d6 Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期四, 13 三月 2025 19:58:45 +0800 Subject: [PATCH] 党员、诉求评论基础代码 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActIntegralUserService.java | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActIntegralUserService.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActIntegralUserService.java index 9b6d4f2..d505f2b 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActIntegralUserService.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActIntegralUserService.java @@ -3,7 +3,9 @@ import com.baomidou.mybatisplus.extension.service.IService; import com.panzhihua.common.model.dtos.community.integral.ComActIntegralCommunityRankDTO; import com.panzhihua.common.model.vos.R; +import com.panzhihua.common.model.vos.community.integral.IntegralUserRankVO; import com.panzhihua.service_community.model.dos.ComActIntegralUserDO; +import org.apache.ibatis.annotations.Param; /** * @auther lyq @@ -71,4 +73,18 @@ * @return */ R getUserIntegralDetail(Long id); + + + /** + * 小程序-查询用户在当前社区积分排名 + * + * @param userId + * 用户id + * @param communityId + * 社区id + * @return 用户在当前社区积分排名 + */ + IntegralUserRankVO getIntegralUserRank(Long communityId,Long userId); + + } -- Gitblit v1.7.1