package com.ycl.jxkg.service; import com.baomidou.mybatisplus.extension.service.IService; import com.ycl.jxkg.domain.ExamPaperQuestionCustomerAnswer; import com.ycl.jxkg.domain.other.ExamPaperAnswerUpdate; import com.ycl.jxkg.vo.student.exam.ExamPaperSubmitItemVO; import com.ycl.jxkg.vo.student.question.answer.QuestionPageStudentRequestVO; import com.github.pagehelper.PageInfo; import java.util.List; public interface ExamPaperQuestionCustomerAnswerService extends IService { PageInfo studentPage(QuestionPageStudentRequestVO requestVM); List selectListByPaperAnswerId(Integer id); /** * 试卷提交答案入库 * * @param examPaperQuestionCustomerAnswers List */ void insertList(List examPaperQuestionCustomerAnswers); /** * 试卷问题答题信息转成ViewModel 传给前台 * * @param qa ExamPaperQuestionCustomerAnswer * @return ExamPaperSubmitItemVM */ ExamPaperSubmitItemVO examPaperQuestionCustomerAnswerToVM(ExamPaperQuestionCustomerAnswer qa); Integer selectAllCount(); List selectMothCount(); int updateScore(List examPaperAnswerUpdates); }