yujian
2019-08-27 d8359ddb48dab5cc797a9d552e11fde571f4920c
fanli/src/main/java/com/yeshi/fanli/service/inter/hongbao/ThreeSaleSerivce.java
@@ -2,11 +2,11 @@
import java.util.List;
import net.sf.json.JSONObject;
import com.yeshi.fanli.entity.bus.user.ThreeSale;
import com.yeshi.fanli.entity.bus.user.UserInfo;
import com.yeshi.fanli.exception.ThreeSaleException;
import net.sf.json.JSONObject;
public interface ThreeSaleSerivce {
@@ -219,7 +219,7 @@
    * @param inviter
    * @throws ThreeSaleException
    */
   public void bindRelationshipByInviteCode(UserInfo invitee, UserInfo inviter, String platform, String version) throws ThreeSaleException;
   public void bindRelationshipByInviteCode(UserInfo invitee, UserInfo inviter) throws ThreeSaleException;
   /**
    * 统计邀请成功队员数量
@@ -244,7 +244,7 @@
    * @param threeSaleOld
    * @throws ThreeSaleException
    */
   public void bindRelationshipByWX(UserInfo invitee, Long inviterId, ThreeSale threeSaleOld, String platform, String version) throws ThreeSaleException;
   public void bindRelationshipByWX(UserInfo invitee, Long inviterId, ThreeSale threeSaleOld) throws ThreeSaleException;
   
   /**
   * 根据下级查找对象
@@ -253,4 +253,33 @@
    */
   public ThreeSale selectByWorkerId(Long workerId);
   /**
    * 时间段呢 邀请成功信息
    * @param bossId
    * @param minTime
    * @param maxTime
    * @return
    */
   public List<ThreeSale> getSuccessByDate(Long bossId, Long minTime, Long maxTime);
   /**
    * 一级队员
    * @param start
    * @param count
    * @param uid
    * @param state
    * @return
    */
   public List<ThreeSale> listFirstTeam(long start, int count, Long uid, Integer state);
   /**
    * 二级队员
    * @param start
    * @param count
    * @param uid
    * @param state
    * @return
    */
   public List<ThreeSale> listSecondTeam(long start, int count, Long uid, Integer state);
}