am-freescan/am-backend/sql/freescan/002_reference_seeds.sql

1270 lines
179 KiB
MySQL
Raw Permalink Normal View History

2026-10-22 16:18:37 +08:00
-- Whitelist only: supported dictionaries, system/infra menus, lab roles/menus/dictionaries.
-- No historical people, business master data, jobs, tokens, cloud or provider settings.
INSERT IGNORE INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (1, '用户性别', 'system_user_sex', 0, NULL, 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0', NULL);
INSERT IGNORE INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (2, '参数类型', 'infra_config_type', 0, NULL, 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0', NULL);
INSERT IGNORE INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (3, '通知类型', 'system_notice_type', 0, NULL, 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0', NULL);
INSERT IGNORE INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (4, '操作类型', 'infra_operate_type', 0, NULL, 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0', NULL);
INSERT IGNORE INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (5, '系统状态', 'common_status', 0, NULL, 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0', NULL);
INSERT IGNORE INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (6, 'Boolean 是否类型', 'infra_boolean_string', 0, 'boolean 转是否', '', '2021-01-19 03:20:08', '', '2026-08-14 01:49:42', b'0', NULL);
INSERT IGNORE INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (7, '登陆结果', 'system_login_result', 0, '登陆结果', '', '2021-01-18 06:17:11', '', '2026-08-14 01:49:42', b'0', NULL);
INSERT IGNORE INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (8, '代码生成模板类型', 'infra_codegen_template_type', 0, NULL, '', '2021-02-05 07:08:06', '1', '2026-08-14 01:49:42', b'0', NULL);
INSERT IGNORE INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (9, '定时任务状态', 'infra_job_status', 0, NULL, '', '2021-02-07 07:44:16', '', '2026-08-14 01:49:42', b'0', NULL);
INSERT IGNORE INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (10, '定时任务日志状态', 'infra_job_log_status', 0, NULL, '', '2021-02-08 10:03:51', '', '2026-08-14 01:49:42', b'0', NULL);
INSERT IGNORE INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (12, 'API 异常数据的处理状态', 'infra_api_error_log_process_status', 0, NULL, '', '2021-02-26 07:07:01', '', '2026-08-14 01:49:42', b'0', NULL);
INSERT IGNORE INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (13, '短信渠道编码', 'system_sms_channel_code', 0, NULL, '1', '2021-04-05 01:04:50', '1', '2026-08-14 01:49:42', b'0', NULL);
INSERT IGNORE INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (14, '短信模板的类型', 'system_sms_template_type', 0, NULL, '1', '2021-04-05 21:50:43', '1', '2026-08-14 01:49:42', b'0', NULL);
INSERT IGNORE INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (15, '短信发送状态', 'system_sms_send_status', 0, NULL, '1', '2021-04-11 20:18:03', '1', '2026-08-14 01:49:42', b'0', NULL);
INSERT IGNORE INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (16, '短信接收状态', 'system_sms_receive_status', 0, NULL, '1', '2021-04-11 20:27:14', '1', '2026-08-14 01:49:42', b'0', NULL);
INSERT IGNORE INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (17, '登陆日志的类型', 'system_login_type', 0, '登陆日志的类型', '1', '2021-10-06 00:50:46', '1', '2026-08-14 01:49:42', b'0', NULL);
INSERT IGNORE INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (27, '代码生成的场景枚举', 'infra_codegen_scene', 0, '代码生成的场景枚举', '1', '2022-02-02 13:14:45', '1', '2026-08-14 01:49:42', b'0', NULL);
INSERT IGNORE INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (28, '角色类型', 'system_role_type', 0, '角色类型', '1', '2022-02-16 13:01:46', '1', '2026-08-14 01:49:42', b'0', NULL);
INSERT IGNORE INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (29, '文件存储器', 'infra_file_storage', 0, '文件存储器', '1', '2022-03-15 00:24:38', '1', '2026-08-14 01:49:42', b'0', NULL);
INSERT IGNORE INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (30, 'OAuth 2.0 授权类型', 'system_oauth2_grant_type', 0, 'OAuth 2.0 授权类型(模式)', '1', '2022-05-12 00:20:52', '1', '2026-08-14 01:49:42', b'0', NULL);
INSERT IGNORE INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (48, '邮件发送状态', 'system_mail_send_status', 0, '邮件发送状态', '1', '2023-01-26 09:53:13', '1', '2026-08-14 01:49:42', b'0', '1970-01-01 00:00:00');
INSERT IGNORE INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (49, '站内信模版的类型', 'system_notify_template_type', 0, '站内信模版的类型', '1', '2023-01-28 10:35:10', '1', '2026-08-14 01:49:42', b'0', '1970-01-01 00:00:00');
INSERT IGNORE INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (50, '代码生成的前端类型', 'infra_codegen_front_type', 0, '', '1', '2023-04-12 23:57:52', '1', '2026-08-14 01:49:42', b'0', '1970-01-01 00:00:00');
INSERT IGNORE INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (70, '社交类型', 'system_social_type', 0, '', '1', '2023-11-04 13:03:54', '1', '2026-08-14 01:49:42', b'0', '1970-01-01 00:00:00');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1, 1, '男', '1', 'system_user_sex', 0, 'primary', 'A', '性别男', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2, 2, '女', '2', 'system_user_sex', 0, 'success', '', '性别女', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (3, 1, '正常', '1', 'infra_job_status', 0, 'success', '', '正常状态', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (4, 2, '暂停', '2', 'infra_job_status', 0, 'danger', '', '停用状态', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (5, 1, '系统内置', '1', 'infra_config_type', 0, 'danger', '', '参数类型 - 系统内置', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (6, 2, '自定义', '2', 'infra_config_type', 0, 'primary', '', '参数类型 - 自定义', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (7, 1, '通知', '1', 'system_notice_type', 0, 'success', '', '通知', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (8, 2, '公告', '2', 'system_notice_type', 0, 'info', '', '公告', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (9, 0, '其它', '0', 'infra_operate_type', 0, 'default', '', '其它操作', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (10, 1, '查询', '1', 'infra_operate_type', 0, 'info', '', '查询操作', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (11, 2, '新增', '2', 'infra_operate_type', 0, 'primary', '', '新增操作', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (12, 3, '修改', '3', 'infra_operate_type', 0, 'warning', '', '修改操作', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (13, 4, '删除', '4', 'infra_operate_type', 0, 'danger', '', '删除操作', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (14, 5, '导出', '5', 'infra_operate_type', 0, 'default', '', '导出操作', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (15, 6, '导入', '6', 'infra_operate_type', 0, 'default', '', '导入操作', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (16, 1, '开启', '0', 'common_status', 0, 'primary', '', '开启状态', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (17, 2, '关闭', '1', 'common_status', 0, 'info', '', '关闭状态', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (21, 1, '内置', '1', 'system_role_type', 0, 'danger', '', '内置角色', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (22, 2, '自定义', '2', 'system_role_type', 0, 'primary', '', '自定义角色', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (28, 0, '成功', '0', 'system_login_result', 0, 'success', '', '登陆结果 - 成功', '', '2021-01-18 06:17:36', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (29, 10, '账号或密码不正确', '10', 'system_login_result', 0, 'primary', '', '登陆结果 - 账号或密码不正确', '', '2021-01-18 06:17:54', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (30, 20, '用户被禁用', '20', 'system_login_result', 0, 'warning', '', '登陆结果 - 用户被禁用', '', '2021-01-18 06:17:54', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (31, 30, '验证码不存在', '30', 'system_login_result', 0, 'info', '', '登陆结果 - 验证码不存在', '', '2021-01-18 06:17:54', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (32, 31, '验证码不正确', '31', 'system_login_result', 0, 'info', '', '登陆结果 - 验证码不正确', '', '2021-01-18 06:17:54', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (33, 100, '未知异常', '100', 'system_login_result', 0, 'danger', '', '登陆结果 - 未知异常', '', '2021-01-18 06:17:54', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (34, 1, '是', 'true', 'infra_boolean_string', 0, 'danger', '', 'Boolean 是否类型 - 是', '', '2021-01-19 03:20:55', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (35, 1, '否', 'false', 'infra_boolean_string', 0, 'info', '', 'Boolean 是否类型 - 否', '', '2021-01-19 03:20:55', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (36, 1, '单表(增删改查)', '1', 'infra_codegen_template_type', 0, '', '', NULL, '', '2021-02-05 07:09:06', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (37, 2, '树表(增删改查)', '2', 'infra_codegen_template_type', 0, '', '', NULL, '', '2021-02-05 07:14:46', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (38, 0, '初始化中', '0', 'infra_job_status', 0, 'primary', '', NULL, '', '2021-02-07 07:46:49', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (39, 0, '运行中', '0', 'infra_job_log_status', 0, 'primary', '', 'RUNNING', '', '2021-02-08 10:04:24', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (40, 1, '成功', '1', 'infra_job_log_status', 0, 'success', '', NULL, '', '2021-02-08 10:06:57', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (41, 2, '失败', '2', 'infra_job_log_status', 0, 'warning', '', '失败', '', '2021-02-08 10:07:38', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (44, 0, '未处理', '0', 'infra_api_error_log_process_status', 0, 'primary', '', NULL, '', '2021-02-26 07:07:19', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (45, 1, '已处理', '1', 'infra_api_error_log_process_status', 0, 'success', '', NULL, '', '2021-02-26 07:07:26', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (46, 2, '已忽略', '2', 'infra_api_error_log_process_status', 0, 'danger', '', NULL, '', '2021-02-26 07:07:34', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (47, 1, '阿里云', 'ALIYUN', 'system_sms_channel_code', 0, 'primary', '', NULL, '1', '2021-04-05 01:05:26', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (48, 1, '验证码', '1', 'system_sms_template_type', 0, 'warning', '', NULL, '1', '2021-04-05 21:50:57', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (49, 2, '通知', '2', 'system_sms_template_type', 0, 'primary', '', NULL, '1', '2021-04-05 21:51:08', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (50, 0, '营销', '3', 'system_sms_template_type', 0, 'danger', '', NULL, '1', '2021-04-05 21:51:15', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (51, 0, '初始化', '0', 'system_sms_send_status', 0, 'primary', '', NULL, '1', '2021-04-11 20:18:33', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (52, 1, '发送成功', '10', 'system_sms_send_status', 0, 'success', '', NULL, '1', '2021-04-11 20:18:43', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (53, 2, '发送失败', '20', 'system_sms_send_status', 0, 'danger', '', NULL, '1', '2021-04-11 20:18:49', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (54, 3, '不发送', '30', 'system_sms_send_status', 0, 'info', '', NULL, '1', '2021-04-11 20:19:44', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (55, 0, '等待结果', '0', 'system_sms_receive_status', 0, 'primary', '', NULL, '1', '2021-04-11 20:27:43', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (56, 1, '接收成功', '10', 'system_sms_receive_status', 0, 'success', '', NULL, '1', '2021-04-11 20:29:25', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (57, 2, '接收失败', '20', 'system_sms_receive_status', 0, 'danger', '', NULL, '1', '2021-04-11 20:29:31', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (58, 0, '调试(钉钉)', 'DEBUG_DING_TALK', 'system_sms_channel_code', 0, 'info', '', NULL, '1', '2021-04-13 00:20:37', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (59, 100, '账号登录', '100', 'system_login_type', 0, 'primary', '', '账号登录', '1', '2021-10-06 00:52:02', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (60, 101, '社交登录', '101', 'system_login_type', 0, 'info', '', '社交登录', '1', '2021-10-06 00:52:17', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (61, 200, '主动登出', '200', 'system_login_type', 0, 'primary', '', '主动登出', '1', '2021-10-06 00:52:58', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (62, 202, '强制登出', '202', 'system_login_type', 0, 'danger', '', '强制退出', '1', '2021-10-06 00:53:41', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (103, 1, '管理后台', '1', 'infra_codegen_scene', 0, '', '', '代码生成的场景枚举 - 管理后台', '1', '2022-02-02 13:15:06', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (104, 2, '用户 APP', '2', 'infra_codegen_scene', 0, '', '', '代码生成的场景枚举 - 用户 APP', '1', '2022-02-02 13:15:19', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (105, 1, '数据库', '1', 'infra_file_storage', 0, 'default', '', NULL, '1', '2022-03-15 00:25:28', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (106, 10, '本地磁盘', '10', 'infra_file_storage', 0, 'default', '', NULL, '1', '2022-03-15 00:25:41', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (107, 11, 'FTP 服务器', '11', 'infra_file_storage', 0, 'default', '', NULL, '1', '2022-03-15 00:26:06', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (108, 12, 'SFTP 服务器', '12', 'infra_file_storage', 0, 'default', '', NULL, '1', '2022-03-15 00:26:22', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (109, 20, 'S3 对象存储', '20', 'infra_file_storage', 0, 'default', '', NULL, '1', '2022-03-15 00:26:31', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (110, 103, '短信登录', '103', 'system_login_type', 0, 'default', '', NULL, '1', '2022-05-09 23:57:58', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (111, 1, 'password', 'password', 'system_oauth2_grant_type', 0, 'default', '', '密码模式', '1', '2022-05-12 00:22:05', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (112, 2, 'authorization_code', 'authorization_code', 'system_oauth2_grant_type', 0, 'primary', '', '授权码模式', '1', '2022-05-12 00:22:59', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (113, 3, 'implicit', 'implicit', 'system_oauth2_grant_type', 0, 'success', '', '简化模式', '1', '2022-05-12 00:23:40', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (114, 4, 'client_credentials', 'client_credentials', 'system_oauth2_grant_type', 0, 'default', '', '客户端模式', '1', '2022-05-12 00:23:51', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (115, 5, 'refresh_token', 'refresh_token', 'system_oauth2_grant_type', 0, 'info', '', '刷新模式', '1', '2022-05-12 00:24:02', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (177, 0, '初始化', '0', 'system_mail_send_status', 0, 'primary', '', '邮件发送状态 - 初始化\n', '1', '2023-01-26 09:53:49', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (178, 10, '发送成功', '10', 'system_mail_send_status', 0, 'success', '', '邮件发送状态 - 发送成功', '1', '2023-01-26 09:54:28', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (179, 20, '发送失败', '20', 'system_mail_send_status', 0, 'danger', '', '邮件发送状态 - 发送失败', '1', '2023-01-26 09:54:50', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (180, 30, '不发送', '30', 'system_mail_send_status', 0, 'info', '', '邮件发送状态 - 不发送', '1', '2023-01-26 09:55:06', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (181, 1, '通知公告', '1', 'system_notify_template_type', 0, 'primary', '', '站内信模版的类型 - 通知公告', '1', '2023-01-28 10:35:59', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (182, 2, '系统消息', '2', 'system_notify_template_type', 0, 'success', '', '站内信模版的类型 - 系统消息', '1', '2023-01-28 10:36:20', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (184, 10, 'Vue2 Element UI 标准模版', '10', 'infra_codegen_front_type', 0, '', '', '', '1', '2023-04-13 00:03:55', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (185, 20, 'Vue3 Element Plus 标准模版', '20', 'infra_codegen_front_type', 0, '', '', '', '1', '2023-04-13 00:04:08', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (186, 30, 'Vben2.0 Ant Design Schema 模版', '30', 'infra_codegen_front_type', 1, '', '', '', '1', '2023-04-13 00:04:26', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (274, 10, 'Gitee', '10', 'system_social_type', 0, '', '', '', '1', '2023-11-04 13:04:42', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (275, 20, '钉钉', '20', 'system_social_type', 0, '', '', '', '1', '2023-11-04 13:04:54', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (276, 30, '企业微信', '30', 'system_social_type', 0, '', '', '', '1', '2023-11-04 13:05:09', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (277, 31, '微信公众平台', '31', 'system_social_type', 0, '', '', '', '1', '2023-11-04 13:05:18', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (278, 32, '微信开放平台', '32', 'system_social_type', 0, '', '', '', '1', '2023-11-04 13:05:30', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (279, 34, '微信小程序', '34', 'system_social_type', 0, '', '', '', '1', '2023-11-04 13:05:38', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (282, 15, '子表', '15', 'infra_codegen_template_type', 0, 'default', '', '', '1', '2023-11-13 23:06:16', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (283, 10, '主表(标准模式)', '10', 'infra_codegen_template_type', 0, 'default', '', '', '1', '2023-11-14 12:32:49', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (284, 11, '主表(ERP 模式)', '11', 'infra_codegen_template_type', 0, 'default', '', '', '1', '2023-11-14 12:33:05', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (285, 12, '主表(内嵌模式)', '12', 'infra_codegen_template_type', 0, '', '', '', '1', '2023-11-14 12:33:31', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (407, 2, '腾讯云', 'TENCENT', 'system_sms_channel_code', 0, '', '', '', '1', '2024-07-22 22:23:16', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (408, 3, '华为云', 'HUAWEI', 'system_sms_channel_code', 0, '', '', '', '1', '2024-07-22 22:23:46', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (412, 4, '七牛云', 'QINIU', 'system_sms_channel_code', 0, '', '', '', '1', '2024-08-31 08:45:03', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (596, 40, 'Vben5.0 Ant Design Schema 模版', '40', 'infra_codegen_front_type', 0, '', '', NULL, '1', '2025-04-23 21:47:47', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (622, 41, 'Vben5.0 Ant Design 标准模版', '41', 'infra_codegen_front_type', 0, '', '', '', '1', '2025-09-04 23:26:07', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (623, 50, 'Vben5.0 Element Plus Schema 模版', '50', 'infra_codegen_front_type', 0, '', '', '', '1', '2025-09-04 23:26:38', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (624, 51, 'Vben5.0 Element Plus 标准模版', '51', 'infra_codegen_front_type', 0, '', '', '', '1', '2025-09-04 23:26:49', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (626, 40, '支付宝小程序', '40', 'system_social_type', 0, '', '', '', '1', '2023-11-04 13:05:38', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (627, 60, 'Admin Uniapp 移动端', '60', 'infra_codegen_front_type', 0, '', '', NULL, '1', '2025-12-16 19:25:51', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (628, 42, 'Vben5.0 Antdv Next Schema 模版', '42', 'infra_codegen_front_type', 0, '', '', '', '1', '2026-05-23 13:52:25', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (629, 43, 'Vben5.0 Antdv Next 标准模版', '43', 'infra_codegen_front_type', 0, '', '', '', '1', '2026-05-23 13:52:25', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1, '系统管理', '', 1, 10, 0, '/system', 'ep:tools', NULL, NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-09-02 18:42:01', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2, '基础设施', '', 1, 20, 0, '/infra', 'ep:monitor', NULL, NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-09-02 18:42:01', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (4, '用户管理', 'system:user:list', 2, 1, 1, 'user', 'ep:avatar', 'system/user/index', 'SystemUser', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (5, '角色管理', '', 2, 2, 1, 'role', 'ep:user', 'system/role/index', 'SystemRole', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (6, '菜单管理', '', 2, 3, 1, 'menu', 'ep:menu', 'system/menu/index', 'SystemMenu', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (7, '部门管理', '', 2, 4, 1, 'dept', 'fa:address-card', 'system/dept/index', 'SystemDept', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (8, '岗位管理', '', 2, 5, 1, 'post', 'fa:address-book-o', 'system/post/index', 'SystemPost', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (9, '字典管理', '', 2, 6, 1, 'dict', 'ep:collection', 'system/dict/index', 'SystemDictType', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (10, '配置管理', '', 2, 8, 2, 'config', 'fa:connectdevelop', 'infra/config/index', 'InfraConfig', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (11, '通知公告', '', 2, 4, 772, 'notice', 'ep:takeaway-box', 'system/notice/index', 'SystemNotice', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (12, '审计日志', '', 1, 9, 1, 'log', 'ep:document-copy', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (13, '令牌管理', '', 2, 2, 201, 'token', 'fa:key', 'system/oauth2/token/index', 'SystemTokenClient', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (14, '定时任务', '', 2, 7, 2, 'job', 'fa-solid:tasks', 'infra/job/index', 'InfraJob', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (15, 'MySQL 监控', '', 2, 1, 773, 'druid', 'fa-solid:box', 'infra/druid/index', 'InfraDruid', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (16, 'Java 监控', '', 2, 3, 773, 'admin-server', 'ep:coffee-cup', 'infra/server/index', 'InfraAdminServer', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (17, 'Redis 监控', '', 2, 2, 773, 'redis', 'fa:reddit-square', 'infra/redis/index', 'InfraRedis', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (18, '表单构建', 'infra:build:list', 2, 2, 2, 'build', 'fa:wpforms', 'infra/build/index', 'InfraBuild', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (19, '代码生成', 'infra:codegen:query', 2, 1, 2, 'codegen', 'ep:document-copy', 'infra/codegen/index', 'InfraCodegen', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (20, 'API 接口', 'infra:swagger:list', 2, 3, 2, 'swagger', 'fa:fighter-jet', 'infra/swagger/index', 'InfraSwagger', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (21, '操作日志', '', 2, 1, 12, 'operate-log', 'ep:position', 'system/operatelog/index', 'SystemOperateLog', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (22, '登录日志', '', 2, 2, 12, 'login-log', 'ep:promotion', 'system/loginlog/index', 'SystemLoginLog', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (23, '用户查询', 'system:user:query', 3, 1, 4, '', '#', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (24, '用户新增', 'system:user:create', 3, 2, 4, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (25, '用户修改', 'system:user:update', 3, 3, 4, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (26, '用户删除', 'system:user:delete', 3, 4, 4, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (27, '用户导出', 'system:user:export', 3, 5, 4, '', '#', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (28, '用户导入', 'system:user:import', 3, 6, 4, '', '#', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (29, '重置密码', 'system:user:update-password', 3, 7, 4, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (30, '角色查询', 'system:role:query', 3, 1, 5, '', '#', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (31, '角色新增', 'system:role:create', 3, 2, 5, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (32, '角色修改', 'system:role:update', 3, 3, 5, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (33, '角色删除', 'system:role:delete', 3, 4, 5, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (34, '角色导出', 'system:role:export', 3, 5, 5, '', '#', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (35, '菜单查询', 'system:menu:query', 3, 1, 6, '', '#', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (36, '菜单新增', 'system:menu:create', 3, 2, 6, '', '#', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (37, '菜单修改', 'system:menu:update', 3, 3, 6, '', '#', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (38, '菜单删除', 'system:menu:delete', 3, 4, 6, '', '#', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (39, '部门查询', 'system:dept:query', 3, 1, 7, '', '#', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (40, '部门新增', 'system:dept:create', 3, 2, 7, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (41, '部门修改', 'system:dept:update', 3, 3, 7, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (42, '部门删除', 'system:dept:delete', 3, 4, 7, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (43, '岗位查询', 'system:post:query', 3, 1, 8, '', '#', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (44, '岗位新增', 'system:post:create', 3, 2, 8, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (45, '岗位修改', 'system:post:update', 3, 3, 8, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (46, '岗位删除', 'system:post:delete', 3, 4, 8, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (47, '岗位导出', 'system:post:export', 3, 5, 8, '', '#', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (48, '字典查询', 'system:dict:query', 3, 1, 9, '#', '#', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (49, '字典新增', 'system:dict:create', 3, 2, 9, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (50, '字典修改', 'system:dict:update', 3, 3, 9, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (51, '字典删除', 'system:dict:delete', 3, 4, 9, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (52, '字典导出', 'system:dict:export', 3, 5, 9, '#', '#', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (53, '配置查询', 'infra:config:query', 3, 1, 10, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (54, '配置新增', 'infra:config:create', 3, 2, 10, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (55, '配置修改', 'infra:config:update', 3, 3, 10, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (56, '配置删除', 'infra:config:delete', 3, 4, 10, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (57, '配置导出', 'infra:config:export', 3, 5, 10, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (58, '公告查询', 'system:notice:query', 3, 1, 11, '#', '#', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (59, '公告新增', 'system:notice:create', 3, 2, 11, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (60, '公告修改', 'system:notice:update', 3, 3, 11, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (61, '公告删除', 'system:notice:delete', 3, 4, 11, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (62, '操作查询', 'system:operate-log:query', 3, 1, 21, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (63, '日志导出', 'system:operate-log:export', 3, 2, 21, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (64, '登录查询', 'system:login-log:query', 3, 1, 22, '#', '#', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (65, '日志导出', 'system:login-log:export', 3, 3, 22, '#', '#', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (66, '令牌列表', 'system:oauth2-token:page', 3, 1, 13, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (67, '令牌删除', 'system:oauth2-token:delete', 3, 2, 13, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (68, '任务新增', 'infra:job:create', 3, 2, 14, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (69, '任务修改', 'infra:job:update', 3, 3, 14, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (70, '任务删除', 'infra:job:delete', 3, 4, 14, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (71, '状态修改', 'infra:job:update', 3, 5, 14, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (72, '任务导出', 'infra:job:export', 3, 7, 14, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (73, '生成修改', 'infra:codegen:update', 3, 2, 19, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (74, '生成删除', 'infra:codegen:delete', 3, 3, 19, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (75, '导入代码', 'infra:codegen:create', 3, 2, 19, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (76, '预览代码', 'infra:codegen:preview', 3, 4, 19, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (77, '生成代码', 'infra:codegen:download', 3, 5, 19, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (78, '设置角色菜单权限', 'system:permission:assign-role-menu', 3, 6, 5, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-01-06 17:53:44', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (79, '设置角色数据权限', 'system:permission:assign-role-data-scope', 3, 7, 5, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-01-06 17:56:31', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (80, '设置用户角色', 'system:permission:assign-user-role', 3, 8, 5, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-01-07 10:23:28', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (81, '获得 Redis 监控信息', 'infra:redis:get-monitor-info', 3, 1, 17, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-01-26 01:02:31', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (82, '获得 Redis Key 列表', 'infra:redis:get-key-list', 3, 2, 17, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-01-26 01:02:52', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (83, '代码生成案例', '', 1, 1, 2, 'demo', 'ep:aim', 'infra/testDemo/index', NULL, 0, b'1', b'1', b'1', '', '2021-02-06 12:42:49', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (84, '任务触发', 'infra:job:trigger', 3, 8, 14, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-02-07 13:03:10', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (85, '链路追踪', '', 2, 4, 773, 'skywalking', 'fa:eye', 'infra/skywalking/index', 'InfraSkyWalking', 0, b'1', b'1', b'1', '', '2021-02-08 20:41:31', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (86, '访问日志', '', 2, 1, 88, 'api-access-log', 'ep:place', 'infra/apiAccessLog/index', 'InfraApiAccessLog', 0, b'1', b'1', b'1', '', '2021-02-26 01:32:59', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (87, '日志导出', 'infra:api-access-log:export', 3, 2, 86, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-02-26 01:32:59', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (88, 'API 日志', '', 2, 4, 2, 'log', 'fa:tasks', NULL, NULL, 0, b'1', b'1', b'1', '', '2021-02-26 02:18:24', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (89, '错误日志', 'infra:api-error-log:query', 2, 2, 88, 'api-error-log', 'ep:warning-filled', 'infra/apiErrorLog/index', 'InfraApiErrorLog', 0, b'1', b'1', b'1', '', '2021-02-26 07:53:20', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (90, '日志处理', 'infra:api-error-log:update-status', 3, 2, 89, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-02-26 07:53:20', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (91, '日志导出', 'infra:api-error-log:export', 3, 3, 89, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-02-26 07:53:20', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (92, '任务查询', 'infra:job:query', 3, 1, 14, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2021-03-10 01:26:19', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (93, '日志查询', 'infra:api-access-log:query', 3, 1, 86, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2021-03-10 01:28:04', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (94, '日志查询', 'infra:api-error-log:query', 3, 1, 89, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2021-03-10 01:29:09', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (95, '文件列表', '', 2, 5, 193, 'file', 'ep:upload-filled', 'infra/file/index', 'InfraFile', 0, b'1', b'1', b'1', '', '2021-03-12 20:16:20', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (96, '文件查询', 'infra:file:query', 3, 1, 95, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-03-12 20:16:20', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (97, '文件删除', 'infra:file:delete', 3, 4, 95, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-03-12 20:16:20', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (98, '短信管理', '', 1, 1, 772, 'sms', 'ep:message', NULL, NULL, 0, b'1', b'1', b'1', '1', '2021-04-05 01:10:16', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (99, '短信渠道', '', 2, 0, 98, 'sms-channel', 'fa:stack-exchange', 'system/sms/channel/index', 'SystemSmsChannel', 0, b'1', b'1', b'1', '', '2021-04-01 11:07:15', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (100, '短信渠道查询', 'system:sms-channel:query', 3, 1, 99, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-01 11:07:15', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (101, '短信渠道创建', 'system:sms-channel:create', 3, 2, 99, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-01 11:07:15', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (102, '短信渠道更新', 'system:sms-channel:update', 3, 3, 99, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-01 11:07:15', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (103, '短信渠道删除', 'system:sms-channel:delete', 3, 4, 99, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-01 11:07:15', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (104, '短信模板', '', 2, 1, 98, 'sms-template', 'ep:connection', 'system/sms/template/index', 'SystemSmsTemplate', 0, b'1', b'1', b'1', '', '2021-04-01 17:35:17', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (105, '短信模板查询', 'system:sms-template:query', 3, 1, 104, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-01 17:35:17', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (106, '短信模板创建', 'system:sms-template:create', 3, 2, 104, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-01 17:35:17', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (107, '短信模板更新', 'system:sms-template:update', 3, 3, 104, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-01 17:35:17', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (108, '短信模板删除', 'system:sms-template:delete', 3, 4, 104, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-01 17:35:17', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (109, '短信模板导出', 'system:sms-template:export', 3, 5, 104, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-01 17:35:17', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (110, '发送测试短信', 'system:sms-template:send-sms', 3, 6, 104, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2021-04-11 00:26:40', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (111, '短信日志', '', 2, 2, 98, 'sms-log', 'fa:edit', 'system/sms/log/index', 'SystemSmsLog', 0, b'1', b'1', b'1', '', '2021-04-11 08:37:05', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (112, '短信日志查询', 'system:sms-log:query', 3, 1, 111, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-11 08:37:05', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (113, '短信日志导出', 'system:sms-log:export', 3, 5, 111, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-11 08:37:05', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (129, '租户列表', '', 2, 0, 181, 'list', 'ep:house', 'system/tenant/index', 'SystemTenant', 0, b'1', b'1', b'1', '', '2021-12-14 12:31:43', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (130, '租户查询', 'system:tenant:query', 3, 1, 129, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-14 12:31:44', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (131, '租户创建', 'system:tenant:create', 3, 2, 129, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-14 12:31:44', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (132, '租户更新', 'system:tenant:update', 3, 3, 129, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-14 12:31:44', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (133, '租户删除', 'system:tenant:delete', 3, 4, 129, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-14 12:31:44', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (134, '租户导出', 'system:tenant:export', 3, 5, 129, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-14 12:31:44', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (181, '租户管理', '', 2, 0, 1, 'tenant', 'fa-solid:house-user', NULL, NULL, 0, b'1', b'1', b'1', '1', '2022-02-20 01:41:13', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (182, '租户套餐', '', 2, 0, 181, 'package', 'fa:bars', 'system/tenantPackage/index', 'SystemTenantPackage', 0, b'1', b'1', b'1', '', '2022-02-19 17:44:06', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (183, '租户套餐查询', 'system:tenant-package:query', 3, 1, 182, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-02-19 17:44:06', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (184, '租户套餐创建', 'system:tenant-package:create', 3, 2, 182, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-02-19 17:44:06', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (185, '租户套餐更新', 'system:tenant-package:update', 3, 3, 182, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-02-19 17:44:06', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (186, '租户套餐删除', 'system:tenant-package:delete', 3, 4, 182, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-02-19 17:44:06', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (187, '文件配置', '', 2, 0, 193, 'file-config', 'fa-solid:file-signature', 'infra/fileConfig/index', 'InfraFileConfig', 0, b'1', b'1', b'1', '', '2022-03-15 14:35:28', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (188, '文件配置查询', 'infra:file-config:query', 3, 1, 187, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-03-15 14:35:28', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (189, '文件配置创建', 'infra:file-config:create', 3, 2, 187, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-03-15 14:35:28', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (190, '文件配置更新', 'infra:file-config:update', 3, 3, 187, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-03-15 14:35:28', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (191, '文件配置删除', 'infra:file-config:delete', 3, 4, 187, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-03-15 14:35:28', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (192, '文件配置导出', 'infra:file-config:export', 3, 5, 187, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-03-15 14:35:28', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (193, '文件管理', '', 2, 6, 2, 'file', 'ep:files', NULL, '', 0, b'1', b'1', b'1', '1', '2022-03-16 23:47:40', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (195, '数据源配置', '', 2, 1, 2, 'data-source-config', 'ep:data-analysis', 'infra/dataSourceConfig/index', 'InfraDataSourceConfig', 0, b'1', b'1', b'1', '', '2022-04-27 14:37:32', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (196, '数据源配置查询', 'infra:data-source-config:query', 3, 1, 195, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-04-27 14:37:32', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (197, '数据源配置创建', 'infra:data-source-config:create', 3, 2, 195, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-04-27 14:37:32', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (198, '数据源配置更新', 'infra:data-source-config:update', 3, 3, 195, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-04-27 14:37:32', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (199, '数据源配置删除', 'infra:data-source-config:delete', 3, 4, 195, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-04-27 14:37:32', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (200, '数据源配置导出', 'infra:data-source-config:export', 3, 5, 195, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-04-27 14:37:32', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (201, 'OAuth 2.0', '', 2, 10, 1, 'oauth2', 'fa:dashcube', NULL, NULL, 0, b'1', b'1', b'1', '1', '2022-05-09 23:38:17', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (202, '应用管理', '', 2, 0, 201, 'oauth2/application', 'fa:hdd-o', 'system/oauth2/client/index', 'SystemOAuth2Client', 0, b'1', b'1', b'1', '', '2022-05-10 16:26:33', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (203, '客户端查询', 'system:oauth2-client:query', 3, 1, 202, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-05-10 16:26:33', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (204, '客户端创建', 'system:oauth2-client:create', 3, 2, 202, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-05-10 16:26:33', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (205, '客户端更新', 'system:oauth2-client:update', 3, 3, 202, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-05-10 16:26:33', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (206, '客户端删除', 'system:oauth2-client:delete', 3, 4, 202, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-05-10 16:26:33', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (271, '地区管理', '', 2, 14, 1, 'area', 'fa:map-marker', 'system/area/index', 'SystemArea', 0, b'1', b'1', b'1', '1', '2022-12-23 17:35:05', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (318, '邮箱管理', '', 2, 2, 772, 'mail', 'fa-solid:mail-bulk', NULL, NULL, 0, b'1', b'1', b'1', '1', '2023-01-25 17:27:44', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (319, '邮箱账号', '', 2, 0, 318, 'mail-account', 'fa:universal-access', 'system/mail/account/index', 'SystemMailAccount', 0, b'1', b'1', b'1', '', '2023-01-25 09:33:48', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (320, '账号查询', 'system:mail-account:query', 3, 1, 319, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-25 09:33:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (321, '账号创建', 'system:mail-account:create', 3, 2, 319, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-25 09:33:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (322, '账号更新', 'system:mail-account:update', 3, 3, 319, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-25 09:33:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (323, '账号删除', 'system:mail-account:delete', 3, 4, 319, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-25 09:33:48', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (324, '邮件模版', '', 2, 0, 318, 'mail-template', 'fa:tag', 'system/mail/template/index', 'SystemMailTemplate', 0, b'1', b'1', b'1', '', '2023-01-25 12:05:31', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (325, '模版查询', 'system:mail-template:query', 3, 1, 324, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-25 12:05:31', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (326, '模版创建', 'system:mail-template:create', 3, 2, 324, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-25 12:05:31', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (327, '模版更新', 'system:mail-template:update', 3, 3, 324, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-25 12:05:31', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (328, '模版删除', 'system:mail-template:delete', 3, 4, 324, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-25 12:05:31', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (329, '邮件记录', '', 2, 0, 318, 'mail-log', 'fa:edit', 'system/mail/log/index', 'SystemMailLog', 0, b'1', b'1', b'1', '', '2023-01-26 02:16:50', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (330, '日志查询', 'system:mail-log:query', 3, 1, 329, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-26 02:16:50', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (331, '发送测试邮件', 'system:mail-template:send-mail', 3, 5, 324, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2023-01-26 23:29:15', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (332, '站内信管理', '', 1, 3, 772, 'notify', 'ep:message-box', NULL, NULL, 0, b'1', b'1', b'1', '1', '2023-01-28 10:25:18', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (333, '模板管理', '', 2, 0, 332, 'notify-template', 'fa:archive', 'system/notify/template/index', 'SystemNotifyTemplate', 0, b'1', b'1', b'1', '', '2023-01-28 02:26:42', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (334, '站内信模板查询', 'system:notify-template:query', 3, 1, 333, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-28 02:26:42', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (335, '站内信模板创建', 'system:notify-template:create', 3, 2, 333, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-28 02:26:42', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (336, '站内信模板更新', 'system:notify-template:update', 3, 3, 333, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-28 02:26:42', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (337, '站内信模板删除', 'system:notify-template:delete', 3, 4, 333, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-28 02:26:42', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (338, '发送测试站内信', 'system:notify-template:send-notify', 3, 5, 333, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2023-01-28 10:54:43', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (339, '消息记录', '', 2, 0, 332, 'notify-message', 'fa:edit', 'system/notify/message/index', 'SystemNotifyMessage', 0, b'1', b'1', b'1', '', '2023-01-28 04:28:22', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (340, '站内信消息查询', 'system:notify-message:query', 3, 1, 339, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-28 04:28:22', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (529, '三方登录', '', 1, 10, 1, 'social', 'fa:rocket', '', '', 0, b'1', b'1', b'1', '1', '2023-11-04 12:12:01', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (530, '三方应用', '', 2, 1, 529, 'client', 'ep:set-up', 'system/social/client/index.vue', 'SocialClient', 0, b'1', b'1', b'1', '1', '2023-11-04 12:17:19', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (531, '三方应用查询', 'system:social-client:query', 3, 1, 530, '', '', '', '', 0, b'1', b'1', b'1', '1', '2023-11-04 12:43:12', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (532, '三方应用创建', 'system:social-client:create', 3, 2, 530, '', '', '', '', 0, b'1', b'1', b'1', '1', '2023-11-04 12:43:58', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (533, '三方应用更新', 'system:social-client:update', 3, 3, 530, '', '', '', '', 0, b'1', b'1', b'1', '1', '2023-11-04 12:44:27', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (534, '三方应用删除', 'system:social-client:delete', 3, 4, 530, '', '', '', '', 0, b'1', b'1', b'1', '1', '2023-11-04 12:44:43', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (535, '三方用户', 'system:social-user:query', 2, 2, 529, 'user', 'ep:avatar', 'system/social/user/index.vue', 'SocialUser', 0, b'1', b'1', b'1', '1', '2023-11-04 14:01:05', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (536, '主子表(内嵌)', '', 2, 12, 83, 'demo03-inner', 'fa:power-off', 'infra/demo/demo03/inner/index', 'Demo03StudentInner', 0, b'1', b'1', b'1', '', '2023-11-13 04:39:51', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (537, '单表(增删改查)', '', 2, 1, 83, 'demo01-contact', 'ep:bicycle', 'infra/demo/demo01/index', 'Demo01Contact', 0, b'1', b'1', b'1', '', '2023-11-15 14:42:30', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (538, '示例联系人查询', 'infra:demo01-contact:query', 3, 1, 537, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-11-15 14:42:30', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (539, '示例联系人创建', 'infra:demo01-contact:create', 3, 2, 537, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-11-15 14:42:30', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (540, '示例联系人更新', 'infra:demo01-contact:update', 3, 3, 537, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-11-15 14:42:30', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (541, '示例联系人删除', 'infra:demo01-contact:delete', 3, 4, 537, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-11-15 14:42:30', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (542, '示例联系人导出', 'infra:demo01-contact:export', 3, 5, 537, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-11-15 14:42:30', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (543, '树表(增删改查)', '', 2, 2, 83, 'demo02-category', 'fa:tree', 'infra/demo/demo02/index', 'Demo02Category', 0, b'1', b'1', b'1', '', '2023-11-16 12:18:27', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (544, '示例分类查询', 'infra:demo02-category:query', 3, 1, 543, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-11-16 12:18:27', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (545, '示例分类创建', 'infra:demo02-category:create', 3, 2, 543, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-11-16 12:18:27', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (546, '示例分类更新', 'infra:demo02-category:update', 3, 3, 543, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-11-16 12:18:27', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (547, '示例分类删除', 'infra:demo02-category:delete', 3, 4, 543, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-11-16 12:18:27', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (548, '示例分类导出', 'infra:demo02-category:export', 3, 5, 543, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-11-16 12:18:27', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (549, '主子表(标准)', '', 2, 10, 83, 'demo03-normal', 'fa:battery-3', 'infra/demo/demo03/normal/index', 'Demo03StudentNormal', 0, b'1', b'1', b'1', '', '2023-11-16 12:53:37', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (550, '学生查询', 'infra:demo03-student:query', 3, 1, 549, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-11-16 12:53:37', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (551, '学生创建', 'infra:demo03-student:create', 3, 2, 549, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-11-16 12:53:37', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (552, '学生更新', 'infra:demo03-student:update', 3, 3, 549, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-11-16 12:53:37', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (553, '学生删除', 'infra:demo03-student:delete', 3, 4, 549, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-11-16 12:53:37', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (554, '学生导出', 'infra:demo03-student:export', 3, 5, 549, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-11-16 12:53:37', '', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (555, '主子表(ERP)', '', 2, 11, 83, 'demo03-erp', 'ep:calendar', 'infra/demo/demo03/erp/index', 'Demo03StudentERP', 0, b'1', b'1', b'1', '', '2023-11-16 15:50:59', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (565, 'WebSocket', '', 2, 5, 2, 'websocket', 'ep:connection', 'infra/webSocket/index', 'InfraWebSocket', 0, b'1', b'1', b'1', '1', '2023-11-23 19:41:55', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (772, '消息中心', '', 1, 7, 1, 'messages', 'ep:chat-dot-round', '', '', 0, b'1', b'1', b'1', '1', '2024-04-22 23:54:30', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (773, '监控中心', '', 1, 10, 2, 'monitors', 'ep:monitor', '', '', 0, b'1', b'1', b'1', '1', '2024-04-23 00:04:44', '1', '2026-08-14 01:49:42', b'0');
INSERT IGNORE INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (920, '租户切换', 'system:tenant:visit', 3, 999, 129, '', '', '', '', 0, b'1', b'1', b'1', '1', '2025-05-05 15:25:32', '1', '2026-08-14 01:49:42', b'0');
-- Reference changes from lab-master.sql (DDL already merged in 001_schema.sql)
INSERT INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`)
VALUES
(9101, '主数据状态', 'lab_master_status', 0, 'ENABLED/DISABLED', '1', NOW(), '1', NOW(), b'0', NULL),
(9102, '样品来源', 'lab_sample_source', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9103, '样品类型', 'lab_sample_type', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9104, '设备类型', 'lab_device_type', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9105, '设备映射状态', 'lab_sync_status', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9106, '物料类型', 'lab_material_type', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9107, '夹具规格', 'lab_fixture_size', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9108, '试验方法类型', 'lab_method_type', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9109, '方法发布状态', 'lab_publish_status', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL)
ON DUPLICATE KEY UPDATE `name` = VALUES(`name`);
INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
VALUES
(91001, 1, '已启用', 'ENABLED', 'lab_master_status', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91002, 2, '已停用', 'DISABLED', 'lab_master_status', 0, 'danger', '', '', '1', NOW(), '1', NOW(), b'0'),
(91011, 1, '自研', 'SELF', 'lab_sample_source', 0, 'primary', '', '', '1', NOW(), '1', NOW(), b'0'),
(91012, 2, '竞品', 'COMPETITOR', 'lab_sample_source', 0, 'warning', '', '', '1', NOW(), '1', NOW(), b'0'),
(91021, 1, '零件', 'PART', 'lab_sample_type', 0, 'primary', '', '', '1', NOW(), '1', NOW(), b'0'),
(91022, 2, '总成', 'ASSEMBLY', 'lab_sample_type', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91023, 3, '车架', 'FRAME', 'lab_sample_type', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91024, 4, '其他', 'OTHER', 'lab_sample_type', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91031, 1, '机械臂', 'ROBOT', 'lab_device_type', 0, 'primary', '', '', '1', NOW(), '1', NOW(), b'0'),
(91032, 2, 'AGV', 'AGV', 'lab_device_type', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91033, 3, '扫描仪', 'SCANNER', 'lab_device_type', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91034, 4, 'CMM', 'CMM', 'lab_device_type', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91035, 5, '转台', 'TURNTABLE', 'lab_device_type', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91036, 6, '控制', 'CONTROL', 'lab_device_type', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91037, 7, '其他', 'OTHER', 'lab_device_type', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91041, 1, '未映射', 'UNMAPPED', 'lab_sync_status', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91042, 2, '已映射', 'MAPPED', 'lab_sync_status', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91043, 3, '待验证', 'PENDING_VERIFY', 'lab_sync_status', 0, 'warning', '', '', '1', NOW(), '1', NOW(), b'0'),
(91044, 4, '映射异常', 'ERROR', 'lab_sync_status', 0, 'danger', '', '', '1', NOW(), '1', NOW(), b'0'),
(91051, 1, '普通物料', 'NORMAL', 'lab_material_type', 0, 'primary', '', '', '1', NOW(), '1', NOW(), b'0'),
(91052, 2, '危化品', 'HAZARDOUS', 'lab_material_type', 0, 'danger', '', '', '1', NOW(), '1', NOW(), b'0'),
(91053, 3, '高价值物料', 'HIGH_VALUE', 'lab_material_type', 0, 'warning', '', '', '1', NOW(), '1', NOW(), b'0'),
(91061, 1, 'S', 'S', 'lab_fixture_size', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91062, 2, 'M', 'M', 'lab_fixture_size', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91063, 3, 'L', 'L', 'lab_fixture_size', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91064, 4, '自定义', 'CUSTOM', 'lab_fixture_size', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91071, 1, '固定扫描', 'FIXED_SCAN', 'lab_method_type', 0, 'primary', '', '', '1', NOW(), '1', NOW(), b'0'),
(91072, 2, '动态扫描', 'DYNAMIC_SCAN', 'lab_method_type', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91073, 3, 'CMM', 'CMM', 'lab_method_type', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91074, 4, '复合方法', 'COMPOSITE', 'lab_method_type', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91081, 1, '已发布', 'PUBLISHED', 'lab_publish_status', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91082, 2, '已废弃', 'DEPRECATED', 'lab_publish_status', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0')
ON DUPLICATE KEY UPDATE `label` = VALUES(`label`);
INSERT INTO `system_role` (`id`, `name`, `code`, `sort`, `data_scope`, `data_scope_dept_ids`, `status`, `type`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
VALUES
(910, '实验室管理员', 'lab_admin', 10, 1, '', 0, 2, '主数据与实验室资源维护', '1', NOW(), '1', NOW(), b'0', 1),
(911, '试验工程师', 'test_engineer', 11, 1, '', 0, 2, '任务领取与执行', '1', NOW(), '1', NOW(), b'0', 1),
(912, '项目管理员', 'project_admin', 12, 1, '', 0, 2, '项目统筹与检查', '1', NOW(), '1', NOW(), b'0', 1),
(913, '只读用户', 'viewer', 13, 1, '', 0, 2, '只读查询', '1', NOW(), '1', NOW(), b'0', 1)
ON DUPLICATE KEY UPDATE `name` = VALUES(`name`);
INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
VALUES
(20001, '主数据', '', 1, 10, 0, '/lab/master', 'ep:collection', NULL, NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20010, '样品管理', 'lab:sample:query', 2, 1, 20001, 'sample', 'ep:box', 'lab/md/sample/index', 'LabSample', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20011, '样品新增', 'lab:sample:create', 3, 1, 20010, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20012, '样品编辑', 'lab:sample:update', 3, 2, 20010, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20013, '样品启停', 'lab:sample:disable', 3, 3, 20010, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20014, '样品导入', 'lab:sample:import', 3, 4, 20010, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20015, '样品导出', 'lab:sample:export', 3, 5, 20010, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20020, '设备管理', 'lab:device:query', 2, 2, 20001, 'device', 'ep:monitor', 'lab/md/device/index', 'LabDevice', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20021, '设备新增', 'lab:device:create', 3, 1, 20020, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20022, '设备编辑', 'lab:device:update', 3, 2, 20020, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20023, '设备启停', 'lab:device:disable', 3, 3, 20020, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20024, '设备映射', 'lab:device:mapping', 3, 4, 20020, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20025, '设备导出', 'lab:device:export', 3, 5, 20020, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20026, '设备导入', 'lab:device:import', 3, 6, 20020, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20030, '实验室管理', 'lab:lab:query', 2, 3, 20001, 'lab', 'ep:office-building', 'lab/md/lab/index', 'LabLaboratory', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20031, '实验室新增', 'lab:lab:create', 3, 1, 20030, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20032, '实验室编辑', 'lab:lab:update', 3, 2, 20030, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20033, '实验室启停', 'lab:lab:disable', 3, 3, 20030, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20040, '物料管理', 'lab:material:query', 2, 4, 20001, 'material', 'ep:goods', 'lab/md/material/index', 'LabMaterial', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20041, '物料新增', 'lab:material:create', 3, 1, 20040, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20042, '物料编辑', 'lab:material:update', 3, 2, 20040, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20043, '物料启停', 'lab:material:disable', 3, 3, 20040, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20050, '夹具管理', 'lab:fixture:query', 2, 5, 20001, 'fixture', 'ep:set-up', 'lab/md/fixture/index', 'LabFixture', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20051, '夹具新增', 'lab:fixture:create', 3, 1, 20050, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20052, '夹具编辑', 'lab:fixture:update', 3, 2, 20050, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20053, '夹具启停', 'lab:fixture:disable', 3, 3, 20050, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20060, '试验方法引用', 'lab:method:query', 2, 6, 20001, 'method', 'ep:notebook', 'lab/md/method/index', 'LabMethod', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20061, '方法登记', 'lab:method:create', 3, 1, 20060, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20062, '方法同步', 'lab:method:sync', 3, 2, 20060, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20063, '方法映射', 'lab:method:mapping', 3, 3, 20060, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20064, '方法启停', 'lab:method:disable', 3, 4, 20060, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0')
ON DUPLICATE KEY UPDATE `name` = VALUES(`name`), `component` = VALUES(`component`), `deleted` = b'0';
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT 910, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM `system_menu` m
WHERE m.id BETWEEN 20001 AND 20064
AND NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = 910 AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT r.role_id, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM (
SELECT 911 AS role_id UNION ALL SELECT 913
) r
JOIN `system_menu` m ON m.id IN (20001, 20010, 20020, 20030, 20040, 20050, 20060)
WHERE NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = r.role_id AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT 912, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM `system_menu` m
WHERE m.id IN (20001, 20010, 20015, 20020, 20025, 20030, 20040, 20050, 20060)
AND NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = 912 AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
-- Reference changes from lab-task.sql (DDL already merged in 001_schema.sql)
INSERT INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`)
VALUES
(9110, '试验任务状态', 'lab_task_status', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9111, '试验类型', 'lab_task_test_type', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9112, '任务优先级', 'lab_task_priority', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9113, '任务导入批次状态', 'lab_task_import_batch_status', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9114, '任务导入行校验状态', 'lab_task_import_row_status', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL)
ON DUPLICATE KEY UPDATE `name` = VALUES(`name`);
INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
VALUES
(91101, 1, '已导入', 'IMPORTED', 'lab_task_status', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91102, 2, '待确认', 'PENDING_CONFIRM', 'lab_task_status', 0, 'warning', '', '', '1', NOW(), '1', NOW(), b'0'),
(91103, 3, '已确认', 'CONFIRMED', 'lab_task_status', 0, 'primary', '', '', '1', NOW(), '1', NOW(), b'0'),
(91104, 4, '已领取', 'CLAIMED', 'lab_task_status', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91105, 5, '准备中', 'PREPARING', 'lab_task_status', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91106, 6, '已就绪', 'READY', 'lab_task_status', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91107, 7, '下发中', 'DISPATCHING', 'lab_task_status', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91108, 8, '已下发', 'DISPATCHED', 'lab_task_status', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91109, 9, '执行中', 'EXECUTING', 'lab_task_status', 0, 'primary', '', '', '1', NOW(), '1', NOW(), b'0'),
(91110, 10, '数据处理', 'DATA_PROCESSING', 'lab_task_status', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91111, 11, '结果待确认', 'RESULT_PENDING', 'lab_task_status', 0, 'warning', '', '', '1', NOW(), '1', NOW(), b'0'),
(91112, 12, '报告待出', 'REPORT_PENDING', 'lab_task_status', 0, 'warning', '', '', '1', NOW(), '1', NOW(), b'0'),
(91113, 13, '已完结', 'COMPLETED', 'lab_task_status', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91114, 14, '已取消', 'CANCELLED', 'lab_task_status', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91115, 15, '失败', 'FAILED', 'lab_task_status', 0, 'danger', '', '', '1', NOW(), '1', NOW(), b'0'),
(91121, 1, '尺寸扫描', 'DIMENSION_SCAN', 'lab_task_test_type', 0, 'primary', '', '', '1', NOW(), '1', NOW(), b'0'),
(91122, 2, 'CMM', 'CMM', 'lab_task_test_type', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91123, 3, '复合试验', 'COMPOSITE', 'lab_task_test_type', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91124, 4, '其他', 'OTHER', 'lab_task_test_type', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91131, 1, '高', 'HIGH', 'lab_task_priority', 0, 'danger', '', '', '1', NOW(), '1', NOW(), b'0'),
(91132, 2, '中', 'NORMAL', 'lab_task_priority', 0, 'warning', '', '', '1', NOW(), '1', NOW(), b'0'),
(91133, 3, '低', 'LOW', 'lab_task_priority', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91141, 1, '已上传', 'UPLOADED', 'lab_task_import_batch_status', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91142, 2, '解析中', 'PARSING', 'lab_task_import_batch_status', 0, 'warning', '', '', '1', NOW(), '1', NOW(), b'0'),
(91143, 3, '已解析', 'PARSED', 'lab_task_import_batch_status', 0, 'primary', '', '', '1', NOW(), '1', NOW(), b'0'),
(91144, 4, '已提交', 'COMMITTED', 'lab_task_import_batch_status', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91145, 5, '失败', 'FAILED', 'lab_task_import_batch_status', 0, 'danger', '', '', '1', NOW(), '1', NOW(), b'0'),
(91151, 1, '有效', 'VALID', 'lab_task_import_row_status', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91152, 2, '警告', 'WARNING', 'lab_task_import_row_status', 0, 'warning', '', '', '1', NOW(), '1', NOW(), b'0'),
(91153, 3, '错误', 'ERROR', 'lab_task_import_row_status', 0, 'danger', '', '', '1', NOW(), '1', NOW(), b'0'),
(91154, 4, '重复', 'DUPLICATE', 'lab_task_import_row_status', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0')
ON DUPLICATE KEY UPDATE `label` = VALUES(`label`);
INSERT INTO `system_role` (`id`, `name`, `code`, `sort`, `data_scope`, `data_scope_dept_ids`, `status`, `type`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
VALUES
(914, '报告工程师', 'report_engineer', 14, 1, '', 0, 2, '仅查询任务与报告', '1', NOW(), '1', NOW(), b'0', 1)
ON DUPLICATE KEY UPDATE `name` = VALUES(`name`);
INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
VALUES
(20100, '任务管理', '', 1, 20, 0, '/lab/task', 'ep:finished', NULL, NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20110, '任务导入', 'lab:task:import', 2, 1, 20100, 'import', 'ep:upload', 'lab/task/import/index', 'LabTaskImport', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20120, '任务池', 'lab:task:query', 2, 2, 20100, 'pool', 'ep:list', 'lab/task/pool/index', 'LabTaskPool', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20121, '任务确认', 'lab:task:confirm', 3, 1, 20120, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20122, '任务领取', 'lab:task:claim', 3, 2, 20120, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20123, '任务分派', 'lab:task:assign', 3, 3, 20120, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20124, '任务取消', 'lab:task:cancel', 3, 4, 20120, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20125, '任务完结', 'lab:task:complete', 3, 5, 20120, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20126, '任务编辑', 'lab:task:update', 3, 6, 20120, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20130, '我的任务', 'lab:task:query', 2, 3, 20100, 'mine', 'ep:user', 'lab/task/mine/index', 'LabTaskMine', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0')
ON DUPLICATE KEY UPDATE `name` = VALUES(`name`), `component` = VALUES(`component`), `deleted` = b'0';
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT 912, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM `system_menu` m
WHERE m.id IN (20100, 20110, 20120, 20121, 20123, 20124, 20125, 20126, 20130)
AND NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = 912 AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT 910, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM `system_menu` m
WHERE m.id IN (20100, 20120, 20121, 20123, 20130)
AND NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = 910 AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT 911, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM `system_menu` m
WHERE m.id IN (20100, 20120, 20122, 20130)
AND NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = 911 AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT r.role_id, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM (
SELECT 913 AS role_id UNION ALL SELECT 914
) r
JOIN `system_menu` m ON m.id IN (20100, 20120, 20130)
WHERE NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = r.role_id AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
-- Reference changes from lab-resource.sql (DDL already merged in 001_schema.sql)
INSERT INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`)
VALUES
(9120, '预约状态', 'lab_reservation_status', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9121, '样品流转类型', 'lab_transfer_type', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9122, '样品流转状态', 'lab_transfer_status', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9123, '物料领用状态', 'lab_issue_status', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9124, '资源准备状态', 'lab_readiness_status', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL)
ON DUPLICATE KEY UPDATE `name` = VALUES(`name`);
INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
VALUES
(91201, 1, '已预约', 'RESERVED', 'lab_reservation_status', 0, 'primary', '', '', '1', NOW(), '1', NOW(), b'0'),
(91202, 2, '使用中', 'IN_USE', 'lab_reservation_status', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91203, 3, '已结束', 'FINISHED', 'lab_reservation_status', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91204, 4, '已取消', 'CANCELLED', 'lab_reservation_status', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91211, 1, '接收', 'RECEIVE', 'lab_transfer_type', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91212, 2, '移交', 'HANDOVER', 'lab_transfer_type', 0, 'warning', '', '', '1', NOW(), '1', NOW(), b'0'),
(91213, 3, '归还', 'RETURN', 'lab_transfer_type', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91221, 1, '已确认', 'CONFIRMED', 'lab_transfer_status', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91222, 2, '已取消', 'CANCELLED', 'lab_transfer_status', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91231, 1, '已申请', 'APPLIED', 'lab_issue_status', 0, 'warning', '', '', '1', NOW(), '1', NOW(), b'0'),
(91232, 2, '已确认', 'CONFIRMED', 'lab_issue_status', 0, 'primary', '', '', '1', NOW(), '1', NOW(), b'0'),
(91233, 3, '已发放', 'ISSUED', 'lab_issue_status', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91234, 4, '已归还', 'RETURNED', 'lab_issue_status', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91235, 5, '已取消', 'CANCELLED', 'lab_issue_status', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91241, 1, '未准备', 'NOT_READY', 'lab_readiness_status', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91242, 2, '部分准备', 'PARTIAL', 'lab_readiness_status', 0, 'warning', '', '', '1', NOW(), '1', NOW(), b'0'),
(91243, 3, '已准备', 'READY', 'lab_readiness_status', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91244, 4, '阻断', 'BLOCKED', 'lab_readiness_status', 0, 'danger', '', '', '1', NOW(), '1', NOW(), b'0')
ON DUPLICATE KEY UPDATE `label` = VALUES(`label`);
INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
VALUES
(20200, '资源协同', '', 1, 30, 0, '/lab/resource', 'ep:set-up', NULL, NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20210, '样品流转', 'lab:resource:query', 2, 1, 20200, 'sample-transfer', 'ep:switch', 'lab/resource/sample-transfer/index', 'LabSampleTransfer', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20211, '接收样品', 'lab:sample:receive', 3, 1, 20210, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20212, '移交样品', 'lab:sample:handover', 3, 2, 20210, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20213, '归还样品', 'lab:sample:return', 3, 3, 20210, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20220, '设备预约', 'lab:resource:query', 2, 2, 20200, 'device-reservation', 'ep:calendar', 'lab/resource/device-reservation/index', 'LabDeviceReservation', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20221, '预约资源', 'lab:resource:reserve', 3, 1, 20220, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20222, '开始使用', 'lab:resource:start', 3, 2, 20220, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20223, '结束使用', 'lab:resource:finish', 3, 3, 20220, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20224, '取消预约', 'lab:resource:cancel', 3, 4, 20220, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20225, '强制释放', 'lab:resource:force-release', 3, 5, 20220, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20230, '实验室预约', 'lab:resource:query', 2, 3, 20200, 'lab-reservation', 'ep:office-building', 'lab/resource/lab-reservation/index', 'LabLabReservation', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20240, '物料领用', 'lab:resource:query', 2, 4, 20200, 'material-issue', 'ep:goods', 'lab/resource/material-issue/index', 'LabMaterialIssue', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20241, '申请领用', 'lab:material:issue', 3, 1, 20240, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20242, '确认发放', 'lab:material:confirm', 3, 2, 20240, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20243, '归还物料', 'lab:material:return', 3, 3, 20240, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20250, '准备完成', 'lab:resource:ready', 3, 5, 20200, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0')
ON DUPLICATE KEY UPDATE `name` = VALUES(`name`), `component` = VALUES(`component`), `deleted` = b'0';
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT 910, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM `system_menu` m
WHERE m.id BETWEEN 20200 AND 20250
AND NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = 910 AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT 911, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM `system_menu` m
WHERE m.id IN (20200,20210,20211,20212,20213,20220,20221,20222,20223,20224,20230,20240,20241,20243,20250)
AND NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = 911 AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT 912, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM `system_menu` m
WHERE m.id IN (20200,20210,20220,20223,20224,20225,20230,20240,20250)
AND NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = 912 AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT r.role_id, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM (SELECT 913 AS role_id UNION ALL SELECT 914) r
JOIN `system_menu` m ON m.id IN (20200,20210,20220,20230,20240)
WHERE NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = r.role_id AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
-- Reference changes from lab-execution.sql (DDL already merged in 001_schema.sql)
INSERT INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`)
VALUES
(9130, '执行状态', 'lab_execution_status', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9131, '执行类型', 'lab_execution_type', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL)
ON DUPLICATE KEY UPDATE `name` = VALUES(`name`);
INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
VALUES
(91301, 1, '排队', 'QUEUED', 'lab_execution_status', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91302, 2, '准备中', 'PREPARING', 'lab_execution_status', 0, 'warning', '', '', '1', NOW(), '1', NOW(), b'0'),
(91303, 3, '准备完成', 'READY', 'lab_execution_status', 0, 'primary', '', '', '1', NOW(), '1', NOW(), b'0'),
(91304, 4, '执行中', 'RUNNING', 'lab_execution_status', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91305, 5, '已暂停', 'PAUSED', 'lab_execution_status', 0, 'warning', '', '', '1', NOW(), '1', NOW(), b'0'),
(91306, 6, '执行成功', 'SUCCEEDED', 'lab_execution_status', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91307, 7, '执行失败', 'FAILED', 'lab_execution_status', 0, 'danger', '', '', '1', NOW(), '1', NOW(), b'0'),
(91308, 8, '已取消', 'CANCELLED', 'lab_execution_status', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91311, 1, '初次执行', 'INITIAL', 'lab_execution_type', 0, 'primary', '', '', '1', NOW(), '1', NOW(), b'0'),
(91312, 2, '重试', 'RETRY', 'lab_execution_type', 0, 'warning', '', '', '1', NOW(), '1', NOW(), b'0'),
(91313, 3, '补扫', 'RESCAN', 'lab_execution_type', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91314, 4, '复测', 'RETEST', 'lab_execution_type', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91315, 5, 'CMM补测', 'CMM_SUPPLEMENT', 'lab_execution_type', 0, 'warning', '', '', '1', NOW(), '1', NOW(), b'0')
ON DUPLICATE KEY UPDATE `label` = VALUES(`label`);
INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
VALUES
(20300, '执行中心', '', 1, 40, 0, '/lab/execution', 'ep:video-play', NULL, NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20310, '执行任务', 'lab:execution:query', 2, 1, 20300, 'index', 'ep:list', 'lab/execution/index', 'LabExecution', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20311, '执行前检查', 'lab:execution:precheck', 3, 1, 20310, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20312, '下发执行', 'lab:execution:dispatch', 3, 2, 20310, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20313, '执行控制', 'lab:execution:control', 3, 3, 20310, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20314, '取消执行', 'lab:execution:cancel', 3, 4, 20310, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20315, '补扫复测', 'lab:execution:followup', 3, 5, 20310, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20320, '接口诊断', 'lab:execution:integration', 2, 2, 20300, 'integration', 'ep:connection', 'lab/execution/integration', 'LabExecutionIntegration', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0')
ON DUPLICATE KEY UPDATE `name` = VALUES(`name`), `component` = VALUES(`component`), `deleted` = b'0';
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT 911, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM `system_menu` m
WHERE m.id IN (20300,20310,20311,20312,20313,20314,20315)
AND NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = 911 AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT 910, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM `system_menu` m
WHERE m.id IN (20300,20310,20314)
AND NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = 910 AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT 912, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM `system_menu` m
WHERE m.id IN (20300,20310,20314,20315)
AND NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = 912 AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT r.role_id, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM (SELECT 913 AS role_id UNION ALL SELECT 914) r
JOIN `system_menu` m ON m.id IN (20300,20310)
WHERE NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = r.role_id AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
-- Reference changes from lab-artifact.sql (DDL already merged in 001_schema.sql)
INSERT INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`)
VALUES
(9140, '原始文件类型', 'lab_artifact_type', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9141, '原始文件状态', 'lab_artifact_status', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9142, '文件校验状态', 'lab_checksum_status', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL)
ON DUPLICATE KEY UPDATE `name` = VALUES(`name`);
INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
VALUES
(91401, 1, '点云', 'POINT_CLOUD', 'lab_artifact_type', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91402, 2, '工程文件', 'PROJECT', 'lab_artifact_type', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91403, 3, '原始数据', 'RAW', 'lab_artifact_type', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91404, 4, '图像', 'IMAGE', 'lab_artifact_type', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91405, 5, '其他', 'OTHER', 'lab_artifact_type', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91411, 1, '已登记', 'REGISTERED', 'lab_artifact_status', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91412, 2, '上传中', 'UPLOADING', 'lab_artifact_status', 0, 'warning', '', '', '1', NOW(), '1', NOW(), b'0'),
(91413, 3, '校验中', 'VERIFYING', 'lab_artifact_status', 0, 'primary', '', '', '1', NOW(), '1', NOW(), b'0'),
(91414, 4, '可用', 'AVAILABLE', 'lab_artifact_status', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91415, 5, '无效', 'INVALID', 'lab_artifact_status', 0, 'danger', '', '', '1', NOW(), '1', NOW(), b'0'),
(91421, 1, '待校验', 'PENDING', 'lab_checksum_status', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91422, 2, '匹配', 'MATCHED', 'lab_checksum_status', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91423, 3, '不匹配', 'MISMATCH', 'lab_checksum_status', 0, 'danger', '', '', '1', NOW(), '1', NOW(), b'0')
ON DUPLICATE KEY UPDATE `label` = VALUES(`label`);
INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
VALUES
(20400, '原始数据', '', 1, 50, 0, '/lab/data', 'ep:folder-opened', NULL, NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20410, '原始文件', 'lab:data:query', 2, 1, 20400, 'files', 'ep:document', 'lab/data/files/index', 'LabArtifactFile', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20411, '上传文件', 'lab:data:upload', 3, 1, 20410, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20412, '下载文件', 'lab:data:download', 3, 2, 20410, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20420, '上传异常', 'lab:data:query', 2, 2, 20400, 'upload-failures', 'ep:warning', 'lab/data/upload-failures/index', 'LabUploadFailure', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0')
ON DUPLICATE KEY UPDATE `name` = VALUES(`name`), `component` = VALUES(`component`), `deleted` = b'0';
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT r.role_id, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM (SELECT 910 AS role_id UNION ALL SELECT 911 UNION ALL SELECT 912 UNION ALL SELECT 913 UNION ALL SELECT 914) r
JOIN `system_menu` m ON m.id IN (20400,20410,20420)
WHERE NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = r.role_id AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT r.role_id, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM (SELECT 910 AS role_id UNION ALL SELECT 911 UNION ALL SELECT 912) r
JOIN `system_menu` m ON m.id IN (20411,20412)
WHERE NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = r.role_id AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
-- Reference changes from lab-result.sql (DDL already merged in 001_schema.sql)
INSERT INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`)
VALUES
(9150, '测量判定', 'lab_measurement_judgment', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9151, '结果批次状态', 'lab_result_batch_status', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9152, '特征类型', 'lab_feature_type', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9153, '结果处置类型', 'lab_disposition_type', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL)
ON DUPLICATE KEY UPDATE `name` = VALUES(`name`);
INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
VALUES
(91501, 1, '合格', 'PASS', 'lab_measurement_judgment', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91502, 2, '不合格', 'FAIL', 'lab_measurement_judgment', 0, 'danger', '', '', '1', NOW(), '1', NOW(), b'0'),
(91503, 3, '无法评价', 'UNEVALUABLE', 'lab_measurement_judgment', 0, 'warning', '', '', '1', NOW(), '1', NOW(), b'0'),
(91511, 1, '接收中', 'RECEIVING', 'lab_result_batch_status', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91512, 2, '待确认', 'READY', 'lab_result_batch_status', 0, 'primary', '', '', '1', NOW(), '1', NOW(), b'0'),
(91513, 3, '已确认', 'CONFIRMED', 'lab_result_batch_status', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91521, 1, '尺寸', 'DIMENSION', 'lab_feature_type', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91522, 2, '形位', 'GDNT', 'lab_feature_type', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91523, 3, '其他', 'OTHER', 'lab_feature_type', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91531, 1, '让步接收', 'ACCEPT', 'lab_disposition_type', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91532, 2, '补扫', 'RESCAN', 'lab_disposition_type', 0, 'warning', '', '', '1', NOW(), '1', NOW(), b'0'),
(91533, 3, '复测', 'RETEST', 'lab_disposition_type', 0, 'warning', '', '', '1', NOW(), '1', NOW(), b'0'),
(91534, 4, 'CMM补测', 'CMM_SUPPLEMENT', 'lab_disposition_type', 0, 'danger', '', '', '1', NOW(), '1', NOW(), b'0'),
(91535, 5, '忽略', 'IGNORE', 'lab_disposition_type', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0')
ON DUPLICATE KEY UPDATE `label` = VALUES(`label`);
INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
VALUES
(20500, '测量结果', '', 1, 60, 0, '/lab/result', 'ep:data-analysis', NULL, NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20510, '结果批次', 'lab:result:query', 2, 1, 20500, 'index', 'ep:list', 'lab/result/index', 'LabResult', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20511, '确认结果', 'lab:result:confirm', 3, 1, 20510, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20512, '异常处置', 'lab:result:disposition', 3, 2, 20510, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0')
ON DUPLICATE KEY UPDATE `name` = VALUES(`name`), `component` = VALUES(`component`), `deleted` = b'0';
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT r.role_id, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM (SELECT 910 AS role_id UNION ALL SELECT 911 UNION ALL SELECT 912 UNION ALL SELECT 913 UNION ALL SELECT 914) r
JOIN `system_menu` m ON m.id IN (20500,20510)
WHERE NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = r.role_id AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT r.role_id, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM (SELECT 910 AS role_id UNION ALL SELECT 911 UNION ALL SELECT 912) r
JOIN `system_menu` m ON m.id IN (20511,20512)
WHERE NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = r.role_id AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
-- Reference changes from lab-document.sql (DDL already merged in 001_schema.sql)
INSERT INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`)
VALUES
(9160, '报告状态', 'lab_report_status', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9161, '报告类型', 'lab_report_type', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL)
ON DUPLICATE KEY UPDATE `name` = VALUES(`name`);
INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
VALUES
(91601, 1, '草稿', 'DRAFT', 'lab_report_status', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91602, 2, '已发布', 'PUBLISHED', 'lab_report_status', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91603, 3, '已作废', 'VOID', 'lab_report_status', 0, 'danger', '', '', '1', NOW(), '1', NOW(), b'0'),
(91611, 1, '专业报告', 'PROFESSIONAL', 'lab_report_type', 0, 'primary', '', '', '1', NOW(), '1', NOW(), b'0'),
(91612, 2, '平台汇总', 'SUMMARY', 'lab_report_type', 0, '', '', '', '1', NOW(), '1', NOW(), b'0')
ON DUPLICATE KEY UPDATE `label` = VALUES(`label`);
INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
VALUES
(20600, '报告文档', '', 1, 70, 0, '/lab/document', 'ep:notebook', NULL, NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20610, '试验报告', 'lab:document:query', 2, 1, 20600, 'report', 'ep:document', 'lab/document/report/index', 'LabReport', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20611, '编辑报告', 'lab:document:update', 3, 1, 20610, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20612, '发布报告', 'lab:document:publish', 3, 2, 20610, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20613, '作废报告', 'lab:document:void', 3, 3, 20610, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20614, '导出资料包', 'lab:document:export', 3, 4, 20610, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20620, '原始记录', 'lab:document:query', 2, 2, 20600, 'record', 'ep:tickets', 'lab/document/record/index', 'LabOriginalRecord', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20630, '报告模板', 'lab:document:query', 2, 3, 20600, 'template', 'ep:collection', 'lab/document/template/index', 'LabReportTemplate', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20640, '资料包', 'lab:document:query', 2, 4, 20600, 'package', 'ep:box', 'lab/document/package/index', 'LabExportPackage', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0')
ON DUPLICATE KEY UPDATE `name` = VALUES(`name`), `component` = VALUES(`component`), `deleted` = b'0';
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT r.role_id, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM (SELECT 910 AS role_id UNION ALL SELECT 911 UNION ALL SELECT 912 UNION ALL SELECT 913 UNION ALL SELECT 914) r
JOIN `system_menu` m ON m.id IN (20600,20610,20620,20630,20640)
WHERE NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = r.role_id AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT 914, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM `system_menu` m
WHERE m.id IN (20611)
AND NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = 914 AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT 912, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM `system_menu` m
WHERE m.id IN (20611,20612,20613,20614)
AND NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = 912 AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT 910, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM `system_menu` m
WHERE m.id IN (20611,20612,20613,20614)
AND NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = 910 AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
-- Reference changes from lab-integration.sql (DDL already merged in 001_schema.sql)
INSERT INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`)
VALUES
(9170, '集成运行模式', 'lab_integration_mode', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9171, '集成调用方向', 'lab_integration_direction', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9172, '集成接口域', 'lab_integration_domain', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9173, '集成调用结果', 'lab_integration_log_result', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9174, '集成失败状态', 'lab_integration_failure_status', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL)
ON DUPLICATE KEY UPDATE `name` = VALUES(`name`);
INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
VALUES
(91701, 1, '模拟', 'MOCK', 'lab_integration_mode', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91702, 2, '真实', 'REAL', 'lab_integration_mode', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91711, 1, '入站', 'INBOUND', 'lab_integration_direction', 0, 'primary', '', '', '1', NOW(), '1', NOW(), b'0'),
(91712, 2, '出站', 'OUTBOUND', 'lab_integration_direction', 0, 'warning', '', '', '1', NOW(), '1', NOW(), b'0'),
(91721, 1, '执行', 'EXECUTION', 'lab_integration_domain', 0, 'primary', '', '', '1', NOW(), '1', NOW(), b'0'),
(91722, 2, '文件', 'ARTIFACT', 'lab_integration_domain', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91723, 3, '结果', 'RESULT', 'lab_integration_domain', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91724, 4, '报告', 'REPORT', 'lab_integration_domain', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91725, 5, '主数据', 'MASTER', 'lab_integration_domain', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91726, 6, '健康检查', 'HEALTH', 'lab_integration_domain', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91731, 1, '成功', 'SUCCESS', 'lab_integration_log_result', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91732, 2, '失败', 'FAILED', 'lab_integration_log_result', 0, 'danger', '', '', '1', NOW(), '1', NOW(), b'0'),
(91733, 3, '超时', 'TIMEOUT', 'lab_integration_log_result', 0, 'warning', '', '', '1', NOW(), '1', NOW(), b'0'),
(91741, 1, '待处理', 'OPEN', 'lab_integration_failure_status', 0, 'danger', '', '', '1', NOW(), '1', NOW(), b'0'),
(91742, 2, '重试中', 'RETRYING', 'lab_integration_failure_status', 0, 'warning', '', '', '1', NOW(), '1', NOW(), b'0'),
(91743, 3, '已恢复', 'RECOVERED', 'lab_integration_failure_status', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91744, 4, '已人工处理', 'RESOLVED', 'lab_integration_failure_status', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0')
ON DUPLICATE KEY UPDATE `label` = VALUES(`label`);
INSERT INTO `system_role` (`id`, `name`, `code`, `sort`, `data_scope`, `data_scope_dept_ids`, `status`, `type`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
VALUES
(915, '集成管理员', 'integration_admin', 15, 1, '', 0, 2, '外部接口配置与诊断', '1', NOW(), '1', NOW(), b'0', 1)
ON DUPLICATE KEY UPDATE `name` = VALUES(`name`);
INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
VALUES
(20700, '集成管理', '', 1, 80, 0, '/lab/integration', 'ep:connection', NULL, NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20710, '集成配置', 'lab:integration:query', 2, 1, 20700, 'config', 'ep:setting', 'lab/integration/config/index', 'LabIntegrationConfig', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20711, '保存配置', 'lab:integration:config', 3, 1, 20710, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20720, '接口状态', 'lab:integration:health', 2, 2, 20700, 'status', 'ep:odometer', 'lab/integration/status/index', 'LabIntegrationStatus', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20730, '接口日志', 'lab:integration:query', 2, 3, 20700, 'log', 'ep:document', 'lab/integration/log/index', 'LabIntegrationLog', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20740, '失败任务', 'lab:integration:query', 2, 4, 20700, 'failure', 'ep:warning', 'lab/integration/failure/index', 'LabIntegrationFailure', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20741, '失败重试', 'lab:integration:retry', 3, 1, 20740, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20742, '标记处理', 'lab:integration:resolve', 3, 2, 20740, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20750, '接口诊断', 'lab:integration:health', 2, 5, 20700, 'diagnosis', 'ep:first-aid-kit', 'lab/integration/diagnosis/index', 'LabIntegrationDiagnosis', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20751, '测试连接', 'lab:integration:health', 3, 1, 20750, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20760, '协议说明', 'lab:integration:query', 2, 6, 20700, 'protocol', 'ep:notebook', 'lab/integration/protocol/index', 'LabIntegrationProtocol', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0')
ON DUPLICATE KEY UPDATE `name` = VALUES(`name`), `component` = VALUES(`component`), `deleted` = b'0', `visible` = VALUES(`visible`);
UPDATE `system_menu`
SET `visible` = b'0'
WHERE `id` = 20320;
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT r.role_id, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM (SELECT 910 AS role_id UNION ALL SELECT 915) r
JOIN `system_menu` m ON m.id IN (20700,20710,20711,20720,20730,20740,20741,20742,20750,20751,20760)
WHERE NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = r.role_id AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT 912, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM `system_menu` m
WHERE m.id IN (20700,20720,20730,20740,20741,20742,20750,20751,20760)
AND NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = 912 AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT r.role_id, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM (SELECT 911 AS role_id UNION ALL SELECT 913 UNION ALL SELECT 914) r
JOIN `system_menu` m ON m.id IN (20700,20720,20730,20750,20760)
WHERE NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = r.role_id AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
-- Reference changes from lab-integration-provider.sql (DDL already merged in 001_schema.sql)
INSERT INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`)
VALUES
(9175, '接入方状态', 'lab_integration_provider_status', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL),
(9176, '接入在线状态', 'lab_integration_online_status', 0, NULL, '1', NOW(), '1', NOW(), b'0', NULL)
ON DUPLICATE KEY UPDATE `name` = VALUES(`name`);
INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
VALUES
(91734, 4, '拒绝', 'REJECTED', 'lab_integration_log_result', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91727, 7, '任务', 'TASK', 'lab_integration_domain', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91728, 8, '提供商', 'PROVIDER', 'lab_integration_domain', 0, '', '', '', '1', NOW(), '1', NOW(), b'0'),
(91751, 1, '已启用', 'ENABLED', 'lab_integration_provider_status', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91752, 2, '已停用', 'DISABLED', 'lab_integration_provider_status', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0'),
(91761, 1, '在线', 'ONLINE', 'lab_integration_online_status', 0, 'success', '', '', '1', NOW(), '1', NOW(), b'0'),
(91762, 2, '可能离线', 'SUSPECTED_OFFLINE', 'lab_integration_online_status', 0, 'warning', '', '', '1', NOW(), '1', NOW(), b'0'),
(91763, 3, '离线', 'OFFLINE', 'lab_integration_online_status', 0, 'danger', '', '', '1', NOW(), '1', NOW(), b'0'),
(91764, 4, '未接入', 'NEVER_CONNECTED', 'lab_integration_online_status', 0, 'info', '', '', '1', NOW(), '1', NOW(), b'0')
ON DUPLICATE KEY UPDATE `label` = VALUES(`label`);
UPDATE `system_role` SET `remark` = '管理设备提供商和开放接口' WHERE `id` = 915;
UPDATE `system_menu` SET `name` = '接入方管理', `path` = 'provider', `icon` = 'ep:office-building',
`component` = 'lab/integration/provider/index', `component_name` = 'LabIntegrationProvider', `visible` = b'1', `deleted` = b'0'
WHERE `id` = 20710;
UPDATE `system_menu` SET `name` = '保存接入方', `permission` = 'lab:integration:config' WHERE `id` = 20711;
INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
VALUES
(20712, '生成令牌', 'lab:integration:token', 3, 2, 20710, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20713, '启停接入方', 'lab:integration:provider', 3, 3, 20710, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20715, '开放接口设置', 'lab:integration:query', 2, 7, 20700, 'settings', 'ep:setting', 'lab/integration/settings/index', 'LabIntegrationSettings', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'),
(20716, '保存设置', 'lab:integration:config', 3, 1, 20715, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0')
ON DUPLICATE KEY UPDATE `name` = VALUES(`name`), `component` = VALUES(`component`), `deleted` = b'0', `visible` = VALUES(`visible`);
UPDATE `system_menu` SET `visible` = b'0', `deleted` = b'0' WHERE `id` IN (20750, 20751);
UPDATE `system_menu` SET `name` = '接口清单', `component` = 'lab/integration/protocol/index' WHERE `id` = 20760;
INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`)
SELECT r.role_id, m.id, '1', NOW(), '1', NOW(), b'0', 1
FROM (SELECT 910 AS role_id UNION ALL SELECT 915 UNION ALL SELECT 1) r
JOIN `system_menu` m ON m.id IN (20710,20711,20712,20713,20715,20716,20720,20730,20740,20741,20742,20760)
WHERE NOT EXISTS (SELECT 1 FROM `system_role_menu` rm WHERE rm.role_id = r.role_id AND rm.menu_id = m.id AND rm.deleted = 0 AND rm.tenant_id = 1);
-- Reference changes from lab-integration-v1-rc2.sql (DDL already merged in 001_schema.sql)
-- Reference changes from lab-integration-v2.sql (DDL already merged in 001_schema.sql)
UPDATE `system_menu` SET `name` = '集成异常' WHERE `id` = 20740;
UPDATE `system_menu` SET `name` = '重新处理' WHERE `id` = 20741;
UPDATE `system_menu` SET `name` = '开放接口' WHERE `id` = 20760;
-- Reference changes from lab-integration-failure-aggregate.sql (DDL already merged in 001_schema.sql)
-- Reference changes from lab-fusion-02-09.sql (DDL already merged in 001_schema.sql)
-- Reference changes from lab-scan-workflow-v1.sql (DDL already merged in 001_schema.sql)
-- Reference changes from lab-scan-plan-multi-v1.sql (DDL already merged in 001_schema.sql)