package com.yutou.nas.mybatis.dao; import com.yutou.nas.mybatis.model.VideoInfo; import com.yutou.nas.mybatis.model.VideoInfoExample; import java.util.List; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; @Mapper public interface VideoInfoDao { long countByExample(VideoInfoExample example); int deleteByExample(VideoInfoExample example); int deleteByPrimaryKey(Integer id); int insert(VideoInfo record); int insertSelective(VideoInfo record); List selectByExample(VideoInfoExample example); VideoInfo selectByPrimaryKey(Integer id); int updateByExampleSelective(@Param("record") VideoInfo record, @Param("example") VideoInfoExample example); int updateByExample(@Param("record") VideoInfo record, @Param("example") VideoInfoExample example); int updateByPrimaryKeySelective(VideoInfo record); int updateByPrimaryKey(VideoInfo record); }