Blame view

KnowledgeSubjectDictService.java 1.21 KB
涂亚平 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
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);

}