linzhijie
2021-03-16 8f781f3cb17187a7ee58f41632c25fbb2aa81cc7
src/main/java/com/ots/project/exam/service/ExamPaperService.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;
@@ -7,14 +9,24 @@
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 ExamPaperService extends BaseService<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);
    List<PaperInfo> indexPaper(PaperFilter paperFilter);
    Integer selectAllCount();
    List<Integer> selectMothCount();
}