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

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

import java.util.List;

@Service
public class KuaishouReportDailyCampaignServiceImpl extends ServiceImpl<KuaishouReportDailyCampaignMapper, KuaishouReportDailyCampaign> implements IKuaishouReportDailyCampaignService {
    @Autowired
    private KuaishouReportDailyCampaignMapper kuaishouReportDailyCampaignMapper;
    @Override
    public void replaceBatch(List<KuaishouReportDailyCampaign> campaigns) {
        kuaishouReportDailyCampaignMapper.replaceBatch(campaigns);
    }
}
