package cn.com.ctop.toutiao.modules.report.service.impl;

import cn.com.ctop.toutiao.modules.report.entity.BytedancePlanHourlyReport;
import cn.com.ctop.toutiao.modules.report.mapper.BytedancePlanHourlyReportMapper;
import cn.com.ctop.toutiao.modules.report.service.IBytedancePlanHourlyReportService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 广告计划时报表信息
 * @Author: jeecg-boot
 * @Date: 2019-09-11
 * @Version: V1.0
 */
@Service
@Primary

public class BytedancePlanHourlyReportServiceImpl extends ServiceImpl<BytedancePlanHourlyReportMapper, BytedancePlanHourlyReport> implements IBytedancePlanHourlyReportService {
    @Autowired
    private BytedancePlanHourlyReportMapper reportMapper;

    @Override
    public void replaceBatch(List<BytedancePlanHourlyReport> hourlyReports) {
        reportMapper.replaceBatch(hourlyReports);
    }
}
