KnowledgeSubjectDictService.java 1.21 KB
package com.meishu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.meishu.dto.subject.GetSubjectAdministerDTO;
import com.meishu.dto.subject.GetSubjectTreeDTO;
import com.meishu.dto.subject.GetSubjectsDTO;
import com.meishu.model.AdministerDO;
import com.meishu.model.KnowledgeSubjectDictDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.meishu.vo.subject.GetSubjectTreeVO;

import java.util.List;

/**
 * <p>
 * 学科字典表 服务类
 * </p>
 *
 * @author Tuyp
 * @since 2021-04-27
 */
public interface KnowledgeSubjectDictService extends IService<KnowledgeSubjectDictDO> {


    IPage<KnowledgeSubjectDictDO> getSubjects(GetSubjectsDTO getSubjectsDTO);

    List<KnowledgeSubjectDictDO> getAllSubjects(GetSubjectsDTO getSubjectsDTO);

    String updateSubject(KnowledgeSubjectDictDO subjectDictDO);

    String addSubject(KnowledgeSubjectDictDO subjectDictDO);

    String deleteSubject(KnowledgeSubjectDictDO subjectDictDO);

    List<GetSubjectTreeVO> getSubjectTree(GetSubjectTreeDTO getSubjectTreeDTO);

    KnowledgeSubjectDictDO getSubject(KnowledgeSubjectDictDO subjectDictDO);

    List<AdministerDO> getSubjectAdminister(GetSubjectAdministerDTO getSubjectAdministerDTO);

}