ClassesDictMapper.java
1005 Bytes
package com.meishu.mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.meishu.model.ClassesDictDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.meishu.model.UserRoleDO;
import com.meishu.vo.classes.GetClassStudentsVO;
import com.meishu.vo.classes.GetClassesVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* <p>
* 学校班级字典表 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2021-08-11
*/
@Repository
public interface ClassesDictMapper extends BaseMapper<ClassesDictDO> {
IPage<GetClassesVO> getClasses(IPage page, String className, String grade, String session, String status);
List<GetClassStudentsVO> getClassStudents(Integer classId,String userName);
IPage<UserRoleDO> queryNoClassStudents(IPage iPage,String userName);
ClassesDictDO getClassesById(@Param("studentId") Long studentId);
List<ClassesDictDO> getGradeClasses(String grade);
}