ClassDictMapper.java
985 Bytes
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
package com.subsidy.mapper;
import com.subsidy.dto.classDict.GetAllClassesDTO;
import com.subsidy.dto.classDict.GetSpareMembersDTO;
import com.subsidy.model.ClassDictDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.subsidy.model.MemberDO;
import com.subsidy.model.VodDictDO;
import com.subsidy.vo.classdict.GetAllClassesVO;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* <p>
* 班级id Mapper 接口
* </p>
*
* @author DengMin
* @since 2021-10-12
*/
@Repository
public interface ClassDictMapper extends BaseMapper<ClassDictDO> {
/**
* 获取某企业的全部班级
*/
List<GetAllClassesVO> getAllClasses(ClassDictDO classDictDO);
/**
* 获取某班级下的全部视频
*/
List<VodDictDO> getClassVods(Long classId);
/**
* 查看某企业里,不在某班级的成员
* @return
*/
List<MemberDO> getSpareMembers(GetSpareMembersDTO getSpareMembersDTO);
}