package com.hzs.member.bonus.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.member.bonus.CuMemberBonus;
import com.hzs.common.domain.member.bonus.CuMemberBonusPush;
import com.hzs.common.domain.member.ext.CuMemberBonusPushExt;
import com.hzs.member.marketnews.param.TripleCycleListParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 会员奖金-直推收益明细表 服务类
 * </p>
 *
 * @author hzs
 * @since 2022-11-10
 */
public interface ICuMemberBonusPushService extends IService<CuMemberBonusPush> {

    /**
     * 查询三单循环列表
     * @param tripleCycleListParam
     * @return
     */
    List<CuMemberBonusPushExt> tripleCycleList(TripleCycleListParam tripleCycleListParam);

    /**
     * 获取下一轮次
     * @param pkMember
     * @return
     */
    CuMemberBonusPush nextRound(Long pkMember);
}
