Skip to content

Commit

Permalink
[代码完善](v2.5): v2.5 beta
Browse files Browse the repository at this point in the history
RoleRepository 漏网之鱼

详情 https://www.ydyno.com/archives/1225.html
  • Loading branch information
elunez committed May 6, 2020
1 parent fbbfc29 commit b260985
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit b260985

Please sign in to comment.