package com.mindskip.xzs.repository;
|
|
import com.github.pagehelper.PageInfo;
|
import com.mindskip.xzs.domain.ExamTemplates;
|
import com.mindskip.xzs.domain.ExamTemplatesSubject;
|
import com.mindskip.xzs.domain.vo.ExamTemplatesVO;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
@Mapper
|
public interface ExamTemplatesMapper extends BaseMapper<ExamTemplates>{
|
|
/**
|
* 添加
|
* @param examTemplates
|
* @return
|
*/
|
Integer add(ExamTemplates examTemplates);
|
|
/**
|
* 最近的一次记录
|
* @return
|
*/
|
ExamTemplates getTime();
|
|
/**
|
*
|
* @return
|
*/
|
List<ExamTemplates> gets(ExamTemplatesVO templatesVO);
|
|
/**
|
*
|
* @return
|
*/
|
List<ExamTemplates> getByadmins(ExamTemplatesVO templatesVO);
|
|
ExamTemplates getById(@Param("id") Integer id);
|
|
ExamTemplates getByName(@Param("name") String name);
|
|
Integer removeById(@Param("id") Integer id);
|
}
|