package com.hzs.bonus.achieve.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.member.achieve.CuMemberMonthAchieve;

import java.util.Date;

/**
 * 会员月数据 服务类
 *
 * @author hzs
 * @since 2023-06-06
 */
public interface ICuMemberMonthAchieveService extends IService<CuMemberMonthAchieve> {

    /*
     * @description: 每日生成业绩、月表统计数据
     * @author: sui q
     * @date: 2023/9/1 9:50
     * @param: null null
     **/
    void insertCuMemberAchieveByEveryDay(Date settleDate);

    /*
     * @description: 每天插入会员月表，计算推荐业绩，复购业绩，1-6号计算前7天
     * @author: sui q
     * @date: 2023/6/6 14:15
     * @param: null null
     **/
    void insertCuMemberMonthAchieve(Date settleDate);

    /*
     * @description: 每天统计月表数据
     * @author: sui q
     * @date: 2023/8/29 10:31
     * @param: null null
     **/
    void insertCuMemberCuMemberMonthYearAchieve(Date settleDate);

}
