linzhijie
2021-03-11 93af1c6ffb9ae0e894689ad3a37b548e57d54cff
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();
}