mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
package com.panzhihua.service_community.service;
 
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
 * @create 2021-07-28 16:02:57
 * @describe 用户积分账户表服务类
 */
public interface ComActIntegralUserService extends IService<ComActIntegralUserDO> {
 
    /**
     * 小程序-查询积分说明
     * 
     * @return 积分说明
     */
    R getIntegralExplainApplets();
 
    /**
     * 用户查询当前社区可领取积分规则列表
     * 
     * @param userId
     *            用户id
     * @param communityId
     *            社区id
     * @return 可领取积分规则列表
     */
    R getIntegralReceiveApplets(Long userId, Long communityId);
 
    /**
     * 小程序-积分统计
     * 
     * @param userId
     *            用户id
     * @return 用户积分列表
     */
    R getIntegralUserListApplets(Long userId, Long communityId);
 
    /**
     * 查询社区积分账户排行榜
     * 
     * @param communityRankDTO
     *            请求参数
     * @return 社区积分账户排行榜
     */
    R getIntegralCommunityRankApplets(ComActIntegralCommunityRankDTO communityRankDTO);
 
    /**
     * 根据社区活动id查询社区活动报名且未参与人员列表
     * 
     * @param activityId
     *            活动id
     * @return 社区活动报名且未参与人员列表
     */
    R getTaskActivityPeopleList(Long activityId);
 
    /**
     * 查询我的积分余额
     * @param userId
     * @param communityId
     * @return
     */
    R getUserIntegralBalance(Long userId, Long communityId);
 
    /**
     * 获取积分详情
     * @param id
     * @return
     */
    R getUserIntegralDetail(Long id);
 
 
    /**
     * 小程序-查询用户在当前社区积分排名
     *
     * @param userId
     *            用户id
     * @param communityId
     *            社区id
     * @return 用户在当前社区积分排名
     */
    IntegralUserRankVO getIntegralUserRank(Long communityId,Long userId);
 
 
}