SubjectTreeService.java 854 Bytes
package com.meishu.service;

import com.meishu.dto.subject.GetSubjectTreeDTO;
import com.meishu.dto.subject.UpdateTreeOrderDTO;
import com.meishu.model.SubjectTreeDO;
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 SubjectTreeService extends IService<SubjectTreeDO> {

    String updateSubjectTree(SubjectTreeDO subjectTreeDO);

    String addSubjectTree(SubjectTreeDO subjectTreeDO);

    String deleteSubjectTree(SubjectTreeDO subjectTreeDO);

    String updateTreeOrder(UpdateTreeOrderDTO updateTreeOrderDTO);

    List<GetSubjectTreeVO> getTreesCnt(GetSubjectTreeDTO getSubjectTreeDTO);

    List<GetSubjectTreeVO> getTreesCheckCnt(GetSubjectTreeDTO getSubjectTreeDTO);
}