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

import com.baomidou.mybatisplus.extension.service.IService;
import com.qmth.teachcloud.report.business.bean.result.CourseDimensionResult;
import com.qmth.teachcloud.report.business.entity.TBDimension;

import java.util.List;

/**
 * <p>
 * 考查点维度基础表 服务类
 * </p>
 *
 * @author wangliang
 * @since 2021-06-01
 */
public interface TBDimensionService extends IService<TBDimension> {

    /**
     * 查找维度信息
     *
     * @param examId
     * @param courseCode
     * @param collegeId
     * @return
     */
    List<CourseDimensionResult> findDimensionInfo(Long examId, String courseCode, Long collegeId);

    /**
     * 查找教师维度信息
     *
     * @param examId
     * @param courseCode
     * @param teacherId
     * @return
     */
    List<CourseDimensionResult> findDimensionByTeacherInfo(Long examId, String courseCode, Long teacherId);

    /**
     * 查找某任课教师在某学院下所有考生在考察点得分情况统计
     * @param examId 考试id
     * @param courseCode 课程编号
     * @param teacherId 教师id
     * @param inspectCollegeId 考察学院id
     * @return 考察点统计信息
     */
    List<CourseDimensionResult> findDimensionByTeacherCollegeInfo(Long examId,String courseCode,Long teacherId,Long inspectCollegeId);
}
