| | |
| | | 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);
|
| | |
|
| | | }
|
| | | 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); |
| | | |
| | | } |