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

import cn.com.ctop.kuaishou.modules.report.entity.KuaishouReportHourlyCreative;
import cn.com.ctop.kuaishou.modules.report.mapper.KuaishouReportHourlyCreativeMapper;
import cn.com.ctop.kuaishou.modules.report.service.IKuaishouReportHourlyCreativeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
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);
    }
}
