package com.hzs.bonus.detail.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.member.detail.CuRegionAssessDetail;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 新零售会员区域考核明细表 服务类
 * </p>
 *
 * @author hzs
 * @since 2025-01-13
 */
public interface ICuRegionAssessDetailService extends IService<CuRegionAssessDetail> {

    /*
     * @description: 考核开始日期
     * @author: sui q
     * @date: 2025/1/13 17:13
     * @param: null null
     **/
    void deleteAssessRegionDetailByDate(Date assessStartDate, Integer assessPeriod);

    /*
     * @description: 删除重复的数据
     * @author: sui q
     * @date: 2025/1/15 16:11
     * @param: null null
     **/
    void updateAssessRegionDetailByDate(Date assessStartDate, Date assessEndDate);

    List<Long> batchQueryCuRegionAssessDetailSeq(Integer rowNum);

    /*
     * @description: 批量插入区域考核数据
     * @author: sui q
     * @date: 2025/1/14 14:31
     * @param: null null
     **/
    void batchInsertCuRegionAssessDetail(List<?> cuRegionAssessDetailList);

    /*
     * @description: 根据上月数据考核区域
     * @author: sui q
     * @date: 2025/1/14 16:44
     * @param: null null
     **/
    void assessCuRegionAssessDetail(String rangeTableName, Date assessDate);
}
