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 16, 2020
1 parent e026099 commit 5837875
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 @@ -15,7 +15,9 @@ public interface UmsRoleDao {
* 根据后台用户ID获取菜单
*/
List<UmsMenu> getMenuList(@Param("adminId") Long adminId);

/**
* 根据角色ID获取菜单
*/
List<UmsMenu> getMenuListByRoleId(@Param("roleId") Long roleId);

List<UmsResource> getResourceListByRoleId(@Param("roleId") Long roleId);
Expand Down

0 comments on commit 5837875

Please sign in to comment.