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{ /** * 添加 * @param examTemplates * @return */ Integer add(ExamTemplates examTemplates); /** * 最近的一次记录 * @return */ ExamTemplates getTime(); /** * * @return */ List gets(ExamTemplatesVO templatesVO); /** * * @return */ List getByadmins(ExamTemplatesVO templatesVO); ExamTemplates getById(@Param("id") Integer id); ExamTemplates getByName(@Param("name") String name); Integer removeById(@Param("id") Integer id); }