mirror of https://github.com/elunez/eladmin
[代码完善](v2.5): v2.5 beta
RoleRepository 漏网之鱼 详情 https://www.ydyno.com/archives/1225.htmlpull/361/head^2
parent
fbbfc29c93
commit
b260985578
|
@ -1,5 +1,5 @@
|
|||
# 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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue