yujian
2020-04-27 d5c2554ebae75afbff31c3c2966cc3a747ba941c
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
package com.yeshi.fanli.service.inter.user.vip;
 
import java.util.List;
 
import com.yeshi.fanli.entity.bus.user.vip.TearcherInfo;
 
/**
 * 导师服务
 * @author Administrator
 *
 */
public interface TearcherService {
 
    /**
     * 添加导师信息
     * @Title: addTearcherInfo
     * @Description: 
     * @param info
     * @return 
     * TearcherInfo 返回类型
     * @throws
     */
    public TearcherInfo addTearcherInfo(TearcherInfo info);
 
    /**
     * 为用户分配导师
     * @Title: addUserTearcherMap
     * @Description: 
     * @param tearcherId
     * @param uid 
     * void 返回类型
     * @throws
     */
    public void addUserTearcherMap(String tearcherId, Long uid);
 
    /**
     * 根据type查询
     * @Title: listByType
     * @Description: 
     * @param type
     * @param page
     * @param count
     * @return 
     * List<TearcherInfo> 返回类型
     * @throws
     */
    public List<TearcherInfo> listByType(int type, int page, int count);
 
    /**
     * 根据用户ID查询分配的导师
     * @Title: selectByUid
     * @Description: 
     * @param uid
     * @return 
     * TearcherInfo 返回类型
     * @throws
     */
    public TearcherInfo selectByUid(Long uid);
 
}