diff --git a/blade-service/blade-system/src/main/java/org/springblade/system/mapper/MenuMapper.java b/blade-service/blade-system/src/main/java/org/springblade/system/mapper/MenuMapper.java index 2515859e..6925a4e2 100644 --- a/blade-service/blade-system/src/main/java/org/springblade/system/mapper/MenuMapper.java +++ b/blade-service/blade-system/src/main/java/org/springblade/system/mapper/MenuMapper.java @@ -133,6 +133,22 @@ public interface MenuMapper extends BaseMapper { */ List roleMenu(List roleId, Long topMenuId); + /** + * 权限配置菜单 + * + * @param roleId + * @return + */ + List roleMenuByRoleId(List roleId); + + /** + * 权限配置菜单 + * + * @param topMenuId + * @return + */ + List roleMenuByTopMenuId(Long topMenuId); + /** * 菜单树形结构 * diff --git a/blade-service/blade-system/src/main/java/org/springblade/system/mapper/MenuMapper.xml b/blade-service/blade-system/src/main/java/org/springblade/system/mapper/MenuMapper.xml index f4e2f150..b0a9dbf0 100644 --- a/blade-service/blade-system/src/main/java/org/springblade/system/mapper/MenuMapper.xml +++ b/blade-service/blade-system/src/main/java/org/springblade/system/mapper/MenuMapper.xml @@ -124,6 +124,23 @@ ) + + + + +