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
36
37
38
39
40
41
42
43
44
45
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);
}