| | |
| | | */
|
| | | public int deleteByPrimaryKey(Long id);
|
| | |
|
| | | /**
|
| | | * 长时间未邀请成功用户
|
| | | * |
| | | * @param daysNum
|
| | | * @return
|
| | | */
|
| | | public List<Long> queryLongTimeFailed(int daysNum);
|
| | |
|
| | | /**
|
| | | * 长时间 邀请成功用户
|
| | | * |
| | | * @param daysNum
|
| | | * @return
|
| | | */
|
| | | public List<ThreeSale> queryLongTimeSuccess(int daysNum);
|
| | |
|
| | | /**
|
| | | * 设置对应邀请过期
|
| | | * |
| | | * @param list
|
| | | * @return
|
| | | */
|
| | | public int updateExpire(List<Long> list);
|
| | |
|
| | | /**
|
| | | * 一级查询
|
| | |
| | | */
|
| | | public int getSuccessRelationshipNum(Long uid);
|
| | |
|
| | | /**
|
| | | * 邀请码生成上下级关系
|
| | | * |
| | | * @param invitee
|
| | | * @param inviter
|
| | | * @throws ThreeSaleException
|
| | | */
|
| | | public void bindRelationshipByInviteCode(UserInfo invitee, UserInfo inviter) throws ThreeSaleException;
|
| | |
|
| | | /**
|
| | | * 统计邀请成功队员数量
|
| | |
| | | * @param threeSaleOld
|
| | | * @throws ThreeSaleException
|
| | | */
|
| | | public void bindRelationshipByWX(UserInfo invitee, Long inviterId) throws ThreeSaleException;
|
| | | public void bindInviteRelationship(Long workerId, Long bossId) throws ThreeSaleException;
|
| | |
|
| | | /**
|
| | | * 根据下级查找对象
|