Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Springboot Plus
Commits
ae3602ed
Commit
ae3602ed
authored
Aug 23, 2018
by
xiandafu
Browse files
bug fix
parent
ba7604ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
admin-core/src/main/resources/codeTemplate/maven/pomTemplate.xml
View file @
ae3602ed
...
@@ -13,19 +13,19 @@
...
@@ -13,19 +13,19 @@
<parent>
<parent>
<groupId>
com.ibeetl
</groupId>
<groupId>
com.ibeetl
</groupId>
<artifactId>
admin
</artifactId>
<artifactId>
admin
</artifactId>
<version>
1.1.
4
</version>
<version>
1.1.
5
</version>
</parent>
</parent>
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
com.ibeetl
</groupId>
<groupId>
com.ibeetl
</groupId>
<artifactId>
admin-core
</artifactId>
<artifactId>
admin-core
</artifactId>
<version>
1.1.
4
</version>
<version>
1.1.
5
</version>
</dependency>
</dependency>
<!-- admin-console 包含了系统管理管理的所有功能,子系统可以不使用这部分 -->
<!-- admin-console 包含了系统管理管理的所有功能,子系统可以不使用这部分 -->
<dependency>
<dependency>
<groupId>
com.ibeetl
</groupId>
<groupId>
com.ibeetl
</groupId>
<artifactId>
admin-console
</artifactId>
<artifactId>
admin-console
</artifactId>
<version>
1.1.
4
</version>
<version>
1.1.
5
</version>
</dependency>
</dependency>
<dependency>
<dependency>
...
...
admin-core/src/main/resources/sql/core/coreRoleMenu.md
View file @
ae3602ed
...
@@ -3,12 +3,12 @@ queryMenuByUser
...
@@ -3,12 +3,12 @@ queryMenuByUser
*
根据用户和登录机构来获取能访问的菜单列表
*
根据用户和登录机构来获取能访问的菜单列表
select menu_id from
CORE_ROLE_MENU
rm where rm.role_id in (select role_id from core_user_role where user_id=#userId# and org_id=#orgId#)
select menu_id from
core_role_menu
rm where rm.role_id in (select role_id from core_user_role where user_id=#userId# and org_id=#orgId#)
deleteRoleMenu
deleteRoleMenu
===
===
*
删除菜单对应的角色关系
*
删除菜单对应的角色关系
delete from
CORE_ROLE_MENU
where menu_id in ( #join(ids)# )
delete from
core_role_menu
where menu_id in ( #join(ids)# )
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment