package com.keao.edu.user.service;

import com.keao.edu.common.page.PageInfo;
import com.keao.edu.common.service.BaseService;
import com.keao.edu.user.dto.StudentExamResultStatisticsDto;
import com.keao.edu.user.entity.StudentExamResult;
import com.keao.edu.user.page.StudentExamResultQueryInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentExamResultService extends BaseService<Long, StudentExamResult> {

    /**
     * @describe 查询考试结果
     * @author Joburgess
     * @date 2020.06.30
     * @param queryInfo:
     * @return com.keao.edu.common.page.PageInfo<com.keao.edu.user.entity.StudentExamResult>
     */
    PageInfo<StudentExamResult> queryStudentExamResult(StudentExamResultQueryInfo queryInfo);

    /**
     * @describe 更新考试结果
     * @author Joburgess
     * @date 2020.06.30
     * @param studentExamResult:
     * @return void
     */
    void updateStudentExamResult(StudentExamResult studentExamResult);

    StudentExamResultStatisticsDto getStudentExamResultStatisticsInfo(Integer organId, Integer examId);

}
