VodSubjectTreeMappingMapper.java
865 Bytes
package com.meishu.mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.meishu.model.VodSubjectTreeMappingDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.meishu.vo.subject.GetAllNoAuthenVodsVO;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* <p>
* 视频知识点映射表 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2021-04-27
*/
@Repository
public interface VodSubjectTreeMappingMapper extends BaseMapper<VodSubjectTreeMappingDO> {
/**
* 获取已审核/未审核的视频列表
*/
IPage<GetAllNoAuthenVodsVO> getAllNoAuthenVods(IPage page, Long treeId, String status, String vodType);
/**
* 查看挂在知识点上的视频数
*/
Integer getTreeVodCount(Long userId,Long treeId,String shareStatus,String subject,String checkStatus);
}