package com.mindskip.xzs.repository;
|
|
import com.mindskip.xzs.domain.Video;
|
import com.mindskip.xzs.viewmodel.admin.video.VideoPageRequestVM;
|
import org.apache.ibatis.annotations.Mapper;
|
|
import java.util.List;
|
|
/**
|
* @version 2.2.0
|
* @description: 视频列表
|
* Copyright (C), 2020-2021, 武汉思维跳跃科技有限公司
|
* @date 2021 /9/7 9:45
|
*/
|
@Mapper
|
public interface VideoMapper extends BaseMapper<Video> {
|
int deleteByPrimaryKey(Integer id);
|
|
int insert(Video record);
|
|
int insertSelective(Video record);
|
|
Video selectByPrimaryKey(Integer id);
|
|
int updateByPrimaryKeySelective(Video record);
|
|
int updateByPrimaryKey(Video record);
|
|
/**
|
* 视频分页
|
*
|
* @param requestVM the request vm
|
* @return the list
|
*/
|
List<Video> page(VideoPageRequestVM requestVM);
|
}
|