IResourceService.java 490 Bytes
package vion.service;

import cn.hutool.core.lang.tree.Tree;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import vion.dto.ResourceDTO;
import vion.model.Resource;
import vion.vo.ResourceVO;

import java.util.List;

/**
 * @author HlQ
 * @date 2023/11/28
 */
public interface IResourceService extends IService<Resource>{

    Page<ResourceVO> list(ResourceDTO dto);

    List<Tree<Long>> listTree(Long id);
}