admin
2020-05-20 98b1a0affd69bbe63223c21fdd2c404e8bedfccb
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
package com.yeshi.fanli.service.inter.user.vip;
 
import java.util.List;
 
import com.yeshi.fanli.entity.bus.user.vip.TeamUserLevelStatistic;
import com.yeshi.fanli.entity.bus.user.vip.UserLevelEnum;
 
/**
 * 团队用户
 * @author Administrator
 *
 */
public interface TeamUserLevelStatisticService {
 
    /**
     * 根据用户检索
     * @Title: selectByUid
     * @Description: 
     * @param uid
     * @return 
     * TeamUserLevelStatistic 返回类型
     * @throws
     */
    public TeamUserLevelStatistic selectByUid(Long uid);
 
    /**
     * 根据列表查询
     * @Title: selectByUids
     * @Description: 
     * @param uid
     * @return 
     * List<TeamUserLevelStatistic> 返回类型
     * @throws
     */
    public List<TeamUserLevelStatistic> listByUids(List<Long> uids);
 
    /**
     * 初始化数据
     * @Title: initData
     * @Description: 
     * @param uid 
     * void 返回类型
     * @throws
     */
    public void initData(Long uid);
 
    /**
     * 添加
     * @Title: add
     * @Description: 
     * @param statistic 
     * void 返回类型
     * @throws
     */
    public void add(TeamUserLevelStatistic statistic);
 
    /**
     * 更新用户等级
     * @Title: updateUserLevel
     * @Description: 
     * @param uid 
     * void 返回类型
     * @throws
     */
    public void updateUserLevel(Long uid);
 
    /**
     * 设置用户等级
     * @Title: setUserLevel
     * @Description: 
     * @param uid
     * @param level 
     * void 返回类型
     * @throws
     */
    public void setUserLevel(Long uid, UserLevelEnum level);
}