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

import cn.com.ctop.kuaishou.modules.report.entity.KuaishouReportHourlyGroup;
import cn.com.ctop.kuaishou.modules.report.mapper.KuaishouReportHourlyGroupMapper;
import cn.com.ctop.kuaishou.modules.report.service.IKuaishouReportHourlyGroupService;
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 KuaishouReportHourlyGroupServiceImpl extends ServiceImpl<KuaishouReportHourlyGroupMapper, KuaishouReportHourlyGroup> implements IKuaishouReportHourlyGroupService {
    @Autowired
    private KuaishouReportHourlyGroupMapper groupMapper;

    @Override
    public void replaceBatch(List<KuaishouReportHourlyGroup> groups) {
        groupMapper.replaceBatch(groups);
    }
}
