returnglobal.GVA_DB.Exec("CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `authority_menu` AS\nselect `sys_base_menus`.`id` AS `id`,\n `sys_base_menus`.`created_at` AS `created_at`,\n `sys_base_menus`.`updated_at` AS `updated_at`,\n `sys_base_menus`.`deleted_at` AS `deleted_at`,\n `sys_base_menus`.`menu_level` AS `menu_level`,\n `sys_base_menus`.`parent_id` AS `parent_id`,\n `sys_base_menus`.`path` AS `path`,\n `sys_base_menus`.`name` AS `name`,\n `sys_base_menus`.`hidden` AS `hidden`,\n `sys_base_menus`.`component` AS `component`,\n `sys_base_menus`.`title` AS `title`,\n `sys_base_menus`.`icon` AS `icon`,\n `sys_base_menus`.`sort` AS `sort`,\n `sys_authority_menus`.`sys_authority_authority_id` AS `authority_id`,\n `sys_authority_menus`.`sys_base_menu_id` AS `menu_id`,\n `sys_base_menus`.`keep_alive` AS `keep_alive`,\n `sys_base_menus`.`default_menu` AS `default_menu`\nfrom (`sys_authority_menus`\n join `sys_base_menus` on ((`sys_authority_menus`.`sys_base_menu_id` = `sys_base_menus`.`id`)));").Error
returnglobal.GVA_DB.Exec("CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `authority_menu` AS select `sys_base_menus`.`id` AS `id`,`sys_base_menus`.`created_at` AS `created_at`, `sys_base_menus`.`updated_at` AS `updated_at`, `sys_base_menus`.`deleted_at` AS `deleted_at`, `sys_base_menus`.`menu_level` AS `menu_level`,`sys_base_menus`.`parent_id` AS `parent_id`,`sys_base_menus`.`path` AS `path`,`sys_base_menus`.`name` AS `name`,`sys_base_menus`.`hidden` AS `hidden`,`sys_base_menus`.`component` AS `component`, `sys_base_menus`.`title` AS `title`,`sys_base_menus`.`icon` AS `icon`,`sys_base_menus`.`sort` AS `sort`,`sys_authority_menus`.`sys_authority_authority_id` AS `authority_id`,`sys_authority_menus`.`sys_base_menu_id` AS `menu_id`,`sys_base_menus`.`keep_alive` AS `keep_alive`,`sys_base_menus`.`default_menu` AS `default_menu` from (`sys_authority_menus` join `sys_base_menus` on ((`sys_authority_menus`.`sys_base_menu_id` = `sys_base_menus`.`id`)));").Error