linzhijie
2021-03-08 d26f0e81960986cef39db408440bbc3d0c56a853
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.ots.project.exam.service;
import com.github.pagehelper.PageInfo;
import com.ots.project.exam.domain.ExamPaperQuestionCustomerAnswer;
import com.ots.project.exam.dto.ExamPaperAnswerUpdate;
import com.ots.project.exam.viewmodel.ExamPaperSubmitItemVM;
import com.ots.project.exam.viewmodel.QuestionPageStudentRequestVM;
import java.util.List;
public interface ExamPaperQuestionCustomerAnswerService extends BaseService<ExamPaperQuestionCustomerAnswer> {
    PageInfo<ExamPaperQuestionCustomerAnswer> studentPage(QuestionPageStudentRequestVM requestVM);
    List<ExamPaperQuestionCustomerAnswer> selectListByPaperAnswerId(Integer id);
    
    void insertList(List<ExamPaperQuestionCustomerAnswer> examPaperQuestionCustomerAnswers);
    
    ExamPaperSubmitItemVM examPaperQuestionCustomerAnswerToVM(ExamPaperQuestionCustomerAnswer qa);
    Integer selectAllCount();
    List<Integer> selectMothCount();
    int updateScore(List<ExamPaperAnswerUpdate> examPaperAnswerUpdates);
}