package com.ycl.jxkg.service; import com.baomidou.mybatisplus.extension.service.IService; import com.github.pagehelper.PageInfo; import com.ycl.jxkg.domain.ExamPaperAnswerInfo; import com.ycl.jxkg.domain.entity.ExamPaperScore; import com.ycl.jxkg.domain.entity.User; import com.ycl.jxkg.domain.vo.admin.paper.ExamPaperAnswerPageRequestVO; import com.ycl.jxkg.domain.vo.admin.paper.UserAnswerPageRequestVO; import com.ycl.jxkg.domain.vo.student.exam.ExamPaperSubmitVO; import com.ycl.jxkg.domain.vo.student.exampaper.ExamPaperAnswerPageResponseVO; import com.ycl.jxkg.domain.vo.student.exampaper.ExamPaperAnswerPageVO; import com.ycl.jxkg.domain.vo.student.exampaper.UserAnswerPageResponseVO; import java.util.List; public interface ExamPaperScoreService extends IService { /** * 学生考试记录分页 * * @param requestVM 过滤条件 * @return PageInfo */ PageInfo studentPage(ExamPaperAnswerPageVO requestVM); /** * 计算试卷提交结果(不入库) * * @param examPaperSubmitVO * @param user * @return */ ExamPaperAnswerInfo calculateExamPaperAnswer(ExamPaperSubmitVO examPaperSubmitVO, User user); /** * 试卷批改 * @param examPaperSubmitVO examPaperSubmitVM * @return String */ String judge(ExamPaperSubmitVO examPaperSubmitVO); /** * 试卷答题信息转成ViewModel 传给前台 * * @param id 试卷id * @return ExamPaperSubmitVM */ ExamPaperSubmitVO examPaperAnswerToVM(Integer id); Integer selectAllCount(); Integer selectAllQuestionCount(); List selectMothCount(); PageInfo adminPage(ExamPaperAnswerPageRequestVO requestVM); /** * 成绩列表 * @param requestVM 查询条件 * @return 数据 */ List list(ExamPaperAnswerPageRequestVO requestVM); /** * 答卷列表 * @param model 查询条件 * @return 数据 */ PageInfo pageExamPaper(ExamPaperAnswerPageRequestVO model); /** * 用户列表 * @param model 查询条件 * @return 数据 */ PageInfo pageUser(UserAnswerPageRequestVO model); }