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

import cn.com.ctop.kuaishou.modules.report.entity.KuaishouReportDailyCampaign;
import cn.com.ctop.kuaishou.modules.report.mapper.KuaishouReportDailyCampaignMapper;
import cn.com.ctop.kuaishou.modules.report.service.IKuaishouReportDailyCampaignService;
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 KuaishouReportDailyCampaignServiceImpl extends ServiceImpl<KuaishouReportDailyCampaignMapper, KuaishouReportDailyCampaign> implements IKuaishouReportDailyCampaignService {
    @Autowired
    private KuaishouReportDailyCampaignMapper kuaishouReportDailyCampaignMapper;
    @Override
    public void replaceBatch(List<KuaishouReportDailyCampaign> campaigns) {
        kuaishouReportDailyCampaignMapper.replaceBatch(campaigns);
    }
}
