| | |
| | |
|
| | | public long countSuperiorQuery(Integer state, Long uid);
|
| | |
|
| | | /**
|
| | | * app端一级查询1.4.1
|
| | | * |
| | | * @param start
|
| | | * @param count
|
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public List<ThreeSale> listFirstTeam(long start, int count, Long uid);
|
| | |
|
| | | /**
|
| | | * 统计所有一级队员
|
| | |
| | | * @return
|
| | | */
|
| | | public long countFirstTeam(Long uid, Integer state);
|
| | |
|
| | | /**
|
| | | * app端二级查询1.4.1
|
| | | * |
| | | * @param start
|
| | | * @param count
|
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public List<ThreeSale> listSecondTeam(long start, int count, Long uid);
|
| | |
|
| | | /**
|
| | | * 统计二级队员
|
| | |
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public JSONObject getMyFirstTeam(long start, int count, Long uid);
|
| | | public JSONObject getMyFirstTeam(long start, int count, Long uid, Integer state);
|
| | |
|
| | | /**
|
| | | * 前端查询二级队员
|
| | |
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public JSONObject getMySecondTeam(long start, int count, Long uid);
|
| | | public JSONObject getMySecondTeam(long start, int count, Long uid, Integer state);
|
| | |
|
| | | /**
|
| | | * 获取上级
|
| | |
| | | public long countSuccessFirstTeam(Long uid);
|
| | |
|
| | | /**
|
| | | * 根据下级查找对象
|
| | | * 根据邀请者查询关系
|
| | | * |
| | | * @param workerId
|
| | | * @return
|
| | | */
|
| | | public ThreeSale getByWorkerId(Long workerId);
|
| | |
|
| | | /**
|
| | | * 微信激活邀请队员关系
|
| | | * @param invitee
|
| | | * @param inviterId
|
| | | * @param threeSaleOld
|
| | | * @throws ThreeSaleException
|
| | | */
|
| | | public void bindRelationshipByWX(UserInfo invitee, Long inviterId, ThreeSale threeSaleOld) throws ThreeSaleException;
|
| | | |
| | | /**
|
| | | * 根据下级查找对象
|
| | | * @param workerId
|
| | | * @return
|
| | | */
|