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

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

import java.util.List;

@Service
public class KuaishouReportHourlyCampaignServiceImpl extends ServiceImpl<KuaishouReportHourlyCampaignMapper, KuaishouReportHourlyCampaign> implements IKuaishouReportHourlyCampaignService {
    @Autowired
    private KuaishouReportHourlyCampaignMapper campaignMapper;

    @Override
    public void replaceBatch(List<KuaishouReportHourlyCampaign> campaigns) {
        campaignMapper.replaceBatch(campaigns);
    }
}
