linzhijie
2021-03-11 93af1c6ffb9ae0e894689ad3a37b548e57d54cff
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
package com.ots.project.exam.mapper;
 
import com.ots.project.exam.domain.Subject;
import com.ots.project.exam.viewmodel.SubjectPageRequestVM;
import org.apache.ibatis.annotations.Mapper;
 
import java.util.List;
 
@Mapper
public interface SubjectMapper extends BaseMapper<Subject> {
    int deleteByPrimaryKey(Integer id);
 
    int insert(Subject record);
 
    int insertSelective(Subject record);
 
    Subject selectByPrimaryKey(Integer id);
 
    int updateByPrimaryKeySelective(Subject record);
 
    int updateByPrimaryKey(Subject record);
 
    List<Subject> getSubjectByLevel(Integer level);
 
    List<Subject> allSubject();
 
    List<Subject> page(SubjectPageRequestVM requestVM);
}