IResourceService.java 497 Bytes
package vion.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.yulichang.base.MPJBaseService;
import org.dromara.hutool.core.tree.MapTree;
import vion.dto.ResourceDTO;
import vion.model.Resource;
import vion.vo.ResourceVO;

import java.util.List;

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

    Page<ResourceVO> list(ResourceDTO dto);

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