ClassesDictService.java 1.31 KB
package com.meishu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.meishu.dto.classes.*;
import com.meishu.model.ClassesDictDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.meishu.model.ClassesDictHistoryDO;
import com.meishu.model.UserRoleDO;
import com.meishu.vo.classes.GetClassStudentsVO;
import com.meishu.vo.classes.GetClassesVO;

import java.util.List;

/**
 * <p>
 * 学校班级字典表 服务类
 * </p>
 *
 * @author Tuyp
 * @since 2021-08-11
 */
public interface ClassesDictService extends IService<ClassesDictDO> {

    IPage<GetClassesVO> getClasses(GetClassesDTO getClassesDTO);

    String addClass(AddClassDTO addClassDTO);

    String updateClass(AddClassDTO addClassDTO);

    String addSubjectTeacherMapping(AddSubjectTeacherDTO addSubjectTeacherDTO);

    List<GetClassStudentsVO> getClassStudents(GetClassStudentsDTO getClassStudentsDTO);

    IPage<UserRoleDO> queryNoClassStudents(QueryNoClassStudentsDTO queryNoClassStudentsDTO);

    String batchAddStudentToClass(BatchAddStudentToClassDTO batchAddStudentToClassDTO);

    String batchDeleteStudent(BatchAddStudentToClassDTO batchAddStudentToClassDTO);

    List<ClassesDictDO> getClassesWithPage();

    ClassesDictDO getClassesById(Long studentId);

    String batchUpGrade(BatchUpGradeDTO batchUpGradeDTO);
}