fastbee/sql/yack.sql

3538 lines
297 KiB
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- fastbee.app_language definition
CREATE TABLE `app_language`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
`language` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '语言',
`country` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '国家',
`time_zone` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '时区',
`create_by` varchar(64) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`lang_name` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '语言名称',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='app语言';
-- fastbee.app_preferences definition
CREATE TABLE `app_preferences`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键id',
`user_id` bigint(20) DEFAULT NULL COMMENT '用户',
`language` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '语言',
`time_zone` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '时区',
`create_by` varchar(64) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `PRIAMRK_USER_LANG` (`user_id`,`language`) USING BTREE COMMENT '用户语言唯一'
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='APP用户偏好设置';
-- fastbee.bridge definition
CREATE TABLE `bridge`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id唯一标识',
`config_json` json DEFAULT NULL COMMENT '桥接配置信息',
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL COMMENT '连接器名称',
`enable` char(1) NOT NULL DEFAULT '1' COMMENT '是否生效(0-不生效,1-生效)',
`status` char(1) DEFAULT '0' COMMENT '状态(0-未连接,1-连接中)',
`type` tinyint(1) NOT NULL COMMENT '桥接类型(3=Http推送,4=Mqtt桥接,5=数据库存储)',
`direction` tinyint(1) NOT NULL COMMENT '桥接方向(1=输入,2=输出)',
`route` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '' COMMENT '转发路由(mqtt topic,http url)',
`del_flag` char(1) DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='数据桥接表';
-- fastbee.command_preferences definition
CREATE TABLE `command_preferences`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '指令id',
`name` varchar(64) COLLATE utf8_unicode_ci NOT NULL COMMENT '指令名称',
`command` json NOT NULL COMMENT '指令',
`serial_number` varchar(64) COLLATE utf8_unicode_ci NOT NULL COMMENT '设备编号',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='指令偏好设置';
-- fastbee.gen_table definition
CREATE TABLE `gen_table`
(
`table_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '编号',
`table_name` varchar(200) DEFAULT '' COMMENT '表名称',
`table_comment` varchar(500) DEFAULT '' COMMENT '表描述',
`sub_table_name` varchar(64) DEFAULT NULL COMMENT '关联子表的表名',
`sub_table_fk_name` varchar(64) DEFAULT NULL COMMENT '子表关联的外键名',
`class_name` varchar(100) DEFAULT '' COMMENT '实体类名称',
`tpl_category` varchar(200) DEFAULT 'crud' COMMENT '使用的模板(crud单表操作 tree树表操作)',
`package_name` varchar(100) DEFAULT NULL COMMENT '生成包路径',
`module_name` varchar(30) DEFAULT NULL COMMENT '生成模块名',
`business_name` varchar(30) DEFAULT NULL COMMENT '生成业务名',
`function_name` varchar(50) DEFAULT NULL COMMENT '生成功能名',
`function_author` varchar(50) DEFAULT NULL COMMENT '生成功能作者',
`gen_type` char(1) DEFAULT '0' COMMENT '生成代码方式(0zip压缩包 1自定义路径)',
`gen_path` varchar(200) DEFAULT '/' COMMENT '生成路径(不填默认项目路径)',
`options` varchar(1000) DEFAULT NULL COMMENT '其它生成选项',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`table_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='代码生成业务表';
-- fastbee.gen_table_column definition
CREATE TABLE `gen_table_column`
(
`column_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '编号',
`table_id` varchar(64) DEFAULT NULL COMMENT '归属表编号',
`column_name` varchar(200) DEFAULT NULL COMMENT '列名称',
`column_comment` varchar(500) DEFAULT NULL COMMENT '列描述',
`column_type` varchar(100) DEFAULT NULL COMMENT '列类型',
`java_type` varchar(500) DEFAULT NULL COMMENT 'JAVA类型',
`java_field` varchar(200) DEFAULT NULL COMMENT 'JAVA字段名',
`is_pk` char(1) DEFAULT NULL COMMENT '是否主键(1是)',
`is_increment` char(1) DEFAULT NULL COMMENT '是否自增(1是)',
`is_required` char(1) DEFAULT NULL COMMENT '是否必填(1是)',
`is_insert` char(1) DEFAULT NULL COMMENT '是否为插入字段(1是)',
`is_edit` char(1) DEFAULT NULL COMMENT '是否编辑字段(1是)',
`is_list` char(1) DEFAULT NULL COMMENT '是否列表字段(1是)',
`is_query` char(1) DEFAULT NULL COMMENT '是否查询字段(1是)',
`query_type` varchar(200) DEFAULT 'EQ' COMMENT '查询方式(等于、不等于、大于、小于、范围)',
`html_type` varchar(200) DEFAULT NULL COMMENT '显示类型(文本框、文本域、下拉框、复选框、单选框、日期控件)',
`dict_type` varchar(200) DEFAULT '' COMMENT '字典类型',
`sort` int(11) DEFAULT NULL COMMENT '排序',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`column_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='代码生成业务表字段';
-- fastbee.iot_alert definition
CREATE TABLE `iot_alert`
(
`alert_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '告警ID',
`alert_name` varchar(64) CHARACTER SET utf8 NOT NULL COMMENT '告警名称',
`alert_level` tinyint(11) NOT NULL COMMENT '告警级别(1=提醒通知,2=轻微问题,3=严重警告)',
`status` tinyint(1) NOT NULL COMMENT '告警状态(1-启动,2-停止)',
`notify` varchar(64) DEFAULT NULL COMMENT '通知方式[1,2,3]',
`create_by` varchar(64) CHARACTER SET utf8 DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) CHARACTER SET utf8 DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) CHARACTER SET utf8 DEFAULT NULL COMMENT '备注',
`tenant_id` bigint(20) DEFAULT NULL COMMENT '租户id',
`tenant_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '租户名称',
PRIMARY KEY (`alert_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='设备告警';
-- fastbee.iot_alert_log definition
CREATE TABLE `iot_alert_log`
(
`alert_log_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '告警日志ID',
`alert_name` varchar(64) CHARACTER SET utf8 NOT NULL COMMENT '告警名称',
`alert_level` tinyint(11) NOT NULL COMMENT '告警级别(1=提醒通知,2=轻微问题,3=严重警告)',
`status` tinyint(11) NOT NULL COMMENT '处理状态(1=不需要处理,2=未处理,3=已处理)',
`serial_number` varchar(64) CHARACTER SET utf8 NOT NULL COMMENT '设备编号',
`product_id` bigint(20) NOT NULL COMMENT '产品ID',
`detail` json DEFAULT NULL COMMENT '告警详情(对应物模型)',
`create_by` varchar(64) CHARACTER SET utf8 DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) CHARACTER SET utf8 DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) CHARACTER SET utf8 DEFAULT NULL COMMENT '备注',
`user_id` bigint(20) DEFAULT NULL COMMENT '用户id',
`device_name` varchar(255) DEFAULT NULL COMMENT '设备名称',
PRIMARY KEY (`alert_log_id`) USING BTREE,
KEY `iot_alert_log_index_serial_number` (`serial_number`) USING BTREE,
KEY `iot_alert_log_index_product_id` (`product_id`) USING BTREE,
KEY `iot_alert_log_index_create_time` (`create_time`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='设备告警日志';
-- fastbee.iot_alert_notify_template definition
CREATE TABLE `iot_alert_notify_template`
(
`alert_id` bigint(20) NOT NULL COMMENT '告警id',
`notify_template_id` bigint(20) NOT NULL COMMENT '通知模版id',
PRIMARY KEY (`alert_id`, `notify_template_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='告警通知模版关联表';
-- fastbee.iot_alert_scene definition
CREATE TABLE `iot_alert_scene`
(
`alert_id` bigint(20) NOT NULL COMMENT '告警ID',
`scene_id` bigint(20) NOT NULL COMMENT '场景ID',
PRIMARY KEY (`alert_id`, `scene_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='告警场景表';
-- fastbee.iot_category definition
CREATE TABLE `iot_category`
(
`category_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '产品分类ID',
`category_name` varchar(64) NOT NULL COMMENT '产品分类名称',
`tenant_id` bigint(20) NOT NULL COMMENT '租户ID',
`tenant_name` varchar(30) NOT NULL DEFAULT '' COMMENT '租户名称',
`is_sys` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否系统通用(0-否,1-是)',
`parent_id` bigint(20) DEFAULT NULL COMMENT '父级ID',
`order_num` int(4) DEFAULT NULL COMMENT '显示顺序',
`del_flag` char(1) DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`category_id`) USING BTREE,
KEY `iot_category_index_tenant_id` (`tenant_id`) USING BTREE,
KEY `iot_category_index_parent_id` (`parent_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='产品分类';
-- fastbee.iot_device definition
CREATE TABLE `iot_device`
(
`device_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '设备ID',
`device_name` varchar(64) NOT NULL COMMENT '设备名称',
`product_id` bigint(20) NOT NULL COMMENT '产品ID',
`product_name` varchar(64) NOT NULL COMMENT '产品名称',
`tenant_id` bigint(20) NOT NULL COMMENT '租户ID',
`tenant_name` varchar(30) NOT NULL DEFAULT '' COMMENT '租户名称',
`serial_number` varchar(64) NOT NULL COMMENT '设备编号',
`gw_dev_code` varchar(64) DEFAULT NULL COMMENT '子设备网关编号',
`firmware_version` float(11, 2
) NOT NULL COMMENT '固件版本',
`wireless_version` float DEFAULT NULL COMMENT '分包拉取固件版本',
`status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '设备状态(1-未激活,2-禁用,3-在线,4-离线)',
`rssi` tinyint(11) DEFAULT NULL COMMENT '信号强度(\r\n信号极好4格[-55— 0],\r\n信号好3格[-70— -55],\r\n信号一般2格[-85— -70],\r\n信号差1格[-100— -85])',
`is_shadow` tinyint(1) DEFAULT NULL COMMENT '是否启用设备影子(0=禁用,1=启用)',
`location_way` tinyint(1) DEFAULT NULL COMMENT '定位方式(1=ip自动定位,2=设备定位,3=自定义)',
`things_model_value` json DEFAULT NULL COMMENT '物模型值',
`network_address` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '设备所在地址',
`network_ip` varchar(32) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '设备入网IP',
`longitude` double(11,6) DEFAULT NULL COMMENT '设备经度',
`latitude` double(11,6) DEFAULT NULL COMMENT '设备纬度',
`active_time` datetime DEFAULT NULL COMMENT '激活时间',
`summary` json DEFAULT NULL COMMENT '设备摘要,格式[{"name":"device"},{"chip":"esp8266"}]',
`img_url` varchar(255) DEFAULT NULL COMMENT '图片地址',
`del_flag` char(1) DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
`is_simulate` tinyint(1) unsigned zerofill DEFAULT '0' COMMENT '是否是模拟设备',
`slave_id` int(10) DEFAULT NULL COMMENT '从机id',
PRIMARY KEY (`device_id`) USING BTREE,
UNIQUE KEY `iot_device_index_serial_number` (`serial_number`) USING BTREE,
KEY `iot_device_index_product_id` (`product_id`) USING BTREE,
KEY `iot_device_index_tanant_id` (`tenant_id`) USING BTREE,
KEY `iot_device_index_create_time` (`create_time`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='设备';
-- fastbee.iot_device_alert_user definition
CREATE TABLE `iot_device_alert_user`
(
`device_id` bigint(20) NOT NULL COMMENT '设备id',
`user_id` bigint(20) NOT NULL COMMENT '用户id',
PRIMARY KEY (`device_id`, `user_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='设备告警用户表';
-- fastbee.iot_device_group definition
CREATE TABLE `iot_device_group`
(
`device_id` bigint(20) NOT NULL COMMENT '设备ID',
`group_id` bigint(20) NOT NULL COMMENT '分组ID',
PRIMARY KEY (`device_id`, `group_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='设备分组';
-- fastbee.iot_device_job definition
CREATE TABLE `iot_device_job`
(
`job_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '任务ID',
`job_name` varchar(64) NOT NULL DEFAULT '' COMMENT '任务名称',
`job_group` varchar(64) NOT NULL DEFAULT 'DEFAULT' COMMENT '任务组名',
`cron_expression` varchar(255) DEFAULT '' COMMENT 'cron执行表达式',
`misfire_policy` varchar(20) DEFAULT '3' COMMENT '计划执行错误策略(1立即执行 2执行一次 3放弃执行)',
`concurrent` char(1) DEFAULT '1' COMMENT '是否并发执行(0允许 1禁止)',
`status` char(1) DEFAULT '0' COMMENT '状态(0正常 1暂停)',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT '' COMMENT '备注信息',
`device_id` bigint(20) DEFAULT NULL COMMENT '设备ID',
`serial_number` varchar(64) CHARACTER SET utf8 DEFAULT NULL COMMENT '设备编号',
`device_name` varchar(64) DEFAULT NULL COMMENT '设备名称',
`is_advance` tinyint(1) DEFAULT NULL COMMENT '是否详细corn表达式(1=是,0=否)',
`actions` json DEFAULT NULL COMMENT '执行的动作集合',
`job_type` tinyint(1) DEFAULT NULL COMMENT '任务类型(1=设备定时,2=设备告警,3=场景联动)',
`product_id` bigint(20) DEFAULT NULL COMMENT '产品ID',
`product_name` varchar(64) CHARACTER SET utf8 DEFAULT NULL COMMENT '产品名称',
`scene_id` bigint(20) DEFAULT NULL COMMENT '场景联动ID',
`alert_id` bigint(20) DEFAULT NULL COMMENT '告警ID',
`alert_trigger` json DEFAULT NULL COMMENT '定时告警触发器',
`datasource_id` bigint(20) DEFAULT NULL COMMENT '执行id,可共用,通过jobType区分',
PRIMARY KEY (`job_id`, `job_name`, `job_group`) USING BTREE,
KEY `iot_device_job_index_device_id` (`device_id`) USING BTREE,
KEY `iot_device_job_index_product_id` (`product_id`) USING BTREE,
KEY `iot_device_job_index_scene_id` (`scene_id`) USING BTREE,
KEY `iot_device_job_index_alert_id` (`alert_id`) USING BTREE,
KEY `iot_device_job_index_serial_number` (`serial_number`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='设备定时';
-- fastbee.iot_device_log definition
CREATE TABLE `iot_device_log`
(
`log_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '设备监测信息ID',
`identity` varchar(64) NOT NULL COMMENT '标识符',
`model_name` varchar(255) DEFAULT NULL COMMENT '物模型名称',
`log_type` tinyint(1) NOT NULL COMMENT '类型(1=属性上报,2=调用功能,3=事件上报,4=设备升级,5=设备上线,6=设备离线)',
`log_value` varchar(64) NOT NULL COMMENT '日志值',
`device_id` bigint(20) DEFAULT NULL COMMENT '设备ID',
`device_name` varchar(64) DEFAULT NULL COMMENT '设备名称',
`serial_number` varchar(64) DEFAULT NULL COMMENT '设备编号',
`is_monitor` tinyint(1) unsigned zerofill NOT NULL DEFAULT '0' COMMENT '是否监测数据(1=是,0=否)',
`mode` tinyint(1) unsigned zerofill NOT NULL DEFAULT '0' COMMENT '模式(1=影子模式,2=在线模式,3=其他)',
`user_id` bigint(20) DEFAULT NULL COMMENT '用户ID',
`user_name` varchar(30) DEFAULT '' COMMENT '用户昵称',
`tenant_id` bigint(20) DEFAULT NULL COMMENT '租户ID',
`tenant_name` varchar(30) DEFAULT '' COMMENT '租户名称',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`remark` varchar(200) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`log_id`) USING BTREE,
KEY `iot_device_log_index_serial_number` (`serial_number`) USING BTREE,
KEY `iot_device_log_index_tenant_id` (`tenant_id`) USING BTREE,
KEY `iot_device_log_index_user_id` (`user_id`) USING BTREE,
KEY `iot_device_log_index_device_id` (`device_id`) USING BTREE,
KEY `index_serialNumber_createTime` (`serial_number`,`create_time`) USING BTREE,
KEY `index_isMonitor_serialNumber_createTime` (`serial_number`,`is_monitor`,`create_time`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='设备日志';
-- fastbee.iot_device_record definition
CREATE TABLE `iot_device_record`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键id',
`operate_dept_id` bigint(20) DEFAULT NULL COMMENT '操作者机构id',
`target_dept_id` bigint(20) DEFAULT NULL COMMENT '目标机构id',
`product_id` bigint(20) DEFAULT NULL COMMENT '产品id',
`device_id` bigint(20) DEFAULT NULL COMMENT '设备id',
`serial_number` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '设备编号',
`parent_id` bigint(20) DEFAULT NULL COMMENT '父id',
`type` tinyint(2) NOT NULL COMMENT '设备记录类型(1-导入记录;2-回收记录;3-分配记录;4-分配详细记录)',
`distribute_type` tinyint(2) DEFAULT NULL COMMENT '分配类型(1-选择分配;2-导入分配)',
`total` int(20) DEFAULT NULL COMMENT '总数',
`success_quantity` int(20) DEFAULT NULL COMMENT '成功数量',
`fail_quantity` int(20) DEFAULT NULL COMMENT '失败数量',
`status` tinyint(2) DEFAULT NULL COMMENT '状态(0-失败;1-成功)',
`tenant_id` bigint(20) DEFAULT NULL COMMENT '租户id',
`tenant_name` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '租户名称',
`create_by` varchar(50) CHARACTER SET utf8 DEFAULT NULL COMMENT '创建人',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_by` varchar(50) CHARACTER SET utf8 DEFAULT NULL COMMENT '更新人',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`del_flag` tinyint(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除标识',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='设备记录';
-- fastbee.iot_device_share definition
CREATE TABLE `iot_device_share`
(
`device_id` bigint(20) NOT NULL COMMENT '设备id',
`user_id` bigint(20) NOT NULL COMMENT '用户id',
`phonenumber` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '手机',
`perms` varchar(255) CHARACTER SET utf8 DEFAULT NULL COMMENT '用户物模型权限,多个以英文逗号分隔',
`del_flag` char(1) CHARACTER SET utf8 DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) CHARACTER SET utf8 DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) CHARACTER SET utf8 DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) CHARACTER SET utf8 DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`device_id`, `user_id`) USING BTREE,
KEY `PRIMARK_DEVICE_USER` (`device_id`,`user_id`) USING BTREE COMMENT '设备与用户索引'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='设备分享表';
-- fastbee.iot_device_template definition
CREATE TABLE `iot_device_template`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '自增id',
`product_id` bigint(20) DEFAULT NULL COMMENT '产品id',
`template_id` bigint(20) DEFAULT NULL COMMENT '采集点模板id',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='设备采集点模板关联对象';
-- fastbee.iot_device_user definition
CREATE TABLE `iot_device_user`
(
`device_id` bigint(20) NOT NULL COMMENT '设备ID',
`user_id` bigint(20) NOT NULL COMMENT '用户ID',
`phonenumber` varchar(11) DEFAULT NULL COMMENT '手机号码',
`del_flag` char(1) DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`device_id`, `user_id`) USING BTREE,
KEY `iot_device_user_index_user_id` (`user_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='设备用户';
-- fastbee.iot_event_log definition
CREATE TABLE `iot_event_log`
(
`log_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '设备事件日志ID',
`identity` varchar(64) NOT NULL COMMENT '标识符',
`model_name` varchar(255) DEFAULT NULL COMMENT '物模型名称',
`log_type` tinyint(1) NOT NULL COMMENT '类型(3=事件上报,5=设备上线,6=设备离线)',
`log_value` varchar(64) NOT NULL COMMENT '日志值',
`device_id` bigint(20) DEFAULT NULL COMMENT '设备ID',
`device_name` varchar(64) DEFAULT NULL COMMENT '设备名称',
`serial_number` varchar(64) DEFAULT NULL COMMENT '设备编号',
`is_monitor` tinyint(1) unsigned zerofill NOT NULL DEFAULT '0' COMMENT '是否监测数据(1=是,0=否)',
`mode` tinyint(1) unsigned zerofill NOT NULL DEFAULT '0' COMMENT '模式(1=影子模式,2=在线模式,3=其他)',
`user_id` bigint(20) DEFAULT NULL COMMENT '用户ID',
`user_name` varchar(30) DEFAULT '' COMMENT '用户昵称',
`tenant_id` bigint(20) DEFAULT NULL COMMENT '租户ID',
`tenant_name` varchar(30) DEFAULT '' COMMENT '租户名称',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`remark` varchar(200) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`log_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='事件日志';
-- fastbee.iot_firmware definition
CREATE TABLE `iot_firmware`
(
`firmware_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '固件ID',
`firmware_name` varchar(64) NOT NULL COMMENT '固件名称',
`firmware_type` tinyint(2) DEFAULT NULL COMMENT '1,二进制包升级2.http升级',
`product_id` bigint(20) NOT NULL COMMENT '产品ID',
`product_name` varchar(64) NOT NULL COMMENT '产品名称',
`tenant_id` bigint(20) NOT NULL COMMENT '租户ID',
`tenant_name` varchar(30) NOT NULL DEFAULT '' COMMENT '租户名称',
`is_sys` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否系统通用(0-否,1-是)',
`is_latest` tinyint(1) NOT NULL COMMENT '是否最新版本(0-否,1-是)',
`version` float(11, 2
) NOT NULL DEFAULT '0.10' COMMENT '固件版本',
`byte_size` int(5) DEFAULT NULL COMMENT '分包字节大小',
`file_path` varchar(255) NOT NULL DEFAULT '' COMMENT '文件路径',
`del_flag` char(1) DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`firmware_id`) USING BTREE,
KEY `iot_firmware_index_product_id` (`product_id`) USING BTREE,
KEY `iot_firmware_index_tenant_id` (`tenant_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='产品固件';
-- fastbee.iot_firmware_task definition
CREATE TABLE `iot_firmware_task`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`task_name` varchar(60) NOT NULL DEFAULT '' COMMENT '任务名称',
`firmware_id` bigint(20) unsigned NOT NULL COMMENT '关联固件ID',
`upgrade_type` int(11) NOT NULL DEFAULT '1' COMMENT '1:指定设备 2:产品级别',
`task_desc` varchar(255) NOT NULL DEFAULT '',
`device_amount` int(11) NOT NULL DEFAULT '0' COMMENT '选中的设备总数',
`del_flag` int(11) NOT NULL DEFAULT '0',
`update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`book_time` timestamp NULL DEFAULT NULL COMMENT '预定时间升级',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='固件升级任务对象';
-- fastbee.iot_firmware_task_detail definition
CREATE TABLE `iot_firmware_task_detail`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`task_id` bigint(20) unsigned NOT NULL DEFAULT '0',
`serial_number` varchar(64) NOT NULL DEFAULT '' COMMENT '设备编码',
`upgrade_status` int(11) NOT NULL DEFAULT '0' COMMENT '0:等待升级 1:已发送设备 2:设备收到 3:升级成功 4:升级失败',
`detail_msg` varchar(100) NOT NULL DEFAULT '' COMMENT '描述',
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`message_id` varchar(100) DEFAULT '' COMMENT '消息ID',
`update_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='固件升级任务详细对象';
-- fastbee.iot_function_log definition
CREATE TABLE `iot_function_log`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '设备功能日志ID',
`identify` varchar(64) COLLATE utf8_unicode_ci NOT NULL COMMENT '标识符',
`fun_type` int(2) NOT NULL COMMENT '1==服务下发,2=属性获取,3.OTA升级',
`fun_value` varchar(64) COLLATE utf8_unicode_ci NOT NULL COMMENT '日志值',
`message_id` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '消息id',
`device_name` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '设备名称',
`serial_number` varchar(64) COLLATE utf8_unicode_ci NOT NULL COMMENT '设备编号',
`mode` int(2) DEFAULT NULL COMMENT '模式(1=影子模式,2=在线模式,3=其他)',
`user_id` bigint(20) DEFAULT NULL COMMENT '用户id',
`result_msg` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '下发结果描述',
`result_code` int(3) DEFAULT NULL COMMENT '下发结果代码',
`create_by` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`remark` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '备注',
`show_value` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '显示值',
`model_name` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '物模型名称',
`reply_time` datetime DEFAULT NULL COMMENT '设备回复时间',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `iot_function_log_id_uindex` (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='设备服务下发日志';
-- fastbee.iot_goview_project definition
CREATE TABLE `iot_goview_project`
(
`id` varchar(50) NOT NULL COMMENT '主键',
`project_name` varchar(255) NOT NULL COMMENT '项目名称',
`state` int(1) NOT NULL DEFAULT '0' COMMENT '项目状态[0未发布,1发布]',
`index_image` varchar(255) DEFAULT NULL COMMENT '首页图片',
`del_flag` int(11) NOT NULL DEFAULT '0' COMMENT '删除状态[1删除,-1未删除]',
`create_time` datetime NOT NULL COMMENT '创建时间',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人id',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remarks` varchar(255) DEFAULT NULL COMMENT '项目介绍',
`tenant_id` bigint(20) DEFAULT NULL COMMENT '租户id',
`tenant_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '租户名称',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='项目表';
-- fastbee.iot_goview_project_data definition
CREATE TABLE `iot_goview_project_data`
(
`id` varchar(50) NOT NULL COMMENT '主键',
`project_id` varchar(50) NOT NULL COMMENT '项目id',
`content` longblob COMMENT '存储数据',
`create_time` datetime NOT NULL COMMENT '创建时间',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人id',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='项目数据关联表';
-- fastbee.iot_group definition
CREATE TABLE `iot_group`
(
`group_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '分组ID',
`group_name` varchar(64) NOT NULL COMMENT '分组名称',
`group_order` tinyint(11) NOT NULL DEFAULT '0' COMMENT '分组排序',
`user_id` bigint(20) NOT NULL COMMENT '用户ID',
`user_name` varchar(30) NOT NULL DEFAULT '' COMMENT '用户昵称',
`del_flag` char(1) DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`group_id`) USING BTREE,
KEY `iot_group_index_user_id` (`user_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='设备分组';
-- fastbee.iot_modbus_config definition
CREATE TABLE `iot_modbus_config`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '业务id',
`product_id` bigint(20) NOT NULL COMMENT '所属产品id',
`identifier` varchar(64) NOT NULL COMMENT '关联属性',
`slave` int(10) DEFAULT NULL COMMENT '从机地址',
`address` int(10) NOT NULL COMMENT '寄存器地址',
`is_readonly` tinyint(1) NOT NULL COMMENT '是否只读(0-否,1-是)',
`data_type` varchar(20) DEFAULT NULL COMMENT 'modbus数据类型',
`quantity` int(2) DEFAULT NULL COMMENT '读取个数',
`type` tinyint(1) NOT NULL COMMENT '寄存器类型 1-IO寄存器 2-数据寄存器',
`bit_order` int(2) DEFAULT NULL COMMENT 'bit位排序',
`sort` int(6) DEFAULT NULL COMMENT '排序',
`del_flag` char(1) DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='modbus配置表';
-- fastbee.iot_modbus_job definition
CREATE TABLE `iot_modbus_job`
(
`task_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '任务id',
`job_name` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '任务名称',
`sub_device_id` bigint(20) NOT NULL COMMENT '子设备id',
`sub_serial_number` varchar(64) COLLATE utf8_unicode_ci NOT NULL COMMENT '子设备编号',
`device_type` tinyint(1) DEFAULT NULL COMMENT '设备类型',
`command` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT '指令',
`job_id` bigint(20) NOT NULL COMMENT '任务id',
`status` char(1) COLLATE utf8_unicode_ci NOT NULL COMMENT '状态(0正常 1暂停)',
`create_by` varchar(64) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`remark` varchar(500) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '备注信息',
PRIMARY KEY (`task_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='轮训任务列表';
-- fastbee.iot_modbus_params definition
CREATE TABLE `iot_modbus_params`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '业务id',
`product_id` bigint(20) NOT NULL COMMENT '产品id',
`poll_type` tinyint(1) NOT NULL COMMENT '是否启动云端轮训(1-云端轮训,2-边缘采集)',
`slave_id` int(3) DEFAULT NULL COMMENT '默认的子设备地址',
`status_deter` tinyint(1) DEFAULT NULL COMMENT '子设备状态判断方式 1-设备数据 2- 网关',
`deter_timer` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '设备数据来判断子设备状态的时长(s)',
`poll_length` int(3) DEFAULT NULL COMMENT '批量读取的个数',
`create_by` varchar(64) CHARACTER SET utf8 DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) CHARACTER SET utf8 DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) CHARACTER SET utf8 DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='产品modbus配置参数';
-- fastbee.iot_product definition
CREATE TABLE `iot_product`
(
`product_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '产品ID',
`product_name` varchar(64) NOT NULL COMMENT '产品名称',
`protocol_code` varchar(64) DEFAULT NULL COMMENT '协议编号',
`category_id` bigint(20) NOT NULL COMMENT '产品分类ID',
`category_name` varchar(64) NOT NULL COMMENT '产品分类名称',
`tenant_id` bigint(20) NOT NULL COMMENT '租户ID',
`tenant_name` varchar(30) NOT NULL DEFAULT '' COMMENT '租户名称',
`is_sys` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否系统通用(0-否,1-是)',
`is_authorize` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否启用授权码(0-否,1-是)',
`mqtt_account` varchar(64) DEFAULT NULL COMMENT 'mqtt账号',
`mqtt_password` varchar(64) DEFAULT NULL COMMENT 'mqtt密码',
`mqtt_secret` varchar(64) DEFAULT NULL COMMENT '产品秘钥',
`status` tinyint(1) DEFAULT NULL COMMENT '状态(1-未发布,2-已发布)',
`things_models_json` json DEFAULT NULL COMMENT '物模型JSON(属性、功能、事件)',
`device_type` tinyint(1) DEFAULT '1' COMMENT '设备类型(1-直连设备、2-网关设备、3-监控设备)',
`network_method` tinyint(1) DEFAULT '1' COMMENT '联网方式(1=wifi、2=蜂窝(2G/3G/4G/5G)、3=以太网、4=其他)',
`vertificate_method` tinyint(1) DEFAULT '1' COMMENT '认证方式(1-简单认证、2-加密认证、3-简单+加密)',
`img_url` varchar(255) DEFAULT NULL COMMENT '图片地址',
`del_flag` char(1) DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
`transport` varchar(64) DEFAULT NULL COMMENT '产品支持的传输协议',
`location_way` tinyint(1) DEFAULT '1' COMMENT '定位方式(1=ip自动定位,2=设备定位,3=自定义)',
`guid` varchar(64) DEFAULT NULL COMMENT '产品关联的组态id',
PRIMARY KEY (`product_id`) USING BTREE,
KEY `iot_product_index_category_id` (`category_id`) USING BTREE,
KEY `iot_product_index_tenant_id` (`tenant_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='产品';
-- fastbee.iot_product_authorize definition
CREATE TABLE `iot_product_authorize`
(
`authorize_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '授权码ID',
`authorize_code` varchar(32) NOT NULL COMMENT '授权码',
`product_id` bigint(20) NOT NULL COMMENT '产品ID',
`device_id` bigint(20) DEFAULT NULL COMMENT '设备ID',
`serial_number` varchar(64) DEFAULT NULL COMMENT '设备编号',
`user_id` bigint(20) DEFAULT NULL COMMENT '用户ID',
`user_name` varchar(30) DEFAULT NULL COMMENT '用户名称',
`status` tinyint(1) DEFAULT NULL COMMENT '状态(1-未使用,2-使用中)',
`del_flag` char(1) CHARACTER SET utf8 NOT NULL DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) CHARACTER SET utf8 NOT NULL DEFAULT '' COMMENT '创建者',
`create_time` datetime NOT NULL COMMENT '创建时间',
`update_by` varchar(64) CHARACTER SET utf8 DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) CHARACTER SET utf8 DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`authorize_id`) USING BTREE,
KEY `iot_product_authorize_index_product_id` (`product_id`) USING BTREE,
KEY `iot_product_authorize_index_device_id` (`device_id`) USING BTREE,
KEY `iot_product_authorize_index_serial_number` (`serial_number`) USING BTREE,
KEY `iot_product_authorize_index_user_id` (`user_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='产品授权码表';
-- fastbee.iot_product_modbus_job definition
CREATE TABLE `iot_product_modbus_job`
(
`task_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '任务id',
`job_name` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '任务名称',
`product_id` bigint(20) NOT NULL COMMENT '产品id',
`command` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT '指令',
`status` char(1) COLLATE utf8_unicode_ci NOT NULL COMMENT '状态(0正常 1暂停)',
`create_by` varchar(64) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`remark` varchar(500) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '备注信息',
PRIMARY KEY (`task_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='产品轮训任务列表';
-- fastbee.iot_product_sub_gateway definition
CREATE TABLE `iot_product_sub_gateway`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '业务id',
`gw_product_id` bigint(20) NOT NULL COMMENT '网关产品id',
`sub_product_id` bigint(20) NOT NULL COMMENT '子产品id',
`slave_id` int(6) DEFAULT NULL COMMENT '从机地址',
`create_by` varchar(64) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '创建者',
`create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_by` varchar(64) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '更新者',
`update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`remark` varchar(500) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='网关与子产品关联表';
-- fastbee.iot_protocol definition
CREATE TABLE `iot_protocol`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '自增id',
`protocol_code` varchar(60) NOT NULL DEFAULT '' COMMENT '协议编码',
`protocol_name` varchar(60) NOT NULL DEFAULT '' COMMENT '协议名称',
`protocol_file_url` varchar(500) NOT NULL DEFAULT '' COMMENT '协议jar包,js包,c程序上传地址',
`protocol_type` int(11) NOT NULL DEFAULT '0' COMMENT '协议类型 0:未知 1:jar,2.js,3.c',
`jar_sign` varchar(100) NOT NULL DEFAULT '' COMMENT '协议文件摘要(文件的md5)',
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`protocol_status` int(11) NOT NULL DEFAULT '0' COMMENT '0:草稿 1:启用 2:停用',
`display` tinyint(2) NOT NULL DEFAULT '1' COMMENT '显示,1-显示;0-不显示',
`data_format` text COMMENT '协议数据格式',
`del_flag` int(11) NOT NULL DEFAULT '0' COMMENT '0:正常 1:删除',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `UNIQUE_CODE` (`protocol_code`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='协议表';
-- fastbee.iot_scene definition
CREATE TABLE `iot_scene`
(
`scene_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '场景ID',
`scene_name` varchar(64) CHARACTER SET utf8 NOT NULL COMMENT '场景名称',
`chain_name` varchar(32) CHARACTER SET utf8 DEFAULT NULL COMMENT '规则名称',
`enable` tinyint(1) DEFAULT NULL COMMENT '场景状态(1-启动,2-停止)',
`user_id` bigint(20) NOT NULL COMMENT '用户ID',
`user_name` varchar(64) CHARACTER SET utf8 NOT NULL COMMENT '用户名称',
`silent_period` int(20) DEFAULT NULL COMMENT '静默周期(分钟)',
`cond` tinyint(2) DEFAULT NULL COMMENT '执行条件(1=或、任意条件,2=且、所有条件,3=非,不满足)',
`execute_mode` tinyint(1) DEFAULT NULL COMMENT '执行方式(1=串行,顺序执行,2=并行,同时执行)',
`execute_delay` int(10) DEFAULT NULL COMMENT '延时执行(秒钟)',
`has_alert` tinyint(1) DEFAULT '0' COMMENT '是否包含告警推送(1=包含,2=不包含)',
`application_name` varchar(32) CHARACTER SET utf8 NOT NULL DEFAULT '' COMMENT '应用名称',
`el_data` text CHARACTER SET utf8 COMMENT '规则数据',
`create_by` varchar(64) CHARACTER SET utf8 DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) CHARACTER SET utf8 DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) CHARACTER SET utf8 DEFAULT NULL COMMENT '备注',
`terminal_user` tinyint(1) DEFAULT '0' COMMENT '是否终端用户(1-是,0-不是)',
`check_delay` int(10) DEFAULT '0' COMMENT '延时匹配(秒钟)',
`recover_id` bigint(20) DEFAULT '0' COMMENT '恢复告警场景ID',
PRIMARY KEY (`scene_id`) USING BTREE,
KEY `iot_scene_index_user_id` (`user_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='场景联动';
-- fastbee.iot_scene_device definition
CREATE TABLE `iot_scene_device`
(
`scene_device_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '场景设备ID',
`serial_number` varchar(32) CHARACTER SET utf8 NOT NULL COMMENT '设备编号(产品触发的没有设备编号)',
`product_id` bigint(20) NOT NULL COMMENT '产品ID',
`product_name` varchar(64) CHARACTER SET utf8 NOT NULL COMMENT '产品名称',
`source` tinyint(1) NOT NULL COMMENT '触发源(1=设备触发,3=产品触发)',
`scene_id` bigint(20) NOT NULL COMMENT '场景ID',
`script_id` varchar(32) COLLATE utf8_unicode_ci NOT NULL COMMENT '场景脚本ID',
`type` tinyint(1) DEFAULT NULL COMMENT '类型(2=触发器,3=执行动作)',
PRIMARY KEY (`scene_device_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='场景设备表';
-- fastbee.iot_scene_script definition
CREATE TABLE `iot_scene_script`
(
`script_id` varchar(32) COLLATE utf8_unicode_ci NOT NULL COMMENT '脚本ID',
`scene_id` bigint(20) NOT NULL COMMENT '场景ID',
`source` tinyint(1) NOT NULL COMMENT '触发源(1=设备触发,2=定时触发,3=产品触发,4=告警执行)',
`script_purpose` tinyint(1) NOT NULL COMMENT '脚本用途(1=数据流,2=触发器,3=执行动作)',
`product_id` bigint(20) DEFAULT NULL COMMENT '产品ID(用于获取对应物模型)',
`product_name` varchar(64) CHARACTER SET utf8 DEFAULT NULL COMMENT '产品名称',
`id` varchar(64) CHARACTER SET utf8 DEFAULT NULL COMMENT '物模型标识符',
`name` varchar(64) CHARACTER SET utf8 DEFAULT NULL COMMENT '物模型名称',
`value` varchar(64) CHARACTER SET utf8 DEFAULT NULL COMMENT '物模型值',
`operator` varchar(16) CHARACTER SET utf8 DEFAULT NULL COMMENT '操作符',
`type` tinyint(1) DEFAULT NULL COMMENT '物模型类别(1=属性,2=功能,3=事件,4=设备升级,5=设备上线,6=设备下线)',
`device_count` int(20) DEFAULT NULL COMMENT '设备数量',
`job_id` bigint(20) DEFAULT NULL COMMENT '任务ID',
`cron_expression` varchar(255) CHARACTER SET utf8mb4 DEFAULT '' COMMENT 'cron执行表达式',
`is_advance` tinyint(1) DEFAULT NULL COMMENT '是否详细corn表达式(1=是,0=否)',
`parent_id` varchar(32) CHARACTER SET utf8 DEFAULT NULL COMMENT '父物模id',
`parent_name` varchar(32) CHARACTER SET utf8 DEFAULT NULL COMMENT '父物模名称',
`array_index` varchar(20) CHARACTER SET utf8 DEFAULT NULL COMMENT '数组索引',
`array_index_name` varchar(20) CHARACTER SET utf8 DEFAULT NULL COMMENT '数组索引名称',
`create_by` varchar(64) CHARACTER SET utf8 DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`script_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='场景脚本';
-- fastbee.iot_script definition
CREATE TABLE `iot_script`
(
`script_id` varchar(32) NOT NULL DEFAULT '' COMMENT '脚本ID',
`user_id` bigint(20) NOT NULL COMMENT '用户ID',
`user_name` varchar(30) NOT NULL DEFAULT '' COMMENT '用户昵称',
`scene_id` bigint(64) NOT NULL DEFAULT '0' COMMENT '关联场景ID',
`product_id` bigint(20) DEFAULT NULL COMMENT '产品ID',
`product_name` varchar(64) DEFAULT NULL COMMENT '产品名称',
`script_event` tinyint(1) NOT NULL COMMENT '脚本事件(1=设备上报,2=平台下发,3=设备上线,4=设备离线)',
`script_action` tinyint(1) NOT NULL COMMENT '脚本动作(1=消息重发,2=消息通知,3=Http推送,4=Mqtt桥接,5=数据库存储)',
`script_purpose` tinyint(1) NOT NULL COMMENT '脚本用途(1=数据流,2=触发器,3=执行动作)',
`script_order` tinyint(1) NOT NULL DEFAULT '0' COMMENT '脚本执行顺序,值越大优先级越高',
`application_name` varchar(32) NOT NULL DEFAULT '' COMMENT '应用名,后端、规则和脚本要统一',
`script_name` varchar(64) NOT NULL DEFAULT '' COMMENT '脚本名',
`script_data` text NOT NULL COMMENT '脚本数据',
`script_type` char(16) NOT NULL DEFAULT '' COMMENT '脚本类型:\r\nscript=普通脚本,\r\nswitch_script=选择脚本,\r\nboolean_script=条件脚本,\r\nfor_script=数量循环脚本',
`script_language` varchar(16) NOT NULL DEFAULT '' COMMENT '脚本语言(groovy | qlexpress | js | python | lua | aviator | java)',
`enable` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否生效(0-不生效,1-生效)',
`del_flag` char(1) DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`script_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='规则引擎脚本';
-- fastbee.iot_script_bridge definition
CREATE TABLE `iot_script_bridge`
(
`script_id` varchar(32) CHARACTER SET utf8 NOT NULL COMMENT '脚本ID',
`bridge_id` bigint(20) NOT NULL COMMENT '桥接配置id',
PRIMARY KEY (`script_id`, `bridge_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='脚本输入桥接关联表';
-- fastbee.iot_simulate_log definition
CREATE TABLE `iot_simulate_log`
(
`log_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '设备模拟日志ID',
`send_data` json DEFAULT NULL COMMENT '云端发送指令',
`callback_data` json DEFAULT NULL COMMENT '设备回复',
`device_id` bigint(20) DEFAULT NULL COMMENT '设备ID',
`device_name` varchar(64) DEFAULT NULL COMMENT '设备名称',
`serial_number` varchar(64) NOT NULL COMMENT '设备编号',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`remark` varchar(200) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`log_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='模拟设备日志';
-- fastbee.iot_sip_relation definition
CREATE TABLE `iot_sip_relation`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '业务id',
`channel_id` varchar(64) NOT NULL COMMENT '监控设备编号',
`re_device_id` bigint(20) DEFAULT NULL COMMENT '关联的设备id',
`re_scene_model_id` bigint(20) DEFAULT NULL COMMENT '关联的场景id',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人',
`create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人',
`update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`remark` varchar(800) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='监控设备关联表';
-- fastbee.iot_social_platform definition
CREATE TABLE `iot_social_platform`
(
`social_platform_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '第三方登录平台主键',
`platform` varchar(32) NOT NULL COMMENT '第三方登录平台',
`status` char(1) NOT NULL DEFAULT '0' COMMENT ' 0:启用 ,1:禁用',
`client_id` varchar(100) NOT NULL COMMENT '第三方平台申请Id',
`secret_key` varchar(100) NOT NULL COMMENT '第三方平台密钥',
`redirect_uri` varchar(120) NOT NULL COMMENT '用户认证后跳转地址',
`del_flag` char(1) NOT NULL DEFAULT '0' COMMENT '删除标记位(0代表存在,1代表删除)',
`create_by` varchar(64) NOT NULL COMMENT '创建者',
`create_time` datetime NOT NULL COMMENT '创建时间',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`update_by` varchar(64) DEFAULT NULL COMMENT '更新者',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
`bind_uri` varchar(128) NOT NULL COMMENT '绑定注册登录uri,http://localhost/login?bindId=',
`redirect_login_uri` varchar(128) NOT NULL COMMENT '跳转登录uri,http://localhost/login?loginId=',
`error_msg_uri` varchar(128) NOT NULL COMMENT '错误提示uri,http://localhost/login?errorId=',
PRIMARY KEY (`social_platform_id`) USING BTREE,
UNIQUE KEY `iot_social_platform_platform_uindex` (`platform`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='第三方登录平台控制';
-- fastbee.iot_social_user definition
CREATE TABLE `iot_social_user`
(
`social_user_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '第三方系统用户表主键',
`uuid` varchar(64) NOT NULL COMMENT '第三方系统的唯一ID',
`source` varchar(32) NOT NULL COMMENT '第三方用户来源',
`access_token` varchar(255) DEFAULT NULL COMMENT '用户的授权令牌',
`expire_in` int(11) DEFAULT NULL COMMENT '第三方用户的授权令牌的有效期(部分平台可能没有)',
`refresh_token` varchar(255) DEFAULT NULL COMMENT '刷新令牌(部分平台可能没有)',
`open_id` varchar(100) DEFAULT NULL COMMENT '第三方用户的 open id(部分平台可能没有)',
`uid` varchar(64) DEFAULT NULL COMMENT '第三方用户的 ID(部分平台可能没有)',
`access_code` varchar(64) DEFAULT NULL COMMENT '个别平台的授权信息(部分平台可能没有)',
`union_id` varchar(100) DEFAULT NULL COMMENT '第三方用户的 union id(部分平台可能没有)',
`scope` varchar(64) DEFAULT NULL COMMENT '第三方用户授予的权限(部分平台可能没有)',
`token_type` varchar(64) DEFAULT NULL COMMENT '个别平台的授权信息(部分平台可能没有)',
`id_token` varchar(64) DEFAULT NULL COMMENT 'id token(部分平台可能没有)',
`mac_algorithm` varchar(64) DEFAULT NULL COMMENT '小米平台用户的附带属性(部分平台可能没有)',
`mac_key` varchar(64) DEFAULT NULL COMMENT '小米平台用户的附带属性(部分平台可能没有)',
`code` varchar(64) DEFAULT NULL COMMENT '用户的授权code(部分平台可能没有)',
`oauth_token` varchar(64) DEFAULT NULL COMMENT 'Twitter平台用户的附带属性(部分平台可能没有)',
`oauth_token_secret` varchar(64) DEFAULT NULL COMMENT 'Twitter平台用户的附带属性(部分平台可能没有)',
`create_time` datetime NOT NULL COMMENT '创建时间',
`create_by` varchar(64) NOT NULL COMMENT '创建者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`update_by` varchar(64) DEFAULT NULL COMMENT '更新者',
`del_flag` char(1) NOT NULL DEFAULT '0' COMMENT '删除标记位(0代表存在,2代表删除)',
`status` char(1) NOT NULL DEFAULT '0' COMMENT '绑定状态(0:未绑定,1:绑定)',
`sys_user_id` int(11) DEFAULT NULL COMMENT '用户ID',
`username` varchar(64) DEFAULT NULL COMMENT '用户名',
`nickname` varchar(64) DEFAULT NULL COMMENT '用户昵称',
`avatar` varchar(256) DEFAULT NULL COMMENT '用户头像',
`gender` tinyint(4) DEFAULT NULL COMMENT '用户性别',
`source_client` varchar(64) DEFAULT NULL COMMENT '第三方用户来源客户端(web、app、小程序)',
PRIMARY KEY (`social_user_id`) USING BTREE,
UNIQUE KEY `iot_social_user_pk` (`social_user_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='第三方登录用户';
-- fastbee.iot_sub_gateway definition
CREATE TABLE `iot_sub_gateway`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '业务id',
`gw_device_id` bigint(20) NOT NULL COMMENT '网关设备id',
`sub_device_id` bigint(20) NOT NULL COMMENT '子设备id',
`slave_id` int(6) DEFAULT NULL COMMENT '从机地址',
`create_by` varchar(64) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='网关与子设备关联表';
-- fastbee.iot_things_model definition
CREATE TABLE `iot_things_model`
(
`model_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '物模型ID',
`model_name` varchar(64) NOT NULL COMMENT '物模型名称',
`product_id` bigint(20) NOT NULL COMMENT '产品ID',
`product_name` varchar(64) NOT NULL COMMENT '产品名称',
`tenant_id` bigint(20) NOT NULL COMMENT '租户ID',
`tenant_name` varchar(30) NOT NULL DEFAULT '' COMMENT '租户名称',
`identifier` varchar(32) NOT NULL COMMENT '标识符,产品下唯一',
`type` tinyint(1) NOT NULL COMMENT '模型类别(1-属性,2-功能,3-事件)',
`datatype` varchar(64) NOT NULL COMMENT '数据类型(integer、decimal、string、bool、array、enum)',
`specs` json DEFAULT NULL COMMENT '数据定义',
`is_chart` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否图表展示(0-否,1-是)',
`is_monitor` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否实时监测(0-否,1-是)',
`is_history` tinyint(1) DEFAULT '0' COMMENT '是否历史存储(0-否,1-是)',
`is_readonly` tinyint(1) DEFAULT '0' COMMENT '是否只读数据(0-否,1-是)',
`is_share_perm` tinyint(1) DEFAULT '0' COMMENT '是否设备分享权限(0-否,1-是)',
`model_order` int(10) DEFAULT '0' COMMENT '排序,值越大,排序越靠前',
`del_flag` char(1) DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
`formula` varchar(255) DEFAULT NULL COMMENT '计算公式',
`is_app` tinyint(1) DEFAULT NULL COMMENT '是否在APP显示(0-否,1-是)',
PRIMARY KEY (`model_id`) USING BTREE,
KEY `iot_things_model_index_product_id` (`product_id`) USING BTREE,
KEY `iot_things_model_index_tenant_id` (`tenant_id`) USING BTREE,
KEY `iot_things_model_index_model_order` (`model_order`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='物模型';
-- fastbee.iot_things_model_template definition
CREATE TABLE `iot_things_model_template`
(
`template_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '物模型ID',
`template_name` varchar(64) NOT NULL COMMENT '物模型名称',
`tenant_id` bigint(20) NOT NULL COMMENT '租户ID',
`tenant_name` varchar(30) NOT NULL DEFAULT '' COMMENT '租户名称',
`identifier` varchar(32) NOT NULL COMMENT '标识符,产品下唯一',
`type` tinyint(1) NOT NULL COMMENT '模型类别(1-属性,2-功能,3-事件)',
`datatype` varchar(64) NOT NULL COMMENT '数据类型(integer、decimal、string、bool、array、enum)',
`specs` json DEFAULT NULL COMMENT '数据定义',
`is_sys` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否系统通用(0-否,1-是)',
`is_chart` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否图表展示(0-否,1-是)',
`is_monitor` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否实时监测(0-否,1-是)',
`is_history` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否历史存储 (0-否,1-是)',
`is_readonly` tinyint(1) DEFAULT '0' COMMENT '是否只读数据(0-否,1-是)',
`is_share_perm` tinyint(1) DEFAULT '0' COMMENT '是否设备分享权限(0-否,1-是)',
`model_order` int(10) DEFAULT '0' COMMENT '排序,值越大,排序越靠前',
`del_flag` char(1) DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
`formula` varchar(255) DEFAULT NULL COMMENT '计算公式',
`is_app` tinyint(1) DEFAULT NULL COMMENT '是否在APP显示(0-否,1-是)',
PRIMARY KEY (`template_id`) USING BTREE,
KEY `iot_things_model_template_index_tenant_id` (`tenant_id`) USING BTREE,
KEY `iot_things_model_template_index_model_order` (`model_order`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=560 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='物模型模板';
-- fastbee.iot_things_model_template_translate definition
CREATE TABLE `iot_things_model_template_translate`
(
`id` bigint(20) NOT NULL COMMENT 'ID',
`zh_cn` varchar(200) DEFAULT NULL COMMENT 'zh_CN',
`en_us` varchar(200) DEFAULT NULL COMMENT 'en_US',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='物模型模板翻译表';
-- fastbee.iot_things_model_translate definition
CREATE TABLE `iot_things_model_translate`
(
`id` bigint(20) NOT NULL COMMENT 'ID',
`zh_cn` varchar(200) DEFAULT NULL COMMENT 'zh_CN',
`en_us` varchar(200) DEFAULT NULL COMMENT 'en_US',
`product_id` bigint(20) DEFAULT NULL COMMENT '产品ID',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='物模型翻译表';
-- fastbee.iot_var_temp definition
CREATE TABLE `iot_var_temp`
(
`template_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键id',
`template_name` varchar(64) COLLATE utf8_unicode_ci NOT NULL COMMENT '模板名称',
`type` tinyint(20) DEFAULT NULL,
`polling_method` tinyint(20) NOT NULL COMMENT '采集方式 1.云端轮询 2.云端边缘计算',
`user_id` int(11) DEFAULT NULL COMMENT '模板所属用户',
`slave_total` bigint(20) DEFAULT NULL COMMENT '从机总数',
`point_total` bigint(20) DEFAULT NULL COMMENT '总采集点数',
`share` tinyint(20) DEFAULT NULL COMMENT '是否分享',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`create_by` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '创建用户',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`update_by` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '更新用户',
PRIMARY KEY (`template_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='设备采集变量模板对象';
-- fastbee.iot_var_temp_salve definition
CREATE TABLE `iot_var_temp_salve`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键id',
`device_temp_id` bigint(20) NOT NULL COMMENT '关联的模板id',
`slave_addr` int(20) DEFAULT NULL COMMENT '从机编号',
`slave_index` int(20) DEFAULT NULL,
`slave_ip` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '从机ip地址',
`slave_name` varchar(64) COLLATE utf8_unicode_ci NOT NULL COMMENT '从机名称',
`slave_port` int(20) DEFAULT NULL COMMENT '从机端口',
`addr_start` bigint(20) DEFAULT NULL COMMENT '寄存器起始地址(10进制)',
`addr_end` bigint(20) DEFAULT NULL COMMENT '寄存器结束地址(10进制)',
`packet_length` int(20) DEFAULT '32' COMMENT '寄存器批量读取个数',
`timer` bigint(20) DEFAULT NULL COMMENT '批量获取轮询时间(默认5分钟)',
`status` tinyint(20) NOT NULL COMMENT '状态 0-启动 1-失效',
`code` int(20) DEFAULT NULL COMMENT '功能编码',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`create_by` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '创建用户',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`update_by` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '更新用户',
`remark` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='变量模板设备从机对象';
-- fastbee.media_server definition
CREATE TABLE `media_server`
(
`id` bigint(64) NOT NULL AUTO_INCREMENT COMMENT '流媒体配置ID',
`server_id` varchar(30) NOT NULL DEFAULT '' COMMENT '服务器标识',
`tenant_id` bigint(20) NOT NULL COMMENT '租户ID',
`tenant_name` varchar(30) NOT NULL DEFAULT '' COMMENT '租户名称',
`enabled` tinyint(1) DEFAULT NULL COMMENT '使能开关',
`protocol` varchar(10) NOT NULL DEFAULT '' COMMENT '默认播放协议',
`ip` varchar(255) NOT NULL DEFAULT '' COMMENT '服务器ip',
`domain` varchar(128) NOT NULL DEFAULT '' COMMENT '服务器域名',
`hookurl` varchar(255) NOT NULL DEFAULT '' COMMENT '回调服务器地址',
`secret` varchar(255) NOT NULL DEFAULT '' COMMENT '流媒体密钥',
`port_http` int(11) NOT NULL DEFAULT '0' COMMENT 'http端口',
`port_https` int(11) NOT NULL DEFAULT '0' COMMENT 'https端口',
`port_rtmp` int(11) NOT NULL DEFAULT '0' COMMENT 'rtmp端口',
`port_rtsp` int(11) NOT NULL DEFAULT '0' COMMENT 'rtsp端口',
`rtp_proxy_port` int(11) NOT NULL DEFAULT '0' COMMENT 'RTP收流端口',
`rtp_enable` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否使用多端口模式',
`rtp_port_range` varchar(255) NOT NULL DEFAULT '' COMMENT 'rtp端口范围',
`record_port` int(11) NOT NULL DEFAULT '0' COMMENT '录像服务端口',
`auto_config` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否自动同步配置ZLM',
`status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '状态',
`del_flag` char(1) NOT NULL DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) NOT NULL DEFAULT '' COMMENT '创建者',
`create_time` datetime NOT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
`port_ws` int(11) DEFAULT NULL COMMENT 'ws端口',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='流媒体服务器配置';
-- fastbee.news definition
CREATE TABLE `news`
(
`news_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '新闻ID',
`title` varchar(64) NOT NULL COMMENT '标题',
`content` text NOT NULL COMMENT '内容',
`img_url` varchar(128) NOT NULL COMMENT '封面',
`is_top` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否置顶(0-置顶 1-置顶)',
`is_banner` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否banner(0-是banner 1-不是banner)',
`category_id` bigint(20) NOT NULL COMMENT '分类ID',
`category_name` varchar(32) NOT NULL COMMENT '分类名称',
`status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '新闻状态(0-未发布,1-已发布)',
`author` varchar(50) NOT NULL COMMENT '作者',
`del_flag` char(1) CHARACTER SET utf8mb4 DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`news_id`) USING BTREE,
KEY `news_index_category_id` (`category_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='新闻资讯';
-- fastbee.news_category definition
CREATE TABLE `news_category`
(
`category_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '分类ID',
`category_name` varchar(64) CHARACTER SET utf8 NOT NULL COMMENT '分类名称',
`order_num` int(2) NOT NULL COMMENT '显示顺序',
`del_flag` char(1) CHARACTER SET utf8 DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) CHARACTER SET utf8 DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) CHARACTER SET utf8 DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) CHARACTER SET utf8 DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`category_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='新闻分类';
-- fastbee.notify_channel definition
CREATE TABLE `notify_channel`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '编号',
`name` varchar(20) COLLATE utf8_unicode_ci NOT NULL COMMENT '通知名称',
`channel_type` varchar(20) COLLATE utf8_unicode_ci NOT NULL COMMENT '渠道类型',
`provider` varchar(20) COLLATE utf8_unicode_ci NOT NULL COMMENT '服务商',
`config_content` varchar(1024) COLLATE utf8_unicode_ci NOT NULL COMMENT '配置内容',
`tenant_id` bigint(20) DEFAULT NULL COMMENT '租户id',
`tenant_name` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '租户名称',
`create_by` varchar(50) CHARACTER SET utf8 DEFAULT NULL COMMENT '创建人',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_by` varchar(50) CHARACTER SET utf8 DEFAULT NULL COMMENT '更新人',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`del_flag` tinyint(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除标识',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='通知渠道';
-- fastbee.notify_log definition
CREATE TABLE `notify_log`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '通知日志ID',
`channel_id` bigint(20) NOT NULL COMMENT '渠道编号',
`notify_template_id` bigint(20) NOT NULL COMMENT '通知模版编号',
`msg_content` text COLLATE utf8_unicode_ci COMMENT '消息内容',
`send_account` varchar(500) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '发送账号',
`send_status` tinyint(4) NOT NULL COMMENT '发送状态',
`result_content` text COLLATE utf8_unicode_ci COMMENT '返回内容',
`service_code` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '业务编码(唯一启用)',
`create_by` varchar(50) CHARACTER SET utf8 DEFAULT NULL COMMENT '创建人',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_by` varchar(50) CHARACTER SET utf8 DEFAULT NULL COMMENT '更新人',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`del_flag` tinyint(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除标识',
`tenant_id` bigint(20) DEFAULT NULL COMMENT '租户id',
`tenant_name` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '租户名称',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='通知日志';
-- fastbee.notify_template definition
CREATE TABLE `notify_template`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '编号',
`name` varchar(50) COLLATE utf8_unicode_ci NOT NULL COMMENT '渠道名称',
`service_code` varchar(50) COLLATE utf8_unicode_ci NOT NULL COMMENT '业务编码(唯一启用)',
`channel_id` bigint(20) DEFAULT NULL COMMENT '通知渠道账号',
`channel_type` varchar(20) COLLATE utf8_unicode_ci NOT NULL COMMENT '渠道类型',
`provider` varchar(50) COLLATE utf8_unicode_ci NOT NULL COMMENT '服务商',
`msg_params` text COLLATE utf8_unicode_ci COMMENT '模板配置参数',
`status` tinyint(1) unsigned zerofill NOT NULL DEFAULT '0' COMMENT '是否启用 0-不启用 1-启用',
`create_by` varchar(50) CHARACTER SET utf8 DEFAULT NULL COMMENT '创建人',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_by` varchar(50) CHARACTER SET utf8 DEFAULT NULL COMMENT '更新人',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`del_flag` tinyint(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除标识',
`tenant_id` bigint(20) DEFAULT NULL COMMENT '租户id',
`tenant_name` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '租户名称',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='通知模版';
-- fastbee.oauth_access_token definition
CREATE TABLE `oauth_access_token`
(
`token_id` varchar(255) DEFAULT NULL,
`token` blob,
`authentication_id` varchar(255) DEFAULT NULL,
`user_name` varchar(255) DEFAULT NULL,
`client_id` varchar(255) DEFAULT NULL,
`authentication` blob,
`refresh_token` varchar(255) DEFAULT NULL,
`open_id` varchar(255) DEFAULT NULL,
`user_id` bigint(20) DEFAULT NULL,
`expires_time` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
-- fastbee.oauth_approvals definition
CREATE TABLE `oauth_approvals`
(
`userId` varchar(255) DEFAULT NULL,
`clientId` varchar(255) DEFAULT NULL,
`scope` varchar(255) DEFAULT NULL,
`status` varchar(10) DEFAULT NULL,
`expiresAt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`lastModifiedAt` timestamp NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
-- fastbee.oauth_client_details definition
CREATE TABLE `oauth_client_details`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '编号',
`client_id` varchar(255) NOT NULL COMMENT '客户端ID',
`resource_ids` varchar(255) DEFAULT NULL COMMENT '客户端所能访问的资源id集合,多个资源时用逗号(,)分隔',
`client_secret` varchar(255) DEFAULT NULL COMMENT '客户端秘钥',
`scope` varchar(255) DEFAULT NULL COMMENT '权限范围,可选值包括read,write,trust;若有多个权限范围用逗号(,)分隔',
`authorized_grant_types` varchar(255) DEFAULT NULL COMMENT '授权模式,可选值包括authorization_code,password,refresh_token,implicit,client_credentials, 若支持多个grant_type用逗号(,)分隔',
`web_server_redirect_uri` varchar(255) DEFAULT NULL COMMENT '回调地址',
`authorities` varchar(255) DEFAULT NULL COMMENT '权限',
`access_token_validity` int(11) DEFAULT NULL COMMENT '设定客户端的access_token的有效时间值(单位:秒)',
`refresh_token_validity` int(11) DEFAULT NULL COMMENT '设定客户端的refresh_token的有效时间值(单位:秒)',
`additional_information` text COMMENT '预留的字段,在Oauth的流程中没有实际的使用,可选,但若设置值,必须是JSON格式的数据',
`autoapprove` varchar(255) DEFAULT NULL COMMENT '设置用户是否自动Approval操作, 默认值为 ''false'', 可选值包括 ''true'',''false'', ''read'',''write''. \n该字段只适用于grant_type="authorization_code"的情况,当用户登录成功后,若该值为''true''或支持的scope值,则会跳过用户Approve的页面, 直接授权. ',
`type` tinyint(1) DEFAULT NULL COMMENT '1=小度(DuerOS),2=天猫精灵(ALiGenie),3=小米小爱',
`status` tinyint(2) DEFAULT '0' COMMENT '启用状态',
`icon` varchar(64) DEFAULT NULL COMMENT '图标',
`cloud_skill_id` varchar(255) DEFAULT NULL COMMENT '云技能id',
`tenant_id` bigint(20) NOT NULL COMMENT '租户id',
`tenant_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '租户名称',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
-- fastbee.oauth_client_token definition
CREATE TABLE `oauth_client_token`
(
`token_id` varchar(255) DEFAULT NULL,
`token` blob,
`authentication_id` varchar(255) DEFAULT NULL,
`user_name` varchar(255) DEFAULT NULL,
`client_id` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
-- fastbee.oauth_code definition
CREATE TABLE `oauth_code`
(
`code` varchar(255) DEFAULT NULL,
`authentication` blob,
`user_id` bigint(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
-- fastbee.oauth_refresh_token definition
CREATE TABLE `oauth_refresh_token`
(
`token_id` varchar(255) DEFAULT NULL,
`token` blob,
`authentication` blob
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
-- fastbee.order_control definition
CREATE TABLE `order_control`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键id',
`tenant_id` bigint(20) NOT NULL COMMENT '租户id',
`select_order` varchar(500) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '逗号分隔',
`status` tinyint(1) DEFAULT NULL COMMENT '是否生效 0-否 1-是',
`user_id` bigint(20) DEFAULT NULL COMMENT '被限制的用户id',
`device_id` bigint(20) DEFAULT NULL COMMENT '设备id',
`count` int(10) DEFAULT NULL COMMENT '可操作次数',
`start_time` datetime DEFAULT NULL COMMENT '开始时间',
`end_time` datetime DEFAULT NULL COMMENT '结束时间',
`create_by` varchar(64) CHARACTER SET utf8 DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) CHARACTER SET utf8 DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) CHARACTER SET utf8 DEFAULT NULL COMMENT '备注',
`file_path` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '文件路径',
`img_url` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '图片路径',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='指令权限控制';
-- fastbee.oss_config definition
CREATE TABLE `oss_config`
(
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`tenant_id` bigint(20) NOT NULL DEFAULT '1' COMMENT '租户ID',
`tenant_name` varchar(30) NOT NULL DEFAULT '' COMMENT '租户名称',
`config_key` varchar(20) NOT NULL DEFAULT '' COMMENT '配置key',
`access_key` varchar(255) NOT NULL DEFAULT '' COMMENT 'accessKey',
`secret_key` varchar(255) NOT NULL DEFAULT '' COMMENT '秘钥',
`bucket_name` varchar(255) NOT NULL DEFAULT '' COMMENT '桶名称',
`prefix` varchar(255) NOT NULL DEFAULT '' COMMENT '前缀',
`endpoint` varchar(255) NOT NULL DEFAULT '' COMMENT '访问站点',
`domain` varchar(255) NOT NULL DEFAULT '' COMMENT '自定义域名',
`is_https` char(1) NOT NULL DEFAULT 'N' COMMENT '是否https(Y=是,N=否)',
`region` varchar(255) NOT NULL DEFAULT '' COMMENT '域',
`access_policy` char(1) NOT NULL DEFAULT '0' COMMENT '桶权限类型(0=private 1=public 2=custom)',
`status` char(1) NOT NULL DEFAULT '1' COMMENT '是否默认(0=是,1=否)',
`ext1` varchar(255) NOT NULL DEFAULT '' COMMENT '扩展字段',
`del_flag` char(1) NOT NULL DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) NOT NULL DEFAULT '' COMMENT '创建者',
`create_time` datetime NOT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='对象存储配置表';
-- fastbee.oss_detail definition
CREATE TABLE `oss_detail`
(
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '文件id',
`tenant_id` bigint(20) NOT NULL DEFAULT '1' COMMENT '租户ID',
`tenant_name` varchar(30) NOT NULL DEFAULT '' COMMENT '租户名称',
`file_name` varchar(255) NOT NULL DEFAULT '' COMMENT '文件名',
`original_name` varchar(255) NOT NULL DEFAULT '' COMMENT '原名',
`file_suffix` varchar(10) NOT NULL DEFAULT '' COMMENT '文件后缀名',
`url` varchar(500) NOT NULL DEFAULT '' COMMENT 'URL地址',
`service` varchar(20) NOT NULL DEFAULT 'aliyun' COMMENT '服务商',
`del_flag` char(1) NOT NULL DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) NOT NULL DEFAULT '' COMMENT '创建者',
`create_time` datetime NOT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='文件记录表';
-- fastbee.qrtz_calendars definition
CREATE TABLE `qrtz_calendars`
(
`sched_name` varchar(120) NOT NULL COMMENT '调度名称',
`calendar_name` varchar(200) NOT NULL COMMENT '日历名称',
`calendar` blob NOT NULL COMMENT '存放持久化calendar对象',
PRIMARY KEY (`sched_name`, `calendar_name`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='日历信息表';
-- fastbee.qrtz_fired_triggers definition
CREATE TABLE `qrtz_fired_triggers`
(
`sched_name` varchar(120) NOT NULL COMMENT '调度名称',
`entry_id` varchar(95) NOT NULL COMMENT '调度器实例id',
`trigger_name` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
`trigger_group` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
`instance_name` varchar(200) NOT NULL COMMENT '调度器实例名',
`fired_time` bigint(13) NOT NULL COMMENT '触发的时间',
`sched_time` bigint(13) NOT NULL COMMENT '定时器制定的时间',
`priority` int(11) NOT NULL COMMENT '优先级',
`state` varchar(16) NOT NULL COMMENT '状态',
`job_name` varchar(200) DEFAULT NULL COMMENT '任务名称',
`job_group` varchar(200) DEFAULT NULL COMMENT '任务组名',
`is_nonconcurrent` varchar(1) DEFAULT NULL COMMENT '是否并发',
`requests_recovery` varchar(1) DEFAULT NULL COMMENT '是否接受恢复执行',
PRIMARY KEY (`sched_name`, `entry_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='已触发的触发器表';
-- fastbee.qrtz_job_details definition
CREATE TABLE `qrtz_job_details`
(
`sched_name` varchar(120) NOT NULL COMMENT '调度名称',
`job_name` varchar(200) NOT NULL COMMENT '任务名称',
`job_group` varchar(200) NOT NULL COMMENT '任务组名',
`description` varchar(250) DEFAULT NULL COMMENT '相关介绍',
`job_class_name` varchar(250) NOT NULL COMMENT '执行任务类名称',
`is_durable` varchar(1) NOT NULL COMMENT '是否持久化',
`is_nonconcurrent` varchar(1) NOT NULL COMMENT '是否并发',
`is_update_data` varchar(1) NOT NULL COMMENT '是否更新数据',
`requests_recovery` varchar(1) NOT NULL COMMENT '是否接受恢复执行',
`job_data` blob COMMENT '存放持久化job对象',
PRIMARY KEY (`sched_name`, `job_name`, `job_group`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='任务详细信息表';
-- fastbee.qrtz_locks definition
CREATE TABLE `qrtz_locks`
(
`sched_name` varchar(120) NOT NULL COMMENT '调度名称',
`lock_name` varchar(40) NOT NULL COMMENT '悲观锁名称',
PRIMARY KEY (`sched_name`, `lock_name`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='存储的悲观锁信息表';
-- fastbee.qrtz_paused_trigger_grps definition
CREATE TABLE `qrtz_paused_trigger_grps`
(
`sched_name` varchar(120) NOT NULL COMMENT '调度名称',
`trigger_group` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
PRIMARY KEY (`sched_name`, `trigger_group`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='暂停的触发器表';
-- fastbee.qrtz_scheduler_state definition
CREATE TABLE `qrtz_scheduler_state`
(
`sched_name` varchar(120) NOT NULL COMMENT '调度名称',
`instance_name` varchar(200) NOT NULL COMMENT '实例名称',
`last_checkin_time` bigint(13) NOT NULL COMMENT '上次检查时间',
`checkin_interval` bigint(13) NOT NULL COMMENT '检查间隔时间',
PRIMARY KEY (`sched_name`, `instance_name`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='调度器状态表';
-- fastbee.scene_model definition
CREATE TABLE `scene_model`
(
`scene_model_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '场景管理id',
`tenant_id` bigint(20) NOT NULL COMMENT '所属租户id',
`scene_model_name` varchar(255) NOT NULL COMMENT '场景管理名称',
`status` int(1) NOT NULL DEFAULT '1' COMMENT '场景状态 0-停用 1-启用',
`guid` varchar(64) DEFAULT NULL COMMENT '关联的组态id',
`desc` varchar(255) DEFAULT NULL COMMENT '场景描述',
`del_flag` char(1) DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
`img_url` varchar(255) DEFAULT NULL COMMENT '图片地址',
PRIMARY KEY (`scene_model_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='场景管理';
-- fastbee.scene_model_data definition
CREATE TABLE `scene_model_data`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键id',
`scene_model_id` bigint(20) DEFAULT NULL COMMENT '场景管理id',
`scene_model_device_id` bigint(20) DEFAULT NULL COMMENT '场景关联数据来源id',
`variable_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '来源类型(0设备 1录入型 2运算型)',
`datasource_id` bigint(20) DEFAULT NULL COMMENT '物模型或变量id',
`enable` tinyint(2) NOT NULL DEFAULT '1' COMMENT '启用(0未启用 1启用)',
`del_flag` char(1) CHARACTER SET utf8 NOT NULL DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`source_name` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '物模型或变量名称',
`identifier` varchar(32) CHARACTER SET utf8 DEFAULT NULL COMMENT '标识符',
`type` tinyint(1) DEFAULT NULL COMMENT '模型类别(1-属性,2-功能,3-事件)',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC;
-- fastbee.scene_model_device definition
CREATE TABLE `scene_model_device`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键id',
`scene_model_id` bigint(20) NOT NULL COMMENT '场景id',
`cus_device_id` bigint(20) DEFAULT NULL COMMENT '关联设备id',
`sort` int(3) DEFAULT NULL COMMENT '排序',
`del_flag` char(1) CHARACTER SET utf8 DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) CHARACTER SET utf8 DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_by` varchar(64) CHARACTER SET utf8 DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`remark` varchar(500) CHARACTER SET utf8 DEFAULT NULL COMMENT '备注',
`variable_type` tinyint(4) NOT NULL COMMENT '类型(0设备 1录入型 2运算型)',
`all_enable` tinyint(2) DEFAULT NULL COMMENT '全部启用(0否 1是)',
`name` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '名称',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='场景管理关联设备';
-- fastbee.scene_model_tag definition
CREATE TABLE `scene_model_tag`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键id',
`scene_model_id` bigint(20) NOT NULL COMMENT '场景id',
`name` varchar(64) COLLATE utf8_unicode_ci NOT NULL COMMENT '录入型变量名',
`unit` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '单位',
`data_type` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '数据类型',
`default_value` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '默认值',
`is_readonly` int(1) NOT NULL DEFAULT '0' COMMENT '是否只读 0-否 1-是,默认0',
`storage` int(1) NOT NULL DEFAULT '1' COMMENT '存储方式 0-不存储 1-存储',
`variable_type` int(1) DEFAULT NULL COMMENT '变量类型 2-录入型变量 3-运算型变量',
`del_flag` char(1) CHARACTER SET utf8 DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) CHARACTER SET utf8 DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_by` varchar(64) CHARACTER SET utf8 DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`remark` varchar(500) CHARACTER SET utf8 DEFAULT NULL COMMENT '备注',
`cycle_executed` tinyint(4) DEFAULT '0' COMMENT '周期执行(0未执行 1执行)',
`formule` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '计算公式 ${id} + ${id}',
`alias_formule` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '显示的计算公式 A+B',
`cycle_type` int(2) DEFAULT NULL COMMENT '时间周期方式 1-周期计算 2-自定义时间段',
`cycle` json DEFAULT NULL COMMENT '时间周期内容',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='场景录入型变量';
-- fastbee.scene_tag_points definition
CREATE TABLE `scene_tag_points`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '运算型变量点id',
`name` varchar(64) COLLATE utf8_unicode_ci NOT NULL COMMENT '变量点名称',
`alias` varchar(64) COLLATE utf8_unicode_ci NOT NULL COMMENT '点别名,如 A',
`tag_id` bigint(20) NOT NULL COMMENT '关联的变量id',
`operation` int(2) NOT NULL COMMENT '统计方式 ,用字典定义,暂时是”原值“',
`variable_type` int(2) DEFAULT NULL COMMENT '数据来源方式 1-设备物模型 2-录入型变量 3-运算型变量',
`scene_model_data_id` bigint(20) DEFAULT NULL COMMENT '数据源id,对应scene_model_data表id',
`del_flag` char(1) CHARACTER SET utf8 DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) CHARACTER SET utf8 DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_by` varchar(64) CHARACTER SET utf8 DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`remark` varchar(500) CHARACTER SET utf8 DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='运算型变量点表';
-- fastbee.sip_config definition
CREATE TABLE `sip_config`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`product_id` bigint(20) NOT NULL COMMENT '产品ID',
`product_name` varchar(64) NOT NULL DEFAULT '' COMMENT '产品名称',
`enabled` tinyint(1) DEFAULT NULL COMMENT '使能开关',
`isdefault` tinyint(1) DEFAULT NULL COMMENT '系统默认配置',
`seniorSdp` tinyint(1) DEFAULT NULL COMMENT '拓展sdp',
`domain` varchar(10) NOT NULL DEFAULT '' COMMENT '服务器域',
`server_sipid` varchar(20) NOT NULL DEFAULT '' COMMENT '服务器sipid',
`password` varchar(20) NOT NULL DEFAULT '' COMMENT 'sip认证密码',
`ip` varchar(32) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT 'sip接入IP',
`port` bigint(10) DEFAULT NULL COMMENT 'sip接入端口号',
`del_flag` char(1) NOT NULL DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) NOT NULL DEFAULT '' COMMENT '创建者',
`create_time` datetime NOT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='sip系统配置';
-- fastbee.sip_device definition
CREATE TABLE `sip_device`
(
`device_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '设备ID',
`product_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '产品ID',
`product_name` varchar(64) NOT NULL DEFAULT '' COMMENT '产品名称',
`device_sip_id` varchar(64) NOT NULL COMMENT '设备SipID',
`device_name` varchar(64) NOT NULL DEFAULT '' COMMENT '设备名称',
`manufacturer` varchar(64) NOT NULL DEFAULT '' COMMENT '厂商名称',
`model` varchar(64) NOT NULL DEFAULT '' COMMENT '产品型号',
`firmware` varchar(64) NOT NULL DEFAULT '' COMMENT '固件版本',
`transport` varchar(64) NOT NULL DEFAULT 'UDP' COMMENT '传输模式',
`streamMode` varchar(64) NOT NULL DEFAULT 'UDP' COMMENT '流模式',
`online` varchar(64) NOT NULL DEFAULT '' COMMENT '在线状态',
`registerTime` datetime NOT NULL COMMENT '注册时间',
`lastConnectTime` datetime DEFAULT NULL COMMENT '最后上线时间',
`active_time` datetime DEFAULT NULL COMMENT '激活时间',
`ip` varchar(32) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '设备入网IP',
`port` bigint(10) DEFAULT NULL COMMENT '设备接入端口号',
`hostAddress` varchar(32) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '设备地址',
`del_flag` char(1) DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`device_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='监控设备';
-- fastbee.sip_device_channel definition
CREATE TABLE `sip_device_channel`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`tenant_id` bigint(20) DEFAULT '1',
`tenant_name` varchar(30) NOT NULL DEFAULT '' COMMENT '租户名称',
`product_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '产品ID',
`product_name` varchar(64) NOT NULL DEFAULT '' COMMENT '产品名称',
`user_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '产品ID',
`user_name` varchar(64) NOT NULL DEFAULT '' COMMENT '产品名称',
`device_sip_id` varchar(64) NOT NULL COMMENT '设备SipID',
`channel_sip_id` varchar(64) NOT NULL COMMENT '通道SipID',
`channel_name` varchar(64) NOT NULL DEFAULT '' COMMENT '通道名称',
`register_time` datetime DEFAULT NULL COMMENT '注册时间',
`device_type` varchar(64) DEFAULT '' COMMENT '设备类型',
`channel_type` varchar(64) DEFAULT '' COMMENT '通道类型',
`cityCode` varchar(64) NOT NULL DEFAULT '' COMMENT '城市编码',
`civilCode` varchar(64) NOT NULL DEFAULT '' COMMENT '行政区域',
`manufacture` varchar(64) NOT NULL DEFAULT '' COMMENT '厂商名称',
`model` varchar(64) NOT NULL DEFAULT '' COMMENT '产品型号',
`owner` varchar(64) NOT NULL DEFAULT '' COMMENT '设备归属',
`block` varchar(64) NOT NULL DEFAULT '' COMMENT '警区',
`address` varchar(64) NOT NULL DEFAULT '' COMMENT '安装地址',
`parentId` varchar(64) NOT NULL DEFAULT '' COMMENT '父级id',
`ipAddress` varchar(32) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '设备入网IP',
`port` bigint(10) DEFAULT '0' COMMENT '设备接入端口号',
`password` varchar(64) NOT NULL DEFAULT '' COMMENT '密码',
`PTZType` bigint(20) NOT NULL DEFAULT '0' COMMENT 'PTZ类型',
`PTZTypeText` varchar(64) NOT NULL DEFAULT '' COMMENT 'PTZ类型描述字符串',
`status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '设备状态(1-未激活,2-禁用,3-在线,4-离线)',
`longitude` double(11,6) DEFAULT NULL COMMENT '设备经度',
`latitude` double(11,6) DEFAULT NULL COMMENT '设备纬度',
`streamId` varchar(64) NOT NULL DEFAULT '' COMMENT '流媒体ID',
`subCount` bigint(20) NOT NULL DEFAULT '0' COMMENT '子设备数',
`parental` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否有子设备(1-有, 0-没有)',
`hasAudio` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否含有音频(1-有, 0-没有)',
`del_flag` char(1) NOT NULL DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) NOT NULL DEFAULT '' COMMENT '创建者',
`create_time` datetime NOT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`id`, `device_sip_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='监控设备通道信息';
-- fastbee.sys_auth_user definition
CREATE TABLE `sys_auth_user`
(
`auth_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '授权ID',
`uuid` varchar(500) NOT NULL COMMENT '第三方平台用户唯一ID',
`user_id` bigint(20) NOT NULL COMMENT '系统用户ID',
`login_name` varchar(30) NOT NULL COMMENT '登录账号',
`user_name` varchar(30) DEFAULT '' COMMENT '用户昵称',
`avatar` varchar(500) DEFAULT '' COMMENT '头像地址',
`email` varchar(255) DEFAULT '' COMMENT '用户邮箱',
`source` varchar(255) DEFAULT '' COMMENT '用户来源',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`auth_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='第三方授权表';
-- fastbee.sys_client definition
CREATE TABLE `sys_client`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id唯一标识',
`client_key` varchar(32) DEFAULT NULL COMMENT '客户端key',
`client_secret` varchar(255) DEFAULT NULL COMMENT '客户端秘钥',
`token` varchar(255) DEFAULT NULL COMMENT '客户端token',
`grant_type` varchar(255) DEFAULT NULL COMMENT '授权类型',
`device_type` varchar(32) DEFAULT NULL COMMENT '设备类型',
`timeout` int(11) DEFAULT '604800' COMMENT 'token固定超时',
`enable` char(1) DEFAULT '1' COMMENT '是否生效(0-不生效,1-生效)',
`del_flag` char(1) DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='系统授权表';
-- fastbee.sys_config definition
CREATE TABLE `sys_config`
(
`config_id` int(5) NOT NULL AUTO_INCREMENT COMMENT '参数主键',
`config_name` varchar(100) DEFAULT '' COMMENT '参数名称',
`config_key` varchar(100) DEFAULT '' COMMENT '参数键名',
`config_value` varchar(500) DEFAULT '' COMMENT '参数键值',
`config_type` char(1) DEFAULT 'N' COMMENT '系统内置(Y是 N否)',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`config_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='参数配置表';
-- fastbee.sys_dept definition
CREATE TABLE `sys_dept`
(
`dept_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '机构id',
`dept_user_id` bigint(20) DEFAULT NULL COMMENT '机构系统账号ID',
`parent_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '上级机构id',
`ancestors` varchar(50) NOT NULL DEFAULT '' COMMENT '祖级列表',
`dept_name` varchar(30) DEFAULT '' COMMENT '机构名称',
`order_num` int(4) DEFAULT '0' COMMENT '显示顺序',
`leader` varchar(20) NOT NULL COMMENT '联系人',
`phone` varchar(11) DEFAULT NULL COMMENT '联系电话',
`status` char(1) DEFAULT '0' COMMENT '机构状态(0正常 1停用)',
`del_flag` char(1) DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`email` varchar(255) DEFAULT NULL,
`dept_type` tinyint(11) DEFAULT NULL COMMENT '机构类型',
PRIMARY KEY (`dept_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='机构表';
-- fastbee.sys_dict_data definition
CREATE TABLE `sys_dict_data`
(
`dict_code` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '字典编码',
`dict_sort` int(4) DEFAULT '0' COMMENT '字典排序',
`dict_label` varchar(100) DEFAULT '' COMMENT '字典标签',
`dict_value` varchar(100) DEFAULT '' COMMENT '字典键值',
`dict_type` varchar(100) DEFAULT '' COMMENT '字典类型',
`css_class` varchar(100) DEFAULT NULL COMMENT '样式属性(其他样式扩展)',
`list_class` varchar(100) DEFAULT NULL COMMENT '表格回显样式',
`is_default` char(1) DEFAULT 'N' COMMENT '是否默认(Y是 N否)',
`status` char(1) DEFAULT '0' COMMENT '状态(0正常 1停用)',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(800) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`dict_code`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='字典数据表';
-- fastbee.sys_dict_data_translate definition
CREATE TABLE `sys_dict_data_translate`
(
`id` bigint(20) NOT NULL COMMENT 'ID',
`zh_cn` varchar(200) DEFAULT NULL COMMENT 'zh_CN',
`en_us` varchar(200) DEFAULT NULL COMMENT 'en_US',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='字典数据翻译表';
-- fastbee.sys_dict_type definition
CREATE TABLE `sys_dict_type`
(
`dict_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '字典主键',
`dict_name` varchar(100) DEFAULT '' COMMENT '字典名称',
`dict_type` varchar(100) DEFAULT '' COMMENT '字典类型',
`status` char(1) DEFAULT '0' COMMENT '状态(0正常 1停用)',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`dict_id`) USING BTREE,
UNIQUE KEY `dict_type` (`dict_type`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='字典类型表';
-- fastbee.sys_dict_type_translate definition
CREATE TABLE `sys_dict_type_translate`
(
`id` bigint(20) NOT NULL COMMENT 'ID',
`zh_cn` varchar(200) DEFAULT NULL COMMENT 'zh_CN',
`en_us` varchar(200) DEFAULT NULL COMMENT 'en_US',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='字典类型翻译表';
-- fastbee.sys_job definition
CREATE TABLE `sys_job`
(
`job_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '任务ID',
`job_name` varchar(64) NOT NULL DEFAULT '' COMMENT '任务名称',
`job_group` varchar(64) NOT NULL DEFAULT 'DEFAULT' COMMENT '任务组名',
`invoke_target` varchar(500) NOT NULL COMMENT '调用目标字符串',
`cron_expression` varchar(255) DEFAULT '' COMMENT 'cron执行表达式',
`misfire_policy` varchar(20) DEFAULT '3' COMMENT '计划执行错误策略(1立即执行 2执行一次 3放弃执行)',
`concurrent` char(1) DEFAULT '1' COMMENT '是否并发执行(0允许 1禁止)',
`status` char(1) DEFAULT '0' COMMENT '状态(0正常 1暂停)',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT '' COMMENT '备注信息',
PRIMARY KEY (`job_id`, `job_name`, `job_group`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='定时任务调度表';
-- fastbee.sys_job_log definition
CREATE TABLE `sys_job_log`
(
`job_log_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '任务日志ID',
`job_name` varchar(64) NOT NULL COMMENT '任务名称',
`job_group` varchar(64) NOT NULL COMMENT '任务组名',
`invoke_target` varchar(500) NOT NULL COMMENT '调用目标字符串',
`job_message` varchar(500) DEFAULT NULL COMMENT '日志信息',
`status` char(1) DEFAULT '0' COMMENT '执行状态(0正常 1失败)',
`exception_info` varchar(2000) DEFAULT '' COMMENT '异常信息',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`job_log_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='定时任务调度日志表';
-- fastbee.sys_logininfor definition
CREATE TABLE `sys_logininfor`
(
`info_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '访问ID',
`user_name` varchar(50) DEFAULT '' COMMENT '用户账号',
`ipaddr` varchar(128) DEFAULT '' COMMENT '登录IP地址',
`login_location` varchar(255) DEFAULT '' COMMENT '登录地点',
`browser` varchar(50) DEFAULT '' COMMENT '浏览器类型',
`os` varchar(50) DEFAULT '' COMMENT '操作系统',
`status` char(1) DEFAULT '0' COMMENT '登录状态(0成功 1失败)',
`msg` varchar(255) DEFAULT '' COMMENT '提示消息',
`login_time` datetime DEFAULT NULL COMMENT '访问时间',
PRIMARY KEY (`info_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='系统访问记录';
-- fastbee.sys_menu definition
CREATE TABLE `sys_menu`
(
`menu_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '菜单ID',
`menu_name` varchar(50) NOT NULL COMMENT '菜单名称',
`parent_id` bigint(20) DEFAULT '0' COMMENT '父菜单ID',
`order_num` int(4) DEFAULT '0' COMMENT '显示顺序',
`path` varchar(200) DEFAULT '' COMMENT '路由地址',
`component` varchar(255) DEFAULT NULL COMMENT '组件路径',
`query` varchar(255) DEFAULT NULL COMMENT '路由参数',
`is_frame` int(1) DEFAULT '1' COMMENT '是否为外链(0是 1否)',
`is_cache` int(1) DEFAULT '0' COMMENT '是否缓存(0缓存 1不缓存)',
`menu_type` char(1) DEFAULT '' COMMENT '菜单类型(M目录 C菜单 F按钮)',
`visible` char(1) DEFAULT '0' COMMENT '菜单状态(0显示 1隐藏)',
`status` char(1) DEFAULT '0' COMMENT '菜单状态(0正常 1停用)',
`perms` varchar(100) DEFAULT NULL COMMENT '权限标识',
`icon` varchar(100) DEFAULT '#' COMMENT '菜单图标',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT '' COMMENT '备注',
PRIMARY KEY (`menu_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=3372 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='菜单权限表';
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1, '系统管理', 0, 6, 'system', NULL, '', 1, 0, 'M', '0', '0', '', 'system', 'admin', '2021-12-15 21:36:18', 'admin', '2023-07-06 16:29:14', '系统管理目录');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2, '系统监控', 0, 6, 'monitor', NULL, '', 1, 0, 'M', '0', '0', '', 'monitor', 'admin', '2021-12-15 21:36:18', 'admin', '2023-07-06 16:24:01', '系统监控目录');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3, '系统工具', 0, 8, 'tool', NULL, '', 1, 0, 'M', '0', '0', '', 'tool', 'admin', '2021-12-15 21:36:18', 'admin', '2023-07-06 16:26:26', '系统工具目录');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(4, '蜂信物联', 0, 99, 'http://fastbee.cn', NULL, '', 0, 0, 'M', '0', '0', '', 'guide', 'admin', '2021-12-15 21:36:18', 'admin', '2024-03-11 18:10:41', '若依官网地址');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(5, '企业管理', 0, 5, 'enterprise', NULL, '', 1, 0, 'M', '0', '0', '', 'authenticate', 'admin', '2021-12-15 21:36:18', 'admin', '2024-03-20 15:57:01', '企业管理目录');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(100, '用户管理', 5, 1, 'user', 'system/user/index', '', 1, 0, 'C', '0', '0', 'system:user:list', 'user', 'admin', '2021-12-15 21:36:18', '', NULL, '用户管理菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(101, '角色管理', 5, 2, 'role', 'system/role/index', '', 1, 0, 'C', '0', '0', 'system:role:list', 'peoples', 'admin', '2021-12-15 21:36:18', '', NULL, '角色管理菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(102, '菜单管理', 5, 3, 'menu', 'system/menu/index', '', 1, 0, 'C', '0', '0', 'system:menu:list', 'tree-table', 'admin', '2021-12-15 21:36:18', '', NULL, '菜单管理菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(103, '机构管理', 5, 4, 'dept', 'system/dept/index', '', 1, 0, 'C', '0', '0', 'system:dept:list', 'tree', 'admin', '2021-12-15 21:36:18', '', NULL, '部门管理菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(104, '岗位管理', 1, 5, 'post', 'system/post/index', '', 1, 0, 'C', '0', '0', 'system:post:list', 'post', 'admin', '2021-12-15 21:36:18', '', NULL, '岗位管理菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(105, '字典管理', 1, 6, 'dict', 'system/dict/index', '', 1, 0, 'C', '0', '0', 'system:dict:list', 'dict', 'admin', '2021-12-15 21:36:18', '', NULL, '字典管理菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(106, '参数设置', 1, 7, 'config', 'system/config/index', '', 1, 0, 'C', '0', '0', 'system:config:list', 'edit', 'admin', '2021-12-15 21:36:18', '', NULL, '参数设置菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(107, '通知公告', 1, 8, 'notice', 'system/notice/index', '', 1, 0, 'C', '0', '0', 'system:notice:list', 'message', 'admin', '2021-12-15 21:36:18', '', NULL, '通知公告菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(108, '日志管理', 1, 9, 'log', '', '', 1, 0, 'M', '0', '0', '', 'log', 'admin', '2021-12-15 21:36:18', '', NULL, '日志管理菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(109, '在线用户', 2, 1, 'online', 'monitor/online/index', '', 1, 0, 'C', '0', '0', 'monitor:online:list', 'online', 'admin', '2021-12-15 21:36:18', '', NULL, '在线用户菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(110, '定时任务', 2, 2, 'job', 'monitor/job/index', '', 1, 0, 'C', '0', '0', 'monitor:job:list', 'job', 'admin', '2021-12-15 21:36:18', '', NULL, '定时任务菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(111, '数据监控', 2, 3, 'druid', 'monitor/druid/index', '', 1, 0, 'C', '0', '0', 'monitor:druid:list', 'druid', 'admin', '2021-12-15 21:36:18', '', NULL, '数据监控菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(112, '服务监控', 2, 4, 'server', 'monitor/server/index', '', 1, 0, 'C', '0', '0', 'monitor:server:list', 'server', 'admin', '2021-12-15 21:36:18', '', NULL, '服务监控菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(113, '缓存监控', 2, 5, 'cache', 'monitor/cache/index', '', 1, 0, 'C', '0', '0', 'monitor:cache:list', 'redis', 'admin', '2021-12-15 21:36:18', '', NULL, '缓存监控菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(114, '表单构建', 3, 1, 'build', 'tool/build/index', '', 1, 0, 'C', '0', '0', 'tool:build:list', 'build', 'admin', '2021-12-15 21:36:18', '', NULL, '表单构建菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(115, '代码生成', 3, 2, 'gen', 'tool/gen/index', '', 1, 0, 'C', '0', '0', 'tool:gen:list', 'code', 'admin', '2021-12-15 21:36:18', '', NULL, '代码生成菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(116, '系统接口', 3, 3, 'swagger', 'tool/swagger/index', '', 1, 0, 'C', '0', '0', 'tool:swagger:list', 'swagger', 'admin', '2021-12-15 21:36:18', '', NULL, '系统接口菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(124, '缓存列表', 2, 6, 'cacheList', 'monitor/cache/list', '', 1, 0, 'C', '0', '0', 'monitor:cache:list', 'redis-list', 'admin', '2023-03-10 23:22:42', '', NULL, '缓存列表菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(500, '操作日志', 108, 1, 'operlog', 'monitor/operlog/index', '', 1, 0, 'C', '0', '0', 'monitor:operlog:list', 'form', 'admin', '2021-12-15 21:36:18', '', NULL, '操作日志菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(501, '登录日志', 108, 2, 'logininfor', 'monitor/logininfor/index', '', 1, 0, 'C', '0', '0', 'monitor:logininfor:list', 'logininfor', 'admin', '2021-12-15 21:36:18', '', NULL, '登录日志菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1001, '用户查询', 100, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:user:query', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1002, '用户新增', 100, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:user:add', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1003, '用户修改', 100, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:user:edit', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1004, '用户删除', 100, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:user:remove', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1005, '用户导出', 100, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:user:export', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1006, '用户导入', 100, 6, '', '', '', 1, 0, 'F', '0', '0', 'system:user:import', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1007, '重置密码', 100, 7, '', '', '', 1, 0, 'F', '0', '0', 'system:user:resetPwd', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1008, '角色查询', 101, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:role:query', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1009, '角色新增', 101, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:role:add', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1010, '角色修改', 101, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:role:edit', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1011, '角色删除', 101, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:role:remove', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1012, '角色导出', 101, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:role:export', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1013, '菜单查询', 102, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:query', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1014, '菜单新增', 102, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:add', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1015, '菜单修改', 102, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:edit', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1016, '菜单删除', 102, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:remove', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1017, '部门查询', 103, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:query', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1018, '部门新增', 103, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:add', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1019, '部门修改', 103, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:edit', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1020, '部门删除', 103, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:remove', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1021, '岗位查询', 104, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:post:query', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1022, '岗位新增', 104, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:post:add', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1023, '岗位修改', 104, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:post:edit', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1024, '岗位删除', 104, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:post:remove', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1025, '岗位导出', 104, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:post:export', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1026, '字典查询', 105, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:query', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1027, '字典新增', 105, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:add', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1028, '字典修改', 105, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:edit', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1029, '字典删除', 105, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:remove', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1030, '字典导出', 105, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:export', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1031, '参数查询', 106, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:query', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1032, '参数新增', 106, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:add', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1033, '参数修改', 106, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:edit', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1034, '参数删除', 106, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:remove', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1035, '参数导出', 106, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:export', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1036, '公告查询', 107, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:query', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1037, '公告新增', 107, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:add', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1038, '公告修改', 107, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:edit', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1039, '公告删除', 107, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:remove', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1040, '操作查询', 500, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:operlog:query', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1041, '操作删除', 500, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:operlog:remove', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1042, '日志导出', 500, 4, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:operlog:export', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1043, '登录查询', 501, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:query', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1044, '登录删除', 501, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:remove', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1045, '日志导出', 501, 3, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:export', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1046, '在线查询', 109, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:query', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1047, '批量强退', 109, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:batchLogout', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1048, '单条强退', 109, 3, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:forceLogout', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1049, '任务查询', 110, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:query', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1050, '任务新增', 110, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:add', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1051, '任务修改', 110, 3, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:edit', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1052, '任务删除', 110, 4, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:remove', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1053, '状态修改', 110, 5, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:changeStatus', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1054, '任务导出', 110, 7, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:export', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1055, '生成查询', 115, 1, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:query', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1056, '生成修改', 115, 2, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:edit', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1057, '生成删除', 115, 3, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:remove', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1058, '导入代码', 115, 2, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:import', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1059, '预览代码', 115, 4, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:preview', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1060, '生成代码', 115, 5, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:code', '#', 'admin', '2021-12-15 21:36:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(1065, '账户解锁', 501, 4, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:unlock', '#', 'admin', '2023-03-10 23:23:04', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2000, '设备管理', 0, 0, 'iot', NULL, NULL, 1, 0, 'M', '0', '0', '', 'iot', 'admin', '2021-12-15 23:57:06', 'admin', '2021-12-26 23:55:54', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2001, '产品分类', 2000, 2, 'category', 'iot/category/index', NULL, 1, 0, 'C', '0', '0', 'iot:category:list', 'category', 'admin', '2021-12-16 00:40:02', 'admin', '2021-12-26 23:56:20', '产品分类菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2002, '产品分类查询', 2001, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:category:query', '#', 'admin', '2021-12-16 00:40:02', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2003, '产品分类新增', 2001, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:category:add', '#', 'admin', '2021-12-16 00:40:02', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2004, '产品分类修改', 2001, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:category:edit', '#', 'admin', '2021-12-16 00:40:02', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2005, '产品分类删除', 2001, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:category:remove', '#', 'admin', '2021-12-16 00:40:02', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2006, '产品分类导出', 2001, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:category:export', '#', 'admin', '2021-12-16 00:40:02', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2007, '设备管理', 2000, 6, 'device', 'iot/device/index', NULL, 1, 0, 'C', '0', '0', 'iot:device:list', 'device', 'admin', '2021-12-16 00:40:12', 'admin', '2022-01-08 15:47:14', '设备菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2008, '设备查询', 2007, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:device:query', '#', 'admin', '2021-12-16 00:40:12', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2009, '设备新增', 2007, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:device:add', '#', 'admin', '2021-12-16 00:40:12', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2010, '设备修改', 2007, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:device:edit', '#', 'admin', '2021-12-16 00:40:12', 'admin', '2024-01-19 11:55:42', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2011, '设备删除', 2007, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:device:remove', '#', 'admin', '2021-12-16 00:40:12', 'admin', '2024-01-19 11:39:07', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2012, '设备导出', 2007, 8, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:device:export', '#', 'admin', '2021-12-16 00:40:12', 'admin', '2024-01-19 11:39:33', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2013, '产品固件', 3000, 4, 'firmware', 'iot/firmware/index', NULL, 1, 0, 'C', '0', '0', 'iot:firmware:list', 'firmware', 'admin', '2021-12-16 00:40:20', 'admin', '2021-12-26 23:56:42', '产品固件菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2014, '产品固件查询', 2013, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:firmware:query', '#', 'admin', '2021-12-16 00:40:20', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2015, '产品固件新增', 2013, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:firmware:add', '#', 'admin', '2021-12-16 00:40:20', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2016, '产品固件修改', 2013, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:firmware:edit', '#', 'admin', '2021-12-16 00:40:20', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2017, '产品固件删除', 2013, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:firmware:remove', '#', 'admin', '2021-12-16 00:40:20', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2018, '产品固件导出', 2013, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:firmware:export', '#', 'admin', '2021-12-16 00:40:20', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2019, '设备分组', 2000, 5, 'group', 'iot/group/index', NULL, 1, 0, 'C', '0', '0', 'iot:group:list', 'group', 'admin', '2021-12-16 00:40:31', 'admin', '2021-12-26 23:56:54', '设备分组菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2020, '设备分组查询', 2019, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:group:query', '#', 'admin', '2021-12-16 00:40:31', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2021, '设备分组新增', 2019, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:group:add', '#', 'admin', '2021-12-16 00:40:31', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2022, '设备分组修改', 2019, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:group:edit', '#', 'admin', '2021-12-16 00:40:31', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2023, '设备分组删除', 2019, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:group:remove', '#', 'admin', '2021-12-16 00:40:31', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2024, '设备分组导出', 2019, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:group:export', '#', 'admin', '2021-12-16 00:40:31', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2043, '产品管理', 2000, 3, 'product', 'iot/product/index', NULL, 1, 0, 'C', '0', '0', 'iot:product:list', 'product', 'admin', '2021-12-16 00:41:18', 'admin', '2021-12-26 23:58:44', '产品菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2044, '产品查询', 2043, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:product:query', '#', 'admin', '2021-12-16 00:41:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2045, '产品新增', 2043, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:product:add', '#', 'admin', '2021-12-16 00:41:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2046, '产品修改', 2043, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:product:edit', '#', 'admin', '2021-12-16 00:41:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2047, '产品删除', 2043, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:product:remove', '#', 'admin', '2021-12-16 00:41:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2048, '产品导出', 2043, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:product:export', '#', 'admin', '2021-12-16 00:41:18', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2049, '通用物模型', 2000, 1, 'template', 'iot/template/index', NULL, 1, 0, 'C', '0', '0', 'iot:template:list', 'model', 'admin', '2021-12-16 00:41:28', 'admin', '2021-12-26 23:56:09', '通用物模型菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2050, '通用物模型查询', 2049, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:template:query', '#', 'admin', '2021-12-16 00:41:28', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2051, '通用物模型新增', 2049, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:template:add', '#', 'admin', '2021-12-16 00:41:28', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2052, '通用物模型修改', 2049, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:template:edit', '#', 'admin', '2021-12-16 00:41:28', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2053, '通用物模型删除', 2049, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:template:remove', '#', 'admin', '2021-12-16 00:41:28', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2054, '通用物模型导出', 2049, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:template:export', '#', 'admin', '2021-12-16 00:41:28', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2067, '告警记录', 3051, 7, 'alertLog', 'iot/alert/log', NULL, 1, 0, 'C', '0', '0', 'iot:alertLog:list', 'log', 'admin', '2022-01-13 17:16:15', 'admin', '2024-04-25 09:35:41', '设备告警菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2068, '设备告警查询', 2067, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:alertLog:query', '#', 'admin', '2022-01-13 17:16:15', 'admin', '2022-06-11 00:38:10', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2069, '设备告警新增', 2067, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:alertLog:add', '#', 'admin', '2022-01-13 17:16:15', 'admin', '2022-06-11 00:38:20', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2070, '设备告警修改', 2067, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:alertLog:edit', '#', 'admin', '2022-01-13 17:16:15', 'admin', '2022-06-11 00:38:29', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2071, '设备告警删除', 2067, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:alertLog:remove', '#', 'admin', '2022-01-13 17:16:15', 'admin', '2022-06-11 00:38:38', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2072, '设备告警导出', 2067, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:alertLog:export', '#', 'admin', '2022-01-13 17:16:15', 'admin', '2022-06-11 00:38:46', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2085, '场景联动', 3051, 8, 'scene', 'iot/scene/index', NULL, 1, 0, 'C', '0', '0', 'iot:scene:list', 'scene', 'admin', '2022-01-13 17:16:45', 'admin', '2022-11-02 22:01:32', '场景联动菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2086, '场景联动查询', 2085, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:scene:query', '#', 'admin', '2022-01-13 17:16:45', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2087, '场景联动新增', 2085, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:scene:add', '#', 'admin', '2022-01-13 17:16:45', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2088, '场景联动修改', 2085, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:scene:edit', '#', 'admin', '2022-01-13 17:16:45', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2089, '场景联动删除', 2085, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:scene:remove', '#', 'admin', '2022-01-13 17:16:45', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2090, '场景联动导出', 2085, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:scene:export', '#', 'admin', '2022-01-13 17:16:45', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2099, '云云对接查询', 3191, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:clientDetails:query', '#', 'admin', '2022-02-07 22:08:59', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2100, '云云对接新增', 3191, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:clientDetails:add', '#', 'admin', '2022-02-07 22:08:59', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2101, '云云对接修改', 3191, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:clientDetails:edit', '#', 'admin', '2022-02-07 22:08:59', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2102, '云云对接删除', 3191, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:clientDetails:remove', '#', 'admin', '2022-02-07 22:08:59', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2103, '云云对接导出', 3191, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:clientDetails:export', '#', 'admin', '2022-02-07 22:08:59', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2104, 'EMQ管理', 0, 3, 'emqx', NULL, NULL, 1, 0, 'M', '1', '0', '', 'mq', 'admin', '2022-02-26 00:42:12', 'admin', '2023-09-27 01:48:40', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2123, '新闻分类', 1, 10, 'newsCategory', 'iot/newsCategory/index', NULL, 1, 0, 'C', '0', '0', 'iot:newsCategory:list', 'category', 'admin', '2022-04-11 16:47:27', 'admin', '2022-05-12 17:20:51', '新闻分类菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2124, '新闻分类查询', 2123, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:newsCategory:query', '#', 'admin', '2022-04-11 16:47:27', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2125, '新闻分类新增', 2123, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:newsCategory:add', '#', 'admin', '2022-04-11 16:47:27', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2126, '新闻分类修改', 2123, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:newsCategory:edit', '#', 'admin', '2022-04-11 16:47:27', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2127, '新闻分类删除', 2123, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:newsCategory:remove', '#', 'admin', '2022-04-11 16:47:27', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2128, '新闻分类导出', 2123, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:newsCategory:export', '#', 'admin', '2022-04-11 16:47:27', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2129, '新闻资讯', 1, 11, 'news', 'iot/news/index', NULL, 1, 0, 'C', '0', '0', 'iot:news:list', 'documentation', 'admin', '2022-04-11 16:47:46', 'admin', '2022-05-12 17:20:58', '新闻资讯菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2130, '新闻资讯查询', 2129, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:news:query', '#', 'admin', '2022-04-11 16:47:46', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2131, '新闻资讯新增', 2129, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:news:add', '#', 'admin', '2022-04-11 16:47:46', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2132, '新闻资讯修改', 2129, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:news:edit', '#', 'admin', '2022-04-11 16:47:46', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2133, '新闻资讯删除', 2129, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:news:remove', '#', 'admin', '2022-04-11 16:47:46', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2134, '新闻资讯导出', 2129, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:news:export', '#', 'admin', '2022-04-11 16:47:46', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2136, '产品授权码查询', 2043, 6, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:authorize:query', '#', 'admin', '2022-04-11 17:17:53', 'admin', '2022-06-04 21:21:40', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2137, '产品授权码新增', 2043, 7, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:authorize:add', '#', 'admin', '2022-04-11 17:17:53', 'admin', '2022-06-04 21:21:59', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2138, '产品授权码修改', 2043, 8, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:authorize:edit', '#', 'admin', '2022-04-11 17:17:53', 'admin', '2022-06-04 21:22:08', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2139, '产品授权码删除', 2043, 9, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:authorize:remove', '#', 'admin', '2022-04-11 17:17:53', 'admin', '2022-06-04 21:22:26', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2140, '产品授权码导出', 2043, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:authorize:export', '#', 'admin', '2022-04-11 17:17:53', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2141, '三方登录', 1, 12, 'platform', 'iot/platform/index', NULL, 1, 1, 'C', '0', '0', 'iot:platform:list', 'cloud', 'admin', '2022-04-11 18:55:34', 'admin', '2023-08-31 11:10:47', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2142, '平台查询', 2142, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:platform:query', '#', 'admin', '2022-04-11 19:10:28', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2147, '设备用户列表', 2007, 6, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:device:user:list', '#', 'admin', '2022-06-10 01:08:40', 'admin', '2022-06-10 01:10:46', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2148, '设备定时', 2007, 7, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:device:timer:list', '#', 'admin', '2022-06-10 01:10:30', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2149, '固定大屏', 3049, 2, 'https://iot.fastbee.cn/bigScreen', NULL, NULL, 0, 0, 'C', '0', '0', '', 'monitor', 'admin', '2022-08-13 22:32:11', 'admin', '2023-11-09 15:59:21', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2167, '可视化管理', 3049, 0, 'https://fastbee.online/view/#/project/items', NULL, NULL, 0, 0, 'C', '0', '0', '', 'eye-open', 'admin', '2022-11-06 21:44:50', 'zzy', '2024-04-25 12:02:27', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2168, '通道管理', 3046, 1, 'sip', 'iot/sip/index', NULL, 1, 0, 'C', '0', '0', 'iot:video:list', 'live', 'admin', '2023-02-21 00:21:39', 'admin', '2023-09-24 18:17:12', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2169, '视频配置查询', 2168, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:video:query', '#', 'admin', '2023-02-22 07:55:16', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2170, '视频配置新增', 2168, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', ' iot:video:add', '#', 'admin', '2023-02-22 07:56:41', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2171, '视频配置修改', 2168, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:video:edit', '#', 'admin', '2023-02-22 07:57:26', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2172, '视频配置删除', 2168, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:video:remove', '#', 'admin', '2023-02-22 07:58:03', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2173, '固件任务', 3000, 1, 'task', '', NULL, 1, 0, 'F', '0', '0', 'iot:task:list', '#', 'admin', '2023-02-28 01:17:55', '', NULL, '【请填写功能名称】菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2174, '固件任务查询', 2173, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:task:query', '#', 'admin', '2023-02-28 01:18:07', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2175, '固件任务新增', 2173, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:task:add', '#', 'admin', '2023-02-28 01:18:07', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2176, '固件任务修改', 2173, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:task:edit', '#', 'admin', '2023-02-28 01:18:07', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2177, '固件任务删除', 2173, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:task:remove', '#', 'admin', '2023-02-28 01:18:07', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2178, '固件任务导出', 2173, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:task:export', '#', 'admin', '2023-02-28 01:18:07', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2179, '固件详情', 3000, 1, 'detail', '', NULL, 1, 0, 'F', '0', '0', 'iot:detail:list', '#', 'admin', '2023-02-28 01:20:13', '', NULL, '固件详情菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2180, '固件详情查询', 2179, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:detail:query', '#', 'admin', '2023-02-28 01:20:13', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2181, '固件详情新增', 2179, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:detail:add', '#', 'admin', '2023-02-28 01:20:13', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2182, '固件详情修改', 2179, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:detail:edit', '#', 'admin', '2023-02-28 01:20:13', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2183, '固件详情删除', 2179, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:detail:remove', '#', 'admin', '2023-02-28 01:20:13', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(2184, '固件详情导出', 2179, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:detail:export', '#', 'admin', '2023-02-28 01:20:13', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3000, '运维管理', 0, 1, 'template', NULL, NULL, 1, 0, 'M', '0', '0', '', 'tree', 'admin', '2021-12-15 23:57:06', 'admin', '2023-02-28 11:51:36', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3001, '设备服务下发日志', 2000, 1, 'log', 'iot/log/index', NULL, 1, 0, 'F', '0', '0', 'iot:log:list', '#', 'admin', '2023-02-28 11:22:19', '', NULL, '设备服务下发日志菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3002, '设备服务下发日志查询', 3001, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:log:query', '#', 'admin', '2023-02-28 11:22:19', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3003, '设备服务下发日志新增', 3001, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:log:add', '#', 'admin', '2023-02-28 11:22:19', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3004, '设备服务下发日志修改', 3001, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:log:edit', '#', 'admin', '2023-02-28 11:22:19', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3005, '设备服务下发日志删除', 3001, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:log:remove', '#', 'admin', '2023-02-28 11:22:19', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3006, '设备服务下发日志导出', 3001, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:log:export', '#', 'admin', '2023-02-28 11:22:19', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3007, '协议管理', 3000, 1, 'protocol', 'iot/protocol/index', NULL, 1, 0, 'C', '0', '0', 'iot:protocol:list', 'connect', 'admin', '2023-02-28 11:26:54', 'admin', '2023-04-12 22:02:14', '协议菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3008, '协议查询', 3007, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:protocol:query', '#', 'admin', '2023-02-28 11:26:54', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3009, '协议新增', 3007, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:protocol:add', '#', 'admin', '2023-02-28 11:26:54', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3010, '协议修改', 3007, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:protocol:edit', '#', 'admin', '2023-02-28 11:26:54', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3011, '协议删除', 3007, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:protocol:remove', '#', 'admin', '2023-02-28 11:26:54', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3012, '协议导出', 3007, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:protocol:export', '#', 'admin', '2023-02-28 11:26:55', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3031, 'Netty管理', 0, 7, 'netty', NULL, NULL, 1, 0, 'M', '0', '0', '', 'mq', 'admin', '2022-02-26 00:42:12', 'admin', '2023-09-27 01:48:40', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3032, '客户端', 3031, 1, 'client', 'iot/netty/clients', NULL, 1, 0, 'C', '0', '0', 'iot:emqx:client', 'client', 'admin', '2022-02-26 00:45:39', 'admin', '2022-06-03 14:11:22', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3033, '事件日志', 2000, 1, 'log', 'iot/log/index', NULL, 1, 0, 'F', '0', '0', 'iot:event:list', '#', 'admin', '2023-03-28 14:23:52', '', NULL, '事件日志菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3034, '事件日志查询', 3033, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:event:query', '#', 'admin', '2023-03-28 14:23:52', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3035, '事件日志新增', 3033, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:event:add', '#', 'admin', '2023-03-28 14:23:52', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3036, '事件日志修改', 3033, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:event:edit', '#', 'admin', '2023-03-28 14:23:52', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3037, '事件日志删除', 3033, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:event:remove', '#', 'admin', '2023-03-28 14:23:52', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3038, '事件日志导出', 3033, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:event:export', '#', 'admin', '2023-03-28 14:23:52', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3044, '服务下发', 2007, 9, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:service:invoke', '#', 'admin', '2023-06-29 22:55:58', 'admin', '2024-01-19 11:40:10', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3046, '视频中心', 0, 3, 'video', NULL, NULL, 1, 0, 'M', '0', '0', '', 'build', 'admin', '2023-05-16 22:05:11', 'admin', '2023-07-06 16:22:36', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3047, '分屏显示', 3046, 0, 'splitview', 'iot/sip/splitview', NULL, 1, 0, 'C', '0', '0', '', 'build', 'admin', '2023-05-16 22:08:33', 'admin', '2023-05-20 15:31:06', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3048, '视频配置', 3046, 2, 'mediaServer', 'iot/sip/mediaServer', NULL, 1, 0, 'C', '0', '0', '', 'edit', 'admin', '2023-05-16 22:09:10', 'admin', '2023-09-24 18:17:22', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3049, '数据可视化', 0, 4, 'screen', NULL, NULL, 1, 0, 'M', '0', '0', '', 'monitor-a', 'admin', '2023-07-06 16:16:31', 'admin', '2023-07-06 16:29:32', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3051, '规则引擎', 0, 4, 'ruleengine', NULL, NULL, 1, 0, 'M', '0', '0', '', 'channel', 'admin', '2023-07-03 21:22:19', 'admin', '2023-11-13 10:46:00', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3052, '可视化大屏', 3049, 3, 'https://iot.fastbee.cn/view/#/chart/preview/8bfbff4471264767a6b34f9da254de44', NULL, NULL, 0, 0, 'C', '0', '0', '', 'monitor', 'admin', '2023-07-06 16:52:01', 'admin', '2023-11-09 15:59:52', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3055, '规则脚本', 3051, 2, 'script', 'iot/scene/script', NULL, 1, 0, 'C', '0', '0', 'iot:script:list', 'code', 'admin', '2023-07-06 21:03:14', 'admin', '2024-02-18 16:27:50', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3099, '录像管理', 3046, 3, 'record', 'iot/record/record', NULL, 1, 0, 'C', '0', '0', '', 'video', 'admin', '2023-05-16 22:09:34', 'admin', '2023-09-24 18:14:42', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3100, 'Mqtt统计', 3031, 2, 'mqtt', 'iot/netty/mqtt', NULL, 1, 0, 'C', '0', '0', 'monitor:server:list', 'monitor', 'admin', '2023-09-02 22:16:21', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3102, '通知渠道', 3000, 7, 'channel', 'notify/channel/index', NULL, 1, 0, 'C', '0', '0', 'notify:channel:list', 'notify_channel', 'admin', '2023-12-01 10:18:40', 'admin', '2024-01-03 11:00:37', '通知渠道菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3103, '通知渠道查询', 3102, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'notify:channel:query', '#', 'admin', '2023-12-01 10:18:40', 'admin', '2024-01-03 11:01:24', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3104, '通知渠道新增', 3102, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'notify:channel:add', '#', 'admin', '2023-12-01 10:18:40', 'admin', '2024-01-03 11:01:31', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3105, '通知渠道修改', 3102, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'notify:channel:edit', '#', 'admin', '2023-12-01 10:18:40', 'admin', '2024-01-03 11:01:36', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3106, '通知渠道删除', 3102, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'notify:channel:remove', '#', 'admin', '2023-12-01 10:18:40', 'admin', '2024-01-03 11:01:41', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3107, '通知渠道导出', 3102, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'notify:channel:export', '#', 'admin', '2023-12-01 10:18:41', 'admin', '2024-01-03 11:01:52', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3108, '通知模板', 3000, 7, 'notifyTemplate', 'notify/template/index', NULL, 1, 0, 'C', '0', '0', 'notify:template:list', 'template', 'admin', '2023-12-22 15:19:44', 'admin', '2024-01-03 11:02:12', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3109, '通知模板查询', 3108, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'notify:template:query', '#', 'admin', '2024-01-03 11:02:55', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3110, '通知模板新增', 3108, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'notify:template:add', '#', 'admin', '2024-01-03 11:03:23', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3111, '通知模板修改', 3108, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'notify:template:edit', '#', 'admin', '2024-01-03 11:03:40', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3112, '通知模板删除', 3108, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'notify:template:remove', '#', 'admin', '2024-01-03 11:03:55', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3113, '通知模板导出', 3108, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'notify:template:export', '#', 'admin', '2024-01-03 11:04:16', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3114, '通知模板测试', 3108, 6, '', NULL, NULL, 1, 0, 'F', '0', '0', 'notify:template:send', '#', 'admin', '2024-01-03 11:07:19', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3115, '通知日志', 3000, 7, 'notifylog', 'notify/log/index', NULL, 1, 0, 'C', '0', '0', 'notify:log:list', 'notify_log', 'admin', '2023-12-28 10:10:52', 'admin', '2024-01-03 11:05:11', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3116, '通知日志导出', 3115, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'notify:log:export', '#', 'admin', '2024-01-03 11:06:11', 'admin', '2024-02-19 09:08:12', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3117, '通知日志删除', 3115, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'notify:log:remove', '#', 'admin', '2024-01-03 11:06:31', 'admin', '2024-02-19 09:08:16', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3147, '告警配置', 3051, 6, 'alert', 'iot/alert/index', NULL, 1, 0, 'C', '0', '0', 'iot:alert:list', 'alert', 'admin', '2023-11-12 10:58:01', 'admin', '2024-02-01 02:36:17', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3148, '规则脚本导出', 3055, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:script:export', '#', 'admin', '2024-02-18 16:29:02', 'admin', '2024-02-18 16:38:04', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3149, '规则脚本查询', 3055, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:script:query', '#', 'admin', '2024-02-18 16:29:22', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3150, '规则脚本新增', 3055, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:script:add', '#', 'admin', '2024-02-18 16:29:41', 'admin', '2024-02-18 16:37:42', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3151, '规则脚本修改', 3055, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:script:edit', '#', 'admin', '2024-02-18 16:30:03', 'admin', '2024-02-18 16:37:50', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3152, '规则脚本删除', 3055, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:script:remove', '#', 'admin', '2024-02-18 16:30:20', 'admin', '2024-02-18 16:37:59', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3153, '告警配置导出', 3147, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:alert:export', '#', 'admin', '2024-02-18 16:35:43', 'admin', '2024-02-18 16:38:29', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3154, '告警配置查询', 3147, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:alert:query', '#', 'admin', '2024-02-18 16:36:07', 'admin', '2024-02-18 16:38:22', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3155, '告警配置新增', 3147, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:alert:add', '#', 'admin', '2024-02-18 16:36:35', 'admin', '2024-02-18 16:38:35', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3156, '告警配置修改', 3147, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:alert:edit', '#', 'admin', '2024-02-18 16:37:00', 'admin', '2024-02-18 16:38:40', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3157, '告警配置删除', 3147, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:alert:remove', '#', 'admin', '2024-02-18 16:37:22', 'admin', '2024-02-18 16:38:46', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3158, '通知日志详情', 3115, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'notify:log:query', '#', 'admin', '2024-02-19 09:08:06', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3159, '组态管理', 0, 8, 'scada', NULL, NULL, 1, 0, 'M', '0', '0', '', 'group', 'admin', '2023-11-10 09:56:35', 'admin', '2024-03-20 15:57:29', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3160, '独立组态', 3159, 1, 'center', 'scada/center/indieScada', NULL, 1, 0, 'C', '0', '0', 'scada:center:list', 'product', 'admin', '2024-03-01 11:38:48', 'admin', '2024-03-01 16:13:30', '组态中心菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3161, '组态中心查询', 3159, 6, '#', '', NULL, 1, 0, 'F', '0', '0', 'scada:center:query', '#', 'admin', '2024-03-01 11:38:48', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3162, '组态中心新增', 3159, 6, '#', '', NULL, 1, 0, 'F', '0', '0', 'scada:center:add', '#', 'admin', '2024-03-01 11:38:48', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3163, '组态中心修改', 3159, 6, '#', '', NULL, 1, 0, 'F', '0', '0', 'scada:center:edit', '#', 'admin', '2024-03-01 11:38:48', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3164, '组态中心删除', 3159, 6, '#', '', NULL, 1, 0, 'F', '0', '0', 'scada:center:remove', '#', 'admin', '2024-03-01 11:38:48', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3165, '组态中心导出', 3159, 6, '#', '', NULL, 1, 0, 'F', '0', '0', 'scada:center:export', '#', 'admin', '2024-03-01 11:38:48', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3166, '图表管理', 3159, 2, 'echart', 'scada/echart/index', NULL, 1, 0, 'C', '0', '0', 'scada:echart:list', 'chart', 'admin', '2024-03-01 11:38:48', 'admin', '2024-03-01 16:15:49', '图表管理菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3167, '图表管理查询', 3166, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'scada:echart:query', '#', 'admin', '2024-03-01 11:38:48', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3168, '图表管理新增', 3166, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'scada:echart:add', '#', 'admin', '2024-03-01 11:38:48', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3169, '图表管理修改', 3166, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'scada:echart:edit', '#', 'admin', '2024-03-01 11:38:48', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3170, '图表管理删除', 3166, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'scada:echart:remove', '#', 'admin', '2024-03-01 11:38:49', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3171, '图表管理导出', 3166, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'scada:echart:export', '#', 'admin', '2024-03-01 11:38:49', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3172, '图库管理', 3159, 3, 'gallery', 'scada/gallery/index', NULL, 1, 0, 'C', '0', '0', 'scada:gallery:list', 'picture', 'admin', '2024-03-01 11:38:49', 'admin', '2024-03-01 16:21:07', '图库管理菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3173, '图库管理查询', 3172, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'scada:gallery:query', '#', 'admin', '2024-03-01 11:38:49', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3174, '图库管理新增', 3172, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'scada:gallery:add', '#', 'admin', '2024-03-01 11:38:49', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3175, '图库管理修改', 3172, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'scada:gallery:edit', '#', 'admin', '2024-03-01 11:38:49', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3176, '图库管理删除', 3172, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'scada:gallery:remove', '#', 'admin', '2024-03-01 11:38:49', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3177, '图库管理导出', 3172, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'scada:gallery:export', '#', 'admin', '2024-03-01 11:38:49', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3178, '模型管理', 3159, 5, 'model', 'scada/model/index', NULL, 1, 0, 'C', '0', '0', 'scada:model:list', 'model', 'admin', '2024-03-01 11:38:49', 'admin', '2024-03-01 16:21:39', '模型管理菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3179, '模型管理查询', 3178, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'scada:model:query', '#', 'admin', '2024-03-01 11:38:49', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3180, '模型管理新增', 3178, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'scada:model:add', '#', 'admin', '2024-03-01 11:38:49', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3181, '模型管理修改', 3178, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'scada:model:edit', '#', 'admin', '2024-03-01 11:38:49', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3182, '模型管理删除', 3178, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'scada:model:remove', '#', 'admin', '2024-03-01 11:38:49', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3183, '模型管理导出', 3178, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'scada:model:export', '#', 'admin', '2024-03-01 11:38:49', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3184, '组件管理', 3159, 4, 'component', 'scada/component/index', NULL, 1, 0, 'C', '0', '0', 'scada:component:list', 'redis', 'admin', '2024-03-01 11:38:49', 'admin', '2024-03-01 16:21:44', '组件管理菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3185, '组件管理查询', 3184, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'scada:component:query', '#', 'admin', '2024-03-01 11:38:49', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3186, '组件管理新增', 3184, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'scada:component:add', '#', 'admin', '2024-03-01 11:38:49', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3187, '组件管理修改', 3184, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'scada:component:edit', '#', 'admin', '2024-03-01 11:38:50', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3188, '组件管理删除', 3184, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'scada:component:remove', '#', 'admin', '2024-03-01 11:38:50', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3189, '组件管理导出', 3184, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'scada:component:export', '#', 'admin', '2024-03-01 11:38:50', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3190, '云云对接', 0, 3, 'speaker', NULL, NULL, 1, 0, 'M', '0', '0', '', 'cloud', 'admin', '2023-10-17 09:14:05', 'admin', '2023-11-13 10:45:51', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3191, '音箱配置', 3190, 1, 'clientDetails', 'speaker/clientDetails/index', NULL, 1, 0, 'C', '0', '0', 'iot:clientDetails:list', 'speaker', 'admin', '2022-02-07 22:08:58', 'admin', '2023-12-11 15:55:43', '云云对接菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3197, '小度音箱', 3190, 2, 'dueros', 'speaker/dueros/index', NULL, 1, 0, 'C', '0', '0', 'dueros:relatedProduct:list', 'dueros', 'admin', '2023-10-19 17:03:10', 'admin', '2023-12-07 11:13:45', '小度音箱');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3198, '关联产品查询', 3197, 0, '', NULL, NULL, 1, 0, 'F', '0', '0', 'dueros:relatedProduct:query', '#', 'admin', '2023-12-06 11:10:41', 'admin', '2023-12-06 15:13:56', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3199, '关联物模查询', 3197, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'dueros:relatedThingsModel:query', '#', 'admin', '2023-12-06 11:14:27', 'admin', '2023-12-06 15:15:28', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3200, '关联产品新增', 3197, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'dueros:relatedProduct:add', '#', 'admin', '2023-10-19 17:03:10', 'admin', '2023-12-06 15:14:55', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3201, '关联产品删除', 3197, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'dueros:relatedProduct:delete', '#', 'admin', '2023-10-19 17:03:10', 'admin', '2023-12-06 15:15:16', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3202, '关联产品编辑', 3197, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'dueros:relatedProduct:edit', '#', 'admin', '2023-10-19 17:03:10', 'admin', '2023-12-06 15:15:08', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3203, '关联物模编辑', 3197, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'dueros:relatedThingsModel:edit', '#', 'admin', '2023-10-19 17:03:10', 'admin', '2023-12-06 15:17:28', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3204, '关联物模删除', 3197, 6, '#', '', NULL, 1, 0, 'F', '0', '0', 'dueros:relatedThingsModel:delete', '#', 'admin', '2023-10-19 17:03:10', 'admin', '2023-12-06 15:17:35', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3205, '组态详情预览', 3159, 6, '', NULL, NULL, 1, 0, 'F', '0', '0', 'scada:center:preview', '#', 'admin', '2024-03-08 09:23:51', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3206, '产品模型列表', 2043, 10, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:model:list', '#', 'admin', '2024-03-18 17:01:05', 'admin', '2024-03-18 17:01:17', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3207, '产品模型详情', 2043, 11, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:model:query', '#', 'admin', '2024-03-18 17:01:05', 'admin', '2024-03-18 17:01:17', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3208, '产品模型导入', 2043, 12, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:model:import', '#', 'admin', '2024-03-18 17:01:05', 'admin', '2024-03-18 17:01:17', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3209, '产品模型新增', 2043, 13, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:model:add', '#', 'admin', '2024-03-18 17:01:05', 'admin', '2024-03-18 17:01:17', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3210, '产品模型修改', 2043, 14, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:model:edit', '#', 'admin', '2024-03-18 17:01:05', 'admin', '2024-03-18 17:01:17', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3211, '产品模型删除', 2043, 15, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:model:remove', '#', 'admin', '2024-03-18 17:01:05', 'admin', '2024-03-18 17:01:17', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3214, '设备定时详情', 2148, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:device:timer:query', '#', 'admin', '2024-03-19 11:18:22', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3215, '设备定时新增', 2148, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:device:timer:add', '#', 'admin', '2024-03-19 11:18:22', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3216, '设备定时修改', 2148, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:device:timer:edit', '#', 'admin', '2024-03-19 11:18:22', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3217, '设备定时执行', 2148, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:device:timer:execute', '#', 'admin', '2024-03-19 11:18:22', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3218, '设备定时删除', 2148, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:device:timer:remove', '#', 'admin', '2024-03-19 11:18:22', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3219, '设备用户详情', 2147, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:device:user:query', '#', 'admin', '2024-03-19 11:18:22', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3220, '分享设备', 2147, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:device:user:share', '#', 'admin', '2024-03-19 11:18:22', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3221, '设备用户修改', 2147, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:device:user:edit', '#', 'admin', '2024-03-19 11:18:22', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3222, '取消分享', 2147, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:device:user:remove', '#', 'admin', '2024-03-19 11:18:22', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3223, '录像管理列表', 3099, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:sip:record:list', '#', 'admin', '2024-03-19 11:18:22', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3224, '查看录像', 3099, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:sip:record:query', '#', 'admin', '2024-03-19 11:18:22', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3225, '录像下载', 3099, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:sip:record:download', '#', 'admin', '2024-03-19 11:18:22', 'admin', '2024-03-19 15:48:36', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3226, '场景联动执行', 2085, 6, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:scene:run', '#', 'admin', '2024-03-19 16:15:22', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3227, '字典刷新', 105, 6, '', NULL, NULL, 1, 0, 'F', '0', '0', 'system:dict:refresh', '#', 'admin', '2024-03-19 16:38:13', 'admin', '2024-03-19 16:38:35', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3228, '参数刷新', 106, 6, '', NULL, NULL, 1, 0, 'F', '0', '0', 'system:config:refresh', '#', 'admin', '2024-03-19 16:40:31', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3229, '三方登录详情', 2141, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:platform:query', '#', 'admin', '2024-03-19 11:18:22', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3230, '三方登录新增', 2141, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:platform:add', '#', 'admin', '2024-03-19 11:18:22', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3231, '三方登录修改', 2141, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:platform:edit', '#', 'admin', '2024-03-19 11:18:22', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3232, '三方登录导出', 2141, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:platform:export', '#', 'admin', '2024-03-19 11:18:22', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3233, '三方登录删除', 2141, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:platform:remove', '#', 'admin', '2024-03-19 11:18:22', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3234, '任务执行', 110, 8, '', NULL, NULL, 1, 0, 'F', '0', '0', 'monitor:job:run', '#', 'admin', '2024-03-19 17:05:29', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3235, '缓存列表', 124, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'monitor:cache:list', '#', 'admin', '2024-03-19 17:09:49', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3236, '缓存删除', 124, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'monitor:cache:remove', '#', 'admin', '2024-03-19 17:10:15', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3237, '客户端列表', 3032, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:emqx:client:list', '#', 'admin', '2024-03-19 17:19:32', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3238, '客户端踢出', 3032, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:emqx:client:remove', '#', 'admin', '2024-03-19 17:20:00', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3239, '设备分配', 2007, 10, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:device:assignment', '#', 'admin', '2024-04-10 09:40:59', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3240, '设备回收', 2007, 11, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:device:recovery', '#', 'admin', '2024-04-10 09:41:16', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3247, '设备分享列表', 2007, 1, 'share', 'iot/share/index', NULL, 1, 0, 'C', '0', '0', 'iot:share:list', '#', 'admin', '2024-04-17 14:33:01', '', NULL, '设备分享菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3248, '设备分享用户', 3247, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:share:user', '#', 'admin', '2024-04-17 14:33:01', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3249, '设备分享详情', 3247, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:share:query', '#', 'admin', '2024-04-17 14:33:01', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3250, '设备分享新增', 3247, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:share:add', '#', 'admin', '2024-04-17 14:33:01', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3251, '设备分享修改', 3247, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:share:edit', '#', 'admin', '2024-04-17 14:33:01', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3252, '设备分享删除', 3247, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:share:remove', '#', 'admin', '2024-04-17 14:33:01', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3253, '设备分享导出', 3247, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:share:export', '#', 'admin', '2024-04-17 14:33:01', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3254, '设备定时导出', 2148, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:device:timer:export', '#', 'admin', '2024-03-19 11:18:22', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3255, '设备联动', 2000, 7, 'linkage', 'iot/device/device-linkage', NULL, 1, 0, 'C', '0', '0', NULL, 'tree-table', 'admin', '2024-05-10 17:54:12', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3256, '终端用户', 5, 5, 'terminal', 'system/terminalUser/index', NULL, 1, 0, 'C', '0', '0', NULL, 'build', 'admin', '2024-05-10 17:55:00', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3257, '告警用户', 2007, 1, 'user', 'iot/device/alert/user', NULL, 1, 0, 'C', '0', '0', 'iot:device:alert:user:list', '#', 'admin', '2024-05-16 10:50:44', '', NULL, '设备告警用户菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3258, '告警用户查询', 3257, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:device:alert:user:query', '#', 'admin', '2024-05-16 10:50:44', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3259, '告警用户新增', 3257, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:device:alert:user:add', '#', 'admin', '2024-05-16 10:50:45', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3260, '告警用户删除', 3257, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:device:alert:user:remove', '#', 'admin', '2024-05-16 10:50:45', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3261, '文件记录', 3046, 4, 'detail', 'system/oss/index', NULL, 1, 0, 'C', '0', '0', 'oss:detail:list', 'documentation', 'admin', '2024-07-29 17:32:41', '', NULL, '文件记录菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3262, '文件记录查询', 3261, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'oss:detail:query', '#', 'admin', '2024-07-29 17:32:41', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3263, '文件记录新增', 3261, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'oss:detail:add', '#', 'admin', '2024-07-29 17:32:41', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3264, '文件记录修改', 3261, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'oss:detail:edit', '#', 'admin', '2024-07-29 17:32:41', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3265, '文件记录删除', 3261, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'oss:detail:remove', '#', 'admin', '2024-07-29 17:32:41', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3266, '文件记录导出', 3261, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'oss:detail:export', '#', 'admin', '2024-07-29 17:32:41', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3267, '文件存储配置新增', 3261, 6, '', NULL, NULL, 1, 0, 'F', '0', '0', 'oss:config:add', '#', 'admin', '2024-07-29 17:32:41', 'admin', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3268, '文件存储配置修改', 3261, 7, '', NULL, NULL, 1, 0, 'F', '0', '0', 'oss:config:edit', '#', 'admin', '2024-07-29 17:32:41', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3269, '文件存储配置删除', 3261, 8, '', NULL, NULL, 1, 0, 'F', '0', '0', 'oss:config:remove', '#', 'admin', '2024-07-29 17:32:41', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3270, '数据桥接', 3051, 1, 'bridge', 'iot/bridge/index', NULL, 1, 0, 'C', '0', '0', 'iot:bridge:list', 'mq', 'admin', '2024-07-29 17:33:34', '', NULL, '数据桥接菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3271, '数据桥接查询', 3270, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:bridge:query', '#', 'admin', '2024-07-29 17:33:34', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3272, '数据桥接新增', 3270, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:bridge:add', '#', 'admin', '2024-07-29 17:33:34', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3273, '数据桥接修改', 3270, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:bridge:edit', '#', 'admin', '2024-07-29 17:33:34', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3274, '数据桥接删除', 3270, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:bridge:remove', '#', 'admin', '2024-07-29 17:33:34', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3275, '数据桥接导出', 3270, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:bridge:export', '#', 'admin', '2024-07-29 17:33:34', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3276, '密码修改', 5, 6, '', NULL, NULL, 1, 0, 'F', '0', '0', 'systerm:user:updatePwd', '#', 'admin', '2024-07-12 15:25:46', 'admin', '2024-07-12 15:26:36', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3277, '设备编号批量生成', 2007, 14, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:device:batchGenerator', '#', 'admin', '2024-07-19 15:28:56', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3278, '设备记录导出', 2007, 13, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:device:record:export', '#', 'admin', '2024-07-19 15:28:25', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3279, '设备记录', 2007, 12, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:device:record:list', '#', 'admin', '2024-07-19 15:28:01', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3280, '系统授权', 3, 1, 'sysclient', 'system/sysclient/index', NULL, 1, 0, 'C', '0', '0', 'system:sysclient:list', 'authenticate', 'admin', '2024-07-29 17:33:34', '', NULL, '系统授权菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3281, '系统授权查询', 3280, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'system:sysclient:query', '#', 'admin', '2024-07-29 17:33:34', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3282, '系统授权新增', 3280, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'system:sysclient:add', '#', 'admin', '2024-07-29 17:33:34', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3283, '系统授权修改', 3280, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'system:sysclient:edit', '#', 'admin', '2024-07-29 17:33:34', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3284, '系统授权删除', 3280, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'system:sysclient:remove', '#', 'admin', '2024-07-29 17:33:34', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3285, '系统授权导出', 3280, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'system:sysclient:export', '#', 'admin', '2024-07-29 17:33:34', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3286, '产品modbus配置参数', 2043, 1, 'params', '', NULL, 1, 0, 'M', '0', '0', 'modbus:params:list', '#', 'admin', '2024-07-22 14:51:08', '', NULL, '产品modbus配置参数菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3287, '产品modbus配置参数查询', 3286, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'modbus:params:query', '#', 'admin', '2024-07-22 14:51:08', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3288, '产品modbus配置参数新增', 3286, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'modbus:params:add', '#', 'admin', '2024-07-22 14:51:08', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3289, '产品modbus配置参数修改', 3286, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'modbus:params:edit', '#', 'admin', '2024-07-22 14:51:08', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3290, '产品modbus配置参数删除', 3286, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'modbus:params:remove', '#', 'admin', '2024-07-22 14:51:08', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3291, '产品modbus配置参数导出', 3286, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'modbus:params:export', '#', 'admin', '2024-07-22 14:51:08', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3292, '轮训任务', 2007, 1, 'modbusjob', '', NULL, 1, 0, 'M', '0', '0', 'modbus:job:list', '#', 'admin', '2024-07-22 14:51:08', '', NULL, '轮训任务列菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3293, '轮训任务查询', 3292, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'modbus:job:query', '#', 'admin', '2024-07-22 14:51:08', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3294, '轮训任务新增', 3292, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'modbus:job:add', '#', 'admin', '2024-07-22 14:51:08', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3295, '轮训任务修改', 3292, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'modbus:job:edit', '#', 'admin', '2024-07-22 14:51:08', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3296, '轮训任务删除', 3292, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'modbus:job:remove', '#', 'admin', '2024-07-22 14:51:09', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3297, '轮训任务导出', 3292, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'modbus:job:export', '#', 'admin', '2024-07-22 14:51:09', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3298, 'modbus配置', 2043, 1, 'config', '', NULL, 1, 0, 'M', '0', '0', 'modbus:config:list', '#', 'admin', '2024-07-22 14:51:09', '', NULL, 'modbus配置菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3299, 'modbus配置查询', 3298, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'modbus:config:query', '#', 'admin', '2024-07-22 14:51:09', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3300, 'modbus配置新增', 3298, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'modbus:config:add', '#', 'admin', '2024-07-22 14:51:09', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3301, 'modbus配置修改', 3298, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'modbus:config:edit', '#', 'admin', '2024-07-22 14:51:09', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3302, 'modbus配置删除', 3298, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'modbus:config:remove', '#', 'admin', '2024-07-22 14:51:09', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3303, 'modbus配置导出', 3298, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'modbus:config:export', '#', 'admin', '2024-07-22 14:51:09', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3304, '指令偏好设置', 2007, 1, 'preferences', '', NULL, 1, 0, 'M', '0', '0', 'order:preferences:list', '#', 'admin', '2024-07-22 14:51:09', '', NULL, '指令偏好设置菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3305, '指令偏好设置查询', 3304, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'order:preferences:query', '#', 'admin', '2024-07-22 14:51:09', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3306, '指令偏好设置新增', 3304, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'order:preferences:add', '#', 'admin', '2024-07-22 14:51:09', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3307, '指令偏好设置修改', 3304, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'order:preferences:edit', '#', 'admin', '2024-07-22 14:51:09', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3308, '指令偏好设置删除', 3304, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'order:preferences:remove', '#', 'admin', '2024-07-22 14:51:09', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3309, '指令偏好设置导出', 3304, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'order:preferences:export', '#', 'admin', '2024-07-22 14:51:09', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3310, '指令权限', 3000, 1, 'control', 'iot/order/index', NULL, 1, 0, 'C', '0', '0', 'order:control:list', 'switch', 'admin', '2024-07-15 22:57:16', 'admin', '2024-07-18 13:56:56', '指令权限控制菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3311, '指令权限控制查询', 3310, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'order:control:query', '#', 'admin', '2024-07-15 22:57:16', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3312, '指令权限控制新增', 3310, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'order:control:add', '#', 'admin', '2024-07-15 22:57:16', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3313, '指令权限控制修改', 3310, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'order:control:edit', '#', 'admin', '2024-07-15 22:57:16', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3314, '指令权限控制删除', 3310, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'order:control:remove', '#', 'admin', '2024-07-15 22:57:16', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3315, '指令权限控制导出', 3310, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'order:control:export', '#', 'admin', '2024-07-15 22:57:16', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3316, '场景管理', 0, 1, 'scene', NULL, NULL, 1, 0, 'M', '0', '0', '', 'scene', 'admin', '2024-05-17 17:28:11', 'admin', '2024-05-23 11:43:31', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3317, '场景列表', 3316, 1, 'list/index', 'scene/list/index', '', 1, 0, 'C', '0', '0', 'scene:model:list', 'product', 'admin', '2024-05-17 17:33:46', 'admin', '2024-05-23 11:37:49', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3318, '变量列表', 3317, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'scene:modelData:list', '#', 'admin', '2024-07-29 14:40:54', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3319, '场景变量启用', 3317, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'scene:modelData:editEnable', '#', 'admin', '2024-07-29 10:28:14', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3320, '场景列表查询', 3317, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'scene:model:query', '#', 'admin', '2024-05-20 00:54:36', 'admin', '2024-05-23 11:37:58', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3321, '场景列表新增', 3317, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'scene:model:add', '#', 'admin', '2024-05-20 00:54:36', 'admin', '2024-05-23 11:38:05', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3322, '场景列表修改', 3317, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'scene:model:edit', '#', 'admin', '2024-05-20 00:54:36', 'admin', '2024-05-23 11:38:10', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3323, '场景列表删除', 3317, 6, '#', '', NULL, 1, 0, 'F', '0', '0', 'scene:model:remove', '#', 'admin', '2024-05-20 00:54:37', 'admin', '2024-05-23 11:38:20', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3324, '场景组态设计', 3317, 7, '', NULL, NULL, 1, 0, 'F', '0', '0', 'scene:model:scada:design', '#', 'admin', '2024-05-23 16:08:28', 'admin', '2024-05-23 16:09:48', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3325, '场景组态运行', 3317, 8, '', NULL, NULL, 1, 0, 'F', '0', '0', 'scene:model:scada:run', '#', 'admin', '2024-05-23 16:10:15', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3326, '视频监控', 3317, 9, '', NULL, NULL, 1, 0, 'F', '0', '0', 'scene:SipRelation:list', '#', 'admin', '2024-07-29 10:22:40', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3327, '设备配置列表', 3316, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'scene:modelDevice:list', '#', 'admin', '2024-07-29 10:06:31', 'admin', '2024-07-29 10:17:33', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3328, '设备配置新增', 3327, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'scene:modelDevice:add', '#', 'admin', '2024-07-29 10:07:00', 'admin', '2024-07-29 10:12:22', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3329, '设备配置修改', 3327, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'scene:modelDevice:edit', '#', 'admin', '2024-07-29 10:07:49', 'admin', '2024-07-29 10:12:29', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3330, '设备配置删除', 3327, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'scene:modelDevice:remove', '#', 'admin', '2024-07-29 10:08:17', 'admin', '2024-07-29 10:12:32', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3331, '设备变量列表', 3316, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'scene:modelDeviceData:list', '#', 'admin', '2024-07-29 10:12:17', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3332, '场景变量列表', 3331, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'scene:modelTag:list', '#', 'admin', '2024-07-29 10:17:27', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3333, '场景变量查看', 3331, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'scene:modelTag:query', '#', 'admin', '2024-07-29 10:25:05', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3334, '场景变量新增', 3331, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'scene:modelTag:add', '#', 'admin', '2024-07-29 10:25:29', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3335, '场景变量修改', 3331, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'scene:modelTag:edit', '#', 'admin', '2024-07-29 10:26:47', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3336, '场景变量删除', 3331, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'scene:modelTag:remove', '#', 'admin', '2024-07-29 10:27:11', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3337, '国际化配置', 1, 2, 'appLang', 'system/app/lang', NULL, 1, 0, 'C', '0', '0', 'app:language:list', 'international', 'sunrain', '2024-05-20 14:15:35', 'sunrain', '2024-05-22 17:33:56', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3338, '国际化配置新增', 3337, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'app:language:add', '#', 'sunrain', '2024-05-20 14:16:11', 'sunrain', '2024-05-20 14:27:09', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3339, '国际化配置查询', 3337, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'app:language:query', '#', 'sunrain', '2024-05-20 14:16:40', 'sunrain', '2024-05-20 14:27:32', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3340, '国际化配置修改', 3337, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'app:language:edit', '#', 'sunrain', '2024-05-20 14:17:54', 'sunrain', '2024-05-20 14:27:21', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3341, '国际化配置删除', 3337, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'app:language:remove', '#', 'sunrain', '2024-05-20 14:19:19', 'sunrain', '2024-05-20 14:27:41', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3342, '国际化配置导出', 3337, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'app:language:export', '#', 'sunrain', '2024-05-20 14:19:53', 'sunrain', '2024-05-20 14:27:48', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3343, '数据中心', 0, 4, 'dataCenter', NULL, NULL, 1, 0, 'M', '0', '0', NULL, 'column-chart', 'admin', '2024-05-24 14:42:04', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3344, '数据分析', 3343, 2, 'analysis', 'dataCenter/analysis', NULL, 1, 0, 'C', '0', '0', 'dataCenter:analysis:list', 'curve-chart', 'admin', '2024-06-11 15:46:19', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3345, '历史记录', 3343, 1, 'history', 'dataCenter/history', NULL, 1, 0, 'C', '0', '0', 'dataCenter:history:list', 'excel', 'admin', '2024-05-24 14:44:58', 'admin', '2024-05-24 14:46:07', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3346, '历史记录查询', 3345, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'dataCenter:history:query', '#', 'admin', '2024-05-24 14:46:27', 'admin', '2024-05-24 14:47:26', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3347, '模板组态', 3159, 1, 'center/temp', 'scada/center/tempScada', NULL, 1, 0, 'C', '0', '0', 'scada:center:list', 'template', 'admin', '2024-03-01 11:38:48', 'admin', '2024-06-01 17:18:09', '组态中心菜单');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3348, '场景组态', 3159, 1, 'center/scene', 'scada/center/sceneScada', NULL, 1, 0, 'C', '0', '0', 'scada:center:list', 'scene', 'admin', '2024-05-16 18:32:47', 'admin', '2024-07-24 15:43:38', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3349, '平台下发指令', 2007, 10, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:message:post', '#', 'admin', '2024-08-02 09:59:50', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3350, '指令编码', 2007, 11, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:message:encode', '#', 'admin', '2024-08-02 10:00:10', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3351, '指令解码', 2007, 12, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:message:decode', '#', 'admin', '2024-08-02 10:00:25', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3352, '子设备', 2007, 10, '', NULL, NULL, 1, 0, 'F', '0', '0', 'sub:gateway:list', '#', 'admin', '2024-08-06 14:26:36', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3353, '子设备详情', 3352, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'sub:gateway:query', '#', 'admin', '2024-08-06 14:27:26', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3354, '子设备新增', 3352, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'sub:gateway:add', '#', 'admin', '2024-08-06 14:27:37', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3355, '子设备修改', 3352, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'sub:gateway:edit', '#', 'admin', '2024-08-06 14:28:08', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3356, '子设备删除', 3352, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'sub:gateway:remove', '#', 'admin', '2024-08-06 14:28:27', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3357, '组态中心分享', 3159, 11, '', NULL, NULL, 1, 0, 'F', '0', '0', 'scada:center:share', '#', 'admin', '2024-08-19 17:31:42', 'admin', '2024-08-19 17:32:00', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3358, '设备绑定', 2168, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:relation:add', '#', 'admin', '2024-08-06 14:28:27', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3359, '监控设备关联列表', 2168, 6, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:relation:list', '#', 'admin', '2024-09-26 15:42:23', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3360, '监控设备关联详细', 2168, 7, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:relation:query', '#', 'admin', '2024-09-26 15:43:06', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3361, '监控设备关联修改', 2168, 8, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:relation:edit', '#', 'admin', '2024-09-26 15:44:37', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3362, '监控设备关联删除', 2168, 9, '', NULL, NULL, 1, 0, 'F', '0', '0', 'iot:relation:remove', '#', 'admin', '2024-09-26 15:45:10', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3363, '产品modbus关联子产品', 2043, 16, '', NULL, NULL, 1, 0, 'F', '0', '0', 'productModbus:gateway:list', '#', 'admin', '2024-09-11 14:44:04', 'admin', '2024-09-11 14:48:00', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3364, '新增产品modbus关联子产品', 3363, 0, '', NULL, NULL, 1, 0, 'F', '0', '0', 'productModbus:gateway:add', '#', 'admin', '2024-09-11 14:45:27', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3365, '修改产品modbus关联子产品', 3363, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'productModbus:gateway:edit', '#', 'admin', '2024-09-11 14:45:57', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3366, '删除产品modbus关联子产品', 3363, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'productModbus:gateway:remove', '#', 'admin', '2024-09-11 14:46:20', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3367, '产品modbus轮询任务', 2043, 17, '', NULL, NULL, 1, 0, 'F', '0', '0', 'productModbus:job:list', '#', 'admin', '2024-09-11 14:47:40', 'admin', '2024-09-11 14:48:08', '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3368, '新增产品modbus轮询任务', 3367, 0, '', NULL, NULL, 1, 0, 'F', '0', '0', 'productModbus:job:add', '#', 'admin', '2024-09-11 14:48:35', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3369, '修改产品modbus轮询任务', 3367, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'productModbus:job:edit', '#', 'admin', '2024-09-11 14:48:54', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3370, '删除产品modbus轮询任务', 3367, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'productModbus:job:remove', '#', 'admin', '2024-09-11 14:54:59', '', NULL, '');
INSERT INTO fastbee.sys_menu
(menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
VALUES(3371, 'modbus配置导入', 3298, 6, '', NULL, NULL, 1, 0, 'F', '0', '0', 'modbus:config:import', '#', 'admin', '2024-09-11 16:10:35', '', NULL, '');
-- fastbee.sys_menu_translate definition
CREATE TABLE `sys_menu_translate`
(
`id` bigint(20) NOT NULL COMMENT '菜单ID',
`zh_cn` varchar(200) DEFAULT NULL COMMENT 'zh_CN菜单名称',
`en_us` varchar(200) DEFAULT NULL COMMENT 'en菜单名称',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='菜单名称翻译表';
-- fastbee.sys_notice definition
CREATE TABLE `sys_notice`
(
`notice_id` int(4) NOT NULL AUTO_INCREMENT COMMENT '公告ID',
`notice_title` varchar(50) NOT NULL COMMENT '公告标题',
`notice_type` char(1) NOT NULL COMMENT '公告类型(1通知 2公告)',
`notice_content` longblob COMMENT '公告内容',
`status` char(1) DEFAULT '0' COMMENT '公告状态(0正常 1关闭)',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(255) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`notice_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='通知公告表';
-- fastbee.sys_oper_log definition
CREATE TABLE `sys_oper_log`
(
`oper_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '操作日志ID',
`title` varchar(50) DEFAULT '' COMMENT '模块标题',
`business_type` int(2) DEFAULT '0' COMMENT '业务类型(0其它 1新增 2修改 3删除)',
`method` varchar(100) DEFAULT '' COMMENT '方法名称',
`request_method` varchar(10) DEFAULT '' COMMENT '请求方式',
`operator_type` int(1) DEFAULT '0' COMMENT '操作类别(0其它 1后台用户 2手机端用户)',
`oper_name` varchar(50) DEFAULT '' COMMENT '操作人员',
`dept_name` varchar(50) DEFAULT '' COMMENT '部门名称',
`oper_url` varchar(255) DEFAULT '' COMMENT '请求URL',
`oper_ip` varchar(128) DEFAULT '' COMMENT '主机地址',
`oper_location` varchar(255) DEFAULT '' COMMENT '操作地点',
`oper_param` varchar(2000) DEFAULT '' COMMENT '请求参数',
`json_result` varchar(2000) DEFAULT '' COMMENT '返回参数',
`status` int(1) DEFAULT '0' COMMENT '操作状态(0正常 1异常)',
`error_msg` varchar(2000) DEFAULT '' COMMENT '错误消息',
`oper_time` datetime DEFAULT NULL COMMENT '操作时间',
PRIMARY KEY (`oper_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='操作日志记录';
-- fastbee.sys_post definition
CREATE TABLE `sys_post`
(
`post_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '岗位ID',
`post_code` varchar(64) NOT NULL COMMENT '岗位编码',
`post_name` varchar(50) NOT NULL COMMENT '岗位名称',
`post_sort` int(4) NOT NULL COMMENT '显示顺序',
`status` char(1) NOT NULL COMMENT '状态(0正常 1停用)',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`post_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='岗位信息表';
-- fastbee.sys_role definition
CREATE TABLE `sys_role`
(
`role_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '角色ID',
`role_name` varchar(30) NOT NULL COMMENT '角色名称',
`role_key` varchar(100) NOT NULL COMMENT '角色权限字符串',
`role_sort` int(4) NOT NULL COMMENT '显示顺序',
`data_scope` char(1) DEFAULT '1' COMMENT '数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限)',
`menu_check_strictly` tinyint(1) DEFAULT '1' COMMENT '菜单树选择项是否关联显示',
`dept_check_strictly` tinyint(1) DEFAULT '1' COMMENT '部门树选择项是否关联显示',
`status` char(1) NOT NULL COMMENT '角色状态(0正常 1停用)',
`del_flag` char(1) DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`role_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='角色信息表';
-- fastbee.sys_role_dept definition
CREATE TABLE `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 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='角色和部门关联表';
-- fastbee.sys_role_menu definition
CREATE TABLE `sys_role_menu`
(
`role_id` bigint(20) NOT NULL COMMENT '角色ID',
`menu_id` bigint(20) NOT NULL COMMENT '菜单ID',
PRIMARY KEY (`role_id`, `menu_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='角色和菜单关联表';
-- fastbee.sys_user definition
CREATE TABLE `sys_user`
(
`user_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '用户ID',
`dept_id` bigint(20) DEFAULT NULL COMMENT '部门ID',
`user_name` varchar(30) NOT NULL COMMENT '用户账号',
`nick_name` varchar(30) NOT NULL COMMENT '用户昵称',
`user_type` varchar(2) DEFAULT '00' COMMENT '用户类型(00系统用户)',
`email` varchar(50) DEFAULT '' COMMENT '用户邮箱',
`phonenumber` varchar(11) DEFAULT '' COMMENT '手机号码',
`sex` char(1) DEFAULT '0' COMMENT '用户性别(0男 1女 2未知)',
`avatar` varchar(200) DEFAULT '' COMMENT '头像地址',
`password` varchar(100) DEFAULT '' COMMENT '密码',
`status` char(1) DEFAULT '0' COMMENT '帐号状态(0正常 1停用)',
`del_flag` char(1) DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
`login_ip` varchar(128) DEFAULT '' COMMENT '最后登录IP',
`login_date` datetime DEFAULT NULL COMMENT '最后登录时间',
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`user_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户信息表';
-- fastbee.sys_user_post definition
CREATE TABLE `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户与岗位关联表';
-- fastbee.sys_user_relation definition
CREATE TABLE `sys_user_relation`
(
`root_id` bigint(20) NOT NULL COMMENT '根节点用户id',
`depth` int(11) NOT NULL COMMENT '根节点到该节点的深度',
`is_leaf` tinyint(1) NOT NULL COMMENT '该节点是否为叶子节点',
`user_id` bigint(20) NOT NULL COMMENT '该节点的用户id',
PRIMARY KEY (`root_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='用户关系与深度存储表';
-- fastbee.sys_user_role definition
CREATE TABLE `sys_user_role`
(
`user_id` bigint(20) NOT NULL COMMENT '用户ID',
`role_id` bigint(20) NOT NULL COMMENT '角色ID',
PRIMARY KEY (`user_id`, `role_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户和角色关联表';
-- fastbee.qrtz_triggers definition
CREATE TABLE `qrtz_triggers`
(
`sched_name` varchar(120) NOT NULL COMMENT '调度名称',
`trigger_name` varchar(200) NOT NULL COMMENT '触发器的名字',
`trigger_group` varchar(200) NOT NULL COMMENT '触发器所属组的名字',
`job_name` varchar(200) NOT NULL COMMENT 'qrtz_job_details表job_name的外键',
`job_group` varchar(200) NOT NULL COMMENT 'qrtz_job_details表job_group的外键',
`description` varchar(250) DEFAULT NULL COMMENT '相关介绍',
`next_fire_time` bigint(13) DEFAULT NULL COMMENT '上一次触发时间(毫秒)',
`prev_fire_time` bigint(13) DEFAULT NULL COMMENT '下一次触发时间(默认为-1表示不触发)',
`priority` int(11) DEFAULT NULL COMMENT '优先级',
`trigger_state` varchar(16) NOT NULL COMMENT '触发器状态',
`trigger_type` varchar(8) NOT NULL COMMENT '触发器的类型',
`start_time` bigint(13) NOT NULL COMMENT '开始时间',
`end_time` bigint(13) DEFAULT NULL COMMENT '结束时间',
`calendar_name` varchar(200) DEFAULT NULL COMMENT '日程表名称',
`misfire_instr` smallint(2) DEFAULT NULL COMMENT '补偿执行的策略',
`job_data` blob COMMENT '存放持久化job对象',
PRIMARY KEY (`sched_name`, `trigger_name`, `trigger_group`) USING BTREE,
KEY `sched_name` (`sched_name`,`job_name`,`job_group`) USING BTREE,
CONSTRAINT `QRTZ_TRIGGERS_ibfk_1` FOREIGN KEY (`sched_name`, `job_name`, `job_group`) REFERENCES `qrtz_job_details` (`sched_name`, `job_name`, `job_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='触发器详细信息表';
-- fastbee.qrtz_blob_triggers definition
CREATE TABLE `qrtz_blob_triggers`
(
`sched_name` varchar(120) NOT NULL COMMENT '调度名称',
`trigger_name` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
`trigger_group` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
`blob_data` blob COMMENT '存放持久化Trigger对象',
PRIMARY KEY (`sched_name`, `trigger_name`, `trigger_group`) USING BTREE,
CONSTRAINT `QRTZ_BLOB_TRIGGERS_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `qrtz_triggers` (`sched_name`, `trigger_name`, `trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='Blob类型的触发器表';
-- fastbee.qrtz_cron_triggers definition
CREATE TABLE `qrtz_cron_triggers`
(
`sched_name` varchar(120) NOT NULL COMMENT '调度名称',
`trigger_name` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
`trigger_group` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
`cron_expression` varchar(200) NOT NULL COMMENT 'cron表达式',
`time_zone_id` varchar(80) DEFAULT NULL COMMENT '时区',
PRIMARY KEY (`sched_name`, `trigger_name`, `trigger_group`) USING BTREE,
CONSTRAINT `QRTZ_CRON_TRIGGERS_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `qrtz_triggers` (`sched_name`, `trigger_name`, `trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='Cron类型的触发器表';
-- fastbee.qrtz_simple_triggers definition
CREATE TABLE `qrtz_simple_triggers`
(
`sched_name` varchar(120) NOT NULL COMMENT '调度名称',
`trigger_name` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
`trigger_group` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
`repeat_count` bigint(7) NOT NULL COMMENT '重复的次数统计',
`repeat_interval` bigint(12) NOT NULL COMMENT '重复的间隔时间',
`times_triggered` bigint(10) NOT NULL COMMENT '已经触发的次数',
PRIMARY KEY (`sched_name`, `trigger_name`, `trigger_group`) USING BTREE,
CONSTRAINT `QRTZ_SIMPLE_TRIGGERS_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `qrtz_triggers` (`sched_name`, `trigger_name`, `trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='简单触发器的信息表';
-- fastbee.qrtz_simprop_triggers definition
CREATE TABLE `qrtz_simprop_triggers`
(
`sched_name` varchar(120) NOT NULL COMMENT '调度名称',
`trigger_name` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
`trigger_group` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
`str_prop_1` varchar(512) DEFAULT NULL COMMENT 'String类型的trigger的第一个参数',
`str_prop_2` varchar(512) DEFAULT NULL COMMENT 'String类型的trigger的第二个参数',
`str_prop_3` varchar(512) DEFAULT NULL COMMENT 'String类型的trigger的第三个参数',
`int_prop_1` int(11) DEFAULT NULL COMMENT 'int类型的trigger的第一个参数',
`int_prop_2` int(11) DEFAULT NULL COMMENT 'int类型的trigger的第二个参数',
`long_prop_1` bigint(20) DEFAULT NULL COMMENT 'long类型的trigger的第一个参数',
`long_prop_2` bigint(20) DEFAULT NULL COMMENT 'long类型的trigger的第二个参数',
`dec_prop_1` decimal(13, 4) DEFAULT NULL COMMENT 'decimal类型的trigger的第一个参数',
`dec_prop_2` decimal(13, 4) DEFAULT NULL COMMENT 'decimal类型的trigger的第二个参数',
`bool_prop_1` varchar(1) DEFAULT NULL COMMENT 'Boolean类型的trigger的第一个参数',
`bool_prop_2` varchar(1) DEFAULT NULL COMMENT 'Boolean类型的trigger的第二个参数',
PRIMARY KEY (`sched_name`, `trigger_name`, `trigger_group`) USING BTREE,
CONSTRAINT `QRTZ_SIMPROP_TRIGGERS_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `qrtz_triggers` (`sched_name`, `trigger_name`, `trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='同步机制的行锁表';