package com.hzs.member.bonus.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hzs.common.domain.member.bonus.CuMemberBonusPush;
import com.hzs.common.domain.member.ext.CuMemberBonusPushExt;
import com.hzs.member.achieve.service.impl.CuMemberBonusSettle;
import com.hzs.member.bonus.mapper.CuMemberBonusPushMapper;
import com.hzs.member.bonus.service.ICuMemberBonusPushService;
import com.hzs.member.marketnews.param.TripleCycleListParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

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

/**
 * <p>
 * 会员奖金-直推收益明细表 服务实现类
 * </p>
 *
 * @author hzs
 * @since 2022-11-10
 */
@Service
public class CuMemberBonusPushServiceImpl extends ServiceImpl<CuMemberBonusPushMapper, CuMemberBonusPush> implements ICuMemberBonusPushService {

    /**
     * 查询三单循环列表
     * @param tripleCycleListParam
     * @return
     */
    @Override
    public List<CuMemberBonusPushExt> tripleCycleList(TripleCycleListParam tripleCycleListParam) {
         return baseMapper.tripleCycleList(tripleCycleListParam);
    }
    /**
     * 获取下一轮次
     * @param pkMember
     * @return
     */
    @Override
    public CuMemberBonusPush nextRound(Long pkMember) {
        return baseMapper.nextRound(pkMember);
    }
}
