fix: update for vue3

This commit is contained in:
2023-10-20 11:21:39 +08:00
parent 9c0a624fbc
commit 13c8654db6
4 changed files with 39 additions and 236 deletions

View File

@@ -1,9 +1,9 @@
INSERT INTO `omc_db`.`user` (`id`,`account_id`, `name`, `real_name`, `sn`, `gender`, `email`, `id_card_number`, `description`, `telephone_number`, `phone`, `mobile`, `employee_number`, `employee_type`, `organize`, `supporter_corp_name`, `start_time`, `end_time`, `password`, `password_sha512`, `change_password_flag`, `password_expiration`, `status`, `user_expiration`, `group_name`, `profile`) VALUES (1, 'admin', 'admin', 'administrator', '', '', 'admin@aa.com', NULL, NULL, NULL, '312', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '$2a$10$QgIcp6yuOEGrEU0TNU12K.uQRLbcufesEU7hiRYlRSSdUO7OAkoTq', '324584ab0b03a5af1899c1801485de8a455a114d5f6ee08a48dbdf7e8f1a047eaaa1789e881f9eb268113f6c6814fa20f43183ffa6e014765f2aa8733c526048', 0000, NULL, 'Active', NULL, 'admin', '{\"color\":{\"critical\":\"#e8994a\",\"event\":\"#c5d2dc\",\"major\":\"#494040\",\"minor\":\"#5f70a8\",\"sound\":\"custom\",\"warning\":\"#b9e1dd\"},\"sound\":\"custom\",\"custom\":\"hrxz.com-exz2s3uxhc47391.mp3\"}');
INSERT IGNORE INTO `omc_db`.`sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (100, 0, '0', '运维部', 0, 'admin', '', '', '1', '0', 'admin', 1697091866188, '', NULL);
-- Add default User
INSERT INTO `omc_db`.`sys_user` (`user_id`, `dept_id`, `user_name`, `nick_name`, `user_type`, `email`, `phonenumber`, `sex`, `avatar`, `password`, `status`, `del_flag`, `login_ip`, `login_date`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, 103, 'AGrand', '管理员', 'sys', 'AGrand@agt.com', '', '0', '', '$2a$10$S9ptcNBemEEZ7WhwrsF66O5h.VNznhdbICeqPu0PnOl2tmp.TSqte', '1', '0', '127.0.0.1', 1697091656500, 'AGrand', 1697091656500, 'AGrand', 1697525176913, '管理员');
INSERT INTO `omc_db`.`sys_user` (`user_id`, `dept_id`, `user_name`, `nick_name`, `user_type`, `email`, `phonenumber`, `sex`, `avatar`, `password`, `status`, `del_flag`, `login_ip`, `login_date`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, 103, 'admin', '管理员', 'sys', 'admin@agt.com', '', '0', '', '$2a$10$QgIcp6yuOEGrEU0TNU12K.uQRLbcufesEU7hiRYlRSSdUO7OAkoTq', '1', '0', '127.0.0.1', 1697091656503, 'AGrand', 1697091656503, 'AGrand', 1697161493601, '普通人员');
INSERT INTO `omc_db`.`sys_user` (`user_id`, `dept_id`, `user_name`, `nick_name`, `user_type`, `email`, `phonenumber`, `sex`, `avatar`, `password`, `status`, `del_flag`, `login_ip`, `login_date`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (100, 100, 'qiantong', 'Qiantong', 'sys', '', '', '1', '', '$2a$10$5xddYDuEC913fmbd357zSeLy5odF4GEp6e1a2zZVyaALd6FYI8FN2', '1', '0', '', 0, 'AGrand', 1697511060882, 'admin', 1697511246226, '密码Qiantong@1234..');
INSERT INTO `omc_db`.`sys_user` (`user_id`, `dept_id`, `user_name`, `nick_name`, `user_type`, `email`, `phonenumber`, `sex`, `avatar`, `password`, `status`, `del_flag`, `login_ip`, `login_date`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, 103, 'admin', '管理员', 'sys', 'admin@omc.com', '', '0', '', '$2a$10$S9ptcNBemEEZ7WhwrsF66O5h.VNznhdbICeqPu0PnOl2tmp.TSqte', '1', '0', '127.0.0.1', 1697091656500, '-', 1697091656500, 'admin', 1697525176913, '管理员');
-- Add default role
INSERT INTO `omc_db`.`sys_role` (`role_id`, `role_name`, `role_key`, `role_sort`, `data_scope`, `menu_check_strictly`, `dept_check_strictly`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '管理员', 'admin', 1, '1', '1', '1', '1', '0', 'maskAdmin', 1693276469876, '', 0, '管理员');
@@ -12,12 +12,8 @@ INSERT INTO `omc_db`.`sys_role` (`role_id`, `role_name`, `role_key`, `role_sort`
-- Add default user-role
INSERT INTO `omc_db`.`sys_user_role` (`user_id`, `role_id`) VALUES (1, 1);
INSERT INTO `omc_db`.`sys_user_role` (`user_id`, `role_id`) VALUES (2, 1);
INSERT INTO `omc_db`.`sys_user_role` (`user_id`, `role_id`) VALUES (100, 2);
INSERT INTO `omc_db`.`sys_user_post` (`user_id`, `post_id`) VALUES (1, 1);
INSERT INTO `omc_db`.`sys_user_post` (`user_id`, `post_id`) VALUES (2, 2);
INSERT INTO `omc_db`.`sys_user_post` (`user_id`, `post_id`) VALUES (100, 4);
INSERT INTO `omc_db`.`sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1);
INSERT INTO `omc_db`.`sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 100);

View File

@@ -1,6 +1,6 @@
SET FOREIGN_KEY_CHECKS=0;
CREATE TABLE `omc_db`.`sys_dept` (
CREATE TABLE IF NOT EXISTS `omc_db`.`sys_dept` (
`dept_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '部门id',
`parent_id` bigint(20) NULL DEFAULT 0 COMMENT '父部门id 默认0',
`ancestors` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '祖级列表',
@@ -18,7 +18,7 @@ CREATE TABLE `omc_db`.`sys_dept` (
PRIMARY KEY (`dept_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '部门表' ROW_FORMAT = Dynamic;
CREATE TABLE `omc_db`.`sys_job` (
CREATE TABLE IF NOT EXISTS `omc_db`.`sys_job` (
`job_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '任务ID',
`job_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '任务名称',
`job_group` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'DEFAULT' COMMENT '任务组名',
@@ -36,7 +36,7 @@ CREATE TABLE `omc_db`.`sys_job` (
PRIMARY KEY (`job_id`, `job_name`, `job_group`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '调度任务调度表' ROW_FORMAT = Dynamic;
CREATE TABLE `omc_db`.`sys_job_log` (
CREATE TABLE IF NOT EXISTS `omc_db`.`sys_job_log` (
`job_log_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '任务日志ID',
`job_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务名称',
`job_group` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务组名',
@@ -49,7 +49,7 @@ CREATE TABLE `omc_db`.`sys_job_log` (
PRIMARY KEY (`job_log_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '调度任务调度日志表' ROW_FORMAT = Dynamic;
CREATE TABLE `omc_db`.`sys_log_login` (
CREATE TABLE IF NOT EXISTS `omc_db`.`sys_log_login` (
`login_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '登录ID',
`user_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '用户账号',
`ipaddr` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '登录IP地址',
@@ -62,7 +62,7 @@ CREATE TABLE `omc_db`.`sys_log_login` (
PRIMARY KEY (`login_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统登录日志表' ROW_FORMAT = Dynamic;
CREATE TABLE `omc_db`.`sys_log_operate` (
CREATE TABLE IF NOT EXISTS `omc_db`.`sys_log_operate` (
`oper_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '日志主键',
`title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '模块标题',
`business_type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '业务类型0其它 1新增 2修改 3删除 4授权 5导出 6导入 7强退 8清空数据',
@@ -82,7 +82,7 @@ CREATE TABLE `omc_db`.`sys_log_operate` (
PRIMARY KEY (`oper_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统操作日志表' ROW_FORMAT = Dynamic;
CREATE TABLE `omc_db`.`sys_post` (
CREATE TABLE IF NOT EXISTS `omc_db`.`sys_post` (
`post_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '岗位ID',
`post_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '岗位编码',
`post_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '岗位名称',
@@ -96,13 +96,13 @@ CREATE TABLE `omc_db`.`sys_post` (
PRIMARY KEY (`post_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '岗位信息表' ROW_FORMAT = Dynamic;
CREATE TABLE `omc_db`.`sys_role_dept` (
CREATE TABLE IF NOT EXISTS `omc_db`.`sys_role_dept` (
`role_id` bigint(20) NOT NULL COMMENT '角色ID',
`dept_id` bigint(20) NOT NULL COMMENT '部门ID',
PRIMARY KEY (`role_id`, `dept_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色和部门关联表' ROW_FORMAT = Dynamic;
CREATE TABLE `omc_db`.`sys_user` (
CREATE TABLE IF NOT EXISTS `omc_db`.`sys_user` (
`user_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '用户ID',
`dept_id` bigint(20) NULL DEFAULT NULL COMMENT '部门ID',
`user_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户账号',
@@ -125,7 +125,7 @@ CREATE TABLE `omc_db`.`sys_user` (
PRIMARY KEY (`user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户信息表' ROW_FORMAT = Dynamic;
CREATE TABLE `omc_db`.`sys_user_post` (
CREATE TABLE IF NOT EXISTS `omc_db`.`sys_user_post` (
`user_id` bigint(20) NOT NULL COMMENT '用户ID',
`post_id` bigint(20) NOT NULL COMMENT '岗位ID',
PRIMARY KEY (`user_id`, `post_id`) USING BTREE
@@ -134,411 +134,208 @@ CREATE TABLE `omc_db`.`sys_user_post` (
-- 数据插入
INSERT IGNORE INTO `omc_db`.`sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (5, '用户管理-密码锁定时间', 'sys.user.lockTime', '10', 'Y', 'admin', 1693911541269, '', 0, '密码锁定时间,单位分钟默认10分钟');
INSERT IGNORE INTO `omc_db`.`sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (6, '用户管理-授权有效时间', 'sys.user.expiresIn', '120', 'Y', 'admin', 1693911541269, '', 0, '令牌有效期默认120分钟');
INSERT IGNORE INTO `omc_db`.`sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (7, '用户管理-多端用户授权登录', 'sys.user.multi_login', 'true', 'Y', 'admin', 1693911541269, '', 0, '多端授权登录');
UPDATE `omc_db`.`sys_config` SET `config_name` = '用户管理-账号初始密码', `config_key` = 'sys.user.initPassword', `config_value` = 'Abcd@1234..', `config_type` = 'Y', `create_by` = 'admin', `create_time` = 1693908079656, `update_by` = '', `update_time` = 0, `remark` = '导入用户初始化密码 123456' WHERE `config_id` = 1;
UPDATE `omc_db`.`sys_config` SET `config_name` = '账号自助-验证码开关', `config_key` = 'sys.account.captchaEnabled', `config_value` = 'false', `config_type` = 'Y', `create_by` = 'admin', `create_time` = 1693908079667, `update_by` = '', `update_time` = 0, `remark` = '是否开启验证码功能true开启false关闭' WHERE `config_id` = 2;
UPDATE `omc_db`.`sys_config` SET `config_name` = '账号自助-是否开启用户注册功能', `config_key` = 'sys.account.registerUser', `config_value` = 'false', `config_type` = 'Y', `create_by` = 'admin', `create_time` = 1693908079669, `update_by` = '', `update_time` = 0, `remark` = '是否开启注册用户功能true开启false关闭' WHERE `config_id` = 3;
UPDATE `omc_db`.`sys_config` SET `config_name` = '用户管理-密码最大错误次数', `config_key` = 'sys.user.maxRetryCount', `config_value` = '5', `config_type` = 'Y', `create_by` = 'admin', `create_time` = 1693908079680, `update_by` = '', `update_time` = 0, `remark` = '密码最大错误次数' WHERE `config_id` = 4;
UPDATE `omc_db`.`sys_config` SET `config_name` = '测试', `config_key` = 'test', `config_value` = 'test', `config_type` = 'Y', `create_by` = 'admin', `create_time` = 1693911541269, `update_by` = 'admin', `update_time` = 1693911586418, `remark` = '测试' WHERE `config_id` = 100;
INSERT IGNORE INTO `omc_db`.`sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (100, 0, '0', '千通科技', 0, 'admin', '', '', '1', '0', 'admin', 1697091866188, '', NULL);
INSERT IGNORE INTO `omc_db`.`sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (101, 100, '0,100', '深圳总公司', 1, 'admin', '', '', '1', '0', 'admin', 1697091866192, '', NULL);
INSERT IGNORE INTO `omc_db`.`sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (102, 101, '0,100,101', '研发部门', 1, 'admin', '', '', '1', '0', 'admin', 1697091866194, 'admin', 1697113796216);
INSERT IGNORE INTO `omc_db`.`sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (103, 101, '0,100,101', '市场部门', 2, 'admin', '', '', '1', '0', 'admin', 1697091866197, '', NULL);
INSERT IGNORE INTO `omc_db`.`sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (104, 101, '0,100,101', '测试部门', 3, 'admin', '', '', '1', '0', 'admin', 1697091866200, '', NULL);
INSERT IGNORE INTO `omc_db`.`sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (105, 101, '0,100,101', '财务部门', 4, 'admin', '', '', '1', '0', 'admin', 1697091866203, '', NULL);
INSERT IGNORE INTO `omc_db`.`sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (106, 101, '0,100,101', '运维部门', 5, 'admin', '', '', '1', '0', 'admin', 1697091866205, '', NULL);
INSERT IGNORE INTO `omc_db`.`sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (100, 0, '0', '运维部', 0, 'admin', '', '', '1', '0', 'admin', 1697091866188, '', NULL);
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (29, 0, '接口跟踪', 'Interface', 'trace_type', NULL, 'blue ', '1', 'admin', 1697443290808, '', 0, '接口跟踪');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (30, 1, '设备跟踪', 'Device', 'trace_type', NULL, 'gold', '1', 'admin', 1697443307336, 'admin', 1697443541082, '设备跟踪');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (31, 2, '用户跟踪', 'UE', 'trace_type', NULL, 'green', '1', 'admin', 1697443562042, 'admin', 1697443566327, '用户跟踪');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (32, 0, '下载', 'DOWNLOAD', 'operation_log_type', NULL, 'pink', '1', 'admin', 1697444092166, 'admin', 1697444104048, '下载DOWNLOAD');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (33, 1, '激活', 'Activation', 'operation_log_type', NULL, 'blue ', '1', 'admin', 1697444134968, '', 0, 'Activation激活');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (34, 2, '新增', 'ADD', 'operation_log_type', NULL, 'cyan', '1', 'admin', 1697444151864, 'admin', 1697444156095, 'ADD');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (35, 3, '其他', 'AUTO', 'operation_log_type', NULL, 'gold', '1', 'admin', 1697444199990, '', 0, 'AUTO');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (36, 4, '回退', 'BACK', 'operation_log_type', NULL, 'blue ', '1', 'admin', 1697444219836, '', 0, 'BACK');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (37, 5, '删除', 'DELETE', 'operation_log_type', NULL, 'red', '1', 'admin', 1697444242927, '', 0, '删除DELETE');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (38, 6, '分配', 'Distribute', 'operation_log_type', NULL, 'yellow', '1', 'admin', 1697444267174, '', 0, 'Distribute');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (39, 7, '导出', 'EXPORT', 'operation_log_type', NULL, 'green', '1', 'admin', 1697444289982, '', 0, 'EXPORT');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (40, 8, '查询', 'SELECT', 'operation_log_type', NULL, 'gold', '1', 'admin', 1697444311262, '', 0, 'SELECT');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (41, 9, '设置', 'SET', 'operation_log_type', NULL, NULL, '1', 'admin', 1697444336102, '', 0, 'SET');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (42, 10, '更新', 'UPDATE', 'operation_log_type', NULL, 'magenta', '1', 'admin', 1697444358599, '', 0, 'UPDATE');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (43, 11, '上传', 'UPLOAD', 'operation_log_type', NULL, 'yellow', '1', 'admin', 1697444378660, '', 0, 'UPLOAD');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (44, 12, '查看', 'View', 'operation_log_type', NULL, 'purple', '1', 'admin', 1697444400940, 'admin', 1697444414022, 'View');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (45, 0, '历史告警', '0', 'alarm_status', NULL, 'orange', '1', 'admin', 1697444554302, '', 0, '历史告警');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (46, 1, '活动告警', '1', 'alarm_status', NULL, 'pink', '1', 'admin', 1697444569120, '', 0, '活动告警');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (47, 0, '登录', '0', 'security_log_type', NULL, NULL, '1', 'admin', 1697444719117, '', 0, 'Login');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (48, 1, '登出', '1', 'security_log_type', NULL, 'cyan', '1', 'admin', 1697444738749, 'admin', 1697444742784, 'Logout');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (49, 2, '新增', '2', 'security_log_type', NULL, 'green', '1', 'admin', 1697444763116, 'admin', 1697444766525, 'Add');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (50, 3, '更新', '3', 'security_log_type', NULL, 'lime', '1', 'admin', 1697444786405, 'admin', 1697444795272, 'Update');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (51, 4, '删除', '4', 'security_log_type', NULL, NULL, '1', 'admin', 1697444809133, '', 0, 'Delete');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (52, 5, '锁定', '5', 'security_log_type', NULL, NULL, '1', 'admin', 1697444827514, 'admin', 1697444838485, 'Lock');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (53, 6, '解锁', '6', 'security_log_type', NULL, 'gold', '1', 'admin', 1697444882860, '', 0, 'Unlock');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (54, 7, '重置', '7', 'security_log_type', NULL, 'cyan', '1', 'admin', 1697444906929, '', 0, 'Restart');
INSERT IGNORE INTO `omc_db`.`sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `tag_class`, `tag_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (55, 8, '停用', '8', 'security_log_type', NULL, 'blue ', '1', 'admin', 1697444945199, 'admin', 1697445915268, 'Stop');
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 1, `dict_label` = '未知', `dict_value` = '0', `dict_type` = 'sys_user_sex', `tag_class` = '', `tag_type` = '', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079577, `update_by` = '', `update_time` = 0, `remark` = '性别未知' WHERE `dict_code` = 1;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 2, `dict_label` = '', `dict_value` = '1', `dict_type` = 'sys_user_sex', `tag_class` = '', `tag_type` = '', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079583, `update_by` = '', `update_time` = 0, `remark` = '性别男' WHERE `dict_code` = 2;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 3, `dict_label` = '', `dict_value` = '2', `dict_type` = 'sys_user_sex', `tag_class` = '', `tag_type` = '', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079585, `update_by` = '', `update_time` = 0, `remark` = '性别女' WHERE `dict_code` = 3;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 1, `dict_label` = '显示', `dict_value` = '1', `dict_type` = 'sys_show_hide', `tag_class` = '', `tag_type` = 'success', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079587, `update_by` = '', `update_time` = 0, `remark` = '显示菜单' WHERE `dict_code` = 4;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 2, `dict_label` = '隐藏', `dict_value` = '0', `dict_type` = 'sys_show_hide', `tag_class` = '', `tag_type` = 'error', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079589, `update_by` = '', `update_time` = 0, `remark` = '隐藏菜单' WHERE `dict_code` = 5;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 1, `dict_label` = '正常', `dict_value` = '1', `dict_type` = 'sys_normal_disable', `tag_class` = '', `tag_type` = 'success', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079591, `update_by` = '', `update_time` = 0, `remark` = '正常状态' WHERE `dict_code` = 6;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 2, `dict_label` = '停用', `dict_value` = '0', `dict_type` = 'sys_normal_disable', `tag_class` = '', `tag_type` = 'error', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079593, `update_by` = '', `update_time` = 0, `remark` = '停用状态' WHERE `dict_code` = 7;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 1, `dict_label` = '正常', `dict_value` = '1', `dict_type` = 'sys_job_status', `tag_class` = '', `tag_type` = 'success', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079595, `update_by` = '', `update_time` = 0, `remark` = '正常状态' WHERE `dict_code` = 8;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 2, `dict_label` = '暂停', `dict_value` = '0', `dict_type` = 'sys_job_status', `tag_class` = '', `tag_type` = 'error', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079597, `update_by` = '', `update_time` = 0, `remark` = '停用状态' WHERE `dict_code` = 9;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 1, `dict_label` = '默认', `dict_value` = 'DEFAULT', `dict_type` = 'sys_job_group', `tag_class` = '', `tag_type` = '', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079599, `update_by` = '', `update_time` = 0, `remark` = '默认分组' WHERE `dict_code` = 10;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 2, `dict_label` = '系统', `dict_value` = 'SYSTEM', `dict_type` = 'sys_job_group', `tag_class` = '', `tag_type` = '', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079601, `update_by` = '', `update_time` = 0, `remark` = '系统分组' WHERE `dict_code` = 11;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 1, `dict_label` = '', `dict_value` = 'Y', `dict_type` = 'sys_yes_no', `tag_class` = '', `tag_type` = 'processing', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079602, `update_by` = '', `update_time` = 0, `remark` = '系统默认是' WHERE `dict_code` = 12;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 2, `dict_label` = '', `dict_value` = 'N', `dict_type` = 'sys_yes_no', `tag_class` = '', `tag_type` = 'error', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079604, `update_by` = '', `update_time` = 0, `remark` = '系统默认否' WHERE `dict_code` = 13;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 1, `dict_label` = '通知', `dict_value` = '1', `dict_type` = 'sys_notice_type', `tag_class` = '', `tag_type` = 'warning', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079606, `update_by` = '', `update_time` = 0, `remark` = '通知' WHERE `dict_code` = 14;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 2, `dict_label` = '公告', `dict_value` = '2', `dict_type` = 'sys_notice_type', `tag_class` = '', `tag_type` = 'processing', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079608, `update_by` = '', `update_time` = 0, `remark` = '公告' WHERE `dict_code` = 15;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 1, `dict_label` = '正常', `dict_value` = '1', `dict_type` = 'sys_notice_status', `tag_class` = '', `tag_type` = 'success', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079610, `update_by` = '', `update_time` = 0, `remark` = '正常状态' WHERE `dict_code` = 16;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 2, `dict_label` = '关闭', `dict_value` = '0', `dict_type` = 'sys_notice_status', `tag_class` = '', `tag_type` = 'error', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079612, `update_by` = '', `update_time` = 0, `remark` = '关闭状态' WHERE `dict_code` = 17;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 99, `dict_label` = '其他', `dict_value` = '0', `dict_type` = 'sys_oper_type', `tag_class` = '', `tag_type` = 'processing', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079613, `update_by` = '', `update_time` = 0, `remark` = '其他操作' WHERE `dict_code` = 18;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 1, `dict_label` = '新增', `dict_value` = '1', `dict_type` = 'sys_oper_type', `tag_class` = '', `tag_type` = 'processing', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079615, `update_by` = '', `update_time` = 0, `remark` = '新增操作' WHERE `dict_code` = 19;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 2, `dict_label` = '修改', `dict_value` = '2', `dict_type` = 'sys_oper_type', `tag_class` = '', `tag_type` = 'processing', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079618, `update_by` = '', `update_time` = 0, `remark` = '修改操作' WHERE `dict_code` = 20;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 3, `dict_label` = '删除', `dict_value` = '3', `dict_type` = 'sys_oper_type', `tag_class` = '', `tag_type` = 'error', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079619, `update_by` = '', `update_time` = 0, `remark` = '删除操作' WHERE `dict_code` = 21;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 4, `dict_label` = '授权', `dict_value` = '4', `dict_type` = 'sys_oper_type', `tag_class` = '', `tag_type` = 'success', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079621, `update_by` = '', `update_time` = 0, `remark` = '授权操作' WHERE `dict_code` = 22;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 5, `dict_label` = '导出', `dict_value` = '5', `dict_type` = 'sys_oper_type', `tag_class` = '', `tag_type` = 'warning', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079623, `update_by` = '', `update_time` = 0, `remark` = '导出操作' WHERE `dict_code` = 23;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 6, `dict_label` = '导入', `dict_value` = '6', `dict_type` = 'sys_oper_type', `tag_class` = '', `tag_type` = 'warning', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079625, `update_by` = '', `update_time` = 0, `remark` = '导入操作' WHERE `dict_code` = 24;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 7, `dict_label` = '强退', `dict_value` = '7', `dict_type` = 'sys_oper_type', `tag_class` = '', `tag_type` = 'error', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079627, `update_by` = '', `update_time` = 0, `remark` = '强退操作' WHERE `dict_code` = 25;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 8, `dict_label` = '清空', `dict_value` = '8', `dict_type` = 'sys_oper_type', `tag_class` = '', `tag_type` = 'error', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079630, `update_by` = '', `update_time` = 0, `remark` = '清空操作' WHERE `dict_code` = 26;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 1, `dict_label` = '成功', `dict_value` = '1', `dict_type` = 'sys_common_status', `tag_class` = '', `tag_type` = 'success', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079632, `update_by` = '', `update_time` = 0, `remark` = '正常状态' WHERE `dict_code` = 27;
UPDATE `omc_db`.`sys_dict_data` SET `dict_sort` = 2, `dict_label` = '失败', `dict_value` = '0', `dict_type` = 'sys_common_status', `tag_class` = '', `tag_type` = 'error', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079633, `update_by` = '', `update_time` = 0, `remark` = '停用状态' WHERE `dict_code` = 28;
INSERT IGNORE INTO `omc_db`.`sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (101, '操作日志类型', 'operation_log_type', '1', 'admin', 1697443982999, '', 0, '操作日志类型');
INSERT IGNORE INTO `omc_db`.`sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (102, '告警日志类型', 'alarm_status', '1', 'admin', 1697444486172, '', 0, 'alarm_status');
INSERT IGNORE INTO `omc_db`.`sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (103, '安全日志类型', 'security_log_type', '1', 'admin', 1697444692163, '', 0, '安全日志类型');
UPDATE `omc_db`.`sys_dict_type` SET `dict_name` = '用户性别', `dict_type` = 'sys_user_sex', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079540, `update_by` = '', `update_time` = 0, `remark` = '用户性别列表' WHERE `dict_id` = 1;
UPDATE `omc_db`.`sys_dict_type` SET `dict_name` = '菜单状态', `dict_type` = 'sys_show_hide', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079543, `update_by` = '', `update_time` = 0, `remark` = '菜单状态列表' WHERE `dict_id` = 2;
UPDATE `omc_db`.`sys_dict_type` SET `dict_name` = '系统开关', `dict_type` = 'sys_normal_disable', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079544, `update_by` = '', `update_time` = 0, `remark` = '系统开关列表' WHERE `dict_id` = 3;
UPDATE `omc_db`.`sys_dict_type` SET `dict_name` = '任务状态', `dict_type` = 'sys_job_status', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079546, `update_by` = '', `update_time` = 0, `remark` = '任务状态列表' WHERE `dict_id` = 4;
UPDATE `omc_db`.`sys_dict_type` SET `dict_name` = '任务分组', `dict_type` = 'sys_job_group', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079548, `update_by` = '', `update_time` = 0, `remark` = '任务分组列表' WHERE `dict_id` = 5;
UPDATE `omc_db`.`sys_dict_type` SET `dict_name` = '系统是否', `dict_type` = 'sys_yes_no', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079550, `update_by` = '', `update_time` = 0, `remark` = '系统是否列表' WHERE `dict_id` = 6;
UPDATE `omc_db`.`sys_dict_type` SET `dict_name` = '通知类型', `dict_type` = 'sys_notice_type', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079552, `update_by` = '', `update_time` = 0, `remark` = '通知类型列表' WHERE `dict_id` = 7;
UPDATE `omc_db`.`sys_dict_type` SET `dict_name` = '通知状态', `dict_type` = 'sys_notice_status', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079554, `update_by` = '', `update_time` = 0, `remark` = '通知状态列表' WHERE `dict_id` = 8;
UPDATE `omc_db`.`sys_dict_type` SET `dict_name` = '操作类型', `dict_type` = 'sys_oper_type', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079556, `update_by` = '', `update_time` = 0, `remark` = '操作类型列表' WHERE `dict_id` = 9;
UPDATE `omc_db`.`sys_dict_type` SET `dict_name` = '系统状态', `dict_type` = 'sys_common_status', `status` = '1', `create_by` = 'admin', `create_time` = 1693908079557, `update_by` = '', `update_time` = 0, `remark` = '登录状态列表' WHERE `dict_id` = 10;
UPDATE `omc_db`.`sys_dict_type` SET `dict_name` = '跟踪类型', `dict_type` = 'trace_type', `status` = '1', `create_by` = 'admin', `create_time` = 1693967758884, `update_by` = 'admin', `update_time` = 1697442483216, `remark` = '跟踪类型' WHERE `dict_id` = 100;
INSERT IGNORE INTO `omc_db`.`sys_job` (`job_id`, `job_name`, `job_group`, `invoke_target`, `target_params`, `cron_expression`, `misfire_policy`, `concurrent`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '触发执行', 'SYSTEM', 'simple', '{\"t\":10}', '0/10 * * * * ?', '3', '0', '0', 'admin', 1697091151523, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_job` (`job_id`, `job_name`, `job_group`, `invoke_target`, `target_params`, `cron_expression`, `misfire_policy`, `concurrent`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, '缓慢执行', 'SYSTEM', 'foo', '{\"t\":15}', '0/15 * * * * ?', '3', '0', '0', 'admin', 1697091151526, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_job` (`job_id`, `job_name`, `job_group`, `invoke_target`, `target_params`, `cron_expression`, `misfire_policy`, `concurrent`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, '异常执行', 'SYSTEM', 'bar', '{\"t\":20}', '0/20 * * * * ?', '3', '0', '0', 'admin', 1697091151529, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '系统管理', 0, 1, 'system', '', '1', '1', 'D', '1', '1', '', 'icon-wenjian', 'admin', 1694599799316, '', 0, '系统管理目录');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, '系统监控', 0, 2, 'monitor', '', '1', '1', 'D', '1', '1', '', 'icon-wenjian', 'admin', 1694599799345, '', 0, '系统监控目录');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, '系统工具', 0, 3, 'tool', '', '1', '1', 'D', '0', '0', '', 'icon-wenjian', 'admin', 1694599799372, 'admin', 1697428470614, '系统工具目录');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (4, '配置管理', 0, 4, 'configManage', '', '1', '0', 'D', '1', '1', '', 'icon-wenjian', 'admin', 1694599799396, 'admin', 1694600252468, '配置管理');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (100, '用户管理', 1, 1, 'user', 'system/user/index', '1', '1', 'M', '1', '1', 'system:user:list', '#', 'admin', 1697419844499, '', 0, '用户管理菜单');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (101, '角色管理', 1, 2, 'role', 'system/role/index', '1', '1', 'M', '1', '1', 'system:role:list', '#', 'admin', 1697419844502, '', 0, '角色管理菜单');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (102, '分配角色', 1, 3, 'role/inline/auth-user/:roleId', 'system/role/auth-user', '1', '1', 'M', '0', '1', 'system:role:auth', '#', 'admin', 1697419844503, '', 0, '分配角色内嵌隐藏菜单');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (103, '菜单管理', 1, 4, 'menu', 'system/menu/index', '1', '1', 'M', '1', '1', 'system:menu:list', '#', 'admin', 1697419844505, '', 0, '菜单管理菜单');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (104, '部门管理', 1, 5, 'dept', 'system/dept/index', '1', '1', 'M', '1', '1', 'system:dept:list', '#', 'admin', 1697419844506, '', 0, '部门管理菜单');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (105, '岗位管理', 1, 6, 'post', 'system/post/index', '1', '1', 'M', '1', '1', 'system:post:list', '#', 'admin', 1697419844507, '', 0, '岗位管理菜单');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (106, '字典管理', 1, 7, 'dict', 'system/dict/index', '1', '1', 'M', '1', '1', 'system:dict:list', '#', 'admin', 1697419844508, '', 0, '字典管理菜单');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (107, '字典数据', 1, 8, 'dict/inline/data/:dictId', 'system/dict/data', '1', '1', 'M', '0', '1', 'system:dict:data', '#', 'admin', 1697419844510, '', 0, '字典数据内嵌隐藏菜单');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (108, '参数设置', 1, 9, 'config', 'system/config/index', '1', '1', 'M', '1', '1', 'system:config:list', '#', 'admin', 1697419844516, '', 0, '参数设置菜单');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (109, '通知公告', 1, 10, 'notice', 'system/notice/index', '1', '1', 'M', '0', '0', 'system:notice:list', '#', 'admin', 1697419844517, '', 0, '通知公告菜单');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (111, '系统日志', 1, 11, 'log', '', '1', '1', 'D', '1', '1', '', '#', 'admin', 1697419844518, '', 0, '日志管理菜单');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (112, '系统信息', 2, 1, 'system-info', 'monitor/system/info', '1', '1', 'M', '1', '1', 'monitor:system:info', '#', 'admin', 1697419844520, '', 0, '系统信息菜单');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (113, '缓存信息', 2, 2, 'cache-info', 'monitor/cache/info', '1', '1', 'M', '1', '1', 'monitor:cache:info', '#', 'admin', 1697419844521, '', 0, '缓存信息菜单');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (114, '缓存管理', 2, 3, 'cache', 'monitor/cache/index', '1', '1', 'M', '1', '1', 'monitor:cache:list', '#', 'admin', 1697419844522, '', 0, '缓存列表菜单');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (115, '在线用户', 2, 4, 'online', 'monitor/online/index', '1', '1', 'M', '1', '1', 'monitor:online:list', '#', 'admin', 1697419844524, '', 0, '在线用户菜单');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (116, '调度任务', 2, 5, 'job', 'monitor/job/index', '1', '1', 'M', '1', '1', 'monitor:job:list', '#', 'admin', 1697419844525, '', 0, '调度任务菜单');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (117, '调度日志', 2, 6, 'job/inline/log/:jobId', 'monitor/job/log', '1', '1', 'M', '0', '1', 'monitor:job:log', '#', 'admin', 1697419844527, '', 0, '调度日志内嵌隐藏菜单');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (118, '帮助文档', 3, 1, 'help', 'tool/help/index', '1', '1', 'M', '0', '0', 'monitor:help:list', '#', 'admin', 1697419844528, '', 0, '系统接口菜单');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (500, '操作日志', 111, 1, 'operate', 'system/log/operate/index', '1', '1', 'M', '1', '1', 'system:log:operate:list', '#', 'admin', 1697419793720, '', 0, '操作日志菜单');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (501, '登录日志', 111, 2, 'login', 'system/log/login/index', '1', '1', 'M', '1', '1', 'system:log:login:list', '#', 'admin', 1697419793722, '', 0, '登录日志菜单');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1000, '用户查询', 100, 1, '', '', '1', '1', 'B', '1', '1', 'system:user:query', '#', 'admin', 1694599800500, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1001, '用户新增', 100, 2, '', '', '1', '1', 'B', '1', '1', 'system:user:add', '#', 'admin', 1694599800538, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1002, '用户修改', 100, 3, '', '', '1', '1', 'B', '1', '1', 'system:user:edit', '#', 'admin', 1694599800587, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1003, '用户删除', 100, 4, '', '', '1', '1', 'B', '1', '1', 'system:user:remove', '#', 'admin', 1694599800616, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1004, '用户导出', 100, 5, '', '', '1', '1', 'B', '1', '1', 'system:user:export', '#', 'admin', 1694599800642, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1005, '用户导入', 100, 6, '', '', '1', '1', 'B', '1', '1', 'system:user:import', '#', 'admin', 1694599800677, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1006, '重置密码', 100, 7, '', '', '1', '1', 'B', '1', '1', 'system:user:resetPwd', '#', 'admin', 1694599800766, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1007, '角色查询', 101, 1, '', '', '1', '1', 'B', '1', '1', 'system:role:query', '#', 'admin', 1694599800806, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1008, '角色新增', 101, 2, '', '', '1', '1', 'B', '1', '1', 'system:role:add', '#', 'admin', 1694599800845, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1009, '角色修改', 101, 3, '', '', '1', '1', 'B', '1', '1', 'system:role:edit', '#', 'admin', 1694599800880, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1010, '角色删除', 101, 4, '', '', '1', '1', 'B', '1', '1', 'system:role:remove', '#', 'admin', 1694599800976, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1011, '角色导出', 101, 5, '', '', '1', '1', 'B', '1', '1', 'system:role:export', '#', 'admin', 1694599801089, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1012, '菜单查询', 103, 1, '', '', '1', '1', 'B', '1', '1', 'system:menu:query', '#', 'admin', 1694599801135, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1013, '菜单新增', 103, 2, '', '', '1', '1', 'B', '1', '1', 'system:menu:add', '#', 'admin', 1694599801165, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1014, '菜单修改', 103, 3, '', '', '1', '1', 'B', '1', '1', 'system:menu:edit', '#', 'admin', 1694599801192, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1015, '菜单删除', 103, 4, '', '', '1', '1', 'B', '1', '1', 'system:menu:remove', '#', 'admin', 1694599801246, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1016, '部门查询', 104, 1, '', '', '1', '1', 'B', '1', '1', 'system:dept:query', '#', 'admin', 1694599801305, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1017, '部门新增', 104, 2, '', '', '1', '1', 'B', '1', '1', 'system:dept:add', '#', 'admin', 1694599801342, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1018, '部门修改', 104, 3, '', '', '1', '1', 'B', '1', '1', 'system:dept:edit', '#', 'admin', 1694599801432, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1019, '部门删除', 104, 4, '', '', '1', '1', 'B', '1', '1', 'system:dept:remove', '#', 'admin', 1694599801463, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1020, '岗位查询', 105, 1, '', '', '1', '1', 'B', '1', '1', 'system:post:query', '#', 'admin', 1694599801496, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1021, '岗位新增', 105, 2, '', '', '1', '1', 'B', '1', '1', 'system:post:add', '#', 'admin', 1694599801532, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1022, '岗位修改', 105, 3, '', '', '1', '1', 'B', '1', '1', 'system:post:edit', '#', 'admin', 1694599801581, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1023, '岗位删除', 105, 4, '', '', '1', '1', 'B', '1', '1', 'system:post:remove', '#', 'admin', 1694599801619, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1024, '岗位导出', 105, 5, '', '', '1', '1', 'B', '1', '1', 'system:post:export', '#', 'admin', 1694599801648, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1025, '字典查询', 106, 1, '#', '', '1', '1', 'B', '1', '1', 'system:dict:query', '#', 'admin', 1694599801673, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1026, '字典新增', 106, 2, '#', '', '1', '1', 'B', '1', '1', 'system:dict:add', '#', 'admin', 1694599801711, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1027, '字典修改', 106, 3, '#', '', '1', '1', 'B', '1', '1', 'system:dict:edit', '#', 'admin', 1694599801741, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1028, '字典删除', 106, 4, '#', '', '1', '1', 'B', '1', '1', 'system:dict:remove', '#', 'admin', 1694599801772, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1029, '字典导出', 106, 5, '#', '', '1', '1', 'B', '1', '1', 'system:dict:export', '#', 'admin', 1694599801801, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1030, '参数查询', 108, 1, '#', '', '1', '1', 'B', '1', '1', 'system:config:query', '#', 'admin', 1694599801828, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1031, '参数新增', 108, 2, '#', '', '1', '1', 'B', '1', '1', 'system:config:add', '#', 'admin', 1694599801855, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1032, '参数修改', 108, 3, '#', '', '1', '1', 'B', '1', '1', 'system:config:edit', '#', 'admin', 1694599801888, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1033, '参数删除', 108, 4, '#', '', '1', '1', 'B', '1', '1', 'system:config:remove', '#', 'admin', 1694599801920, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1034, '参数导出', 108, 5, '#', '', '1', '1', 'B', '1', '1', 'system:config:export', '#', 'admin', 1694599801963, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1035, '公告查询', 109, 1, '#', '', '1', '1', 'B', '1', '1', 'system:notice:query', '#', 'admin', 1694599801991, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1036, '公告新增', 109, 2, '#', '', '1', '1', 'B', '1', '1', 'system:notice:add', '#', 'admin', 1694599802024, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1037, '公告修改', 109, 3, '#', '', '1', '1', 'B', '1', '1', 'system:notice:edit', '#', 'admin', 1694599802055, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1038, '公告删除', 109, 4, '#', '', '1', '1', 'B', '1', '1', 'system:notice:remove', '#', 'admin', 1694599802079, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1039, '操作查询', 500, 1, '#', '', '1', '1', 'B', '1', '1', 'system:log:operate:query', '#', 'admin', 1697419763809, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1040, '操作删除', 500, 2, '#', '', '1', '1', 'B', '1', '1', 'system:log:operate:remove', '#', 'admin', 1697419763812, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1041, '日志导出', 500, 3, '#', '', '1', '1', 'B', '1', '1', 'system:log:operate:export', '#', 'admin', 1697419763813, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1042, '登录查询', 501, 1, '#', '', '1', '1', 'B', '1', '1', 'system:log:login:query', '#', 'admin', 1697419763815, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1043, '登录删除', 501, 2, '#', '', '1', '1', 'B', '1', '1', 'system:log:login:remove', '#', 'admin', 1697419763816, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1044, '日志导出', 501, 3, '#', '', '1', '1', 'B', '1', '1', 'system:log:login:export', '#', 'admin', 1697419763817, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1045, '账户解锁', 501, 4, '#', '', '1', '1', 'B', '1', '1', 'system:log:login:unlock', '#', 'admin', 1697419763818, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1046, '缓存查询', 114, 1, '#', '', '1', '1', 'B', '1', '1', 'monitor:cache:query', '#', 'admin', 1694599802363, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1047, '缓存删除', 114, 2, '#', '', '1', '1', 'B', '1', '1', 'monitor:cache:remove', '#', 'admin', 1694599802393, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1048, '在线查询', 115, 1, '#', '', '1', '1', 'B', '1', '1', 'monitor:online:query', '#', 'admin', 1694599802422, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1049, '批量强退', 115, 2, '#', '', '1', '1', 'B', '1', '1', 'monitor:online:batchLogout', '#', 'admin', 1694599802453, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1050, '单条强退', 115, 3, '#', '', '1', '1', 'B', '1', '1', 'monitor:online:forceLogout', '#', 'admin', 1694599802483, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1051, '任务查询', 116, 1, '#', '', '1', '1', 'B', '1', '1', 'monitor:job:query', '#', 'admin', 1694599802551, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1052, '任务新增', 116, 2, '#', '', '1', '1', 'B', '1', '1', 'monitor:job:add', '#', 'admin', 1694599802581, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1053, '任务修改', 116, 3, '#', '', '1', '1', 'B', '1', '1', 'monitor:job:edit', '#', 'admin', 1694599802605, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1054, '任务删除', 116, 4, '#', '', '1', '1', 'B', '1', '1', 'monitor:job:remove', '#', 'admin', 1694599802641, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1055, '状态修改', 116, 5, '#', '', '1', '1', 'B', '1', '1', 'monitor:job:changeStatus', '#', 'admin', 1694599802675, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1056, '任务导出', 116, 6, '#', '', '1', '1', 'B', '1', '1', 'monitor:job:export', '#', 'admin', 1694599802706, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2077, '信令抓包', 10, 3, '', 'page/trace/pcap.html', '1', '0', 'M', '1', '1', 'page', '#', 'admin', 1694834069721, '', 0, 'tcpdump抓包pcap文件');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2078, '备份管理', 4, 3, 'backupManage', 'configManage/backupManage/index', '1', '0', 'M', '1', '1', 'configManage:backupManage:index', 'icon-soutubiao', 'admin', 1695017673281, '', 0, '备份管理');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2079, '软件管理', 4, 4, 'softwareManage', 'configManage/softwareManage/index', '1', '0', 'M', '1', '1', 'configManage:softwareManage:index', 'icon-huidingbu', 'admin', 1695024225185, '', 0, '软件管理');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2080, 'IMS在线用户', 5, 4, 'ims', 'neUser/ims/index', '1', '0', 'M', '1', '1', 'neUser:ims:index', 'icon-xiangmuchengyuan', 'admin', 1695090024184, '', 0, 'IMS在线用户');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2081, 'UE在线信息', 5, 6, 'ue', 'neUser/ue/index', '1', '0', 'M', '1', '1', 'neUser:ue:index', 'icon-xiangmuchengyuan', 'admin', 1695090083747, '', 0, 'UE在线信息');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2082, '5G基站信息', 5, 7, 'base5G', 'neUser/base5G/index', '1', '0', 'M', '1', '1', 'neUser:base5G:index', 'icon-paixu', 'admin', 1695090192856, 'admin', 1695349622025, '5G基站信息');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2083, '跟踪管理', 0, 6, 'traceManage', '', '1', '0', 'D', '1', '1', '', 'icon-wenjian', 'admin', 1695379608530, 'admin', 1695696620937, '跟踪管理');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2084, '跟踪任务', 2083, 1, 'task', 'traceManage/task/index', '1', '0', 'M', '1', '1', 'traceManage:task:index', 'icon-chexiao', 'admin', 1695379860503, 'admin', 1695696631196, '跟踪任务');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2085, '信令分析', 2083, 1, 'analysis', 'traceManage/analysis/index', '1', '0', 'M', '1', '1', 'traceManage:analysis:index', 'icon-gongnengjieshao', 'admin', 1695379915764, 'admin', 1695696640147, '信令分析');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2086, '信令抓包', 2083, 3, 'pcap', 'traceManage/pcap/index', '1', '0', 'M', '1', '1', 'traceManage:pcap:index', 'icon-soutubiao', 'admin', 1695380002462, 'admin', 1695696648928, '信令抓包');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2087, '故障管理', 0, 7, 'faultManage', '', '1', '0', 'D', '1', '1', '', 'icon-wenjian', 'admin', 1695638038379, '', 0, '故障管理');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2088, '活动告警', 2087, 1, 'active-alarm', 'faultManage/active-alarm/index', '1', '0', 'M', '1', '1', 'faultManage:active-alarm:index', 'icon-wenjian', 'admin', 1695639086834, 'admin', 1695639108038, '活动告警');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2089, '日志管理', 0, 8, 'logManage', '', '1', '0', 'D', '1', '1', '', 'icon-wenjian', 'admin', 1695697146107, '', 0, '日志管理');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2090, '操作日志', 2089, 1, 'operation', 'logManage/operation/index', '1', '0', 'M', '1', '1', 'logManage:operation:index', 'icon-fuzhidaima', 'admin', 1695697237355, '', 0, '操作日志');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2091, '操作MML日志', 2089, 2, 'mml', 'logManage/mml/index', '1', '0', 'M', '1', '1', 'logManage:mml:index', 'icon-wocanyu', 'admin', 1695697317483, '', 0, '操作MML日志');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2092, '告警日志', 2089, 3, 'alarm', 'logManage/alarm/index', '1', '0', 'M', '1', '1', 'logManage:alarm:index', 'icon-fuzhidaima', 'admin', 1695697384204, '', 0, '告警日志');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2093, '安全日志', 2089, 6, 'security', 'logManage/security/index', '1', '0', 'M', '1', '1', 'logManage/security/index', 'icon-gongnengjieshao', 'admin', 1695697433544, '', 0, '安全日志');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2094, '告警前转日志', 2089, 7, 'forwarding', 'logManage/forwarding/index', '1', '0', 'M', '1', '1', 'logManage:forwarding:index', 'icon-huizhiguize', 'admin', 1695697548801, '', 0, '告警前转日志');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2095, '日志设置', 2089, 15, 'logSet', 'logManage/logSet/index', '1', '0', 'M', '1', '1', 'logManage:logSet:index', 'icon-you', 'admin', 1695697636698, '', 0, '日志设置');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2096, '用户会话', 2, 10, 'session', 'monitor/session/index', '1', '0', 'M', '1', '1', 'monitor:session:index', 'icon-gerenzhanghu', 'admin', 1695698108049, '', 0, '在线用户-旧用户在线');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2097, '历史告警', 2087, 0, 'history-alarm', 'faultManage/history-alarm/index', '1', '0', 'M', '1', '1', 'faultManage/history-alarm/index', 'icon-huizhiguize', 'admin', 1696665696950, 'admin', 1696665716447, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2098, '故障通用设置', 2087, 0, 'fault-setting', 'faultManage/fault-setting/index', '1', '0', 'M', '1', '1', 'faultManage/fault-setting/index', 'icon-gonggaodayi', 'admin', 1696668601941, '', 0, '');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2099, '性能管理', 0, 9, 'perfManage', '', '1', '0', 'D', '1', '1', '', 'icon-soutubiao', 'admin', 1696923032637, 'admin', 1696923040267, '性能管理');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2100, '任务管理', 2099, 1, 'taskManage', 'perfManage/taskManage/index', '1', '0', 'M', '1', '1', 'perfManage:taskManage:index', 'icon-wofaqi', 'admin', 1696923215654, '', 0, '任务管理');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2101, '性能数据', 2099, 2, 'perfData', 'perfManage/perfData/index', '1', '0', 'M', '1', '1', 'perfManage:perfData:index', 'icon-soutubiao', 'admin', 1696923311093, '', 0, '性能数据');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2102, '性能报表', 2099, 3, 'perfReport', 'perfManage/perfReport/index', '1', '0', 'M', '1', '1', 'perfManage:perfReport:index', 'icon-gonggaodayi', 'admin', 1696923390542, '', 0, '性能报表');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2103, '性能门限', 2099, 4, 'perfThreshold', 'perfManage/perfThreshold/index', '1', '0', 'M', '1', '1', 'perfManage:perfThreshold:index', 'icon-zhuanrang', 'admin', 1696923461901, '', 0, '性能门限');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2104, '黄金指标', 2099, 5, 'goldTarget', 'perfManage/goldTarget/index', '1', '0', 'M', '1', '1', 'perfManage:goldTarget:index', 'icon-soutubiao', 'admin', 1696923551120, '', 0, '黄金指标');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2105, '自定义指标', 2099, 6, 'customTarget', 'perfManage/customTarget/index', '1', '0', 'M', '0', '0', 'perfManage:customTarget:index', 'icon-fanhui1', 'admin', 1696923639489, 'admin', 1697077437451, '自定义指标');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2106, '性能通用设置', 2099, 7, 'perfSet', 'perfManage/perfSet/index', '1', '0', 'M', '1', '1', 'perfManage:perfSet:index', 'icon-gonggao', 'admin', 1696923787076, '', 0, '性能通用设置');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2107, 'MML管理', 0, 10, 'mmlManage', '', '1', '0', 'D', '1', '1', '', 'icon-wenjian', 'admin', 1696924634152, 'admin', 1697428173406, 'MML管理');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2108, '网元操作', 2107, 1, 'neOperate', 'mmlManage/neOperate/index', '1', '0', 'M', '1', '1', 'mmlManage:neOperate:index', 'icon-huizhiguize', 'admin', 1696924784723, '', 0, '网元操作');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2109, 'UDM操作', 2107, 2, 'udmOperate', 'mmlManage/udmOperate/index', '1', '0', 'M', '1', '1', 'mmlManage:udmOperate:index', 'icon-gonggaodayi', 'admin', 1696924889906, 'admin', 1697005003783, '用户数据指定网元UDM');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2110, 'MML设置', 2107, 4, 'mmlSet', 'mmlManage/mmlSet/index', '1', '0', 'M', '1', '1', 'mmlManage:mmlSet:index', 'icon-wofaqi', 'admin', 1696924994794, '', 0, 'MML设置');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2111, 'OMC操作', 2107, 3, 'omcOperate', 'mmlManage/omcOperate/index', '1', '0', 'M', '1', '1', 'mmlManage:omcOperate:index', 'icon-huizhiguize', 'admin', 1696925543196, '', 0, 'OMC操作');
INSERT IGNORE INTO `omc_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `menu_sort`, `path`, `component`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2112, '许可证管理', 4, 5, 'license', 'configManage/license/index', '1', '0', 'M', '1', '1', 'configManage/license/index', 'icon-shang', 'admin', 1696989886481, 'admin', 1697013380449, 'License管理');
UPDATE `omc_db`.`sys_menu` SET `menu_name` = '用户信息', `parent_id` = 0, `menu_sort` = 5, `path` = 'neUser', `component` = '', `is_frame` = '1', `is_cache` = '0', `menu_type` = 'D', `visible` = '1', `status` = '1', `perms` = '', `icon` = 'icon-wenjian', `create_by` = 'admin', `create_time` = 1693031847898, `update_by` = 'admin', `update_time` = 1695089607243, `remark` = '网元用户信息' WHERE `menu_id` = 5;
@@ -706,33 +503,19 @@ UPDATE `omc_db`.`sys_role` SET `role_name` = '管理员', `role_key` = 'admin',
UPDATE `omc_db`.`sys_role` SET `role_name` = '普通角色', `role_key` = 'common', `role_sort` = 2, `data_scope` = '2', `menu_check_strictly` = '1', `dept_check_strictly` = '1', `status` = '1', `del_flag` = '0', `create_by` = 'admin', `create_time` = 1697091437686, `update_by` = 'admin', `update_time` = 1697511172013, `remark` = '普通角色' WHERE `role_id` = 2;
INSERT IGNORE INTO `omc_db`.`sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1);
INSERT IGNORE INTO `omc_db`.`sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 100);
INSERT IGNORE INTO `omc_db`.`sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1000);
INSERT IGNORE INTO `omc_db`.`sys_user` (`user_id`, `dept_id`, `user_name`, `nick_name`, `user_type`, `email`, `phonenumber`, `sex`, `avatar`, `password`, `status`, `del_flag`, `login_ip`, `login_date`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, 103, 'admin', '管理员', 'sys', '', '', '0', '', '$2a$10$S9ptcNBemEEZ7WhwrsF66O5h.VNznhdbICeqPu0PnOl2tmp.TSqte', '1', '0', '127.0.0.1', 1697091656500, 'admin', 1697091656500, 'admin', 1697525176913, '管理员');
INSERT IGNORE INTO `omc_db`.`sys_user` (`user_id`, `dept_id`, `user_name`, `nick_name`, `user_type`, `email`, `phonenumber`, `sex`, `avatar`, `password`, `status`, `del_flag`, `login_ip`, `login_date`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, 103, 'admin', '管理员', 'sys', '', '', '0', '', '$2a$10$QgIcp6yuOEGrEU0TNU12K.uQRLbcufesEU7hiRYlRSSdUO7OAkoTq', '1', '0', '127.0.0.1', 1697091656503, 'admin', 1697091656503, 'admin', 1697161493601, '普通人员');
INSERT IGNORE INTO `omc_db`.`sys_user` (`user_id`, `dept_id`, `user_name`, `nick_name`, `user_type`, `email`, `phonenumber`, `sex`, `avatar`, `password`, `status`, `del_flag`, `login_ip`, `login_date`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (100, 100, 'user', 'Qiantong', 'sys', '', '', '1', '', '$2a$10$5xddYDuEC913fmbd357zSeLy5odF4GEp6e1a2zZVyaALd6FYI8FN2', '1', '0', '', 0, 'admin', 1697511060882, 'admin', 1697511246226, '密码Qiantong@1234..');
INSERT IGNORE INTO `omc_db`.`sys_user_post` (`user_id`, `post_id`) VALUES (1, 1);
INSERT IGNORE INTO `omc_db`.`sys_user_post` (`user_id`, `post_id`) VALUES (2, 2);
INSERT IGNORE INTO `omc_db`.`sys_user_post` (`user_id`, `post_id`) VALUES (100, 4);
DELETE FROM `omc_db`.`sys_user_role` WHERE `user_id` = 176 AND `role_id` = 2;
DELETE FROM `omc_db`.`sys_user_role` WHERE `user_id` = 177 AND `role_id` = 2;
DELETE FROM `omc_db`.`sys_user_role` WHERE `user_id` = 200 AND `role_id` = 2;
DELETE FROM `omc_db`.`sys_user_role` WHERE `user_id` = 201 AND `role_id` = 2;
INSERT IGNORE INTO `omc_db`.`sys_user_role` (`user_id`, `role_id`) VALUES (2, 1);
INSERT IGNORE INTO `omc_db`.`sys_user_role` (`user_id`, `role_id`) VALUES (100, 2);
SET FOREIGN_KEY_CHECKS = 1;

View File

@@ -5,6 +5,7 @@ PASSWORD="1000omc@kp!"
PORT="33066"
DBNAME="omc_db"
UpgradeSQLDir=/usr/local/omc/etc/db/upgrade
Upgvue3SQLDir=/usr/local/omc/etc/db/upgvue3
InstallSQLDir=/usr/local/omc/etc/db/install
drop_db_sql="drop database IF EXISTS ${DBNAME}"
@@ -19,6 +20,14 @@ case "$1" in
done
;;
upgvue3)
echo "Upgrade to vue3 database ${DBNAME}"
for SQL in ${Upgvue3SQLDir}/*.sql; do
echo "Execute SQL script: ${SQL} ..."
mysql -u${USER} -p${PASSWORD} -P ${PORT} --protocol tcp -D ${DBNAME} < ${SQL};
done
;;
install)
echo "Drop database ${DBNAME} ...!!!"
mysql -u${USER} -p${PASSWORD} -P $PORT --protocol tcp -e "${drop_db_sql}"
@@ -38,7 +47,8 @@ case "$1" in
case $input in
[uU][pP][gG][rR][aA][dD][eE]|[uU])
echo "Skip to drop database ${DBNAME}"
echo "Upgrade database ${DBNAME}"
for SQL in ${UpgradeSQLDir}/*.sql; do
echo "Execute SQL script: ${SQL} ..."
mysql -u${USER} -p${PASSWORD} -P ${PORT} --protocol tcp -D ${DBNAME} < ${SQL};
@@ -47,6 +57,18 @@ case "$1" in
break
;;
[uU][pP][gG][vV][uU][eE][3]|[vV]])
echo "Skip to drop database ${DBNAME}"
echo "Upgrade to vue3 database ${DBNAME}"
for SQL in ${Upgvue3SQLDir}/*.sql; do
echo "Execute SQL script: ${SQL} ..."
mysql -u${USER} -p${PASSWORD} -P ${PORT} --protocol tcp -D ${DBNAME} < ${SQL};
done
break
;;
[iI][nN][sS][tT][aA][lL][lL]|[iI])
echo "Drop database ${DBNAME} ...!!!"

View File

@@ -11,6 +11,7 @@ dbname="omc_db"
dumpdbdir=${EmsBEDir}/tools/misc
insdir=${EmsBEDir}/database/install
upgdir=${EmsBEDir}/database/upgrade
upgvue3dir=${EmsBEDir}/database/upgvue3
tables_s=tables_s.lst
tables_c=tables_c.lst
tables_ic=tables_ic.lst
@@ -34,13 +35,14 @@ while read line
done < ${dumpdbdir}/${tables_ic}
# dump table struct and data to upgrade and install dir
# dump table struct and data to upgrade, upgvue3 and install dir
while read line
do
table=`echo $line | cut -d " " -f 1`
echo "dump ${table} to install & upgrade directory"
mysqldump -h ${host} -P ${port} -u ${user} -p${password} ${dbname} ${table} > ${insdir}/${table}.sql
mysqldump -h ${host} -P ${port} -u ${user} -p${password} ${dbname} ${table} > ${upgdir}/${table}.sql
mysqldump -h ${host} -P ${port} -u ${user} -p${password} ${dbname} ${table} > ${upgvue3dir}/${table}.sql
done < ${dumpdbdir}/${tables_c}