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

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qmth.teachcloud.report.business.entity.TAExamCourse;
import com.qmth.teachcloud.report.business.entity.TAExamTotal;
import com.qmth.teachcloud.report.business.enums.OrderEnum;
import com.qmth.teachcloud.report.business.enums.SemesterEnum;

import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 * 考试维度总计 服务类
 * </p>
 *
 * @author wangliang
 * @since 2021-06-01
 */
public interface TAExamTotalService extends IService<TAExamTotal> {

    TAExamTotal getOverview(SemesterEnum semester, Long examId);

    IPage<TAExamCourse> getCourseSummary(SemesterEnum semester, Long examId, Integer pageNumber, Integer pageSize, String column, OrderEnum order);

    void exportCourseSummary(SemesterEnum semester, Long examId, String column, OrderEnum order) throws Exception;

    void exportDataAnalysis(SemesterEnum semester, Long examId, String courseCode) throws Exception;
}
