package com.qmth.teachcloud.report.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qmth.teachcloud.report.business.bean.result.ExamRecordResult;
import com.qmth.teachcloud.report.business.bean.result.SurveyTeacherDistributionResult;
import com.qmth.teachcloud.report.business.bean.result.TeachCourseResult;
import com.qmth.teachcloud.report.business.entity.TAExamCourseRecord;

import java.util.List;

/**
 * <p>
 * 参考课程考生成绩维度表 服务类
 * </p>
 *
 * @author wangliang
 * @since 2021-06-01
 */
public interface TAExamCourseRecordService extends IService<TAExamCourseRecord> {

    /**
     * 查询考生信息
     *
     * @param examId
     * @param courseCode
     * @return
     */
    List<ExamRecordResult> findExamRecordByExamIdAndCourseCode(Long examId, String courseCode);

    /**
     * 开课学院分数段
     *
     * @param examId
     * @param courseCode
     * @param filter
     * @param inspectCollegeId
     * @return
     */
    List<SurveyTeacherDistributionResult> surveyTeacherDistribution(Long examId, String courseCode, boolean filter, Long inspectCollegeId);

    /**
     * 我的课堂考试分析-考试概况，查找我的课堂数据
     *
     * @param schoolId
     * @param semesterId
     * @param examId
     * @param courseCode
     * @param inspectCollegeId
     * @param teacherId
     * @return
     */
    List<TeachCourseResult> findTeacherInspect(Long schoolId, Long semesterId, Long examId, String courseCode, Long inspectCollegeId, Long teacherId);
}
