package cn.com.ctop.toutiao.modules.report.mapper;

import cn.com.ctop.toutiao.modules.report.entity.BytedanceReportPlayableDaily;
import cn.com.ctop.toutiao.modules.report.entity.BytedanceReportPlayableRetry;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface BytedanceReportPlayableDailyMapper extends BaseMapper<BytedanceReportPlayableDaily> {

    void replaceIntoBatch(@Param("infos") List<BytedanceReportPlayableDaily> infos);
    //
    //void replaceIntoVideoMaterialBatch(@Param("infos") List<BytedanceReportVideoMaterialDaily> infos);
    //
    void replaceMaterialRetry(@Param("retry") BytedanceReportPlayableRetry retry);

    List<BytedanceReportPlayableRetry> getRetryList();

    void updateRetry(@Param("retry") BytedanceReportPlayableRetry retry);
    //
    //List<BytedanceVideoVo> getVideoVoByDate(@Param("date") String date);
}
