xiangpei
2024-03-15 03f1e635215bdefd1b649a10675278567b5b8800
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
36
37
38
39
40
package com.mindskip.xzs.service;
 
import com.mindskip.xzs.domain.ExamPaper;
import com.mindskip.xzs.domain.User;
import com.mindskip.xzs.domain.vo.PaperExcelVO;
import com.mindskip.xzs.viewmodel.admin.exam.ExamPaperEditRequestVM;
import com.mindskip.xzs.viewmodel.admin.exam.ExamPaperEditRequestVO;
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 org.apache.ibatis.annotations.Param;
 
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) throws Exception;
 
    ExamPaperEditRequestVO examPaperToVM(Integer id);
 
    List<PaperInfo> indexPaper(PaperFilter paperFilter);
 
    Integer selectAllCount();
 
    List<Integer> selectMothCount();
 
    Integer removeByIds(Integer[] ids);
 
    List<ExamPaper> gets(Integer[] ids);
 
    List<PaperExcelVO> getPaperExcelById(Integer id);
}