DepartmentDictService.java 1.07 KB
package com.meishu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.meishu.dto.department.BatchOprDTO;
import com.meishu.dto.department.GetAllDepartmentVO;
import com.meishu.dto.department.GetTeachersDTO;
import com.meishu.dto.subject.GetSubjectTreeDTO;
import com.meishu.model.AdministerDO;
import com.meishu.model.DepartmentDictDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.meishu.vo.administer.GetTeachersVO;

import java.util.List;

/**
 * <p>
 * 部门字典表 服务类
 * </p>
 *
 * @author Tuyp
 * @since 2021-04-25
 */
public interface DepartmentDictService extends IService<DepartmentDictDO> {


    List<GetAllDepartmentVO> getDepartmentInfo();

    List<DepartmentDictDO> getDepartmentList(GetSubjectTreeDTO getSubjectTreeDTO);

    String addDepartment(DepartmentDictDO departmentDictDO);

    IPage<GetTeachersVO> getTeachers(GetTeachersDTO getTeachersDTO);

    String batchOpr(BatchOprDTO batchOprDTO);

    String deleteDepartment(BatchOprDTO batchOprDTO);

    String updateDepartment(DepartmentDictDO departmentDictDO);

}