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
Eladmin
Commits
b2609855
Commit
b2609855
authored
May 06, 2020
by
ZhengJie
Browse files
[代码完善](v2.5): v2.5 beta
RoleRepository 漏网之鱼 详情
https://www.ydyno.com/archives/1225.html
parent
fbbfc29c
Changes
2
Hide whitespace changes
Inline
Side-by-side
.github/FUNDING.yml
View file @
b2609855
# These are supported funding model platforms
github
:
#
Replace with up to 4 GitHub Sponsors-enabled usernames e.g.,
[user1, user2]
github
:
# [user1, user2]
otechie
:
c9635b6fcfabfeed
custom
:
https://aurora-1255840532.cos.ap-chengdu.myqcloud.com/donation.png
eladmin-system/src/main/java/me/zhengjie/modules/system/repository/RoleRepository.java
View file @
b2609855
...
...
@@ -48,6 +48,6 @@ public interface RoleRepository extends JpaRepository<Role, Long>, JpaSpecificat
* @param id 菜单ID
*/
@Modifying
@Query
(
value
=
"delete from roles_menus where menu_id = ?1"
,
nativeQuery
=
true
)
@Query
(
value
=
"delete from
sys_
roles_menus where menu_id = ?1"
,
nativeQuery
=
true
)
void
untiedMenu
(
Long
id
);
}
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