xiangpei
2025-05-14 47cd9ecc0eff38ffe6b3b794b2bf197e958f4403
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.mindskip.xzs.service;
 
import com.github.pagehelper.PageInfo;
import com.mindskip.xzs.domain.ExamPaper;
import com.mindskip.xzs.domain.ExamTemplates;
import com.mindskip.xzs.domain.User;
import com.mindskip.xzs.domain.vo.ExamTemplatesVO;
import com.mindskip.xzs.viewmodel.admin.exam.ExamPaperEditRequestVM;
import org.apache.ibatis.annotations.Param;
import org.springframework.validation.beanvalidation.SpringValidatorAdapter;
 
import java.util.List;
 
public interface ExamTemplatesService extends BaseService<ExamTemplates>{
 
    void add(ExamPaperEditRequestVM model);
 
    List<ExamTemplatesVO> list(ExamTemplatesVO examTemplatesVO);
 
    PageInfo<ExamTemplates> gets(ExamTemplatesVO templatesVO);
 
    PageInfo<ExamTemplates> getByadmins(ExamTemplatesVO templatesVO);
 
    ExamPaperEditRequestVM getById(Integer id);
 
    ExamTemplates getByName(String name);
 
    Integer randomExam(User user) throws Exception;
 
    void remove(Integer id);
 
    Integer randomExam1(User user, Integer id) throws Exception;
 
 
}