qirong
2023-06-16 1f16aa96a1f88be11f33efcb2862218be4342e44
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
package com.mindskip.xzs.service;
 
import com.mindskip.xzs.domain.ExamPaper;
import com.mindskip.xzs.domain.User;
import com.mindskip.xzs.viewmodel.admin.exam.ExamPaperEditRequestVM;
import com.mindskip.xzs.viewmodel.admin.exam.ExamPaperPageRequestVM;
import com.mindskip.xzs.viewmodel.student.dashboard.PaperFilter;
import com.mindskip.xzs.viewmodel.student.dashboard.PaperInfo;
import com.mindskip.xzs.viewmodel.student.exam.ExamPaperPageVM;
import com.github.pagehelper.PageInfo;
 
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, User user);
 
    ExamPaperEditRequestVM examPaperToVM(Integer id);
 
    List<PaperInfo> indexPaper(PaperFilter paperFilter);
 
    Integer selectAllCount();
 
    List<Integer> selectMothCount();
 
    Integer removeByIds(Integer[] ids);
}