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

RoleRepository 漏网之鱼

详情 https://www.ydyno.com/archives/1225.html
pull/361/head^2
ZhengJie 2020-05-06 16:29:15 +08:00
parent fbbfc29c93
commit b260985578
2 changed files with 2 additions and 2 deletions

2
.github/FUNDING.yml vendored
View File

@ -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

View File

@ -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);
}