package com.hzs.member.detail.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hzs.common.domain.member.detail.CuMemberAssessDetail;
import com.hzs.member.achieve.service.impl.CuMemberBonusSettle;
import com.hzs.member.detail.mapper.CuMemberAssessDetailMapper;
import com.hzs.member.detail.service.ICuMemberAssessDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * 考核业绩变化明细表 服务实现类
 */
@Service
public class CuMemberAssessDetailServiceImpl extends ServiceImpl<CuMemberAssessDetailMapper, CuMemberAssessDetail> implements ICuMemberAssessDetailService {

    @Override
    public void deleteCuMemberAssessDetailByPeriod(String tableName, Integer period) {
        baseMapper.deleteCuMemberAssessDetailByPeriod(tableName, period);
    }

    @Override
    public void insertCuMemberAssesDetailByOrder(String tableName, Integer period, Date startDate, Date endDate) {
        baseMapper.insertCuMemberAssesDetailByOrder(tableName, period, startDate, endDate);
    }

    @Override
    public void updateCuMemberAssessDetailByPeriod(String tableName, Integer period) {
        baseMapper.updateCuMemberAssessDetailByPeriod(tableName, period);
    }

}
