linzhijie
2021-03-11 93af1c6ffb9ae0e894689ad3a37b548e57d54cff
src/main/java/com/ots/project/exam/service/IExamPaperService.java
@@ -1,4 +1,6 @@
package com.ots.project.exam.service;
import com.github.pagehelper.PageInfo;
import com.ots.project.exam.domain.ExamPaper;
import com.ots.project.exam.domain.ExamUser;
@@ -8,15 +10,26 @@
import com.ots.project.exam.viewmodel.ExamPaperEditRequestVM;
import com.ots.project.exam.viewmodel.ExamPaperPageRequestVM;
import com.ots.project.exam.viewmodel.ExamPaperPageVM;
import java.util.List;
public interface IExamPaperService extends IBaseExamService<ExamPaper> {
    PageInfo<ExamPaper> page(ExamPaperPageRequestVM requestVM);
    PageInfo<ExamPaper> taskExamPage(ExamPaperPageRequestVM requestVM);
    PageInfo<ExamPaper> studentPage(ExamPaperPageVM requestVM);
    ExamPaper savePaperFromVM(ExamPaperEditRequestVM examPaperEditRequestVM, ExamUser user);
    ExamPaperEditRequestVM examPaperToVM(Integer id, String token_id, String langType);
    ExamPaperEditRequestVM examPaperToVM(RelatedParty relatedParty, String token_id, String langType);
    List<PaperInfo> indexPaper(PaperFilter paperFilter);
    Integer selectAllCount();
    List<Integer> selectMothCount();
}