Commit 58378754 authored by macro's avatar macro
Browse files

Update UmsRoleDao.java

parent e0260991
...@@ -15,7 +15,9 @@ public interface UmsRoleDao { ...@@ -15,7 +15,9 @@ public interface UmsRoleDao {
* 根据后台用户ID获取菜单 * 根据后台用户ID获取菜单
*/ */
List<UmsMenu> getMenuList(@Param("adminId") Long adminId); List<UmsMenu> getMenuList(@Param("adminId") Long adminId);
/**
* 根据角色ID获取菜单
*/
List<UmsMenu> getMenuListByRoleId(@Param("roleId") Long roleId); List<UmsMenu> getMenuListByRoleId(@Param("roleId") Long roleId);
List<UmsResource> getResourceListByRoleId(@Param("roleId") Long roleId); List<UmsResource> getResourceListByRoleId(@Param("roleId") Long roleId);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment