| | |
| | | package com.yeshi.fanli.service.inter.user.vip;
|
| | |
|
| | | import com.yeshi.fanli.entity.bus.user.vip.TeamUserLevelStatistic;
|
| | |
|
| | | /**
|
| | | * 团队用户
|
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | public interface TeamUserLevelStatisticService {
|
| | |
|
| | | /**
|
| | | * 根据用户检索
|
| | | * @Title: selectByUid
|
| | | * @Description: |
| | | * @param uid
|
| | | * @return |
| | | * TeamUserLevelStatistic 返回类型
|
| | | * @throws
|
| | | */
|
| | | public TeamUserLevelStatistic selectByUid(Long uid);
|
| | |
|
| | | /**
|
| | | * 初始化数据
|
| | | * @Title: initData
|
| | | * @Description: |
| | | * @param uid |
| | | * void 返回类型
|
| | | * @throws
|
| | | */
|
| | | public void initData(Long uid);
|
| | |
|
| | | /**
|
| | | * 添加
|
| | | * @Title: add
|
| | | * @Description: |
| | | * @param statistic |
| | | * void 返回类型
|
| | | * @throws
|
| | | */
|
| | | public void add(TeamUserLevelStatistic statistic);
|
| | | }
|
| | | 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); |
| | | } |