package com.hzs.bonus.bonus.service;

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

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

/**
 * <p>
 * 会员奖金-奖金收益明细表(报单费) 服务类
 * </p>
 *
 * @author hzs
 * @since 2022-11-17
 */
public interface ICuMemberBonusDetailService extends IService<CuMemberBonusDetail> {

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

    /**
     * 批量插入会员奖金主表
     *
     * @param cuMemberBonusDetailList 会员奖金
     * @return: void
     * @Author: sui q
     * @Date: 2022/12/13 13:56
     */
    void batchInsertCuMemberBonusDetail(List<CuMemberBonusDetail> cuMemberBonusDetailList, Set<Long> memberIdSet);

    /**
     * 批量插入会员奖金主表
     *
     * @param cuMemberBonusDetail 会员奖金
     * @return: void
     * @Author: sui q
     * @Date: 2022/12/13 13:56
     */
    void insertCuMemberBonusDetail(CuMemberBonusDetail cuMemberBonusDetail);
}
