yujian
2020-04-18 bb133d1e82c337da646e90740b82584b82f9a0e6
fanli/src/main/java/com/yeshi/fanli/service/inter/user/invite/ThreeSaleSerivce.java
@@ -68,29 +68,7 @@
    */
   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);
   /**
    * 一级查询
@@ -212,14 +190,6 @@
    */
   public int getSuccessRelationshipNum(Long uid);
   /**
    * 邀请码生成上下级关系
    *
    * @param invitee
    * @param inviter
    * @throws ThreeSaleException
    */
   public void bindRelationshipByInviteCode(UserInfo invitee, UserInfo inviter) throws ThreeSaleException;
   /**
    * 统计邀请成功队员数量
@@ -244,7 +214,7 @@
    * @param threeSaleOld
    * @throws ThreeSaleException
    */
   public void bindRelationshipByWX(UserInfo invitee, Long inviterId) throws ThreeSaleException;
   public void bindInviteRelationship(Long workerId, Long bossId) throws ThreeSaleException;
   
   /**
   * 根据下级查找对象
@@ -340,5 +310,58 @@
    * @throws
    */
   public List<ThreeSale> getMyBossDeepList(Long uid,int deep);
   /**
    * 获取上级列表
    * @Title: getMyBossDeepList
    * @Description:
    * @param uid
    * @return
    * List<ThreeSale> 返回类型
    * @throws
    */
   public List<ThreeSale> getMyBossDeepList(Long uid);
   /**
    * 查询未删除版-粉丝一级
    * @param start
    * @param count
    * @param uid
    * @return
    */
   public List<ThreeSale> listFirstTeamByUndeleted(long start, int count, Long uid);
   /**
    * 统计粉丝一级
    * @param uid
    * @return
    */
   public long countFirstTeamByUndeleted(Long uid);
   /**
    * 查询未删除版-粉丝二级
    * @param start
    * @param count
    * @param uid
    * @return
    */
   public List<ThreeSale> listSecondTeamByUndeleted(long start, int count, Long uid);
   /**
    * 统计粉丝二级
    * @param uid
    * @return
    */
   public long countSecondTeamByUndeleted(Long uid);
   /**
    * 删除脱离队员
    * @param id
    * @param uid
    * @param tid
    */
   public void remvoeBreak(Long id, Long uid, Long tid);
}