IResourceService.java 485 Bytes
package vion.service;

import cn.hutool.core.lang.tree.Tree;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.yulichang.base.MPJBaseService;
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 MPJBaseService<Resource>{

    Page<ResourceVO> list(ResourceDTO dto);

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