linzhijie
2021-04-12 3a8e1524dcf0eeb610d38123d5f0a3ef838379cd
src/main/java/com/ots/project/exam/mapper/SubjectMapper.java
@@ -1,28 +1,17 @@
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);
}