VodDictMapper.java
1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package com.meishu.mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.meishu.dto.student.SearchVodsDTO;
import com.meishu.dto.task.GetRecommendVodByTreeIdVO;
import com.meishu.model.SubjectTreeDO;
import com.meishu.model.VodDictDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.meishu.vo.student.SearchVodsVO;
import com.meishu.vo.voddict.GetTreeVodsVO;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* <p>
* 视频字典表 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2021-04-27
*/
@Repository
public interface VodDictMapper extends BaseMapper<VodDictDO> {
IPage<GetTreeVodsVO> getTreeVods(IPage iPage, Long treeId,String subjectEn, String vodName, String vodType,String shareStatus,Long userId,List<String> longs,String checkStatus);
/**
* 查找科目下某个视频的知识点
* @param id
* @return
*/
List<SubjectTreeDO> getTrees(Long id);
/**
* 小程序搜索视频
*/
List<SearchVodsVO> searchVods(SearchVodsDTO searchVodsDTO);
/**
* 课程查找视频锁关联的知识点
*/
List<SubjectTreeDO> getVodTrees(Long vodId);
/**
* 修改视频的审核状态
*/
void updateStatus(Long id,String status);
List<VodDictDO> getRecommendVodByTreeId(GetRecommendVodByTreeIdVO getRecommendVodByTreeIdVO);
}