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.TAExamCourseDifficult;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 考试课程，各难度题目得分率表（难度题得分率、中等难度题得分率、简单题得分率） Mapper 接口
 * </p>
 *
 * @author wangliang
 * @since 2021-06-01
 */
public interface TAExamCourseDifficultMapper extends BaseMapper<TAExamCourseDifficult> {

    /**
     * 查找有效答案
     *
     * @param examId
     * @param courseCode
     * @param collegeId
     * @return
     */
    List<CellResult> findValidAnswerDetail(@Param("examId") Long examId, @Param("courseCode") String courseCode, @Param("collegeId") Long collegeId);
}
