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;
|
import com.ots.project.exam.dto.PaperFilter;
|
import com.ots.project.exam.dto.PaperInfo;
|
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();
|
}
|