package com.hzs.bonus.bonus.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.member.bonus.CuMemberShareDetail;
import com.hzs.common.domain.member.ext.CuMemberShareDetailExt;

import java.util.List;
import java.util.Map;

/**
 * 会员奖金-分红奖金配置明细 服务类
 *
 * @author hzs
 * @since 2023-07-03
 */
public interface ICuMemberShareDetailService extends IService<CuMemberShareDetail> {

    /*
     * @description: 更新分享明细
     * @author: sui q
     * @date: 2023/7/3 14:11
     * @param: null null
     **/
    void saveMemberShareBonus(List<CuMemberShareDetailExt> cuMemberShareDetailList);

    /*
     * @description: 根据期间查询奖衔设置的分红配置
     * key 国家+奖衔 明细
     * @author: sui q
     * @date: 2023/8/11 15:35
     * @param: null null
     **/
    Map<String, CuMemberShareDetail> queryCuMemberShareBonusByPeriod(Integer period);
}
