package com.hzs.bonus.bonus.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.bonus.bonus.param.TripleCycleListParam;
import com.hzs.common.domain.member.bonus.CuMemberBonusPush;
import com.hzs.common.domain.member.ext.CuMemberBonusPushExt;

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

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

    /**
     * 删除会员奖金汇总表
     * @param period 结算周期
     * @return: void
     * @Author: sui q
     * @Date: 2022/12/13 11:54
     */
    void deleteCuMemberBonusPush(Integer period);

    /**
     * 批量插入会员直推奖
     * @param cuMemberBonusPushList 会员奖金
     * @return: void
     * @Author: sui q
     * @Date: 2022/12/13 13:56
     */
    void batchInsertCuMemberBonusPush(List<CuMemberBonusPush> cuMemberBonusPushList, Set<Long> memberIdSet);

    /**
     * 插入会员直推奖
     * @param cuMemberBonusPush 直推奖金
    * @return: void
    * @Author: sui q
    * @Date: 2023/2/17 9:48
    */
    void insertCuMemberBonusPush(CuMemberBonusPush cuMemberBonusPush);

}
