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 7fc89e2e..b5963c7c 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 @@ -132,6 +132,13 @@ public interface MenuMapper extends BaseMapper { */ List routes(List roleId); + /** + * 按钮树形结构 + * + * @return + */ + List allButtons(); + /** * 按钮树形结构 * @@ -142,6 +149,7 @@ public interface MenuMapper extends BaseMapper { /** * 获取配置的角色权限 + * * @param roleIds * @return */ 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 bd9eaacf..1af97b62 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 @@ -66,6 +66,48 @@ ) + +