linzhijie
2021-03-11 93af1c6ffb9ae0e894689ad3a37b548e57d54cff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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.dto.RelatedParty;
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();
}