package com.hzs.bonus.bonus.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzs.common.domain.member.bonus.CuMemberBonusPush;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 会员奖金-直推收益明细表 Mapper 接口
 */
public interface CuMemberBonusPushMapper extends BaseMapper<CuMemberBonusPush> {

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

    /**
     * 批量插入会员直推奖
     *
     * @param cuMemberBonusPushList 会员奖金
     */
    void batchInsertCuMemberBonusPush(@Param("cuMemberBonusPushList") List<?> cuMemberBonusPushList);

}
