package com.css.simulation.resource.server.infra.db.mysql.mapper;

import api.common.pojo.vo.system.MenuVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface MenuMapper {

    List<MenuVO> getMyMenuTree(@Param("roleCode") String userId);

    List<MenuVO> getMenuTree();

}
