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

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qmth.teachcloud.report.business.bean.result.CellResult;
import com.qmth.teachcloud.report.business.entity.TAExamCourseTeacherCollegeDifficult;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 授课教师-本院难度分布和该教师在本院难度分布对比 Mapper 接口
 * </p>
 *
 * @author wangliang
 * @since 2021-07-20
 */
public interface TAExamCourseTeacherCollegeDifficultMapper extends BaseMapper<TAExamCourseTeacherCollegeDifficult> {

    /**
     * 查找有效答案
     * @param examId 考试id
     * @param courseCode 课程编号
     * @param teacherId 教师id
     * @param inspectCollegeId 考察学院id
     * @return 结果
     */
    List<CellResult> findValidAnswerDetail(@Param("examId") Long examId, @Param("courseCode") String courseCode, @Param("teacherId") Long teacherId,@Param("inspectCollegeId") Long inspectCollegeId);
}
