package com.hzs.bonus.bonus.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.member.bonus.CuMemberBonusPush;

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

/**
 * 会员奖金-直推收益明细表 服务类
 */
public interface ICuMemberBonusPushService extends IService<CuMemberBonusPush> {

    /**
     * 删除会员奖金汇总表
     *
     * @param period 结算周期
     */
    void deleteCuMemberBonusPush(Integer period);

    /**
     * 批量插入会员直推奖
     *
     * @param cuMemberBonusPushList 会员奖金
     */
    void batchInsertCuMemberBonusPush(List<CuMemberBonusPush> cuMemberBonusPushList, Set<Long> memberIdSet);

}
