Commit b2609855 authored by ZhengJie's avatar ZhengJie
Browse files

[代码完善](v2.5): v2.5 beta

RoleRepository 漏网之鱼

详情 https://www.ydyno.com/archives/1225.html
parent fbbfc29c
# These are supported funding model platforms # 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 otechie: c9635b6fcfabfeed
custom: https://aurora-1255840532.cos.ap-chengdu.myqcloud.com/donation.png custom: https://aurora-1255840532.cos.ap-chengdu.myqcloud.com/donation.png
...@@ -48,6 +48,6 @@ public interface RoleRepository extends JpaRepository<Role, Long>, JpaSpecificat ...@@ -48,6 +48,6 @@ public interface RoleRepository extends JpaRepository<Role, Long>, JpaSpecificat
* @param id 菜单ID * @param id 菜单ID
*/ */
@Modifying @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); void untiedMenu(Long id);
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment