From b6b96e60485cbb7bdb3cc7f2cce44e0276513609 Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期四, 23 十一月 2023 14:19:28 +0800
Subject: [PATCH] 优化花城数据查询太慢3
---
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