package com.xxl.job.executor.report.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xxl.job.executor.report.entity.KuaishouReportHourlyCreative;
import com.xxl.job.executor.report.mapper.KuaishouReportHourlyCreativeMapper;
import com.xxl.job.executor.report.service.IKuaishouReportHourlyCreativeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class KuaishouReportHourlyCreativeServiceImpl extends ServiceImpl<KuaishouReportHourlyCreativeMapper, KuaishouReportHourlyCreative> implements IKuaishouReportHourlyCreativeService {
    @Autowired
    private KuaishouReportHourlyCreativeMapper hourlyCreativeMapper;

    @Override
    public void replaceBatch(List<KuaishouReportHourlyCreative> creatives) {
        hourlyCreativeMapper.replaceBatch(creatives);
    }
}
