/* SQLyog 企业版 - MySQL GUI v8.14 MySQL - 5.5.5-10.2.14-MariaDB-log : Database - galaxy-dev ********************************************************************* */ /*!40101 SET NAMES utf8 */; /*!40101 SET SQL_MODE=''*/; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; CREATE DATABASE /*!32312 IF NOT EXISTS*/`galaxy` /*!40100 DEFAULT CHARACTER SET utf8 */; USE `galaxy`; /*Table structure for table `ui_app_policy_cfg` */ DROP TABLE IF EXISTS `ui_app_policy_cfg`; CREATE TABLE `ui_app_policy_cfg` ( `cfg_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键', `app_code` int(11) NOT NULL, `behav_code` int(11) DEFAULT NULL, `spec_service_id` varchar(255) CHARACTER SET utf8mb4 NOT NULL COMMENT 'specific_service_cfg .spec_service_id', `cfg_desc` varchar(128) CHARACTER SET utf8mb4 DEFAULT NULL, `action` int(11) NOT NULL, `is_valid` int(11) NOT NULL, `is_audit` int(11) NOT NULL, `creator_id` int(11) NOT NULL COMMENT 'sys_user.id', `create_time` datetime NOT NULL, `editor_id` int(11) DEFAULT NULL COMMENT '来自sys_user.id', `edit_time` datetime DEFAULT NULL, `auditor_id` int(11) DEFAULT NULL COMMENT '来自sys_user.id', `audit_time` datetime DEFAULT NULL, `service_id` int(11) NOT NULL COMMENT '业务id', `request_id` int(11) NOT NULL COMMENT '来自request_info.id', `compile_id` int(11) NOT NULL, `is_area_effective` int(11) NOT NULL DEFAULT 0, `classify` varchar(128) CHARACTER SET utf8mb4 DEFAULT NULL, `attribute` varchar(128) CHARACTER SET utf8mb4 DEFAULT NULL, `lable` varchar(128) CHARACTER SET utf8mb4 DEFAULT NULL, `area_effective_ids` varchar(1024) CHARACTER SET utf8mb4 DEFAULT NULL, `function_id` int(11) NOT NULL, `ratelimit` varchar(10) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '限速比例,0到1之间', `cfg_type` varchar(64) CHARACTER SET utf8mb4 NOT NULL DEFAULT '', `cfg_region_code` int(11) NOT NULL, `expr_type` int(11) NOT NULL DEFAULT 0 COMMENT '0:无表达式,1:与表达式', `match_method` int(11) NOT NULL DEFAULT 3 COMMENT 'expr_type:0时有意义,其它情况必须置0。0:子串匹配;1:右匹配;2:左匹配;3:完全匹配', `is_hexbin` int(11) NOT NULL DEFAULT 0 COMMENT '默认为0:大小写不敏感,且非HEX;1:HEX格式二进制;2:大小写敏感,且非HEX', `user_region1` varchar(1024) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '预留自定义域1', `user_region2` varchar(1024) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '预留自定义域2', `user_region3` varchar(1024) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '预留自定义域3', `user_region4` varchar(1024) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '预留自定义域4', `user_region5` varchar(1024) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '预留自定义域5', `do_log` int(11) DEFAULT NULL COMMENT 'do_log:0不需要1记录所有日志2只记录结构化日志。默认是2', `cancel_request_id` int(11) DEFAULT NULL COMMENT '取消审核来函', PRIMARY KEY (`cfg_id`) USING BTREE ) ENGINE=FEDERATED DEFAULT CHARSET=utf8 CONNECTION='mysql://root:111111@192.168.10.204:3306/gwall_dev/app_policy_cfg'; /*Table structure for table `ui_asn_ip_cfg` */ DROP TABLE IF EXISTS `ui_asn_ip_cfg`; CREATE TABLE `ui_asn_ip_cfg` ( `cfg_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键,自增', `cfg_desc` varchar(128) DEFAULT NULL, `ip_type` int(11) NOT NULL COMMENT 'IPV4=4,IPV6=6', `direction` int(11) NOT NULL COMMENT '0双向,1单向,默认缺省为双向。', `protocol` int(11) NOT NULL COMMENT '6表示tcp,17表示udp,0表示任意', `protocol_id` int(11) NOT NULL COMMENT '非0时,maat规范需写入通用IP配置表与通用协议类型配置表 此表固定写0', `action` int(11) NOT NULL COMMENT '1:阻断,2:监测, 5: FD 白名单,6:监测白名单,7: FD 监测都白名单,应与业务ID所代表的逻辑相匹配,8-灰名单', `is_valid` int(11) NOT NULL COMMENT '0无效,1有效,-1删除;1)未审核时配置可删除;2)审核通过,此字段置1;3)取消审核通过,此字段置0', `is_audit` int(11) NOT NULL COMMENT '0未审核,1审核通过,2审核未通过,3取消审核通过;1)审核未通过,配置可修改;2)审核通过,配置不可删除,只能取消审核通过', `creator_id` int(11) NOT NULL COMMENT '取自sys_user.id', `create_time` datetime NOT NULL, `editor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id', `edit_time` datetime DEFAULT NULL, `auditor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id', `audit_time` datetime DEFAULT NULL, `service_id` int(11) NOT NULL COMMENT '参考系统业务类型管理表', `request_id` int(11) NOT NULL COMMENT '取自request_info.id', `region_id` int(11) NOT NULL COMMENT '取自服务接口返回的maat配置的域id,配置初始入库时获取', `is_area_effective` int(11) NOT NULL COMMENT '0否,1是', `classify` varchar(128) DEFAULT NULL COMMENT '分类id,多个用英文逗号分隔', `attribute` varchar(128) DEFAULT NULL COMMENT '性质id,多个用英文逗号分隔', `lable` varchar(128) DEFAULT NULL COMMENT '标签id,多个用英文逗号分隔', `area_effective_ids` varchar(1024) DEFAULT NULL COMMENT '多个英文逗号分隔', `function_id` int(11) DEFAULT NULL, `cfg_region_code` int(11) DEFAULT NULL, `cfg_type` varchar(64) DEFAULT NULL, `ip_pattern` int(11) NOT NULL, `src_ip_address` varchar(128) NOT NULL, `port_pattern` int(11) NOT NULL, `src_port` varchar(16) NOT NULL, `dest_ip_address` varchar(128) DEFAULT NULL, `dest_port` varchar(16) DEFAULT NULL, `ratelimit` varchar(10) DEFAULT NULL, `asn_ip_group` int(11) DEFAULT NULL, `user_region1` varchar(1024) DEFAULT '' COMMENT '预留自定义域1', `user_region2` varchar(1024) DEFAULT '' COMMENT '预留自定义域2', `user_region3` varchar(1024) DEFAULT '' COMMENT '预留自定义域3', `user_region4` varchar(1024) DEFAULT '' COMMENT '预留自定义域4', `user_region5` varchar(1024) DEFAULT '' COMMENT '预留自定义域5', PRIMARY KEY (`cfg_id`) ) ENGINE=FEDERATED DEFAULT CHARSET=utf8 CONNECTION='mysql://root:111111@192.168.10.204:3306/gwall_dev/asn_ip_cfg'; /*Table structure for table `ui_cfg_index_info` */ DROP TABLE IF EXISTS `ui_cfg_index_info`; CREATE TABLE `ui_cfg_index_info` ( `cfg_id` bigint(20) NOT NULL AUTO_INCREMENT, `cfg_desc` varchar(128) CHARACTER SET utf8mb4 DEFAULT NULL, `action` int(11) NOT NULL, `is_valid` int(11) NOT NULL, `is_audit` int(11) NOT NULL, `creator_id` int(11) NOT NULL, `create_time` datetime NOT NULL, `editor_id` int(11) DEFAULT NULL, `edit_time` datetime DEFAULT NULL, `auditor_id` int(11) DEFAULT NULL, `audit_time` datetime DEFAULT NULL, `service_id` int(11) NOT NULL, `request_id` int(11) NOT NULL, `compile_id` int(11) NOT NULL, `is_area_effective` int(11) NOT NULL DEFAULT 0, `classify` varchar(128) CHARACTER SET utf8mb4 DEFAULT '0', `attribute` varchar(128) CHARACTER SET utf8mb4 DEFAULT '0', `lable` varchar(128) CHARACTER SET utf8mb4 DEFAULT '0', `area_effective_ids` varchar(1024) CHARACTER SET utf8mb4 DEFAULT NULL, `function_id` int(11) NOT NULL, `dns_strategy_id` int(11) DEFAULT NULL, `do_log` int(11) DEFAULT NULL COMMENT 'do_log属性在界面(do_log:0不需要1记录所有日志2只记录结构化日志。默认是2)', `user_region1` varchar(1024) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '预留自定义域1', `user_region2` varchar(1024) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '预留自定义域2', `user_region3` varchar(1024) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '预留自定义域3', `user_region4` varchar(1024) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '预留自定义域4', `user_region5` varchar(1024) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '预留自定义域5', `office_id` int(11) DEFAULT NULL, `cancel_request_id` int(11) DEFAULT NULL COMMENT '取消审核操作增加来函', `source_compile_id` bigint(20) DEFAULT 0 COMMENT '与http内容关键字关联', `do_blacklist` int(11) NOT NULL DEFAULT 1, PRIMARY KEY (`cfg_id`) USING BTREE, UNIQUE KEY `pk_cfg_index_id` (`cfg_id`) USING BTREE, UNIQUE KEY `cfg_index_compileId` (`compile_id`) USING BTREE, KEY `cfg_index_functionId` (`function_id`) USING BTREE ) ENGINE=FEDERATED DEFAULT CHARSET=utf8 CONNECTION='mysql://root:111111@192.168.10.204:3306/gwall_dev/cfg_index_info'; /*Table structure for table `ui_cfg_num_statistics` */ DROP TABLE IF EXISTS `ui_cfg_num_statistics`; CREATE TABLE `ui_cfg_num_statistics` ( `id` int(11) NOT NULL AUTO_INCREMENT, `function_id` int(11) NOT NULL, `service_id` int(11) NOT NULL, `action` int(11) NOT NULL, `cfg_state` int(11) NOT NULL COMMENT '0未审核,1已审核,2审核未通过,3审核取消,-1删除', `compile_id` int(11) DEFAULT 0, `statistic_time` datetime DEFAULT NULL COMMENT '统计时间', PRIMARY KEY (`id`) ) ENGINE=FEDERATED DEFAULT CHARSET=utf8 CONNECTION='mysql://root:111111@192.168.10.204:3306/gwall_dev/cfg_num_statistics'; /*Table structure for table `ui_code_app_dic` */ DROP TABLE IF EXISTS `ui_code_app_dic`; CREATE TABLE `ui_code_app_dic` ( `id` int(11) NOT NULL AUTO_INCREMENT, `app_name` varchar(255) DEFAULT '', `app_name_zh` varchar(255) DEFAULT NULL, `view_code` varchar(255) DEFAULT '' COMMENT '应用编码', `icon` varchar(255) DEFAULT '', `behavior` varchar(255) DEFAULT '' COMMENT '行为细分', `core_app` int(11) DEFAULT NULL COMMENT '是否是核心应用(1:是,0:否)', PRIMARY KEY (`id`) ) ENGINE=FEDERATED DEFAULT CHARSET=utf8 CONNECTION='mysql://root:111111@192.168.10.204:3306/gwall_dev/code_app_dic'; /*Table structure for table `ui_code_behavior_type_dic` */ DROP TABLE IF EXISTS `ui_code_behavior_type_dic`; CREATE TABLE `ui_code_behavior_type_dic` ( `id` int(11) NOT NULL AUTO_INCREMENT, `behavior_type` varchar(255) DEFAULT NULL, `view_code` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=FEDERATED DEFAULT CHARSET=utf8 CONNECTION='mysql://root:111111@192.168.10.204:3306/gwall_dev/code_behavior_type_dic'; /*Table structure for table `ui_code_browser_type_dic` */ DROP TABLE IF EXISTS `ui_code_browser_type_dic`; CREATE TABLE `ui_code_browser_type_dic` ( `id` int(11) NOT NULL AUTO_INCREMENT, `browser_type` varchar(255) DEFAULT NULL, `view_code` varchar(255) DEFAULT NULL, `icon` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=FEDERATED DEFAULT CHARSET=utf8 CONNECTION='mysql://root:111111@192.168.10.204:3306/gwall_dev/code_browser_type_dic'; /*Table structure for table `ui_code_os_type_dic` */ DROP TABLE IF EXISTS `ui_code_os_type_dic`; CREATE TABLE `ui_code_os_type_dic` ( `id` int(11) NOT NULL AUTO_INCREMENT, `os_type` varchar(255) DEFAULT NULL, `view_code` varchar(255) DEFAULT NULL, `icon` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=FEDERATED DEFAULT CHARSET=utf8 CONNECTION='mysql://root:111111@192.168.10.204:3306/gwall_dev/code_os_type_dic'; /*Table structure for table `ui_code_protocol_type_dic` */ DROP TABLE IF EXISTS `ui_code_protocol_type_dic`; CREATE TABLE `ui_code_protocol_type_dic` ( `id` int(11) NOT NULL AUTO_INCREMENT, `protocol_type` varchar(255) DEFAULT '', `view_code` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=FEDERATED DEFAULT CHARSET=utf8 CONNECTION='mysql://root:111111@192.168.10.204:3306/gwall_dev/code_protocol_type_dic'; /*Table structure for table `ui_code_service_type_dic` */ DROP TABLE IF EXISTS `ui_code_service_type_dic`; CREATE TABLE `ui_code_service_type_dic` ( `id` int(11) NOT NULL AUTO_INCREMENT, `service_type` varchar(255) DEFAULT '' COMMENT '业务类型', `view_code` varchar(255) DEFAULT NULL COMMENT '界面编码', PRIMARY KEY (`id`) ) ENGINE=FEDERATED DEFAULT CHARSET=utf8 CONNECTION='mysql://root:111111@192.168.10.204:3306/gwall_dev/code_service_type_dic'; /*Table structure for table `ui_code_web_service_dic` */ DROP TABLE IF EXISTS `ui_code_web_service_dic`; CREATE TABLE `ui_code_web_service_dic` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '序号', `website` varchar(255) DEFAULT '', `domain_name` varchar(255) DEFAULT '' COMMENT '域名', `view_code` varchar(255) DEFAULT '', `icon` varchar(255) DEFAULT '', PRIMARY KEY (`id`) ) ENGINE=FEDERATED DEFAULT CHARSET=utf8 CONNECTION='mysql://root:111111@192.168.10.204:3306/gwall_dev/code_web_service_dic'; /*Table structure for table `ui_config_group_info` */ DROP TABLE IF EXISTS `ui_config_group_info`; CREATE TABLE `ui_config_group_info` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `group_id` bigint(20) NOT NULL, `group_name` varchar(128) NOT NULL, `is_issued` int(11) NOT NULL COMMENT '0否,1是', `insert_time` datetime NOT NULL, `update_time` datetime DEFAULT NULL, `group_type` int(11) DEFAULT NULL COMMENT '1:协议,2:内容,3:区域 ,4 asn', `compile_id` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=FEDERATED DEFAULT CHARSET=utf8 CONNECTION='mysql://root:111111@192.168.10.204:3306/gwall_dev/config_group_info'; /*Table structure for table `ui_http_url_cfg` */ DROP TABLE IF EXISTS `ui_http_url_cfg`; CREATE TABLE `ui_http_url_cfg` ( `cfg_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键,自增', `cfg_desc` varchar(128) DEFAULT NULL, `cfg_keywords` varchar(2048) NOT NULL, `action` int(11) NOT NULL COMMENT '1:阻断,2:监测, 5: FD 白名单,6:监测白名单,7: FD 监测都白名单,应与业务ID所代表的逻辑相匹配,8-灰名单', `is_valid` int(11) NOT NULL COMMENT '0无效,1有效,-1删除;1) 未审核时配置可删除;2) 审核通过,此字段置1;3) 取消审核通过,此字段置0', `is_audit` int(11) NOT NULL COMMENT '0未审核,1审核通过,2审核未通过,3取消审核通过;1) 审核未通过,配置可修改;2) 审核通过,配置不可删除,只能取消审核通过', `creator_id` int(11) NOT NULL COMMENT '取自sys_user.id', `create_time` datetime NOT NULL, `editor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id', `edit_time` datetime DEFAULT NULL, `auditor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id', `audit_time` datetime DEFAULT NULL, `service_id` int(11) NOT NULL COMMENT '参考系统业务类型管理表', `request_id` int(11) NOT NULL COMMENT '取自request_info.id', `compile_id` int(11) NOT NULL COMMENT '取自服务接口返回的maat配置的编译id,配置初始入库时获取。', `is_area_effective` int(11) NOT NULL COMMENT '0否,1是', `classify` varchar(128) DEFAULT NULL COMMENT '分类id,多个用英文逗号分隔', `attribute` varchar(128) DEFAULT NULL COMMENT '性质id,多个用英文逗号分隔', `lable` varchar(128) DEFAULT NULL COMMENT '标签id,多个用英文逗号分隔', `expr_type` int(11) NOT NULL COMMENT '0:无表达式,1:与表达式', `match_method` int(11) NOT NULL COMMENT 'expr_type:0时有意义,其它情况必须置0。0:子串匹配;1:右匹配;2:左匹配;3:完全匹配', `is_hexbin` int(11) NOT NULL COMMENT '默认为0:大小写不敏感,且非HEX;1:HEX格式二进制;2:大小写敏感,且非HEX', `area_effective_ids` varchar(1024) DEFAULT NULL COMMENT '多个英文逗号分隔', `function_id` int(11) NOT NULL, `cfg_region_code` int(11) DEFAULT NULL, `cfg_type` varchar(64) DEFAULT NULL, `ratelimit` varchar(10) DEFAULT NULL COMMENT '限速比例,0到1之间', `user_region1` varchar(1024) DEFAULT '' COMMENT '预留自定义域1', `user_region2` varchar(1024) DEFAULT '' COMMENT '预留自定义域2', `user_region3` varchar(1024) DEFAULT '' COMMENT '预留自定义域3', `user_region4` varchar(1024) DEFAULT '' COMMENT '预留自定义域4', `user_region5` varchar(1024) DEFAULT '' COMMENT '预留自定义域5', PRIMARY KEY (`cfg_id`) ) ENGINE=FEDERATED DEFAULT CHARSET=utf8 CONNECTION='mysql://root:111111@192.168.10.204:3306/gwall_dev/http_url_cfg'; /*Table structure for table `ui_request_info` */ DROP TABLE IF EXISTS `ui_request_info`; CREATE TABLE `ui_request_info` ( `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '配置ID', `request_number` varchar(512) DEFAULT NULL COMMENT 'request_number字段与request_title互换使用,request_number当来函标题使用', `request_org` varchar(128) NOT NULL COMMENT '来函单位', `request_time` date NOT NULL COMMENT '来函时间', `request_title` varchar(512) NOT NULL COMMENT 'request_number字段与request_title互换使用,request_title当来函函号使用', `request_content` varchar(4000) NOT NULL COMMENT '来函内容', `is_valid` int(11) NOT NULL COMMENT '0无效,1有效,-1删除', `is_audit` int(11) NOT NULL COMMENT '是否审核', `creator_id` int(11) NOT NULL COMMENT '创建人员', `create_time` date NOT NULL COMMENT '配置时间', `editor_id` int(11) DEFAULT NULL COMMENT '修改人员', `edit_time` date DEFAULT NULL COMMENT '修改时间', `auditor_id` int(11) DEFAULT NULL COMMENT '审核人员', `audit_time` date DEFAULT NULL COMMENT '审核时间', `task_id` bigint(20) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `request_info_request_number` (`request_number`) USING BTREE ) ENGINE=FEDERATED DEFAULT CHARSET=utf8 CONNECTION='mysql://root:111111@192.168.10.204:3306/gwall_dev/request_info'; /*Table structure for table `ui_request_num_statistics` */ DROP TABLE IF EXISTS `ui_request_num_statistics`; CREATE TABLE `ui_request_num_statistics` ( `id` int(11) NOT NULL AUTO_INCREMENT, `function_id` int(11) NOT NULL, `service_id` int(11) NOT NULL, `request_id` int(11) NOT NULL COMMENT '来函信息', `statistic_time` datetime DEFAULT NULL COMMENT '统计时间', `compile_id` int(11) DEFAULT 0, PRIMARY KEY (`id`) ) ENGINE=FEDERATED DEFAULT CHARSET=utf8 CONNECTION='mysql://root:111111@192.168.10.204:3306/gwall_dev/request_num_statistics'; /*Table structure for table `ui_service_dict_info` */ DROP TABLE IF EXISTS `ui_service_dict_info`; CREATE TABLE `ui_service_dict_info` ( `service_dict_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '字典ID', `item_type` int(11) DEFAULT NULL COMMENT '数据类型\r\n1:分类\r\n2:性质\r\n3:标签\r\n', `item_code` varchar(64) DEFAULT NULL COMMENT '编码', `item_value` varchar(64) DEFAULT NULL COMMENT '编码对应值', `item_desc` varchar(128) DEFAULT NULL COMMENT '描述信息', `parent_id` int(11) DEFAULT NULL COMMENT '父ID无父属性,默认填0', `is_leaf` int(11) DEFAULT NULL COMMENT '是否叶子节点0-否 1-是;只有一级填0;', `level_no` int(11) DEFAULT NULL, `is_valid` int(11) DEFAULT NULL COMMENT '有效标志1-有效 0-无效', `creator_id` int(11) DEFAULT NULL COMMENT '创建人员取自sys_user.id', `create_time` datetime DEFAULT NULL COMMENT '配置时间', `editor_id` int(11) DEFAULT NULL COMMENT '修改人员取自sys_user.id', `edit_time` datetime DEFAULT NULL COMMENT '修改时间', PRIMARY KEY (`service_dict_id`) ) ENGINE=FEDERATED DEFAULT CHARSET=utf8 CONNECTION='mysql://root:111111@192.168.10.204:3306/gwall_dev/service_dict_info'; /*Table structure for table `ui_sys_data_dictionary_item` */ DROP TABLE IF EXISTS `ui_sys_data_dictionary_item`; CREATE TABLE `ui_sys_data_dictionary_item` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键ID', `item_code` varchar(128) NOT NULL COMMENT '编码(数据表中存储的值如:0、1、2、3)', `item_value` varchar(256) NOT NULL COMMENT '编码对应的值(页面上展现的具体意义)', `item_desc` varchar(256) DEFAULT NULL COMMENT '编码描述信息', `item_sort` int(2) NOT NULL COMMENT '排序序号', `status` int(11) DEFAULT 1 COMMENT '该条数据是否可用(1:可用 0:禁用)', `type` int(11) DEFAULT 1 COMMENT '该条记录页面是否可维护(1:可维护 0:不可维护)', `dictionary_id` int(11) DEFAULT NULL COMMENT '关联数据字典外键', PRIMARY KEY (`id`) ) ENGINE=FEDERATED DEFAULT CHARSET=utf8 CONNECTION='mysql://root:111111@192.168.10.204:3306/gwall_dev/sys_data_dictionary_item'; /*Table structure for table `ui_sys_device_info` */ DROP TABLE IF EXISTS `ui_sys_device_info`; CREATE TABLE `ui_sys_device_info` ( `id` bigint(20) NOT NULL, `device_type` varchar(32) NOT NULL COMMENT '设备类型', `ip_addr` varchar(128) NOT NULL, `device_id` int(11) NOT NULL COMMENT '设备ID,相同设备可对应多个运营商', `link_id` int(11) NOT NULL COMMENT '链路号索引', `isp` int(11) NOT NULL COMMENT '运营商编码,例如ktel-mxpe:1001', `entrance_id` int(11) NOT NULL COMMENT '地域 1-astana 2-alamty', `status` int(11) NOT NULL COMMENT '0-未接入 1-接入 2-部分接入', `create_time` datetime NOT NULL, PRIMARY KEY (`id`) ) ENGINE=FEDERATED DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC CONNECTION='mysql://root:111111@192.168.10.204:3306/gwall_dev/sys_device_info'; /*Table structure for table `ui_sys_dict_info` */ DROP TABLE IF EXISTS `ui_sys_dict_info`; CREATE TABLE `ui_sys_dict_info` ( `sys_dict_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '字典ID', `item_type` int(11) DEFAULT NULL COMMENT '数据类型\r\n1:地域\r\n2:运营商\r\n3:app强特征作用域(item_code为service_id,item_value为作用域描述)\r\n', `item_code` varchar(64) DEFAULT NULL COMMENT '编码', `item_value` varchar(64) DEFAULT NULL COMMENT '英文,用于界面国际化配置文件的code', `item_desc` varchar(128) DEFAULT NULL COMMENT '描述信息', `parent_id` int(11) DEFAULT NULL COMMENT '父ID 无父属性,默认填0', `is_leaf` int(11) DEFAULT NULL COMMENT '是否叶子节点0-否 1-是;只有一级填0;', `level_no` int(11) DEFAULT NULL, `is_valid` int(11) DEFAULT NULL COMMENT '有效标志 1-有效 0-无效', `creator_id` int(11) DEFAULT NULL COMMENT '创建人员 取自sys_user.id', `create_time` datetime DEFAULT NULL COMMENT '配置时间', `editor_id` int(11) DEFAULT NULL COMMENT '修改人员取自sys_user.id', `edit_time` datetime DEFAULT NULL COMMENT '修改时间', `is_initianlize` int(11) NOT NULL DEFAULT 0 COMMENT '是否是初始化数据:1是,0否', PRIMARY KEY (`sys_dict_id`) ) ENGINE=FEDERATED DEFAULT CHARSET=utf8 CONNECTION='mysql://root:111111@192.168.10.204:3306/gwall_dev/sys_dict_info'; /*Table structure for table `ui_sys_isp_info` */ DROP TABLE IF EXISTS `ui_sys_isp_info`; CREATE TABLE `ui_sys_isp_info` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `isp_name` varchar(64) CHARACTER SET utf8mb4 NOT NULL COMMENT '通信运营商名称', `isp_code` int(11) NOT NULL COMMENT '通信运营商编码', `business_type_name` varchar(64) CHARACTER SET utf8mb4 NOT NULL COMMENT '业务类型名称', `business_type_code` int(11) NOT NULL COMMENT '业务类型编码', `isp_key_name` varchar(64) CHARACTER SET utf8mb4 NOT NULL COMMENT '运营商唯一标识名称,例如ktel-mxpe:1001', `isp_key_code` int(11) NOT NULL COMMENT '运营商唯一标识编码', `create_time` datetime NOT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=FEDERATED DEFAULT CHARSET=utf8 CONNECTION='mysql://root:111111@192.168.10.204:3306/gwall_dev/sys_isp_info'; /*Table structure for table `ui_task_info` */ DROP TABLE IF EXISTS `ui_task_info`; CREATE TABLE `ui_task_info` ( `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '配置ID', `task_name` varchar(64) NOT NULL, `task_org` varchar(128) NOT NULL, `task_time` date NOT NULL, `task_desc` varchar(512) DEFAULT NULL, `is_valid` int(11) NOT NULL, `is_audit` int(11) NOT NULL, `creator_id` int(11) NOT NULL, `create_time` date NOT NULL, `editor_id` int(11) DEFAULT NULL, `edit_time` date DEFAULT NULL, `auditor_id` int(11) DEFAULT NULL, `audit_time` date DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `task_info_task_name` (`task_name`) USING BTREE ) ENGINE=FEDERATED DEFAULT CHARSET=utf8 CONNECTION='mysql://root:111111@192.168.10.204:3306/gwall_dev/task_info'; /*Table structure for table `ui_task_info_copy` */ DROP TABLE IF EXISTS `ui_task_info_copy`; CREATE TABLE `ui_task_info_copy` ( `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '配置ID', `task_name` varchar(64) NOT NULL, `task_org` varchar(128) NOT NULL, `task_time` date NOT NULL, `task_desc` varchar(512) DEFAULT NULL, `is_valid` int(11) NOT NULL, `is_audit` int(11) NOT NULL, `creator_id` int(11) NOT NULL, `create_time` date NOT NULL, `editor_id` int(11) DEFAULT NULL, `edit_time` date DEFAULT NULL, `auditor_id` int(11) DEFAULT NULL, `audit_time` date DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `task_info_task_name` (`task_name`) USING BTREE ) ENGINE=FEDERATED DEFAULT CHARSET=utf8 CONNECTION='mysql://root:111111@192.168.10.204:3306/gwall_dev/task_info'; /*Table structure for table `ui_website_domain_topic` */ DROP TABLE IF EXISTS `ui_website_domain_topic`; CREATE TABLE `ui_website_domain_topic` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `website_service_id` bigint(20) DEFAULT NULL COMMENT '网站服务Id', `domain` varchar(1024) DEFAULT NULL, `topic_id` bigint(20) DEFAULT NULL COMMENT '主题Id', `create_time` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp(), `creator_id` int(11) DEFAULT NULL, `is_valid` int(1) DEFAULT NULL, `icon` varchar(200) DEFAULT NULL, `desc` varchar(400) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=737007 DEFAULT CHARSET=utf8mb4; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;