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;
|
|
|
}
|