| | |
| | |
|
| | | void bind(UserInfo invitee, UserInfo inviter) throws ThreeSaleException;
|
| | |
|
| | | void effective(UserInfo find);
|
| | | void effective(UserInfo worker);
|
| | |
|
| | | void validateTwentyFour();
|
| | |
|
| | |
| | | * @return
|
| | | */
|
| | | public List<ThreeSale> listByWorkerId(Long workerId);
|
| | | |
| | | |
| | | /**
|
| | | * 获取成功邀请关系数量
|
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public int getSuccessRelationshipNum(Long uid);
|
| | |
|
| | | /**
|
| | | * 邀请码生成上下级关系
|
| | | * @param invitee
|
| | | * @param inviter
|
| | | * @throws ThreeSaleException
|
| | | */
|
| | | public void bindRelationshipByInviteCode(UserInfo invitee, UserInfo inviter) throws ThreeSaleException;
|
| | |
|
| | | /**
|
| | | * 统计邀请成功队员数量
|
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public long countSuccessFirstTeam(Long uid);
|
| | |
|
| | | }
|