Skip to content

Commit

Permalink
Update UmsRoleDao.java
Browse files Browse the repository at this point in the history
  • Loading branch information
macrozheng committed Apr 18, 2020
1 parent 5837875 commit 9b81ad7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mall-admin/src/main/java/com/macro/mall/dao/UmsRoleDao.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ public interface UmsRoleDao {
* 根据角色ID获取菜单
*/
List<UmsMenu> getMenuListByRoleId(@Param("roleId") Long roleId);

/**
* 根据角色ID获取资源
*/
List<UmsResource> getResourceListByRoleId(@Param("roleId") Long roleId);
}

0 comments on commit 9b81ad7

Please sign in to comment.