package com.mindskip.xzs.service; import com.github.pagehelper.PageInfo; import com.mindskip.xzs.domain.*; import com.mindskip.xzs.domain.vo.ExamPaperDataExportVO; import com.mindskip.xzs.domain.vo.ExamPaperDataVO; import com.mindskip.xzs.domain.vo.ExamPaperStatisticVO; import com.mindskip.xzs.viewmodel.admin.paper.ExamPaperGradePageRequestVM; import com.mindskip.xzs.viewmodel.admin.paper.ExamPaperGradeQuery; import com.mindskip.xzs.viewmodel.student.exam.ExamPaperSubmitVM; import com.mindskip.xzs.viewmodel.student.exampaper.ExamPaperAnswerPageVM; import java.util.List; import java.util.Map; public interface ExamPaperAnswerService extends BaseService { /** * 学生考试记录分页 * * @param requestVM 过滤条件 * @return PageInfo */ PageInfo studentPage(ExamPaperAnswerPageVM requestVM); /** * 计算试卷提交结果(不入库) * * @param examPaperSubmitVM * @param user * @return */ ExamPaperAnswerInfo calculateExamPaperAnswer(ExamPaperSubmitVM examPaperSubmitVM, User user); /** * 试卷批改 * @param examPaperSubmitVM examPaperSubmitVM * @return String */ String judge(ExamPaperSubmitVM examPaperSubmitVM); /** * 试卷答题信息转成ViewModel 传给前台 * * @param id 试卷id * @return ExamPaperSubmitVM */ ExamPaperSubmitVM examPaperAnswerToVM(Integer id); Integer selectAllCount(List deptIds); List selectMothCount(); PageInfo adminPage(com.mindskip.xzs.viewmodel.admin.paper.ExamPaperAnswerPageRequestVM requestVM); ExamPaperAnswer getById(Integer id); List selectByPaperName(String paperName); List getByExamPaperIdAndUserId(List examTemplatesUserCount); PageInfo adminPageByGrade(ExamPaperGradePageRequestVM grade); List getByScorePaperIdAndUserId(List scoreTemplatesUserCounts); PageInfo getByCreatUser(ExamPaperGradeQuery query); Map statistic(ExamPaperStatisticVO examPaperStatisticVO); Map data(ExamPaperDataVO examPaperDataVO); List dataExport(ExamPaperDataVO examPaperDataVO); }