package com.hzs.bonus.achieve.mapper;

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

/**
 * 会员月数据 Mapper 接口
 */
public interface CuMemberMonthAchieveMapper extends BaseMapper<CuMemberMonthAchieve> {

    /**
     * 每天插入会员月表，计算推荐业绩，复购业绩，1-6号计算前7天
     */
    void insertCuMemberMonthAchieve(@Param("tableName") String tableName, @Param("period") Integer period, @Param("month") String month);

}
