From e4520d75cc75fc4b33f5d726e5c2dc105237676a Mon Sep 17 00:00:00 2001 From: liujian Date: Mon, 30 Sep 2024 22:21:21 +0800 Subject: [PATCH] fix menu mapper --- dinky-admin/src/main/resources/mapper/MenuMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dinky-admin/src/main/resources/mapper/MenuMapper.xml b/dinky-admin/src/main/resources/mapper/MenuMapper.xml index c2095f3de8..4a7cbe6196 100644 --- a/dinky-admin/src/main/resources/mapper/MenuMapper.xml +++ b/dinky-admin/src/main/resources/mapper/MenuMapper.xml @@ -102,7 +102,7 @@ from dinky_sys_menu m left join dinky_sys_role_menu rm on m.id = rm.menu_id left join dinky_user_role ur on rm.role_id = ur.role_id - left join dinky_role r on r.role_id = ur.role_id + left join dinky_role r on r.id = ur.role_id where r.is_delete = 0 and ur.user_id = #{userId}