Explorar el Código

导入报错信息修改

gao.qiang hace 2 años
padre
commit
01693962dd

+ 2 - 2
base-system/src/main/resources/mapper/system/SysMenuMapper.xml

@@ -79,8 +79,8 @@
 			 left join sys_role_menu rm on m.menu_id = rm.menu_id
 			 left join sys_user_role ur on rm.role_id = ur.role_id
 			 left join sys_role ro on ur.role_id = ro.role_id
-			 left join sys_user u on ur.user_id = u.user_id
-		where u.user_id = #{userId} and m.menu_type in ('M', 'C') and m.status = 0  AND ro.status = 0
+			 left join sys_user u on ur.user_id = u.id
+		where u.id = #{userId} and m.menu_type in ('M', 'C') and m.status = 1  AND ro.status = 1
 		order by m.parent_id, m.order_num
 	</select>