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<ExamPaperQuestionCustomerAnswer> {
|
|
PageInfo<ExamPaperQuestionCustomerAnswer> studentPage(QuestionPageStudentRequestVO requestVM);
|
|
List<ExamPaperQuestionCustomerAnswer> selectListByPaperAnswerId(Integer id);
|
|
/**
|
* 试卷提交答案入库
|
*
|
* @param examPaperQuestionCustomerAnswers List<ExamPaperQuestionCustomerAnswer>
|
*/
|
void insertList(List<ExamPaperQuestionCustomerAnswer> examPaperQuestionCustomerAnswers);
|
|
/**
|
* 试卷问题答题信息转成ViewModel 传给前台
|
*
|
* @param qa ExamPaperQuestionCustomerAnswer
|
* @return ExamPaperSubmitItemVM
|
*/
|
ExamPaperSubmitItemVO examPaperQuestionCustomerAnswerToVM(ExamPaperQuestionCustomerAnswer qa);
|
|
|
Integer selectAllCount();
|
|
List<Integer> selectMothCount();
|
|
int updateScore(List<ExamPaperAnswerUpdate> examPaperAnswerUpdates);
|
}
|