BatchExamsStudentsMapper.java
1.1 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
package com.meishu.mapper;
import com.meishu.model.BatchExamStudentsDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.meishu.vo.exam.BatchExamStudentScoreVO;
import com.meishu.vo.paper.PapersVO;
import com.meishu.vo.student.StudentExamsVO;
import com.meishu.vo.student.StudentVO;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* <p>
* 学生考试映射表 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2023-07-11
*/
@Repository
public interface BatchExamsStudentsMapper extends BaseMapper<BatchExamStudentsDO> {
/**
* 学生可以参加的考试
*/
List<PapersVO> exams(Long studentId);
/**
* 考试 成绩
*/
List<StudentExamsVO> studentScore(Long studentId);
/**
* 查看某个批次考试下的考生
*/
List<StudentVO> batchExamStudents(Long batchExamId);
/**
* 查看某个批次考试下的考生
*/
List<Long> batchExamStudentIds(Long batchExamId);
/**
* 某个批次下的考试情况
*/
List<BatchExamStudentScoreVO> batchExamStudentScore(Long batchExamId);
}