BatchExamsStudentsMapper.java 1.1 KB
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);


}