Ver código fonte

适配达梦数据库

hexiao 1 ano atrás
pai
commit
70529c2014

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

@@ -54,7 +54,7 @@
 						m.menu_name,
 						m.path,
 						m.component,
-						m.`query`,
+						m.query,
 						m.visible,
 						m.status,
 						ifnull(m.perms, '') as perms,
@@ -92,7 +92,7 @@
     </select>
 
     <select id="selectMenuTreeByUserId" parameterType="Long" resultMap="SysMenuResult">
-		select distinct m.menu_id, m.parent_id, m.menu_name, m.path, m.component, m.`query`, m.visible, m.status, ifnull(m.perms,'') as perms, m.is_frame, m.is_cache, m.menu_type, m.icon, m.order_num, m.create_time
+		select distinct m.menu_id, m.parent_id, m.menu_name, m.path, m.component, m.query, m.visible, m.status, ifnull(m.perms,'') as perms, m.is_frame, m.is_cache, m.menu_type, m.icon, m.order_num, m.create_time
 		from sys_menu m
 			 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