From 9e60421f8e3487a3a33d30384a9938e41b5fb433 Mon Sep 17 00:00:00 2001 From: Parker Date: Tue, 4 May 2021 21:14:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db-file/opsli-boot.sql | 723 +++++++++++++++++++++++------------------ 1 file changed, 398 insertions(+), 325 deletions(-) diff --git a/db-file/opsli-boot.sql b/db-file/opsli-boot.sql index 840d4d4..4458ac2 100644 --- a/db-file/opsli-boot.sql +++ b/db-file/opsli-boot.sql @@ -1,17 +1,17 @@ /* Navicat Premium Data Transfer - Source Server : 本地数据库 + Source Server : OPSLI 快速开发平台 Source Server Type : MySQL - Source Server Version : 50722 - Source Host : localhost:3306 + Source Server Version : 50733 + Source Host : 127.0.0.1 Source Schema : opsli-boot Target Server Type : MySQL - Target Server Version : 50722 + Target Server Version : 50733 File Encoding : 65001 - Date: 30/04/2021 22:25:45 + Date: 04/05/2021 21:13:30 */ SET NAMES utf8mb4; @@ -21,98 +21,103 @@ SET FOREIGN_KEY_CHECKS = 0; -- Table structure for creater_logs -- ---------------------------- DROP TABLE IF EXISTS `creater_logs`; -CREATE TABLE `creater_logs` ( +CREATE TABLE `creater_logs` ( `id` bigint(19) NOT NULL COMMENT '主键', `table_id` bigint(19) NOT NULL COMMENT '归属表ID', - `package_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '生成包名', - `module_name` varchar(40) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '生成模块名', - `sub_module_name` varchar(40) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '生成子模块名', - `code_title` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '代码标题', - `code_title_brief` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '代码标题简介', - `author_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '作者名', + `package_name` varchar(255) CHARACTER SET utf8 NOT NULL COMMENT '生成包名', + `module_name` varchar(40) CHARACTER SET utf8 NOT NULL COMMENT '生成模块名', + `sub_module_name` varchar(40) CHARACTER SET utf8 DEFAULT NULL COMMENT '生成子模块名', + `code_title` varchar(100) CHARACTER SET utf8 NOT NULL COMMENT '代码标题', + `code_title_brief` varchar(100) CHARACTER SET utf8 NOT NULL COMMENT '代码标题简介', + `author_name` varchar(64) NOT NULL COMMENT '作者名', `version` int(11) NOT NULL COMMENT '版本(乐观锁)', `create_by` bigint(19) NOT NULL COMMENT '创建用户', - `create_time` datetime(0) NOT NULL COMMENT '创建日期', + `create_time` datetime NOT NULL COMMENT '创建日期', `update_by` bigint(19) NOT NULL COMMENT '修改用户', - `update_time` datetime(0) NOT NULL COMMENT '修改日期', + `update_time` datetime NOT NULL COMMENT '修改日期', PRIMARY KEY (`id`) USING BTREE, - UNIQUE INDEX `table`(`id`, `table_id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '代码生成器 - 生成日志' ROW_FORMAT = Dynamic; + UNIQUE KEY `table` (`id`,`table_id`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='代码生成器 - 生成日志'; -- ---------------------------- -- Records of creater_logs -- ---------------------------- +BEGIN; INSERT INTO `creater_logs` VALUES (1329754468468400129, 1329754301400883202, 'org.opsli.modulars', 'gentest', 'user', '某系统用户', '用户', '周鹏程', 54, 1313694379541635074, '2020-11-20 19:52:26', 1, '2020-11-27 16:08:48'); INSERT INTO `creater_logs` VALUES (1340631269252005889, 1340630022558056449, 'org.opsli.modulars', 'gentest', 'carinfo', '汽车信息', '汽车信息', 'Parker', 0, 1313694379541635074, '2020-12-20 20:12:57', 1313694379541635074, '2021-02-04 18:48:21'); INSERT INTO `creater_logs` VALUES (1358361017146384386, 1358360266068172802, 'org.opsli.modulars', 'sys', 'options', '系统参数', '系统参数', 'Parker', 0, 1313694379541635074, '2021-02-07 18:24:38', 1313694379541635074, '2021-04-29 11:42:46'); INSERT INTO `creater_logs` VALUES (1359429290382323714, 1359428685312028674, 'org.opsli.modulars.system', 'other', 'crypto', '非对称加密管理', '非对称加密', 'Parker', 0, 1313694379541635074, '2021-02-10 17:09:34', 1313694379541635074, '2021-04-09 09:14:09'); +COMMIT; -- ---------------------------- -- Table structure for creater_table -- ---------------------------- DROP TABLE IF EXISTS `creater_table`; -CREATE TABLE `creater_table` ( +CREATE TABLE `creater_table` ( `id` bigint(19) NOT NULL COMMENT '主键', - `table_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '表名称', - `old_table_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '表名称', - `table_type` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '表类型', - `comments` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '描述', - `jdbc_type` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '数据库类型 { MySQL\\Oracle\\SQLServer ...}', - `iz_sync` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '同步', - `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注信息', + `table_name` varchar(100) NOT NULL COMMENT '表名称', + `old_table_name` varchar(100) NOT NULL COMMENT '表名称', + `table_type` varchar(30) NOT NULL COMMENT '表类型', + `comments` varchar(200) NOT NULL COMMENT '描述', + `jdbc_type` varchar(30) NOT NULL DEFAULT '0' COMMENT '数据库类型 { MySQL\\Oracle\\SQLServer ...}', + `iz_sync` char(1) DEFAULT '0' COMMENT '同步', + `remark` varchar(255) DEFAULT NULL COMMENT '备注信息', `version` int(11) NOT NULL COMMENT '版本(乐观锁)', `create_by` bigint(19) NOT NULL COMMENT '创建用户', - `create_time` datetime(0) NOT NULL COMMENT '创建日期', + `create_time` datetime NOT NULL COMMENT '创建日期', `update_by` bigint(19) NOT NULL COMMENT '修改用户', - `update_time` datetime(0) NOT NULL COMMENT '修改日期', + `update_time` datetime NOT NULL COMMENT '修改日期', PRIMARY KEY (`id`) USING BTREE, - INDEX `creater_table_name`(`table_name`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '代码生成器 - 表信息' ROW_FORMAT = Dynamic; + KEY `creater_table_name` (`table_name`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='代码生成器 - 表信息'; -- ---------------------------- -- Records of creater_table -- ---------------------------- +BEGIN; INSERT INTO `creater_table` VALUES (1329754301400883202, 'test_user', 'test_user', '0', '某系统用户', 'mysql', '0', '测试用户', 8, 1313694379541635074, '2020-11-20 19:51:46', 1, '2020-11-27 15:44:57'); INSERT INTO `creater_table` VALUES (1340630022558056449, 'test_car', 'test_car', '0', '测试汽车', 'mysql', '1', NULL, 1, 1313694379541635074, '2020-12-20 20:08:00', 1313694379541635074, '2020-12-20 20:10:48'); INSERT INTO `creater_table` VALUES (1356152016136482817, 'test_car_copy1', 'test_car_copy1', '0', '测试', 'mysql', '1', NULL, 0, 1313694379541635074, '2021-02-01 16:06:51', 1313694379541635074, '2021-02-01 16:06:51'); INSERT INTO `creater_table` VALUES (1358360266068172802, 'sys_options', 'sys_options', '0', '系统参数', 'mysql', '0', NULL, 1, 1313694379541635074, '2021-02-07 18:21:39', 1313694379541635074, '2021-02-07 18:23:54'); INSERT INTO `creater_table` VALUES (1359428685312028674, 'other_crypto_asymmetric', 'other_crypto_asymmetric', '0', '非对称加密表', 'mysql', '0', NULL, 2, 1313694379541635074, '2021-02-10 17:07:10', 1313694379541635074, '2021-02-10 17:08:21'); +COMMIT; -- ---------------------------- -- Table structure for creater_table_column -- ---------------------------- DROP TABLE IF EXISTS `creater_table_column`; -CREATE TABLE `creater_table_column` ( +CREATE TABLE `creater_table_column` ( `id` bigint(19) NOT NULL COMMENT '主键', `table_id` bigint(19) NOT NULL COMMENT '归属表ID', - `field_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段名称', - `field_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段类型', - `field_length` int(11) NULL DEFAULT NULL COMMENT '字段长度', - `field_precision` int(11) NULL DEFAULT NULL COMMENT '字段精度', - `field_comments` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段描述', - `iz_pk` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '是否主键', - `iz_not_null` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '是否可为空', - `iz_show_list` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '是否列表字段', - `iz_show_form` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '是否表单显示', - `query_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '检索类别', - `java_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'Java数据类型', - `show_type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '字段生成方案(文本框、文本域、下拉框、复选框、单选框、字典选择、人员选择、部门选择、区域选择)', - `dict_type_code` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '字典类型', + `field_name` varchar(100) NOT NULL COMMENT '字段名称', + `field_type` varchar(100) NOT NULL COMMENT '字段类型', + `field_length` int(11) DEFAULT NULL COMMENT '字段长度', + `field_precision` int(11) DEFAULT NULL COMMENT '字段精度', + `field_comments` varchar(200) NOT NULL COMMENT '字段描述', + `iz_pk` char(1) DEFAULT NULL COMMENT '是否主键', + `iz_not_null` char(1) DEFAULT NULL COMMENT '是否可为空', + `iz_show_list` char(1) DEFAULT NULL COMMENT '是否列表字段', + `iz_show_form` char(1) DEFAULT NULL COMMENT '是否表单显示', + `query_type` varchar(100) DEFAULT NULL COMMENT '检索类别', + `java_type` varchar(50) NOT NULL COMMENT 'Java数据类型', + `show_type` char(1) DEFAULT NULL COMMENT '字段生成方案(文本框、文本域、下拉框、复选框、单选框、字典选择、人员选择、部门选择、区域选择)', + `dict_type_code` varchar(120) DEFAULT NULL COMMENT '字典类型', `sort` smallint(6) NOT NULL COMMENT '排序(升序)', - `validate_type` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '验证类别', + `validate_type` varchar(500) DEFAULT NULL COMMENT '验证类别', `version` int(11) NOT NULL COMMENT '版本(乐观锁)', `create_by` bigint(19) NOT NULL COMMENT '创建用户', - `create_time` datetime(0) NOT NULL COMMENT '创建日期', + `create_time` datetime NOT NULL COMMENT '创建日期', `update_by` bigint(19) NOT NULL COMMENT '修改用户', - `update_time` datetime(0) NOT NULL COMMENT '修改日期', + `update_time` datetime NOT NULL COMMENT '修改日期', PRIMARY KEY (`id`) USING BTREE, - INDEX `creater_table_column_sort`(`sort`) USING BTREE, - INDEX `creater_table_column_table_id`(`table_id`, `field_name`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '代码生成器 - 表结构\r\n' ROW_FORMAT = Dynamic; + KEY `creater_table_column_sort` (`sort`) USING BTREE, + KEY `creater_table_column_table_id` (`table_id`,`field_name`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='代码生成器 - 表结构\r\n'; -- ---------------------------- -- Records of creater_table_column -- ---------------------------- +BEGIN; INSERT INTO `creater_table_column` VALUES (1332228902949236737, 1329754301400883202, 'id', 'bigint', 19, 0, '主键', '1', '1', '0', '0', NULL, 'String', NULL, NULL, 0, '', 0, 1, '2020-11-27 15:44:57', 1, '2020-11-27 15:44:57'); INSERT INTO `creater_table_column` VALUES (1332228902974402562, 1329754301400883202, 'name', 'varchar', 50, 0, '名称', '0', '0', '1', '1', 'LIKE', 'String', '0', NULL, 1, 'IS_GENERAL_WITH_CHINESE', 0, 1, '2020-11-27 15:44:57', 1, '2020-11-27 15:44:57'); INSERT INTO `creater_table_column` VALUES (1332228902986985474, 1329754301400883202, 'money', 'double', 6, 2, '金钱', '0', '1', '1', '1', 'RANGE', 'Double', '0', NULL, 2, 'IS_MONEY', 0, 1, '2020-11-27 15:44:57', 1, '2020-11-27 15:44:57'); @@ -170,55 +175,34 @@ INSERT INTO `creater_table_column` VALUES (1359428984495927297, 1359428685312028 INSERT INTO `creater_table_column` VALUES (1359428984537870338, 1359428685312028674, 'create_time', 'datetime', 0, 0, '创建日期', '0', '1', '0', '0', NULL, 'Date', NULL, NULL, 6, '', 0, 1313694379541635074, '2021-02-10 17:08:22', 1313694379541635074, '2021-02-10 17:08:22'); INSERT INTO `creater_table_column` VALUES (1359428984571424769, 1359428685312028674, 'update_by', 'bigint', 19, 0, '修改用户', '0', '1', '0', '0', NULL, 'String', NULL, NULL, 7, '', 0, 1313694379541635074, '2021-02-10 17:08:22', 1313694379541635074, '2021-02-10 17:08:22'); INSERT INTO `creater_table_column` VALUES (1359428984609173506, 1359428685312028674, 'update_time', 'datetime', 0, 0, '修改日期', '0', '1', '0', '0', NULL, 'Date', NULL, NULL, 8, '', 0, 1313694379541635074, '2021-02-10 17:08:22', 1313694379541635074, '2021-02-10 17:08:22'); - --- ---------------------------- --- Table structure for other_crypto_asymmetric --- ---------------------------- -DROP TABLE IF EXISTS `other_crypto_asymmetric`; -CREATE TABLE `other_crypto_asymmetric` ( - `id` bigint(19) NOT NULL COMMENT '唯一主键', - `crypto_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '加解密类别', - `public_key` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公钥', - `private_key` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '私钥', - `version` int(11) NOT NULL DEFAULT 0 COMMENT '版本(乐观锁)', - `create_by` bigint(19) NOT NULL COMMENT '创建用户', - `create_time` datetime(0) NOT NULL COMMENT '创建日期', - `update_by` bigint(19) NOT NULL COMMENT '修改用户', - `update_time` datetime(0) NOT NULL COMMENT '修改日期', - PRIMARY KEY (`id`) USING BTREE, - UNIQUE INDEX `index`(`crypto_type`) USING BTREE COMMENT '参数编号唯一' -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '其他-非对称加密表' ROW_FORMAT = Dynamic; - --- ---------------------------- --- Records of other_crypto_asymmetric --- ---------------------------- -INSERT INTO `other_crypto_asymmetric` VALUES (1, 'encrypt_alg', '', 'true', 0, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'); +COMMIT; -- ---------------------------- -- Table structure for sys_area -- ---------------------------- DROP TABLE IF EXISTS `sys_area`; -CREATE TABLE `sys_area` ( +CREATE TABLE `sys_area` ( `id` bigint(19) NOT NULL COMMENT '唯一主键', - `parent_id` bigint(19) NULL DEFAULT NULL COMMENT '上级ID', - `area_code` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '地域编号', - `area_name` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '地域名称', + `parent_id` bigint(19) DEFAULT NULL COMMENT '上级ID', + `area_code` varchar(40) NOT NULL COMMENT '地域编号', + `area_name` varchar(40) DEFAULT NULL COMMENT '地域名称', `area_type` int(5) NOT NULL COMMENT '地域类型', - `deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '删除标记:0未删除,1删除', - `version` int(11) NOT NULL DEFAULT 0 COMMENT '版本(乐观锁)', + `deleted` char(1) NOT NULL DEFAULT '0' COMMENT '删除标记:0未删除,1删除', + `version` int(11) NOT NULL DEFAULT '0' COMMENT '版本(乐观锁)', `create_by` bigint(19) NOT NULL COMMENT '创建用户', - `create_time` datetime(0) NOT NULL COMMENT '创建日期', + `create_time` datetime NOT NULL COMMENT '创建日期', `update_by` bigint(19) NOT NULL COMMENT '修改用户', - `update_time` datetime(0) NOT NULL COMMENT '修改日期', - `ts` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '时间戳', + `update_time` datetime NOT NULL COMMENT '修改日期', + `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '时间戳', PRIMARY KEY (`id`) USING BTREE, - UNIQUE INDEX `area`(`area_code`) USING BTREE, - INDEX `parent_id`(`parent_id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '地区表' ROW_FORMAT = Dynamic; + UNIQUE KEY `area` (`area_code`) USING BTREE, + KEY `parent_id` (`parent_id`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='地区表'; -- ---------------------------- -- Records of sys_area -- ---------------------------- +BEGIN; INSERT INTO `sys_area` VALUES (86, 0, '86', '中国', 0, '0', 3, 1, '2020-12-28 17:43:30', 1, '2021-01-25 17:36:59', '2021-04-08 23:50:42'); INSERT INTO `sys_area` VALUES (110000, 86, '110000', '北京市', 1, '0', 0, 1, '2020-12-28 17:43:30', 1, '2020-12-28 17:43:30', '2021-04-08 23:50:42'); INSERT INTO `sys_area` VALUES (110101, 110000, '110101', '东城区', 2, '0', 0, 1, '2020-12-28 17:43:30', 1, '2020-12-28 17:43:30', '2021-04-08 23:50:42'); @@ -3432,31 +3416,33 @@ INSERT INTO `sys_area` VALUES (659010, 650000, '659010', '胡杨河市', 2, '0', INSERT INTO `sys_area` VALUES (710000, 86, '710000', '台湾省', 1, '0', 0, 1, '2020-12-28 17:43:31', 1, '2020-12-28 17:43:31', '2021-04-08 23:50:42'); INSERT INTO `sys_area` VALUES (810000, 86, '810000', '香港特别行政区', 1, '0', 0, 1, '2020-12-28 17:43:31', 1, '2020-12-28 17:43:31', '2021-04-08 23:50:42'); INSERT INTO `sys_area` VALUES (820000, 86, '820000', '澳门特别行政区', 1, '0', 0, 1, '2020-12-28 17:43:31', 1, '2020-12-28 17:43:31', '2021-04-08 23:50:42'); +COMMIT; -- ---------------------------- -- Table structure for sys_dict -- ---------------------------- DROP TABLE IF EXISTS `sys_dict`; -CREATE TABLE `sys_dict` ( +CREATE TABLE `sys_dict` ( `id` bigint(19) NOT NULL COMMENT '字典主键', - `type_code` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字典编号', - `type_name` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字典名称', - `iz_lock` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否内置 0否 1是', - `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注', - `deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '删除标记:0未删除,1删除', + `type_code` varchar(120) NOT NULL COMMENT '字典编号', + `type_name` varchar(120) NOT NULL COMMENT '字典名称', + `iz_lock` char(1) NOT NULL COMMENT '是否内置 0否 1是', + `remark` varchar(255) DEFAULT NULL COMMENT '备注', + `deleted` char(1) NOT NULL DEFAULT '0' COMMENT '删除标记:0未删除,1删除', `version` int(11) NOT NULL COMMENT '版本(乐观锁)', `create_by` bigint(19) NOT NULL COMMENT '创建人', - `create_time` datetime(0) NOT NULL COMMENT '创建时间', + `create_time` datetime NOT NULL COMMENT '创建时间', `update_by` bigint(19) NOT NULL COMMENT '修改人', - `update_time` datetime(0) NOT NULL COMMENT '修改时间', - `ts` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '时间戳', + `update_time` datetime NOT NULL COMMENT '修改时间', + `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '时间戳', PRIMARY KEY (`id`) USING BTREE, - INDEX `type_code_typename_unique`(`type_code`, `type_name`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '字典表' ROW_FORMAT = Dynamic; + KEY `type_code_typename_unique` (`type_code`,`type_name`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='字典表'; -- ---------------------------- -- Records of sys_dict -- ---------------------------- +BEGIN; INSERT INTO `sys_dict` VALUES (1308396497528434689, '010110', '测试字典123', '1', '测试修改 - 123123', '1', 2, 1, '2020-09-22 08:23:28', 1, '2020-09-22 10:59:29', '2021-04-08 23:50:52'); INSERT INTO `sys_dict` VALUES (1308782322607058946, 'test_type', '测试类型', '1', '测试类型', '0', 23, 1, '2020-09-23 09:56:36', 1, '2020-11-21 17:55:50', '2021-04-08 23:50:52'); INSERT INTO `sys_dict` VALUES (1314920925140922369, 'test', '测试', '0', NULL, '0', 3, 1313694379541635074, '2020-10-10 21:29:13', 1313694379541635074, '2020-10-10 21:57:32', '2021-04-08 23:50:52'); @@ -3472,34 +3458,38 @@ INSERT INTO `sys_dict` VALUES (1330086884696694786, 'query_type', '代码生成 INSERT INTO `sys_dict` VALUES (1332662182483107842, 'org_type', '组织机构类型', '1', NULL, '0', 0, 1, '2020-11-28 20:26:39', 1, '2020-11-28 20:26:39', '2021-04-08 23:50:52'); INSERT INTO `sys_dict` VALUES (1346735875094847489, '123123', '测试', '0', NULL, '1', 0, 1313694379541635074, '2021-01-06 16:30:28', 1313694379541635074, '2021-01-06 16:30:28', '2021-04-08 23:50:52'); INSERT INTO `sys_dict` VALUES (1380172509525946369, 'crypto_asymmetric', '非对称加密', '1', NULL, '0', 0, 1313694379541635074, '2021-04-08 22:55:43', 1313694379541635074, '2021-04-08 22:55:43', '2021-04-08 23:50:52'); +INSERT INTO `sys_dict` VALUES (1388562098925977601, 'storage_type', '存储位置', '1', NULL, '0', 1, 1313694379541635074, '2021-05-02 02:32:57', 1, '2021-05-02 02:34:39', '2021-05-02 02:34:38'); +INSERT INTO `sys_dict` VALUES (1389291635615805442, 'password_level', '密码强度', '1', NULL, '0', 0, 1313694379541635074, '2021-05-04 02:51:52', 1313694379541635074, '2021-05-04 02:51:52', '2021-05-04 02:51:52'); +COMMIT; -- ---------------------------- -- Table structure for sys_dict_detail -- ---------------------------- DROP TABLE IF EXISTS `sys_dict_detail`; -CREATE TABLE `sys_dict_detail` ( +CREATE TABLE `sys_dict_detail` ( `id` bigint(19) NOT NULL COMMENT '字典明细主键', - `type_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '类型ID', - `type_code` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '类型code 冗余字段', - `dict_name` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字典名称', - `dict_value` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字典值', - `iz_lock` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否内置 0否 1是', + `type_id` varchar(32) NOT NULL COMMENT '类型ID', + `type_code` varchar(120) NOT NULL COMMENT '类型code 冗余字段', + `dict_name` varchar(120) NOT NULL COMMENT '字典名称', + `dict_value` varchar(120) NOT NULL COMMENT '字典值', + `iz_lock` char(1) NOT NULL COMMENT '是否内置 0否 1是', `sort_no` int(11) NOT NULL COMMENT '排序', - `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注', - `deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '删除状态', + `remark` varchar(255) DEFAULT NULL COMMENT '备注', + `deleted` char(1) NOT NULL DEFAULT '0' COMMENT '删除状态', `version` int(11) NOT NULL COMMENT '版本(乐观锁)', `create_by` bigint(19) NOT NULL COMMENT '创建人', - `create_time` datetime(0) NOT NULL COMMENT '创建时间', + `create_time` datetime NOT NULL COMMENT '创建时间', `update_by` bigint(19) NOT NULL COMMENT '修改人', - `update_time` datetime(0) NOT NULL COMMENT '修改时间', - `ts` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '时间戳', + `update_time` datetime NOT NULL COMMENT '修改时间', + `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '时间戳', PRIMARY KEY (`id`) USING BTREE, - INDEX `dict_detail`(`type_code`, `dict_value`, `dict_name`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '字典表-明细' ROW_FORMAT = Dynamic; + KEY `dict_detail` (`type_code`,`dict_value`,`dict_name`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='字典表-明细'; -- ---------------------------- -- Records of sys_dict_detail -- ---------------------------- +BEGIN; INSERT INTO `sys_dict_detail` VALUES (1308456445335597058, '1308396497528434689', '010110', 'abc', '0', '1', 0, '测试', '1', 1, 1, '2020-09-22 12:21:41', 1, '2020-09-22 12:22:11', '2021-04-08 23:50:57'); INSERT INTO `sys_dict_detail` VALUES (1308637708302524418, '1308396497528434689', '010110', '销售部', '0', '1', 0, '测试', '1', 0, 1, '2020-09-23 00:21:58', 1, '2020-09-23 00:21:58', '2021-04-08 23:50:57'); INSERT INTO `sys_dict_detail` VALUES (1308637974456291330, '1308396497528434689', '010110', '销售部', '0', '1', 0, '测试', '1', 0, 1, '2020-09-23 00:23:01', 1, '2020-09-23 00:23:01', '2021-04-08 23:50:57'); @@ -3589,38 +3579,46 @@ INSERT INTO `sys_dict_detail` VALUES (1346736008574377985, '1346735875094847489' INSERT INTO `sys_dict_detail` VALUES (1346736026190454785, '1346735875094847489', '123123', '123123', '12312333', '0', 1, NULL, '1', 0, 1313694379541635074, '2021-01-06 16:31:04', 1313694379541635074, '2021-01-06 16:31:04', '2021-04-08 23:50:57'); INSERT INTO `sys_dict_detail` VALUES (1358741824809709569, '1308782322607058946', 'test_type', '售后部1', '11', '0', 1, NULL, '1', 0, 1, '2021-02-08 19:37:50', 1, '2021-02-08 19:37:50', '2021-04-08 23:50:57'); INSERT INTO `sys_dict_detail` VALUES (1380172691483242497, '1380172509525946369', 'crypto_asymmetric', 'RSA', 'RSA', '1', 1, NULL, '0', 0, 1, '2021-04-08 22:56:27', 1, '2021-04-08 22:56:27', '2021-04-08 23:50:57'); +INSERT INTO `sys_dict_detail` VALUES (1388562258682822658, '1388562098925977601', 'storage_type', '本地', 'local', '1', 1, NULL, '0', 1, 1, '2021-05-02 02:33:35', 1, '2021-05-02 02:34:39', '2021-05-02 02:34:38'); +INSERT INTO `sys_dict_detail` VALUES (1389291796828073985, '1389291635615805442', 'password_level', '低', '0', '1', 1, NULL, '0', 0, 1, '2021-05-04 02:52:31', 1, '2021-05-04 02:52:31', '2021-05-04 02:52:30'); +INSERT INTO `sys_dict_detail` VALUES (1389291836380360706, '1389291635615805442', 'password_level', '中', '1', '1', 2, NULL, '0', 0, 1, '2021-05-04 02:52:40', 1, '2021-05-04 02:52:40', '2021-05-04 02:52:40'); +INSERT INTO `sys_dict_detail` VALUES (1389291876108808193, '1389291635615805442', 'password_level', '高', '2', '1', 3, NULL, '0', 0, 1, '2021-05-04 02:52:50', 1, '2021-05-04 02:52:50', '2021-05-04 02:52:49'); +INSERT INTO `sys_dict_detail` VALUES (1389291921797361666, '1389291635615805442', 'password_level', '很高', '3', '1', 4, NULL, '0', 0, 1, '2021-05-04 02:53:01', 1, '2021-05-04 02:53:01', '2021-05-04 02:53:00'); +INSERT INTO `sys_dict_detail` VALUES (1389291969885057026, '1389291635615805442', 'password_level', '非常高', '4', '1', 5, NULL, '0', 0, 1, '2021-05-04 02:53:12', 1, '2021-05-04 02:53:12', '2021-05-04 02:53:12'); +COMMIT; -- ---------------------------- -- Table structure for sys_logs -- ---------------------------- DROP TABLE IF EXISTS `sys_logs`; -CREATE TABLE `sys_logs` ( +CREATE TABLE `sys_logs` ( `id` bigint(19) NOT NULL COMMENT '唯一主键', - `type` char(1) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '1' COMMENT '日志类型', - `title` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '日志标题', - `remote_addr` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '操作IP地址', - `user_agent` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '用户代理', - `request_uri` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '请求URI', - `method` varchar(5) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '操作方式', - `timeout` bigint(20) NULL DEFAULT NULL COMMENT '执行时间', - `params` text CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT '操作提交的数据', - `exception` text CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT '异常信息', + `type` char(1) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '1' COMMENT '日志类型', + `title` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '日志标题', + `remote_addr` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '操作IP地址', + `user_agent` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '用户代理', + `request_uri` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '请求URI', + `method` varchar(5) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '操作方式', + `timeout` bigint(20) DEFAULT NULL COMMENT '执行时间', + `params` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT '操作提交的数据', + `exception` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT '异常信息', `version` int(11) NOT NULL COMMENT '版本(乐观锁)', `create_by` bigint(19) NOT NULL COMMENT '创建者', - `create_time` datetime(0) NOT NULL COMMENT '创建时间', + `create_time` datetime NOT NULL COMMENT '创建时间', `update_by` bigint(19) NOT NULL COMMENT '修改人', - `update_time` datetime(0) NOT NULL COMMENT '修改时间', - `ts` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '时间戳', + `update_time` datetime NOT NULL COMMENT '修改时间', + `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '时间戳', PRIMARY KEY (`id`) USING BTREE, - INDEX `sys_log_create_by`(`create_by`) USING BTREE, - INDEX `sys_log_request_uri`(`request_uri`) USING BTREE, - INDEX `sys_log_type`(`type`) USING BTREE, - INDEX `sys_log_create_date`(`create_time`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '日志表' ROW_FORMAT = Dynamic; + KEY `sys_log_create_by` (`create_by`) USING BTREE, + KEY `sys_log_request_uri` (`request_uri`) USING BTREE, + KEY `sys_log_type` (`type`) USING BTREE, + KEY `sys_log_create_date` (`create_time`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='日志表'; -- ---------------------------- -- Records of sys_logs -- ---------------------------- +BEGIN; INSERT INTO `sys_logs` VALUES (1314831905878708225, '1', 'org.opsli.modulars.system.logs.web.LogsRestController', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36', '/opsli-boot/api/v1/sys/logs/emptyByOneMonth', 'POST', 73, '[Ljava.lang.Object;@691f036b[{}]', NULL, 0, 1, '2020-10-10 15:35:29', 1, '2020-10-10 15:35:29', '2021-04-08 23:51:01'); INSERT INTO `sys_logs` VALUES (1314831950988447746, '1', 'org.opsli.modulars.system.logs.web.LogsRestController', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36', '/opsli-boot/api/v1/sys/logs/emptyByOneMonth', 'POST', 10, '[Ljava.lang.Object;@3b21612f[{}]', NULL, 0, 1, '2020-10-10 15:35:40', 1, '2020-10-10 15:35:40', '2021-04-08 23:51:01'); INSERT INTO `sys_logs` VALUES (1314847943487946753, '1', '运维工具-日志监控', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36', '/opsli-boot/api/v1/sys/logs/emptyByOneMonth', 'POST', 12, '[Ljava.lang.Object;@53e92d9[{}]', NULL, 0, 1, '2020-10-10 16:39:13', 1, '2020-10-10 16:39:13', '2021-04-08 23:51:01'); @@ -5873,39 +5871,97 @@ INSERT INTO `sys_logs` VALUES (1387730845975891970, '1', '系统配置-系统设 INSERT INTO `sys_logs` VALUES (1387734139762769921, '1', '系统配置-角色管理-设置权限', '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36', '/opsli-boot/api/v1/sys/role/perms/setPerms', 'POST', 92, '[{\"permsIds\":[\"1314066547072872450\",\"1314066863436640258\",\"1313806847370620930\",\"1313789204920131585\",\"1313789308506857474\",\"1313789400169177089\",\"1313789529840279554\",\"1313864645827678210\",\"1313864777918894082\",\"1335619974709936130\",\"1370051609388388353\",\"1370404146704654337\",\"4\",\"1313867061172195330\",\"1313867122731995137\",\"1313867360502894594\",\"1313867409949544450\",\"1313885644824522754\",\"1332662450423635969\",\"1332662689314414594\",\"1332662758860169217\",\"1332662809711910913\",\"1332662858294534146\",\"1315201380721446914\",\"1315201734892670977\",\"1315201809668722690\",\"1315201864219840513\",\"1315201925477650433\",\"1380173787882696705\",\"1312756531833356289\",\"1313867556498526209\",\"1314884045724717057\",\"1313867617949274113\",\"1313867682814185474\",\"1313867732508299265\",\"1387633500164599809\",\"1387633799226863618\",\"1387633960401383426\",\"1387634089447534594\",\"1387634157474951169\",\"1335439751687208961\",\"1335440004809261058\",\"1335439904372457474\",\"1335440081128816642\",\"1335440153140822017\",\"1360233188433977345\",\"1360233383397810177\",\"1327085543511293954\",\"1327085856930660353\",\"1327086205548625921\",\"1327086298750255105\",\"1327086378794352642\",\"1327086433609711617\",\"1337796232345407489\",\"1337796311940714498\",\"1330365141900591105\",\"1330365525440331778\",\"1330365570587820033\",\"1330365615181660162\",\"1330365717015166977\",\"1337719928086458369\",\"1337720128930705409\",\"1340626549594677250\",\"1340626612895113217\",\"1340626666078887937\",\"1340626895356321793\",\"1340626939119689729\",\"1340626988251766786\",\"1340627032942075906\",\"1314610817013919745\",\"1351012936860155906\",\"1351013587816136705\",\"1314616518671085570\",\"1314782679522099201\",\"1314782733087555586\",\"1314799744349913090\",\"1314068325453574145\",\"1327893773049262082\",\"1327894701135491073\",\"1327894767283859457\",\"1327894837093855234\",\"1327894965179510785\",\"1327895061598171137\",\"1327903778221699074\",\"1329374800267452417\",\"1314786106243301378\",\"1314071137365307394\",\"1314074765178187777\",\"1314075128635600897\",\"1314075267769053186\",\"1314075542684708865\",\"1314075764852797442\",\"1314075970382082050\",\"1314076169481498625\",\"1314076280542474242\",\"1314076678317682689\",\"1314077008057085954\",\"1314077108560998402\",\"1314077229235318786\",\"1314077399507283970\",\"1314077518340304897\",\"1314077631905280001\",\"1314077729003417602\",\"1314120834868060162\",\"1314121004749955073\",\"1314121200103858178\",\"1314121675192672257\",\"1314121808793837570\",\"1314121928784486402\",\"1314122020136427521\",\"1314122353273217025\",\"1314122123047870466\",\"1314122457908518914\",\"1314122556776652802\",\"1314122628184678401\",\"1314122717041008641\",\"1314123071354839041\",\"1314123272790482945\",\"1314123690283114498\",\"1314123894637993985\",\"1314123990633029633\",\"1314124102365093890\",\"1\",\"3\"],\"roleId\":\"2\"}]', NULL, 0, 1, '2021-04-29 19:42:56', 1, '2021-04-29 19:42:56', '2021-04-29 19:42:56'); INSERT INTO `sys_logs` VALUES (1387763431574056962, '1', '系统配置-系统设置-更新', '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36', '/opsli-boot/api/v1/sys/options/updateOptions', 'POST', 124, '[{\"email_smtp\":\"smtp.qq.com\",\"email_addresser\":\"测试\",\"email_password\":\"ygxbqwgcfhtgbaii\",\"email_port\":\"465\",\"email_account\":\"meet.parker@foxmail.com\",\"email_ssl_enable\":\"1\"}]', NULL, 0, 1, '2021-04-29 21:39:20', 1, '2021-04-29 21:39:20', '2021-04-29 21:39:20'); INSERT INTO `sys_logs` VALUES (1388129689855234049, '1', '系统配置-系统设置-更新', '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36', '/opsli-boot/api/v1/sys/options/updateOptions', 'POST', 83, '[{\"storage_local_domain\":\"http://127.0.0.1:8080/opsli-boot\",\"storage_local_path_prefix\":\"\"}]', NULL, 0, 1313694379541635074, '2021-04-30 21:54:43', 1313694379541635074, '2021-04-30 21:54:43', '2021-04-30 21:54:42'); +INSERT INTO `sys_logs` VALUES (1388333267375996930, '1', '系统配置-参数配置-新增', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/options/insert', 'POST', 55, '[{\"optionValue\":\"111\",\"izApi\":false,\"version\":0,\"izLock\":\"0\",\"izManual\":false,\"optionCode\":\"11\",\"optionName\":\"111\"}]', NULL, 0, 1313694379541635074, '2021-05-01 11:23:40', 1313694379541635074, '2021-05-01 11:23:40', '2021-05-01 11:23:39'); +INSERT INTO `sys_logs` VALUES (1388333321314746370, '1', '系统配置-参数配置-新增', '127.0.0.1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', '/opsli-boot/api/v1/sys/options/insert', 'POST', 14, '[{\"optionValue\":\"222\",\"izApi\":false,\"version\":0,\"izLock\":\"0\",\"izManual\":false,\"optionCode\":\"222\",\"optionName\":\"222\"}]', NULL, 0, 1313694379541635074, '2021-05-01 11:23:52', 1313694379541635074, '2021-05-01 11:23:52', '2021-05-01 11:23:52'); +INSERT INTO `sys_logs` VALUES (1388333452399329282, '1', '系统配置-参数配置-新增', '127.0.0.1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', '/opsli-boot/api/v1/sys/options/insert', 'POST', 13, '[{\"optionValue\":\"333\",\"izApi\":false,\"version\":0,\"izLock\":\"0\",\"izManual\":false,\"optionCode\":\"333\",\"optionName\":\"333\"}]', NULL, 0, 1313694379541635074, '2021-05-01 11:24:24', 1313694379541635074, '2021-05-01 11:24:24', '2021-05-01 11:24:23'); +INSERT INTO `sys_logs` VALUES (1388333500642213890, '1', '系统配置-参数配置-新增', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/options/insert', 'POST', 13, '[{\"optionValue\":\"444\",\"izApi\":false,\"version\":0,\"izLock\":\"0\",\"izManual\":false,\"optionCode\":\"444\",\"optionName\":\"444\"}]', NULL, 0, 1313694379541635074, '2021-05-01 11:24:35', 1313694379541635074, '2021-05-01 11:24:35', '2021-05-01 11:24:35'); +INSERT INTO `sys_logs` VALUES (1388562099081166850, '1', '系统配置-字典管理-增加', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/dict/insert', 'POST', 131, '[{\"typeName\":\"存储位置\",\"izApi\":false,\"version\":0,\"typeCode\":\"storage\",\"izLock\":\"1\",\"izManual\":false}]', NULL, 0, 1313694379541635074, '2021-05-02 02:32:57', 1313694379541635074, '2021-05-02 02:32:57', '2021-05-02 02:32:57'); +INSERT INTO `sys_logs` VALUES (1388562258858983426, '1', '系统配置-字典管理-增加', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/dict/detail/insert', 'POST', 25, '[{\"dictValue\":\"local\",\"izApi\":false,\"version\":0,\"typeCode\":\"storage\",\"sortNo\":1,\"izLock\":\"1\",\"izManual\":false,\"typeId\":\"1388562098925977601\",\"dictName\":\"本地\"}]', NULL, 0, 1, '2021-05-02 02:33:35', 1, '2021-05-02 02:33:35', '2021-05-02 02:33:35'); +INSERT INTO `sys_logs` VALUES (1388562525067264002, '1', '系统配置-字典管理-修改', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/dict/update', 'POST', 35, '[{\"typeName\":\"存储位置\",\"izApi\":false,\"version\":0,\"typeCode\":\"storage_type\",\"createBy\":\"1313694379541635074\",\"izLock\":\"1\",\"izManual\":false,\"createTime\":1619893977000,\"id\":\"1388562098925977601\"}]', NULL, 0, 1, '2021-05-02 02:34:39', 1, '2021-05-02 02:34:39', '2021-05-02 02:34:38'); +INSERT INTO `sys_logs` VALUES (1389255786031222786, '2', '系统配置-字典管理-修改', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/dict/detail/update', 'POST', 16, '[{\"dictValue\":\"RSA\",\"izApi\":false,\"updateTime\":1617893787000,\"version\":0,\"typeCode\":\"crypto_asymmetric\",\"sortNo\":1,\"createBy\":\"1\",\"izLock\":\"1\",\"izManual\":false,\"createTime\":1617893787000,\"updateBy\":\"1\",\"typeId\":\"1380172509525946369\",\"dictName\":\"RSA\",\"id\":\"1380172691483242497\"}]', '内置数据只有超级管理员可以更改', 0, 1313694379541635074, '2021-05-04 00:29:25', 1313694379541635074, '2021-05-04 00:29:25', '2021-05-04 00:29:25'); +INSERT INTO `sys_logs` VALUES (1389255801915052033, '2', '系统配置-字典管理-修改', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/dict/detail/update', 'POST', 7, '[{\"dictValue\":\"RSA\",\"izApi\":false,\"updateTime\":1617893787000,\"version\":0,\"typeCode\":\"crypto_asymmetric\",\"sortNo\":1,\"createBy\":\"1\",\"izLock\":\"1\",\"izManual\":false,\"createTime\":1617893787000,\"updateBy\":\"1\",\"typeId\":\"1380172509525946369\",\"dictName\":\"RSA\",\"id\":\"1380172691483242497\"}]', '内置数据只有超级管理员可以更改', 0, 1313694379541635074, '2021-05-04 00:29:29', 1313694379541635074, '2021-05-04 00:29:29', '2021-05-04 00:29:28'); +INSERT INTO `sys_logs` VALUES (1389268887195619329, '1', '系统配置-组织机构-增加', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/org/insert', 'POST', 21, '[{\"orgName\":\"1111\",\"izApi\":false,\"version\":0,\"parentId\":\"1336209704187879425\",\"sortNo\":1,\"orgType\":\"2\",\"izManual\":false,\"orgCode\":\"0012_1111\",\"tenantId\":\"1\"}]', NULL, 0, 1, '2021-05-04 01:21:29', 1, '2021-05-04 01:21:29', '2021-05-04 01:21:28'); +INSERT INTO `sys_logs` VALUES (1389268928580816897, '1', '系统配置-组织机构-增加', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/org/insert', 'POST', 12, '[{\"orgName\":\"11111\",\"izApi\":false,\"version\":0,\"parentId\":\"1389268887044624385\",\"sortNo\":1,\"orgType\":\"3\",\"izManual\":false,\"orgCode\":\"0012_1111_2222\",\"tenantId\":\"1\"}]', NULL, 0, 1, '2021-05-04 01:21:39', 1, '2021-05-04 01:21:39', '2021-05-04 01:21:38'); +INSERT INTO `sys_logs` VALUES (1389273044967231490, '1', 'org.opsli.modulars.system.user.web.UserRestController.updateSelf', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/user/updateSelf', 'POST', 28, '[{\"no\":\"112\",\"mobile\":\"15321010110\",\"sign\":\"没有自学能力的人没有未来\",\"izApi\":false,\"remark\":\"\",\"avatar\":\"http://127.0.0.1:8080/opsli-boot/static/files/20210430/162056101700285193J6IAU.jpg\",\"version\":80,\"realName\":\"超级管理员\",\"createBy\":\"1\",\"izManual\":false,\"createTime\":1601017402000,\"id\":\"1\",\"email\":\"meet.parker@foxmail.com\"}]', NULL, 0, 1, '2021-05-04 01:38:00', 1, '2021-05-04 01:38:00', '2021-05-04 01:38:00'); +INSERT INTO `sys_logs` VALUES (1389278086562582529, '1', 'org.opsli.modulars.system.user.web.UserRestController.updateSelf', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/user/updateSelf', 'POST', 19, '[{\"no\":\"112\",\"mobile\":\"15321010110\",\"sign\":\"没有自学能力的人没有未来\",\"izApi\":false,\"remark\":\"\",\"avatar\":\"http://127.0.0.1:8080/opsli-boot/static/files/20210430/162056101700285193J6IAU.jpg\",\"version\":81,\"realName\":\"超级管理员\",\"createBy\":\"1\",\"izManual\":false,\"createTime\":1601017402000,\"id\":\"1\",\"email\":\"meet.parker@foxmail.com\"}]', NULL, 0, 1, '2021-05-04 01:58:02', 1, '2021-05-04 01:58:02', '2021-05-04 01:58:02'); +INSERT INTO `sys_logs` VALUES (1389278272294752258, '2', 'org.opsli.modulars.system.user.web.UserRestController.updateSelf', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/user/updateSelf', 'POST', 22, '[{\"no\":\"112\",\"mobile\":\"15321010110\",\"sign\":\"没有自学能力的人没有未来\",\"izApi\":false,\"remark\":\"\",\"avatar\":\"http://127.0.0.1:8080/opsli-boot/static/files/20210430/162056101700285193J6IAU.jpg\",\"version\":81,\"realName\":\"超级管理员\",\"createBy\":\"1\",\"izManual\":false,\"createTime\":1601017402000,\"id\":\"1\",\"email\":\"meet.parker@foxmail.com\"}]', '更新数据失败,请稍后再次尝试!', 0, 1, '2021-05-04 01:58:46', 1, '2021-05-04 01:58:46', '2021-05-04 01:58:46'); +INSERT INTO `sys_logs` VALUES (1389278282893758465, '2', 'org.opsli.modulars.system.user.web.UserRestController.updateSelf', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/user/updateSelf', 'POST', 10, '[{\"no\":\"112\",\"mobile\":\"15321010110\",\"sign\":\"没有自学能力的人没有未来\",\"izApi\":false,\"remark\":\"\",\"avatar\":\"http://127.0.0.1:8080/opsli-boot/static/files/20210430/162056101700285193J6IAU.jpg\",\"version\":81,\"realName\":\"超级管理员\",\"createBy\":\"1\",\"izManual\":false,\"createTime\":1601017402000,\"id\":\"1\",\"email\":\"meet.parker@foxmail.com\"}]', '更新数据失败,请稍后再次尝试!', 0, 1, '2021-05-04 01:58:49', 1, '2021-05-04 01:58:49', '2021-05-04 01:58:48'); +INSERT INTO `sys_logs` VALUES (1389278285250957314, '2', 'org.opsli.modulars.system.user.web.UserRestController.updateSelf', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/user/updateSelf', 'POST', 10, '[{\"no\":\"112\",\"mobile\":\"15321010110\",\"sign\":\"没有自学能力的人没有未来\",\"izApi\":false,\"remark\":\"\",\"avatar\":\"http://127.0.0.1:8080/opsli-boot/static/files/20210430/162056101700285193J6IAU.jpg\",\"version\":81,\"realName\":\"超级管理员\",\"createBy\":\"1\",\"izManual\":false,\"createTime\":1601017402000,\"id\":\"1\",\"email\":\"meet.parker@foxmail.com\"}]', '更新数据失败,请稍后再次尝试!', 0, 1, '2021-05-04 01:58:49', 1, '2021-05-04 01:58:49', '2021-05-04 01:58:49'); +INSERT INTO `sys_logs` VALUES (1389278285825576961, '2', 'org.opsli.modulars.system.user.web.UserRestController.updateSelf', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/user/updateSelf', 'POST', 10, '[{\"no\":\"112\",\"mobile\":\"15321010110\",\"sign\":\"没有自学能力的人没有未来\",\"izApi\":false,\"remark\":\"\",\"avatar\":\"http://127.0.0.1:8080/opsli-boot/static/files/20210430/162056101700285193J6IAU.jpg\",\"version\":81,\"realName\":\"超级管理员\",\"createBy\":\"1\",\"izManual\":false,\"createTime\":1601017402000,\"id\":\"1\",\"email\":\"meet.parker@foxmail.com\"}]', '更新数据失败,请稍后再次尝试!', 0, 1, '2021-05-04 01:58:50', 1, '2021-05-04 01:58:50', '2021-05-04 01:58:49'); +INSERT INTO `sys_logs` VALUES (1389278305287147521, '1', 'org.opsli.modulars.system.user.web.UserRestController.updateSelf', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/user/updateSelf', 'POST', 12, '[{\"no\":\"112\",\"mobile\":\"15321010110\",\"sign\":\"没有自学能力的人没有未来\",\"izApi\":false,\"remark\":\"\",\"avatar\":\"http://127.0.0.1:8080/opsli-boot/static/files/20210430/162056101700285193J6IAU.jpg\",\"version\":82,\"realName\":\"超级管理员\",\"createBy\":\"1\",\"izManual\":false,\"createTime\":1601017402000,\"id\":\"1\",\"email\":\"meet.parker@foxmail.com\"}]', NULL, 0, 1, '2021-05-04 01:58:54', 1, '2021-05-04 01:58:54', '2021-05-04 01:58:54'); +INSERT INTO `sys_logs` VALUES (1389278308307046401, '1', 'org.opsli.modulars.system.user.web.UserRestController.updateSelf', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/user/updateSelf', 'POST', 14, '[{\"no\":\"112\",\"mobile\":\"15321010110\",\"sign\":\"没有自学能力的人没有未来\",\"izApi\":false,\"remark\":\"\",\"avatar\":\"http://127.0.0.1:8080/opsli-boot/static/files/20210430/162056101700285193J6IAU.jpg\",\"version\":83,\"realName\":\"超级管理员\",\"createBy\":\"1\",\"izManual\":false,\"createTime\":1601017402000,\"id\":\"1\",\"email\":\"meet.parker@foxmail.com\"}]', NULL, 0, 1, '2021-05-04 01:58:55', 1, '2021-05-04 01:58:55', '2021-05-04 01:58:54'); +INSERT INTO `sys_logs` VALUES (1389278310777491457, '1', 'org.opsli.modulars.system.user.web.UserRestController.updateSelf', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/user/updateSelf', 'POST', 13, '[{\"no\":\"112\",\"mobile\":\"15321010110\",\"sign\":\"没有自学能力的人没有未来\",\"izApi\":false,\"remark\":\"\",\"avatar\":\"http://127.0.0.1:8080/opsli-boot/static/files/20210430/162056101700285193J6IAU.jpg\",\"version\":84,\"realName\":\"超级管理员\",\"createBy\":\"1\",\"izManual\":false,\"createTime\":1601017402000,\"id\":\"1\",\"email\":\"meet.parker@foxmail.com\"}]', NULL, 0, 1, '2021-05-04 01:58:55', 1, '2021-05-04 01:58:55', '2021-05-04 01:58:55'); +INSERT INTO `sys_logs` VALUES (1389278311444385794, '1', 'org.opsli.modulars.system.user.web.UserRestController.updateSelf', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/user/updateSelf', 'POST', 14, '[{\"no\":\"112\",\"mobile\":\"15321010110\",\"sign\":\"没有自学能力的人没有未来\",\"izApi\":false,\"remark\":\"\",\"avatar\":\"http://127.0.0.1:8080/opsli-boot/static/files/20210430/162056101700285193J6IAU.jpg\",\"version\":85,\"realName\":\"超级管理员\",\"createBy\":\"1\",\"izManual\":false,\"createTime\":1601017402000,\"id\":\"1\",\"email\":\"meet.parker@foxmail.com\"}]', NULL, 0, 1, '2021-05-04 01:58:56', 1, '2021-05-04 01:58:56', '2021-05-04 01:58:55'); +INSERT INTO `sys_logs` VALUES (1389278312035782657, '1', 'org.opsli.modulars.system.user.web.UserRestController.updateSelf', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/user/updateSelf', 'POST', 12, '[{\"no\":\"112\",\"mobile\":\"15321010110\",\"sign\":\"没有自学能力的人没有未来\",\"izApi\":false,\"remark\":\"\",\"avatar\":\"http://127.0.0.1:8080/opsli-boot/static/files/20210430/162056101700285193J6IAU.jpg\",\"version\":86,\"realName\":\"超级管理员\",\"createBy\":\"1\",\"izManual\":false,\"createTime\":1601017402000,\"id\":\"1\",\"email\":\"meet.parker@foxmail.com\"}]', NULL, 0, 1, '2021-05-04 01:58:56', 1, '2021-05-04 01:58:56', '2021-05-04 01:58:55'); +INSERT INTO `sys_logs` VALUES (1389278312694288385, '1', 'org.opsli.modulars.system.user.web.UserRestController.updateSelf', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/user/updateSelf', 'POST', 12, '[{\"no\":\"112\",\"mobile\":\"15321010110\",\"sign\":\"没有自学能力的人没有未来\",\"izApi\":false,\"remark\":\"\",\"avatar\":\"http://127.0.0.1:8080/opsli-boot/static/files/20210430/162056101700285193J6IAU.jpg\",\"version\":87,\"realName\":\"超级管理员\",\"createBy\":\"1\",\"izManual\":false,\"createTime\":1601017402000,\"id\":\"1\",\"email\":\"meet.parker@foxmail.com\"}]', NULL, 0, 1, '2021-05-04 01:58:56', 1, '2021-05-04 01:58:56', '2021-05-04 01:58:55'); +INSERT INTO `sys_logs` VALUES (1389278313235353601, '1', 'org.opsli.modulars.system.user.web.UserRestController.updateSelf', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/user/updateSelf', 'POST', 12, '[{\"no\":\"112\",\"mobile\":\"15321010110\",\"sign\":\"没有自学能力的人没有未来\",\"izApi\":false,\"remark\":\"\",\"avatar\":\"http://127.0.0.1:8080/opsli-boot/static/files/20210430/162056101700285193J6IAU.jpg\",\"version\":88,\"realName\":\"超级管理员\",\"createBy\":\"1\",\"izManual\":false,\"createTime\":1601017402000,\"id\":\"1\",\"email\":\"meet.parker@foxmail.com\"}]', NULL, 0, 1, '2021-05-04 01:58:56', 1, '2021-05-04 01:58:56', '2021-05-04 01:58:56'); +INSERT INTO `sys_logs` VALUES (1389278313822556162, '1', 'org.opsli.modulars.system.user.web.UserRestController.updateSelf', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/user/updateSelf', 'POST', 13, '[{\"no\":\"112\",\"mobile\":\"15321010110\",\"sign\":\"没有自学能力的人没有未来\",\"izApi\":false,\"remark\":\"\",\"avatar\":\"http://127.0.0.1:8080/opsli-boot/static/files/20210430/162056101700285193J6IAU.jpg\",\"version\":89,\"realName\":\"超级管理员\",\"createBy\":\"1\",\"izManual\":false,\"createTime\":1601017402000,\"id\":\"1\",\"email\":\"meet.parker@foxmail.com\"}]', NULL, 0, 1, '2021-05-04 01:58:56', 1, '2021-05-04 01:58:56', '2021-05-04 01:58:56'); +INSERT INTO `sys_logs` VALUES (1389278328523591682, '1', 'org.opsli.modulars.system.user.web.UserRestController.updateSelf', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/user/updateSelf', 'POST', 11, '[{\"no\":\"112\",\"mobile\":\"15321010110\",\"sign\":\"没有自学能力的人没有未来\",\"izApi\":false,\"remark\":\"\",\"avatar\":\"http://127.0.0.1:8080/opsli-boot/static/files/20210430/162056101700285193J6IAU.jpg\",\"version\":90,\"realName\":\"超级管理员\",\"createBy\":\"1\",\"izManual\":false,\"createTime\":1601017402000,\"id\":\"1\",\"email\":\"meet.parker@foxmail.com\"}]', NULL, 0, 1, '2021-05-04 01:59:00', 1, '2021-05-04 01:59:00', '2021-05-04 01:58:59'); +INSERT INTO `sys_logs` VALUES (1389278332105527298, '1', 'org.opsli.modulars.system.user.web.UserRestController.updateSelf', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/user/updateSelf', 'POST', 14, '[{\"no\":\"112\",\"mobile\":\"15321010110\",\"sign\":\"没有自学能力的人没有未来\",\"izApi\":false,\"remark\":\"\",\"avatar\":\"http://127.0.0.1:8080/opsli-boot/static/files/20210430/162056101700285193J6IAU.jpg\",\"version\":91,\"realName\":\"超级管理员\",\"createBy\":\"1\",\"izManual\":false,\"createTime\":1601017402000,\"id\":\"1\",\"email\":\"meet.parker@foxmail.com\"}]', NULL, 0, 1, '2021-05-04 01:59:01', 1, '2021-05-04 01:59:01', '2021-05-04 01:59:00'); +INSERT INTO `sys_logs` VALUES (1389278335922343937, '1', 'org.opsli.modulars.system.user.web.UserRestController.updateSelf', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/user/updateSelf', 'POST', 12, '[{\"no\":\"112\",\"mobile\":\"15321010110\",\"sign\":\"没有自学能力的人没有未来\",\"izApi\":false,\"remark\":\"\",\"avatar\":\"http://127.0.0.1:8080/opsli-boot/static/files/20210430/162056101700285193J6IAU.jpg\",\"version\":92,\"realName\":\"超级管理员\",\"createBy\":\"1\",\"izManual\":false,\"createTime\":1601017402000,\"id\":\"1\",\"email\":\"meet.parker@foxmail.com\"}]', NULL, 0, 1, '2021-05-04 01:59:01', 1, '2021-05-04 01:59:01', '2021-05-04 01:59:01'); +INSERT INTO `sys_logs` VALUES (1389278343212044290, '1', 'org.opsli.modulars.system.user.web.UserRestController.updateSelf', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/user/updateSelf', 'POST', 13, '[{\"no\":\"112\",\"mobile\":\"15321010110\",\"sign\":\"没有自学能力的人没有未来\",\"izApi\":false,\"remark\":\"\",\"avatar\":\"http://127.0.0.1:8080/opsli-boot/static/files/20210430/162056101700285193J6IAU.jpg\",\"version\":93,\"realName\":\"超级管理员\",\"createBy\":\"1\",\"izManual\":false,\"createTime\":1601017402000,\"id\":\"1\",\"email\":\"meet.parker@foxmail.com\"}]', NULL, 0, 1, '2021-05-04 01:59:03', 1, '2021-05-04 01:59:03', '2021-05-04 01:59:03'); +INSERT INTO `sys_logs` VALUES (1389278375428493314, '1', 'org.opsli.modulars.system.user.web.UserRestController.updateSelf', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/user/updateSelf', 'POST', 11, '[{\"no\":\"112\",\"mobile\":\"15321010110\",\"sign\":\"没有自学能力的人没有未来\",\"izApi\":false,\"remark\":\"\",\"avatar\":\"http://127.0.0.1:8080/opsli-boot/static/files/20210430/162056101700285193J6IAU.jpg\",\"version\":94,\"realName\":\"超级管理员\",\"createBy\":\"1\",\"izManual\":false,\"createTime\":1601017402000,\"id\":\"1\",\"email\":\"meet.parker@foxmail.com\"}]', NULL, 0, 1, '2021-05-04 01:59:11', 1, '2021-05-04 01:59:11', '2021-05-04 01:59:10'); +INSERT INTO `sys_logs` VALUES (1389291636463054849, '1', '系统配置-字典管理-增加', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/dict/insert', 'POST', 47, '[{\"typeName\":\"密码强度\",\"izApi\":false,\"version\":0,\"typeCode\":\"password_level\",\"izLock\":\"1\",\"izManual\":false}]', NULL, 0, 1313694379541635074, '2021-05-04 02:51:53', 1313694379541635074, '2021-05-04 02:51:53', '2021-05-04 02:51:52'); +INSERT INTO `sys_logs` VALUES (1389291797046177794, '1', '系统配置-字典管理-增加', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/dict/detail/insert', 'POST', 40, '[{\"dictValue\":\"0\",\"izApi\":false,\"version\":0,\"typeCode\":\"password_level\",\"sortNo\":1,\"izLock\":\"1\",\"izManual\":false,\"typeId\":\"1389291635615805442\",\"dictName\":\"低\"}]', NULL, 0, 1, '2021-05-04 02:52:31', 1, '2021-05-04 02:52:31', '2021-05-04 02:52:30'); +INSERT INTO `sys_logs` VALUES (1389291836581687297, '1', '系统配置-字典管理-增加', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/dict/detail/insert', 'POST', 29, '[{\"dictValue\":\"1\",\"izApi\":false,\"version\":0,\"typeCode\":\"password_level\",\"sortNo\":2,\"izLock\":\"1\",\"izManual\":false,\"typeId\":\"1389291635615805442\",\"dictName\":\"中\"}]', NULL, 0, 1, '2021-05-04 02:52:40', 1, '2021-05-04 02:52:40', '2021-05-04 02:52:40'); +INSERT INTO `sys_logs` VALUES (1389291876310134785, '1', '系统配置-字典管理-增加', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/dict/detail/insert', 'POST', 30, '[{\"dictValue\":\"2\",\"izApi\":false,\"version\":0,\"typeCode\":\"password_level\",\"sortNo\":3,\"izLock\":\"1\",\"izManual\":false,\"typeId\":\"1389291635615805442\",\"dictName\":\"高\"}]', NULL, 0, 1, '2021-05-04 02:52:50', 1, '2021-05-04 02:52:50', '2021-05-04 02:52:49'); +INSERT INTO `sys_logs` VALUES (1389291922019659777, '1', '系统配置-字典管理-增加', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/dict/detail/insert', 'POST', 36, '[{\"dictValue\":\"3\",\"izApi\":false,\"version\":0,\"typeCode\":\"password_level\",\"sortNo\":4,\"izLock\":\"1\",\"izManual\":false,\"typeId\":\"1389291635615805442\",\"dictName\":\"很高\"}]', NULL, 0, 1, '2021-05-04 02:53:01', 1, '2021-05-04 02:53:01', '2021-05-04 02:53:00'); +INSERT INTO `sys_logs` VALUES (1389291970111549441, '1', '系统配置-字典管理-增加', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/dict/detail/insert', 'POST', 34, '[{\"dictValue\":\"4\",\"izApi\":false,\"version\":0,\"typeCode\":\"password_level\",\"sortNo\":5,\"izLock\":\"1\",\"izManual\":false,\"typeId\":\"1389291635615805442\",\"dictName\":\"非常高\"}]', NULL, 0, 1, '2021-05-04 02:53:12', 1, '2021-05-04 02:53:12', '2021-05-04 02:53:12'); +INSERT INTO `sys_logs` VALUES (1389555213262397442, '1', '系统配置-菜单管理-增加', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/menu/insert', 'POST', 55, '[{\"hidden\":\"0\",\"izApi\":false,\"menuName\":\"生成菜单\",\"type\":\"2\",\"version\":0,\"parentId\":\"1327893773049262082\",\"sortNo\":6,\"izManual\":false,\"permissions\":\"deve_creater_createMenu\",\"alwaysShow\":\"0\"}]', NULL, 0, 1, '2021-05-04 20:19:14', 1, '2021-05-04 20:19:14', '2021-05-04 20:19:14'); +INSERT INTO `sys_logs` VALUES (1389555240663785474, '1', '系统配置-菜单管理-修改', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/menu/update', 'POST', 53, '[{\"hidden\":\"0\",\"icon\":\"\",\"izApi\":false,\"menuName\":\"同步\",\"type\":\"2\",\"version\":0,\"parentId\":\"1327893773049262082\",\"sortNo\":7,\"createBy\":\"1\",\"izManual\":false,\"createTime\":1605431907000,\"permissions\":\"deve_creater_sync\",\"id\":\"1327903778221699074\",\"alwaysShow\":\"0\"}]', NULL, 0, 1, '2021-05-04 20:19:21', 1, '2021-05-04 20:19:21', '2021-05-04 20:19:20'); +INSERT INTO `sys_logs` VALUES (1389555286494945282, '1', '系统配置-菜单管理-修改', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/menu/update', 'POST', 17, '[{\"hidden\":\"0\",\"icon\":\"\",\"izApi\":false,\"menuName\":\"同步\",\"type\":\"2\",\"version\":1,\"parentId\":\"1327893773049262082\",\"sortNo\":5,\"createBy\":\"1\",\"izManual\":false,\"createTime\":1605431907000,\"permissions\":\"deve_creater_sync\",\"id\":\"1327903778221699074\",\"alwaysShow\":\"0\"}]', NULL, 0, 1, '2021-05-04 20:19:32', 1, '2021-05-04 20:19:32', '2021-05-04 20:19:31'); +INSERT INTO `sys_logs` VALUES (1389555321299279873, '1', '系统配置-菜单管理-修改', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/menu/update', 'POST', 16, '[{\"hidden\":\"0\",\"icon\":\"\",\"izApi\":false,\"menuName\":\"导入数据表\",\"type\":\"2\",\"version\":1,\"parentId\":\"1327893773049262082\",\"sortNo\":6,\"createBy\":\"1313694379541635074\",\"izManual\":false,\"createTime\":1605782626000,\"permissions\":\"deve_creater_import\",\"id\":\"1329374800267452417\",\"alwaysShow\":\"0\"}]', NULL, 0, 1, '2021-05-04 20:19:40', 1, '2021-05-04 20:19:40', '2021-05-04 20:19:39'); +INSERT INTO `sys_logs` VALUES (1389555351049478146, '1', '系统配置-菜单管理-修改', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/menu/update', 'POST', 15, '[{\"hidden\":\"0\",\"icon\":\"\",\"izApi\":false,\"menuName\":\"生成\",\"type\":\"2\",\"version\":0,\"parentId\":\"1327893773049262082\",\"sortNo\":7,\"createBy\":\"1\",\"izManual\":false,\"createTime\":1605429828000,\"permissions\":\"deve_creater_create\",\"id\":\"1327895061598171137\",\"alwaysShow\":\"0\"}]', NULL, 0, 1, '2021-05-04 20:19:47', 1, '2021-05-04 20:19:47', '2021-05-04 20:19:47'); +INSERT INTO `sys_logs` VALUES (1389555373472227330, '1', '系统配置-菜单管理-修改', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/menu/update', 'POST', 15, '[{\"hidden\":\"0\",\"izApi\":false,\"menuName\":\"生成菜单\",\"type\":\"2\",\"version\":0,\"parentId\":\"1327893773049262082\",\"sortNo\":8,\"createBy\":\"1\",\"izManual\":false,\"createTime\":1620130754000,\"permissions\":\"deve_creater_createMenu\",\"id\":\"1389555212654223361\",\"alwaysShow\":\"0\"}]', NULL, 0, 1, '2021-05-04 20:19:52', 1, '2021-05-04 20:19:52', '2021-05-04 20:19:52'); +INSERT INTO `sys_logs` VALUES (1389558476602867713, '1', '开发工具-代码生成器-生成菜单', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/creater/logs/createMenu', 'POST', 573, '[\"0\",\"1359428685312028674\"]', NULL, 0, 1, '2021-05-04 20:32:12', 1, '2021-05-04 20:32:12', '2021-05-04 20:32:12'); +INSERT INTO `sys_logs` VALUES (1389558915096379393, '1', '系统配置-菜单管理-修改', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/menu/update', 'POST', 70, '[{\"hidden\":\"0\",\"icon\":\"cog\",\"izApi\":false,\"menuName\":\"系统配置\",\"type\":\"1\",\"version\":0,\"parentId\":\"0\",\"url\":\"system\",\"sortNo\":3,\"component\":\"Layout\",\"createBy\":\"1\",\"izManual\":false,\"createTime\":1586862451000,\"id\":\"1\",\"alwaysShow\":\"0\"}]', NULL, 0, 1, '2021-05-04 20:33:57', 1, '2021-05-04 20:33:57', '2021-05-04 20:33:56'); +INSERT INTO `sys_logs` VALUES (1389558943101747202, '1', '系统配置-菜单管理-修改', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/menu/update', 'POST', 17, '[{\"hidden\":\"0\",\"icon\":\"cog\",\"izApi\":false,\"menuName\":\"系统配置\",\"type\":\"1\",\"version\":1,\"parentId\":\"0\",\"url\":\"/system\",\"sortNo\":3,\"component\":\"Layout\",\"createBy\":\"1\",\"izManual\":false,\"createTime\":1586862451000,\"id\":\"1\",\"alwaysShow\":\"0\"}]', NULL, 0, 1, '2021-05-04 20:34:03', 1, '2021-05-04 20:34:03', '2021-05-04 20:34:03'); +INSERT INTO `sys_logs` VALUES (1389558970889011202, '1', '系统配置-菜单管理-修改', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/menu/update', 'POST', 18, '[{\"hidden\":\"0\",\"icon\":\"box\",\"izApi\":false,\"menuName\":\"测试模块\",\"type\":\"1\",\"version\":4,\"parentId\":\"0\",\"url\":\"gentest\",\"sortNo\":4,\"component\":\"Layout\",\"createBy\":\"1\",\"izManual\":false,\"createTime\":1605236824000,\"id\":\"1327085543511293954\",\"alwaysShow\":\"0\"}]', NULL, 0, 1, '2021-05-04 20:34:10', 1, '2021-05-04 20:34:10', '2021-05-04 20:34:10'); +INSERT INTO `sys_logs` VALUES (1389559186274910210, '1', '系统配置-菜单管理-修改', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/menu/update', 'POST', 17, '[{\"hidden\":\"0\",\"icon\":\"box\",\"izApi\":false,\"menuName\":\"测试模块\",\"type\":\"1\",\"version\":5,\"parentId\":\"0\",\"url\":\"/gentest\",\"sortNo\":4,\"component\":\"Layout\",\"createBy\":\"1\",\"izManual\":false,\"createTime\":1605236824000,\"id\":\"1327085543511293954\",\"alwaysShow\":\"0\"}]', NULL, 0, 1, '2021-05-04 20:35:01', 1, '2021-05-04 20:35:01', '2021-05-04 20:35:01'); +INSERT INTO `sys_logs` VALUES (1389561439723454466, '1', '系统配置-菜单管理-删除', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/menu/del', 'POST', 108, '[\"1389558475541708801\"]', NULL, 0, 1, '2021-05-04 20:43:59', 1, '2021-05-04 20:43:59', '2021-05-04 20:43:58'); +INSERT INTO `sys_logs` VALUES (1389561468852895746, '1', '开发工具-代码生成器-生成菜单', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/creater/logs/createMenu', 'POST', 115, '[\"0\",\"1359428685312028674\"]', NULL, 0, 1, '2021-05-04 20:44:06', 1, '2021-05-04 20:44:06', '2021-05-04 20:44:05'); +INSERT INTO `sys_logs` VALUES (1389561584208838658, '1', '开发工具-代码生成器-生成菜单', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/creater/logs/createMenu', 'POST', 94, '[\"1389561468118892545\",\"1359428685312028674\"]', NULL, 0, 1, '2021-05-04 20:44:33', 1, '2021-05-04 20:44:33', '2021-05-04 20:44:33'); +INSERT INTO `sys_logs` VALUES (1389564921100632065, '1', '系统配置-菜单管理-删除', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/menu/del', 'POST', 364, '[\"1389561468118892545\"]', NULL, 0, 1, '2021-05-04 20:57:49', 1, '2021-05-04 20:57:49', '2021-05-04 20:57:48'); +INSERT INTO `sys_logs` VALUES (1389564961529528322, '1', '开发工具-代码生成器-生成菜单', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/creater/logs/createMenu', 'POST', 188, '[\"0\",\"1359428685312028674\"]', NULL, 0, 1, '2021-05-04 20:57:58', 1, '2021-05-04 20:57:58', '2021-05-04 20:57:58'); +INSERT INTO `sys_logs` VALUES (1389565970968530946, '1', '系统配置-菜单管理-删除', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/menu/del', 'POST', 89, '[\"1389564960548061186\"]', NULL, 0, 1, '2021-05-04 21:01:59', 1, '2021-05-04 21:01:59', '2021-05-04 21:01:59'); +INSERT INTO `sys_logs` VALUES (1389565981458485249, '1', '系统配置-菜单管理-删除', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/menu/del', 'POST', 58, '[\"1389564960657113089\"]', NULL, 0, 1, '2021-05-04 21:02:02', 1, '2021-05-04 21:02:02', '2021-05-04 21:02:01'); +INSERT INTO `sys_logs` VALUES (1389566022705270785, '1', '开发工具-代码生成器-生成菜单', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/creater/logs/createMenu', 'POST', 129, '[\"0\",\"1359428685312028674\"]', NULL, 0, 1, '2021-05-04 21:02:11', 1, '2021-05-04 21:02:11', '2021-05-04 21:02:11'); +INSERT INTO `sys_logs` VALUES (1389566237814345729, '1', '系统配置-菜单管理-删除', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36', '/opsli-boot/api/v1/sys/menu/del', 'POST', 44, '[\"1389566022105485314\"]', NULL, 0, 1, '2021-05-04 21:03:03', 1, '2021-05-04 21:03:03', '2021-05-04 21:03:02'); +COMMIT; -- ---------------------------- -- Table structure for sys_menu -- ---------------------------- DROP TABLE IF EXISTS `sys_menu`; -CREATE TABLE `sys_menu` ( +CREATE TABLE `sys_menu` ( `id` bigint(19) NOT NULL COMMENT '功能主键', - `parent_id` bigint(19) NULL DEFAULT 0 COMMENT '父级主键', - `menu_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '名称', - `permissions` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '权限', - `icon` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图标', - `type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '类型: 1-菜单 2-按钮 3-链接', - `url` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'url地址', - `component` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '组件', - `redirect` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '重定向', + `parent_id` bigint(19) DEFAULT '0' COMMENT '父级主键', + `menu_name` varchar(50) NOT NULL COMMENT '名称', + `permissions` varchar(50) DEFAULT NULL COMMENT '权限', + `icon` varchar(50) DEFAULT NULL COMMENT '图标', + `type` varchar(20) NOT NULL COMMENT '类型: 1-菜单 2-按钮 3-链接', + `url` varchar(200) DEFAULT NULL COMMENT 'url地址', + `component` varchar(200) DEFAULT NULL COMMENT '组件', + `redirect` varchar(200) DEFAULT NULL COMMENT '重定向', `sort_no` int(11) NOT NULL COMMENT '排序', - `always_show` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '是否总是显示 0是 1否', - `hidden` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '是否隐藏 0是 1否', - `deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '删除状态', + `always_show` char(1) NOT NULL DEFAULT '0' COMMENT '是否总是显示 0是 1否', + `hidden` char(1) NOT NULL DEFAULT '0' COMMENT '是否隐藏 0是 1否', + `deleted` char(1) NOT NULL DEFAULT '0' COMMENT '删除状态', `version` int(11) NOT NULL COMMENT '版本(乐观锁)', `create_by` bigint(19) NOT NULL COMMENT '创建用户', - `create_time` datetime(0) NOT NULL COMMENT '创建日期', + `create_time` datetime NOT NULL COMMENT '创建日期', `update_by` bigint(19) NOT NULL COMMENT '修改用户', - `update_time` datetime(0) NOT NULL COMMENT '修改日期', - `ts` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '时间戳', + `update_time` datetime NOT NULL COMMENT '修改日期', + `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '时间戳', PRIMARY KEY (`id`) USING BTREE, - INDEX `pid`(`parent_id`) USING BTREE COMMENT '上级id' -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统功能表' ROW_FORMAT = Dynamic; + KEY `pid` (`parent_id`) USING BTREE COMMENT '上级id' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='系统功能表'; -- ---------------------------- -- Records of sys_menu -- ---------------------------- -INSERT INTO `sys_menu` VALUES (1, 0, '系统配置', NULL, 'cog', '1', '/system', 'Layout', NULL, 3, '0', '0', '0', 0, 1, '2020-04-14 19:07:31', 1, '2020-10-08 03:15:16', '2021-04-09 23:14:15'); +BEGIN; +INSERT INTO `sys_menu` VALUES (1, 0, '系统配置', NULL, 'cog', '1', '/system', 'Layout', NULL, 3, '0', '0', '0', 2, 1, '2020-04-14 19:07:31', 1, '2021-05-04 20:34:03', '2021-05-04 20:34:03'); INSERT INTO `sys_menu` VALUES (2, 1, '菜单管理', NULL, NULL, '1', 'menu', 'views/modules/sys/menuManagement/index', NULL, 1, '0', '0', '0', 0, 1, '2020-04-14 19:07:31', 1, '2020-10-07 23:49:36', '2021-04-09 23:14:15'); INSERT INTO `sys_menu` VALUES (3, 1, '用户管理', NULL, '', '1', 'user', 'views/modules/sys/userManagement/index', NULL, 2, '0', '0', '0', 0, 1, '2020-04-14 19:07:31', 1, '2020-10-10 17:03:04', '2021-04-09 23:14:15'); INSERT INTO `sys_menu` VALUES (4, 1, '角色管理', NULL, NULL, '1', 'role', 'views/modules/sys/roleManagement/index', NULL, 3, '0', '0', '0', 0, 1, '2020-09-24 14:01:31', 1, '2020-10-07 23:49:47', '2021-04-09 23:14:15'); @@ -5983,7 +6039,7 @@ INSERT INTO `sys_menu` VALUES (1315201734892670977, 1315201380721446914, '查看 INSERT INTO `sys_menu` VALUES (1315201809668722690, 1315201380721446914, '增加', 'system_tenant_insert', NULL, '2', NULL, NULL, NULL, 2, '0', '0', '0', 0, 1, '2020-10-11 16:05:21', 1, '2020-10-11 16:05:21', '2021-04-09 23:13:01'); INSERT INTO `sys_menu` VALUES (1315201864219840513, 1315201380721446914, '修改', 'system_tenant_update', NULL, '2', NULL, NULL, NULL, 3, '0', '0', '0', 0, 1, '2020-10-11 16:05:34', 1, '2020-10-11 16:05:34', '2021-04-09 23:13:01'); INSERT INTO `sys_menu` VALUES (1315201925477650433, 1315201380721446914, '删除', 'system_tenant_delete', NULL, '2', NULL, NULL, NULL, 4, '0', '0', '0', 1, 1, '2020-10-11 16:05:49', 1, '2020-10-11 16:12:27', '2021-04-09 23:13:01'); -INSERT INTO `sys_menu` VALUES (1327085543511293954, 0, '测试模块', NULL, 'box', '1', '/gentest', 'Layout', NULL, 4, '0', '0', '0', 4, 1, '2020-11-13 11:07:04', 1313694379541635074, '2020-11-22 12:28:12', '2021-04-09 23:14:15'); +INSERT INTO `sys_menu` VALUES (1327085543511293954, 0, '测试模块', NULL, 'box', '1', '/gentest', 'Layout', NULL, 4, '0', '0', '0', 6, 1, '2020-11-13 11:07:04', 1, '2021-05-04 20:35:01', '2021-05-04 20:35:01'); INSERT INTO `sys_menu` VALUES (1327085856930660353, 1327085543511293954, '业务测试', NULL, '', '1', 'test', 'views/modules/test/index', '', 1, '0', '0', '0', 7, 1, '2020-11-13 11:08:19', 1, '2021-04-21 15:43:18', '2021-04-21 15:43:17'); INSERT INTO `sys_menu` VALUES (1327086205548625921, 1327085856930660353, '查看', 'gentest_test_select', '', '2', NULL, NULL, NULL, 1, '0', '0', '0', 3, 1, '2020-11-13 11:09:42', 1, '2021-04-10 00:06:54', '2021-04-10 00:06:54'); INSERT INTO `sys_menu` VALUES (1327086298750255105, 1327085856930660353, '增加', 'gentest_test_insert', '', '2', NULL, NULL, NULL, 2, '0', '0', '0', 3, 1, '2020-11-13 11:10:04', 1, '2021-04-10 00:06:57', '2021-04-10 00:06:56'); @@ -5994,9 +6050,9 @@ INSERT INTO `sys_menu` VALUES (1327894701135491073, 1327893773049262082, '查看 INSERT INTO `sys_menu` VALUES (1327894767283859457, 1327893773049262082, '新增', 'deve_creater_insert', '', '2', NULL, NULL, NULL, 2, '0', '0', '0', 0, 1, '2020-11-15 16:42:38', 1, '2020-11-15 16:42:38', '2021-04-09 23:13:01'); INSERT INTO `sys_menu` VALUES (1327894837093855234, 1327893773049262082, '修改', 'deve_creater_update', '', '2', NULL, NULL, NULL, 3, '0', '0', '0', 1, 1, '2020-11-15 16:42:55', 1, '2020-11-15 16:43:14', '2021-04-09 23:13:01'); INSERT INTO `sys_menu` VALUES (1327894965179510785, 1327893773049262082, '删除', 'deve_creater_delete', '', '2', NULL, NULL, NULL, 4, '0', '0', '0', 0, 1, '2020-11-15 16:43:25', 1, '2020-11-15 16:43:25', '2021-04-09 23:13:01'); -INSERT INTO `sys_menu` VALUES (1327895061598171137, 1327893773049262082, '生成', 'deve_creater_create', '', '2', NULL, NULL, NULL, 5, '0', '0', '0', 0, 1, '2020-11-15 16:43:48', 1, '2020-11-15 16:43:48', '2021-04-09 23:13:01'); -INSERT INTO `sys_menu` VALUES (1327903778221699074, 1327893773049262082, '同步', 'deve_creater_sync', '', '2', NULL, NULL, NULL, 6, '0', '0', '0', 0, 1, '2020-11-15 17:18:27', 1, '2020-11-15 17:18:27', '2021-04-09 23:13:01'); -INSERT INTO `sys_menu` VALUES (1329374800267452417, 1327893773049262082, '导入数据表', 'deve_creater_import', '', '2', NULL, NULL, NULL, 7, '0', '0', '0', 1, 1313694379541635074, '2020-11-19 18:43:46', 1313694379541635074, '2020-11-19 18:43:52', '2021-04-09 23:13:01'); +INSERT INTO `sys_menu` VALUES (1327895061598171137, 1327893773049262082, '生成', 'deve_creater_create', '', '2', NULL, NULL, NULL, 7, '0', '0', '0', 1, 1, '2020-11-15 16:43:48', 1, '2021-05-04 20:19:47', '2021-05-04 20:19:46'); +INSERT INTO `sys_menu` VALUES (1327903778221699074, 1327893773049262082, '同步', 'deve_creater_sync', '', '2', NULL, NULL, NULL, 5, '0', '0', '0', 2, 1, '2020-11-15 17:18:27', 1, '2021-05-04 20:19:32', '2021-05-04 20:19:31'); +INSERT INTO `sys_menu` VALUES (1329374800267452417, 1327893773049262082, '导入数据表', 'deve_creater_import', '', '2', NULL, NULL, NULL, 6, '0', '0', '0', 2, 1313694379541635074, '2020-11-19 18:43:46', 1, '2021-05-04 20:19:40', '2021-05-04 20:19:39'); INSERT INTO `sys_menu` VALUES (1330365141900591105, 1327085543511293954, '某系统用户', NULL, '', '1', 'user', 'views/modules/gentest/user/index', NULL, 2, '0', '0', '0', 3, 1313694379541635074, '2020-11-22 12:19:01', 1313694379541635074, '2020-11-22 12:28:57', '2021-04-09 23:14:15'); INSERT INTO `sys_menu` VALUES (1330365525440331778, 1330365141900591105, '查看', 'gentest_user_select', '', '2', NULL, NULL, NULL, 1, '0', '0', '0', 1, 1313694379541635074, '2020-11-22 12:20:33', 1313694379541635074, '2020-11-22 12:23:48', '2021-04-09 23:13:01'); INSERT INTO `sys_menu` VALUES (1330365570587820033, 1330365141900591105, '新增', 'gentest_user_insert', '', '2', NULL, NULL, NULL, 2, '0', '0', '0', 2, 1313694379541635074, '2020-11-22 12:20:44', 1313694379541635074, '2020-11-22 12:24:01', '2021-04-09 23:13:01'); @@ -6032,49 +6088,39 @@ INSERT INTO `sys_menu` VALUES (1369905408109674498, 3, '分配租户', 'system_u INSERT INTO `sys_menu` VALUES (1370051609388388353, 3, '重置密码', 'system_user_resetPassword', '', '2', NULL, NULL, NULL, 10, '0', '0', '0', 1, 1, '2021-03-12 00:38:53', 1, '2021-03-12 00:39:04', '2021-04-09 23:13:01'); INSERT INTO `sys_menu` VALUES (1370404146704654337, 3, '变更账户状态', 'system_user_enable', '', '2', NULL, NULL, NULL, 11, '0', '0', '0', 2, 1, '2021-03-12 23:59:44', 1, '2021-04-08 23:59:33', '2021-04-09 23:13:01'); INSERT INTO `sys_menu` VALUES (1380173787882696705, 1315201380721446914, '变更租户状态', 'system_tenant_enable', '', '2', NULL, NULL, NULL, 5, '0', '0', '0', 0, 1, '2021-04-08 23:00:48', 1, '2021-04-08 23:00:48', '2021-04-09 23:13:01'); -INSERT INTO `sys_menu` VALUES (1384797669913751554, 2, '123', NULL, '', '1', NULL, NULL, NULL, 1, '0', '0', '1', 0, 1, '2021-04-21 17:14:27', 1, '2021-04-21 17:14:27', '2021-04-21 17:14:38'); -INSERT INTO `sys_menu` VALUES (1384798323491172354, 2, '123123', NULL, '', '1', NULL, NULL, NULL, 1, '0', '0', '1', 0, 1, '2021-04-21 17:17:03', 1, '2021-04-21 17:17:03', '2021-04-21 17:17:54'); -INSERT INTO `sys_menu` VALUES (1384798716673617922, 2, '33333', NULL, '', '1', NULL, NULL, NULL, 1, '0', '0', '1', 0, 1, '2021-04-21 17:18:37', 1, '2021-04-21 17:18:37', '2021-04-21 17:18:56'); -INSERT INTO `sys_menu` VALUES (1384801829606354945, 2, '3333', NULL, '', '1', NULL, NULL, NULL, 1, '0', '0', '1', 0, 1, '2021-04-21 17:30:59', 1, '2021-04-21 17:30:59', '2021-04-21 17:31:36'); -INSERT INTO `sys_menu` VALUES (1384801953917136897, 2, '4444', NULL, '', '1', NULL, NULL, NULL, 1, '0', '0', '1', 0, 1, '2021-04-21 17:31:29', 1, '2021-04-21 17:31:29', '2021-04-21 17:33:24'); -INSERT INTO `sys_menu` VALUES (1384802048301559810, 2, '4444', NULL, '', '1', NULL, NULL, NULL, 1, '0', '0', '1', 0, 1, '2021-04-21 17:31:51', 1, '2021-04-21 17:31:51', '2021-04-21 17:33:27'); -INSERT INTO `sys_menu` VALUES (1384802473398464513, 2, '5555', NULL, '', '1', NULL, NULL, NULL, 1, '0', '0', '1', 0, 1, '2021-04-21 17:33:33', 1, '2021-04-21 17:33:33', '2021-04-21 17:33:36'); -INSERT INTO `sys_menu` VALUES (1384826785320841218, 1314610817013919745, '测试', NULL, '', '1', NULL, NULL, NULL, 1, '0', '0', '1', 0, 1, '2021-04-21 19:10:09', 1, '2021-04-21 19:10:09', '2021-04-21 19:10:18'); -INSERT INTO `sys_menu` VALUES (1384829184504672257, 0, '1111', NULL, '', '1', NULL, NULL, NULL, 1, '0', '0', '1', 0, 1, '2021-04-21 19:19:41', 1, '2021-04-21 19:19:41', '2021-04-21 19:19:44'); -INSERT INTO `sys_menu` VALUES (1384829258647384065, 0, '2132131231', NULL, '', '1', NULL, NULL, NULL, 1, '0', '0', '1', 0, 1, '2021-04-21 19:19:59', 1, '2021-04-21 19:19:59', '2021-04-21 19:20:12'); -INSERT INTO `sys_menu` VALUES (1384829451220463617, 1327085856930660353, '123213', NULL, '', '1', NULL, NULL, NULL, 1, '0', '0', '1', 0, 1, '2021-04-21 19:20:45', 1, '2021-04-21 19:20:45', '2021-04-21 19:20:59'); -INSERT INTO `sys_menu` VALUES (1384829547391660034, 0, '123213213', NULL, '', '1', NULL, NULL, NULL, 1, '0', '0', '1', 0, 1, '2021-04-21 19:21:08', 1, '2021-04-21 19:21:08', '2021-04-21 19:21:10'); -INSERT INTO `sys_menu` VALUES (1384829594980233217, 1330365141900591105, '122133', NULL, '', '1', NULL, NULL, NULL, 1, '0', '0', '1', 0, 1, '2021-04-21 19:21:19', 1, '2021-04-21 19:21:19', '2021-04-21 19:21:23'); INSERT INTO `sys_menu` VALUES (1387633500164599809, 1, '参数配置', NULL, '', '1', 'options', 'views/modules/sys/optionsManagement/index', NULL, 7, '0', '0', '0', 2, 1, '2021-04-29 13:03:02', 1, '2021-04-29 13:03:39', '2021-04-29 13:03:39'); INSERT INTO `sys_menu` VALUES (1387633799226863618, 1387633500164599809, '查看', 'system_options_select', NULL, '2', NULL, NULL, NULL, 1, '0', '0', '0', 2, 1, '2021-04-29 13:04:13', 1, '2021-04-29 13:07:10', '2021-04-29 13:07:09'); INSERT INTO `sys_menu` VALUES (1387633960401383426, 1387633500164599809, '新增', 'system_options_insert', NULL, '2', NULL, NULL, NULL, 2, '0', '0', '0', 1, 1, '2021-04-29 13:04:52', 1, '2021-04-29 13:07:15', '2021-04-29 13:07:14'); INSERT INTO `sys_menu` VALUES (1387634089447534594, 1387633500164599809, '修改', 'system_options_update', NULL, '2', NULL, NULL, NULL, 3, '0', '0', '0', 1, 1, '2021-04-29 13:05:23', 1, '2021-04-29 13:07:19', '2021-04-29 13:07:18'); INSERT INTO `sys_menu` VALUES (1387634157474951169, 1387633500164599809, '删除', 'system_options_delete', NULL, '2', NULL, NULL, NULL, 4, '0', '0', '0', 1, 1, '2021-04-29 13:05:39', 1, '2021-04-29 13:07:23', '2021-04-29 13:07:23'); +INSERT INTO `sys_menu` VALUES (1389555212654223361, 1327893773049262082, '生成菜单', 'deve_creater_createMenu', NULL, '2', NULL, NULL, NULL, 8, '0', '0', '0', 1, 1, '2021-05-04 20:19:14', 1, '2021-05-04 20:19:52', '2021-05-04 20:19:52'); +COMMIT; -- ---------------------------- -- Table structure for sys_options -- ---------------------------- DROP TABLE IF EXISTS `sys_options`; -CREATE TABLE `sys_options` ( +CREATE TABLE `sys_options` ( `id` bigint(19) NOT NULL COMMENT '唯一主键', - `option_code` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '参数编号', - `option_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '参数名称', - `option_value` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '参数值', - `iz_lock` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否内置 0否 1是', - `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注', - `version` int(11) NOT NULL DEFAULT 0 COMMENT '版本(乐观锁)', + `option_code` varchar(100) NOT NULL COMMENT '参数编号', + `option_name` varchar(200) NOT NULL COMMENT '参数名称', + `option_value` text COMMENT '参数值', + `iz_lock` char(1) NOT NULL COMMENT '是否内置 0否 1是', + `remark` varchar(255) DEFAULT NULL COMMENT '备注', + `version` int(11) NOT NULL DEFAULT '0' COMMENT '版本(乐观锁)', `create_by` bigint(19) NOT NULL COMMENT '创建用户', - `create_time` datetime(0) NOT NULL COMMENT '创建日期', + `create_time` datetime NOT NULL COMMENT '创建日期', `update_by` bigint(19) NOT NULL COMMENT '修改用户', - `update_time` datetime(0) NOT NULL COMMENT '修改日期', - `ts` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '时间戳', + `update_time` datetime NOT NULL COMMENT '修改日期', + `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '时间戳', PRIMARY KEY (`id`) USING BTREE, - UNIQUE INDEX `index`(`option_code`) USING BTREE COMMENT '参数编号唯一' -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统参数表' ROW_FORMAT = Dynamic; + UNIQUE KEY `index` (`option_code`) USING BTREE COMMENT '参数编号唯一' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='系统参数表'; -- ---------------------------- -- Records of sys_options -- ---------------------------- +BEGIN; INSERT INTO `sys_options` VALUES (1, 'crypto_asymmetric', '非对称加解密算法', 'RSA', '1', NULL, 0, 1, '2021-02-10 23:19:35', 1313694379541635074, '2021-04-04 11:19:26', '2021-04-29 11:11:40'); INSERT INTO `sys_options` VALUES (2, 'crypto_asymmetric_public_key', '非对称加解密-公钥', 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCQS75ZTYUL6IJJBgylgFDtksWZx4OsVK5CBJGXi3n9LON1Jg7KsxkgindCD28gQRIEh6ZP1IuhlMs9N/QteRbM3b1oDKW7Cbr7lFk+EYUmpO5nwD1+IHowiNc0AK+XfICOVF5287wE4LFLqBDnWhV0WNQFjYYpAc7852ZfEwThSQIDAQAB', '1', NULL, 0, 1, '2021-02-10 23:19:35', 1313694379541635074, '2021-04-04 11:19:26', '2021-04-29 11:11:41'); INSERT INTO `sys_options` VALUES (3, 'crypto_asymmetric_private_key', '非对称加解密-私钥', 'MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAJBLvllNhQvogkkGDKWAUO2SxZnHg6xUrkIEkZeLef0s43UmDsqzGSCKd0IPbyBBEgSHpk/Ui6GUyz039C15FszdvWgMpbsJuvuUWT4RhSak7mfAPX4gejCI1zQAr5d8gI5UXnbzvATgsUuoEOdaFXRY1AWNhikBzvznZl8TBOFJAgMBAAECgYAJvtCmFi7RK6ysIxhBj6JnmTN24ltJpuJ2zpL8Sc0J+B+LyIk6z9CROqjS5L+PM+kN0BEmCedwTBNTf1VV3BXzbPcX/prE004LXcbv5mjgaHf/PybzJQumYM5MuD9dJYBLc1PUNu2b9eGekEU+vzn0HCnmAkfwU7FCdU7Nh8/ZnQJBAMkY/nzYxue0rdfD4ZybM8chBksp9EA8mwmCW/PosJGJ6YVJ913PbfovYuSG4rwm0Ew6i/1zcXvAFjt5dW+L5EsCQQC3sMq5EF4Bfils0dTdn8Pwtv2t3H6wwaAc9QAExHYtZ5pipFH9NXiWn6KUJYq28mRxxKtfoara/8Ahb5yHY0w7AkEArGnmfyno123cgppqC7gxW3AgEj+FL7IGhs+igOumvxFMCsBQ+rhGpXMNSbuwF/r7KfAkaAgbaytUpGdNXXbGIwJAas7uoXsl3iJYvgCokJFkYmRUzzJlrCt6CTxgXWVK/g2+1FqNnfjofFSoORI3PTdmNkzQBRRA/4Q0WHzIfGS9nwJBAMLXrVKH6uhn67dwXKRCy2Xt54dLEtL43jL+xzWeHJibSkSyImLiAn1n2imSpB6ubJnBuvH19Y0nOXKBP0+VDGA=', '1', NULL, 0, 1, '2021-02-10 23:19:35', 1313694379541635074, '2021-04-04 11:19:26', '2021-04-29 11:11:41'); @@ -6088,35 +6134,41 @@ INSERT INTO `sys_options` VALUES (1387695264482865154, 'email_port', 'SMTP端口 INSERT INTO `sys_options` VALUES (1387700400634605569, 'email_ssl_enable', '开启SSL认证', '1', '1', NULL, 17, 1313694379541635074, '2021-04-29 17:28:52', 1, '2021-04-29 21:39:20', '2021-04-29 21:39:19'); INSERT INTO `sys_options` VALUES (1388129689385472001, 'storage_local_domain', 'storage_local_domain', 'http://127.0.0.1:8080/opsli-boot', '1', NULL, 0, 1313694379541635074, '2021-04-30 21:54:43', 1313694379541635074, '2021-04-30 21:54:43', '2021-04-30 21:54:42'); INSERT INTO `sys_options` VALUES (1388129689523884033, 'storage_local_path_prefix', 'storage_local_path_prefix', '', '1', NULL, 0, 1313694379541635074, '2021-04-30 21:54:43', 1313694379541635074, '2021-04-30 21:54:43', '2021-04-30 21:54:42'); +INSERT INTO `sys_options` VALUES (1388333266843320322, '11', '111', '111', '0', NULL, 0, 1313694379541635074, '2021-05-01 11:23:39', 1313694379541635074, '2021-05-01 11:23:39', '2021-05-01 11:23:39'); +INSERT INTO `sys_options` VALUES (1388333321180528642, '222', '222', '222', '0', NULL, 0, 1313694379541635074, '2021-05-01 11:23:52', 1313694379541635074, '2021-05-01 11:23:52', '2021-05-01 11:23:52'); +INSERT INTO `sys_options` VALUES (1388333452273500161, '333', '333', '333', '0', NULL, 0, 1313694379541635074, '2021-05-01 11:24:24', 1313694379541635074, '2021-05-01 11:24:24', '2021-05-01 11:24:23'); +INSERT INTO `sys_options` VALUES (1388333500516384770, '444', '444', '444', '0', NULL, 0, 1313694379541635074, '2021-05-01 11:24:35', 1313694379541635074, '2021-05-01 11:24:35', '2021-05-01 11:24:35'); +COMMIT; -- ---------------------------- -- Table structure for sys_org -- ---------------------------- DROP TABLE IF EXISTS `sys_org`; -CREATE TABLE `sys_org` ( +CREATE TABLE `sys_org` ( `id` bigint(19) NOT NULL COMMENT '字典主键', - `parent_id` bigint(19) NOT NULL DEFAULT 0 COMMENT '父级主键', - `org_code` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '组织机构编号', - `org_name` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '组织机构名称', + `parent_id` bigint(19) NOT NULL DEFAULT '0' COMMENT '父级主键', + `org_code` varchar(120) NOT NULL COMMENT '组织机构编号', + `org_name` varchar(120) NOT NULL COMMENT '组织机构名称', `org_type` int(3) NOT NULL COMMENT '组织机构类型', `sort_no` int(11) NOT NULL COMMENT '排序', - `iz_validate` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '1' COMMENT '开启数据校验:0否,1是 默认为是', - `tenant_id` bigint(20) NULL DEFAULT NULL COMMENT '多租户ID', - `deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '删除标记:0未删除,1删除', + `iz_validate` char(1) NOT NULL DEFAULT '1' COMMENT '开启数据校验:0否,1是 默认为是', + `tenant_id` bigint(20) DEFAULT NULL COMMENT '多租户ID', + `deleted` char(1) NOT NULL DEFAULT '0' COMMENT '删除标记:0未删除,1删除', `version` int(11) NOT NULL COMMENT '版本(乐观锁)', `create_by` bigint(19) NOT NULL COMMENT '创建人', - `create_time` datetime(0) NOT NULL COMMENT '创建时间', + `create_time` datetime NOT NULL COMMENT '创建时间', `update_by` bigint(19) NOT NULL COMMENT '修改人', - `update_time` datetime(0) NOT NULL COMMENT '修改时间', - `ts` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '时间戳', + `update_time` datetime NOT NULL COMMENT '修改时间', + `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '时间戳', PRIMARY KEY (`id`) USING BTREE, - INDEX `org_index`(`org_code`, `org_name`) USING BTREE, - INDEX `pid`(`parent_id`) USING BTREE COMMENT '上级id' -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '组织机构表' ROW_FORMAT = Dynamic; + KEY `org_index` (`org_code`,`org_name`) USING BTREE, + KEY `pid` (`parent_id`) USING BTREE COMMENT '上级id' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='组织机构表'; -- ---------------------------- -- Records of sys_org -- ---------------------------- +BEGIN; INSERT INTO `sys_org` VALUES (1332710973848449026, 0, '0011', 'A公司', 1, 1, '1', 1, '0', 10, 1313694379541635074, '2020-11-28 23:40:31', 1313694379541635074, '2021-02-25 13:31:20', '2021-04-08 23:51:16'); INSERT INTO `sys_org` VALUES (1332720768622120961, 0, '0012', 'B公司', 1, 2, '1', 1, '1', 6, 1313694379541635074, '2020-11-29 00:19:27', 1313694379541635074, '2020-11-29 22:18:06', '2021-04-08 23:51:16'); INSERT INTO `sys_org` VALUES (1332876488965476354, 0, '0011', 'C公司', 1, 3, '0', 1, '1', 0, 1313694379541635074, '2020-11-29 10:38:13', 1313694379541635074, '2020-11-29 10:38:13', '2021-04-08 23:51:16'); @@ -6125,32 +6177,36 @@ INSERT INTO `sys_org` VALUES (1332878633177477122, 0, '0013', 'C公司', 1, 3, ' INSERT INTO `sys_org` VALUES (1332879851278856193, 1332710973848449026, '0011_123', 'A公司B部门', 2, 1, '1', 1, '0', 6, 1313694379541635074, '2020-11-29 10:51:35', 1313694379541635074, '2021-02-25 13:31:17', '2021-04-08 23:51:16'); INSERT INTO `sys_org` VALUES (1332880775317581826, 1332879851278856193, '0011_123_003', '测试岗', 3, 1, '1', 1, '0', 5, 1313694379541635074, '2020-11-29 10:55:15', 1313694379541635074, '2021-02-25 13:30:51', '2021-04-08 23:51:16'); INSERT INTO `sys_org` VALUES (1336209704187879425, 0, '0012', 'B公司', 1, 2, '1', 1, '0', 3, 1313694379541635074, '2020-12-08 15:23:14', 1, '2021-01-11 19:19:51', '2021-04-08 23:51:16'); +INSERT INTO `sys_org` VALUES (1389268887044624385, 1336209704187879425, '0012_1111', '1111', 2, 1, '1', 1, '0', 0, 1, '2021-05-04 01:21:29', 1, '2021-05-04 01:21:29', '2021-05-04 01:21:28'); +INSERT INTO `sys_org` VALUES (1389268928454987778, 1389268887044624385, '0012_1111_2222', '11111', 3, 1, '1', 1, '0', 0, 1, '2021-05-04 01:21:39', 1, '2021-05-04 01:21:39', '2021-05-04 01:21:38'); +COMMIT; -- ---------------------------- -- Table structure for sys_role -- ---------------------------- DROP TABLE IF EXISTS `sys_role`; -CREATE TABLE `sys_role` ( +CREATE TABLE `sys_role` ( `id` bigint(19) NOT NULL COMMENT '角色主键', - `role_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色编码', - `role_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色名称', - `iz_lock` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否内置 0否 1是', - `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注', - `tenant_id` bigint(20) NULL DEFAULT NULL COMMENT '多租户ID', - `deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记:0未删除,1删除', + `role_code` varchar(50) NOT NULL COMMENT '角色编码', + `role_name` varchar(50) NOT NULL COMMENT '角色名称', + `iz_lock` char(1) NOT NULL COMMENT '是否内置 0否 1是', + `remark` varchar(255) DEFAULT NULL COMMENT '备注', + `tenant_id` bigint(20) DEFAULT NULL COMMENT '多租户ID', + `deleted` char(1) NOT NULL COMMENT '删除标记:0未删除,1删除', `version` int(11) NOT NULL COMMENT '版本(乐观锁)', `create_by` bigint(19) NOT NULL COMMENT '创建用户', - `create_time` datetime(0) NOT NULL COMMENT '创建日期', + `create_time` datetime NOT NULL COMMENT '创建日期', `update_by` bigint(19) NOT NULL COMMENT '修改用户', - `update_time` datetime(0) NOT NULL COMMENT '修改日期', - `ts` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '时间戳', + `update_time` datetime NOT NULL COMMENT '修改日期', + `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '时间戳', PRIMARY KEY (`id`) USING BTREE, - INDEX `role_code`(`role_code`, `role_name`, `tenant_id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色信息表' ROW_FORMAT = Dynamic; + KEY `role_code` (`role_code`,`role_name`,`tenant_id`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='角色信息表'; -- ---------------------------- -- Records of sys_role -- ---------------------------- +BEGIN; INSERT INTO `sys_role` VALUES (1, '000', '超级管理员', '1', '超级管理员', 1315203865179602945, '1', 4, 1, '2017-03-08 15:00:42', 1, '2020-10-11 17:08:13', '2021-04-08 23:51:21'); INSERT INTO `sys_role` VALUES (2, '001', '管理员', '1', '测试角色1', 1, '0', 11, 1, '2018-12-09 17:48:13', 1, '2020-10-11 17:08:22', '2021-04-08 23:51:21'); INSERT INTO `sys_role` VALUES (1311680492206051329, 'ces1', 'ces1', '0', NULL, 15321010110, '1', 0, 1, '2020-10-01 09:52:54', 1, '2020-10-01 09:52:54', '2021-04-08 23:51:21'); @@ -6168,22 +6224,24 @@ INSERT INTO `sys_role` VALUES (1313050196989300737, '7', '测试7', '0', NULL, 1 INSERT INTO `sys_role` VALUES (1313050221249155074, '8', '测试8', '0', NULL, 1, '0', 1, 1, '2020-10-05 04:35:43', 1, '2020-10-11 17:08:44', '2021-04-08 23:51:21'); INSERT INTO `sys_role` VALUES (1313050244015837185, '9', '测试9', '0', NULL, 1, '0', 2, 1, '2020-10-05 04:35:48', 1, '2020-10-11 17:08:29', '2021-04-08 23:51:21'); INSERT INTO `sys_role` VALUES (1313146842146213890, '007', '普通用户', '1', NULL, 1, '0', 4, 1, '2020-10-05 10:59:39', 1, '2021-04-09 23:28:16', '2021-04-09 23:28:16'); +COMMIT; -- ---------------------------- -- Table structure for sys_role_menu_ref -- ---------------------------- DROP TABLE IF EXISTS `sys_role_menu_ref`; -CREATE TABLE `sys_role_menu_ref` ( +CREATE TABLE `sys_role_menu_ref` ( `id` bigint(19) NOT NULL COMMENT '用户角色关联', `menu_id` bigint(19) NOT NULL COMMENT '用户主键', `role_id` bigint(19) NOT NULL COMMENT '角色主键', PRIMARY KEY (`id`) USING BTREE, - INDEX `sys_role_menu`(`menu_id`, `role_id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色功能关联表' ROW_FORMAT = Dynamic; + KEY `sys_role_menu` (`menu_id`,`role_id`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='角色功能关联表'; -- ---------------------------- -- Records of sys_role_menu_ref -- ---------------------------- +BEGIN; INSERT INTO `sys_role_menu_ref` VALUES (1387734139397865475, 1, 2); INSERT INTO `sys_role_menu_ref` VALUES (1312770352622878721, 1, 1312770323526991874); INSERT INTO `sys_role_menu_ref` VALUES (1387734139397865476, 3, 2); @@ -6312,110 +6370,118 @@ INSERT INTO `sys_role_menu_ref` VALUES (1387734139313979398, 1387633799226863618 INSERT INTO `sys_role_menu_ref` VALUES (1387734139313979399, 1387633960401383426, 2); INSERT INTO `sys_role_menu_ref` VALUES (1387734139313979400, 1387634089447534594, 2); INSERT INTO `sys_role_menu_ref` VALUES (1387734139313979401, 1387634157474951169, 2); +COMMIT; -- ---------------------------- -- Table structure for sys_tenant -- ---------------------------- DROP TABLE IF EXISTS `sys_tenant`; -CREATE TABLE `sys_tenant` ( +CREATE TABLE `sys_tenant` ( `id` bigint(19) NOT NULL COMMENT '唯一主键', - `tenant_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '租户名称', - `enable` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否启用 0否 1是', - `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注', - `deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记:0未删除,1删除', + `tenant_name` varchar(50) NOT NULL COMMENT '租户名称', + `enable` char(1) NOT NULL COMMENT '是否启用 0否 1是', + `remark` varchar(255) DEFAULT NULL COMMENT '备注', + `deleted` char(1) NOT NULL COMMENT '删除标记:0未删除,1删除', `version` int(11) NOT NULL COMMENT '版本(乐观锁)', `create_by` bigint(19) NOT NULL COMMENT '创建用户', - `create_time` datetime(0) NOT NULL COMMENT '创建日期', + `create_time` datetime NOT NULL COMMENT '创建日期', `update_by` bigint(19) NOT NULL COMMENT '修改用户', - `update_time` datetime(0) NOT NULL COMMENT '修改日期', - `ts` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '时间戳', + `update_time` datetime NOT NULL COMMENT '修改日期', + `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '时间戳', PRIMARY KEY (`id`) USING BTREE, - INDEX `role_code`(`tenant_name`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色信息表' ROW_FORMAT = Dynamic; + KEY `role_code` (`tenant_name`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='角色信息表'; -- ---------------------------- -- Records of sys_tenant -- ---------------------------- +BEGIN; INSERT INTO `sys_tenant` VALUES (1, '演示租户', '1', '演示租户', '0', 14, 1, '2017-03-08 15:00:42', 1, '2020-12-24 14:59:48', '2021-04-09 00:13:01'); INSERT INTO `sys_tenant` VALUES (1315203865179602945, '默认租户', '1', '系统默认租户 勿动', '0', 2, 1, '2020-10-11 16:13:31', 1, '2020-10-11 16:14:41', '2021-04-08 23:51:26'); INSERT INTO `sys_tenant` VALUES (1315214795665907713, '测试租户', '0', '不启用租户', '0', 0, 1, '2020-10-11 16:56:57', 1, '2020-10-11 16:56:57', '2021-04-08 23:51:26'); +COMMIT; -- ---------------------------- -- Table structure for sys_user -- ---------------------------- DROP TABLE IF EXISTS `sys_user`; -CREATE TABLE `sys_user` ( +CREATE TABLE `sys_user` ( `id` bigint(19) NOT NULL COMMENT '用户主键', - `username` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '登录账户', - `password` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '登录密码', - `secret_key` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '盐值,密码秘钥', - `enable` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否启用', - `real_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '真实姓名', - `mobile` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '手机', - `no` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '工号', - `avatar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户头像', - `login_ip` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '最后登陆IP', - `email` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '邮箱', - `sign` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '签名', - `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注', - `tenant_id` bigint(19) NULL DEFAULT NULL COMMENT '多租户ID', - `deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '删除状态', + `username` varchar(32) NOT NULL COMMENT '登录账户', + `password` varchar(50) NOT NULL COMMENT '登录密码', + `secret_key` varchar(50) NOT NULL COMMENT '盐值,密码秘钥', + `enable` char(1) NOT NULL COMMENT '是否启用', + `real_name` varchar(50) NOT NULL COMMENT '真实姓名', + `mobile` varchar(15) DEFAULT NULL COMMENT '手机', + `no` varchar(32) NOT NULL COMMENT '工号', + `avatar` varchar(255) DEFAULT NULL COMMENT '用户头像', + `login_ip` varchar(50) DEFAULT NULL COMMENT '最后登陆IP', + `email` varchar(100) DEFAULT NULL COMMENT '邮箱', + `sign` varchar(255) DEFAULT NULL COMMENT '签名', + `remark` varchar(255) DEFAULT NULL COMMENT '备注', + `tenant_id` bigint(19) DEFAULT NULL COMMENT '多租户ID', + `deleted` char(1) NOT NULL DEFAULT '0' COMMENT '删除状态', `version` int(11) NOT NULL COMMENT '版本(乐观锁)', `create_by` bigint(19) NOT NULL COMMENT '创建人', - `create_time` datetime(0) NOT NULL COMMENT '创建时间', + `create_time` datetime NOT NULL COMMENT '创建时间', `update_by` bigint(19) NOT NULL COMMENT '修改人', - `update_time` datetime(0) NOT NULL COMMENT '修改时间', - `ts` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '时间戳', + `update_time` datetime NOT NULL COMMENT '修改时间', + `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '时间戳', PRIMARY KEY (`id`) USING BTREE, - INDEX `sys_user`(`username`, `real_name`) USING BTREE, - INDEX `tenant`(`tenant_id`) USING BTREE COMMENT '租户' -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户信息表' ROW_FORMAT = Dynamic; + KEY `sys_user` (`username`,`real_name`) USING BTREE, + KEY `tenant` (`tenant_id`) USING BTREE COMMENT '租户' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户信息表'; -- ---------------------------- -- Records of sys_user -- ---------------------------- -INSERT INTO `sys_user` VALUES (1, 'system', 'bffc4c8d318437f37f7203a5d0a16436', 'z25fk1otoj45ref83shq', '1', '超级管理员', '15321010110', '112', 'http://127.0.0.1:8080/opsli-boot/static/files/20210430/162056101700285193J6IAU.jpg', '127.0.0.1', 'meet.parker@foxmail.com', '没有自学能力的人没有未来', '', 1315203865179602945, '0', 80, 1, '2020-09-25 15:03:22', 1, '2021-04-09 21:04:40', '2021-04-30 22:25:19'); -INSERT INTO `sys_user` VALUES (1313694379541635074, 'demo', '011eae89281e764ce9774b7f9b18b12a', '08oa2ktg9gi6vlv98f63', '1', '演示用户', '15321010110', 'test_001', 'http://127.0.0.1:8080/opsli-boot/static/files/20210430/1620442318684142618O725.jpg', '127.0.0.1', 'meet.parker@foxmail.com', '没有自学能力的人没有未来', NULL, 1, '0', 2, 1, '2020-10-06 23:15:22', 1, '2020-10-11 16:53:58', '2021-04-30 22:24:24'); +BEGIN; +INSERT INTO `sys_user` VALUES (1, 'system', 'bffc4c8d318437f37f7203a5d0a16436', 'z25fk1otoj45ref83shq', '1', '超级管理员', '15321010110', '112', 'http://127.0.0.1:8080/opsli-boot/static/files/20210430/162056101700285193J6IAU.jpg', '127.0.0.1', 'meet.parker@foxmail.com', '没有自学能力的人没有未来', '', 1315203865179602945, '0', 95, 1, '2020-09-25 15:03:22', 1, '2021-05-04 01:59:11', '2021-05-04 01:59:10'); +INSERT INTO `sys_user` VALUES (1313694379541635074, 'demo', '011eae89281e764ce9774b7f9b18b12a', '08oa2ktg9gi6vlv98f63', '1', '演示用户', '15321010110', 'test_001', 'http://127.0.0.1:8080/opsli-boot/static/files/20210503/162030164596296168YISD4.jpg', '127.0.0.1', 'meet.parker@foxmail.com', '没有自学能力的人没有未来', NULL, 1, '0', 2, 1, '2020-10-06 23:15:22', 1, '2020-10-11 16:53:58', '2021-05-03 01:51:05'); INSERT INTO `sys_user` VALUES (1315218541317750785, 'zhangsan', '386a1212b388a49d6cca827173824914', 'g6880o4q5k98w6a6hplu', '1', '张三', NULL, '123123', NULL, '127.0.0.1', NULL, NULL, NULL, NULL, '0', 0, 1, '2020-10-11 17:11:50', 1, '2020-10-11 17:11:50', '2021-04-09 21:04:07'); INSERT INTO `sys_user` VALUES (1315224529580072961, 'test', '248b77e86f3137b0381e78a0050c8eab', 'x93jqlq94e7bmludjzxm', '0', '123', NULL, '123123123', NULL, NULL, NULL, NULL, NULL, NULL, '1', 0, 1, '2020-10-11 17:35:38', 1, '2020-10-11 17:35:38', '2021-04-08 23:51:32'); INSERT INTO `sys_user` VALUES (1315224823500120066, 'lyf', 'e7f977aac0007f3ae2b36c46d5fdc5c9', '0ep05v5hl5q86lv0uprg', '1', '刘亦菲', NULL, '0101001', NULL, '127.0.0.1', NULL, NULL, NULL, 1, '0', 0, 1313694379541635074, '2020-10-11 17:36:48', 1313694379541635074, '2020-10-11 17:36:48', '2021-04-09 21:04:05'); INSERT INTO `sys_user` VALUES (1340328715309092866, 'tests', 'efb6175f6c12483b0e48d8dbb1da2f5c', 'v6u9hu3kl0yowdpoxuel', '0', '测试', NULL, '123213123', NULL, '127.0.0.1', NULL, NULL, NULL, 1, '1', 7, 1313694379541635074, '2020-12-20 00:10:42', 1313694379541635074, '2021-03-13 00:09:49', '2021-04-08 23:51:32'); +COMMIT; -- ---------------------------- -- Table structure for sys_user_org_ref -- ---------------------------- DROP TABLE IF EXISTS `sys_user_org_ref`; -CREATE TABLE `sys_user_org_ref` ( +CREATE TABLE `sys_user_org_ref` ( `id` bigint(19) NOT NULL COMMENT '用户角色关联', `user_id` bigint(19) NOT NULL COMMENT '用户主键', `org_id` bigint(19) NOT NULL COMMENT '组织机构主键', - `org_type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '组织机构类型', + `org_type` char(1) NOT NULL COMMENT '组织机构类型', PRIMARY KEY (`id`) USING BTREE, - INDEX `sys_org_user`(`user_id`, `org_id`, `org_type`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '组织机构用户关联表' ROW_FORMAT = Dynamic; + KEY `sys_org_user` (`user_id`,`org_id`,`org_type`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='组织机构用户关联表'; -- ---------------------------- -- Records of sys_user_org_ref -- ---------------------------- +BEGIN; INSERT INTO `sys_user_org_ref` VALUES (1336194711962796034, 1313694379541635074, 1332710973848449026, '1'); INSERT INTO `sys_user_org_ref` VALUES (1336194711996350466, 1313694379541635074, 1332879851278856193, '2'); INSERT INTO `sys_user_org_ref` VALUES (1336204588500140033, 1315224823500120066, 1332878633177477122, '1'); +COMMIT; -- ---------------------------- -- Table structure for sys_user_role_ref -- ---------------------------- DROP TABLE IF EXISTS `sys_user_role_ref`; -CREATE TABLE `sys_user_role_ref` ( +CREATE TABLE `sys_user_role_ref` ( `id` bigint(19) NOT NULL COMMENT '用户角色关联', `user_id` bigint(19) NOT NULL COMMENT '用户主键', `role_id` bigint(19) NOT NULL COMMENT '角色主键', PRIMARY KEY (`id`) USING BTREE, - INDEX `sys_user_role`(`user_id`, `role_id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户角色关联表' ROW_FORMAT = Dynamic; + KEY `sys_user_role` (`user_id`,`role_id`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户角色关联表'; -- ---------------------------- -- Records of sys_user_role_ref -- ---------------------------- +BEGIN; INSERT INTO `sys_user_role_ref` VALUES (1365262284070248450, 1, 1313050074675007490); INSERT INTO `sys_user_role_ref` VALUES (1365262284091219969, 1, 1313050098867752962); INSERT INTO `sys_user_role_ref` VALUES (1365262284091219970, 1, 1313050122074836994); @@ -6425,32 +6491,34 @@ INSERT INTO `sys_user_role_ref` VALUES (1313807974514323458, 1313694379541635074 INSERT INTO `sys_user_role_ref` VALUES (1315220477014192130, 1315218541317750785, 1313146842146213890); INSERT INTO `sys_user_role_ref` VALUES (1315224868903460865, 1315224823500120066, 1313146842146213890); INSERT INTO `sys_user_role_ref` VALUES (1340330479513047041, 1340328715309092866, 1313146842146213890); +COMMIT; -- ---------------------------- -- Table structure for test_car -- ---------------------------- DROP TABLE IF EXISTS `test_car`; -CREATE TABLE `test_car` ( +CREATE TABLE `test_car` ( `id` bigint(19) NOT NULL COMMENT '主键', - `car_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '汽车名称', - `car_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '汽车类型', - `car_brand` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '汽车品牌', + `car_name` varchar(20) NOT NULL COMMENT '汽车名称', + `car_type` varchar(20) NOT NULL COMMENT '汽车类型', + `car_brand` varchar(50) DEFAULT NULL COMMENT '汽车品牌', `produce_data` date NOT NULL COMMENT '生产日期', - `iz_usable` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否启用', - `tenant_id` bigint(19) NULL DEFAULT NULL COMMENT '多租户ID', - `deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记:0未删除,1删除', + `iz_usable` char(1) NOT NULL COMMENT '是否启用', + `tenant_id` bigint(19) DEFAULT NULL COMMENT '多租户ID', + `deleted` char(1) NOT NULL COMMENT '删除标记:0未删除,1删除', `version` int(10) NOT NULL COMMENT '版本号(乐观锁)', `create_by` bigint(19) NOT NULL COMMENT '创建用户', - `create_time` datetime(0) NOT NULL COMMENT '创建日期', + `create_time` datetime NOT NULL COMMENT '创建日期', `update_by` bigint(19) NOT NULL COMMENT '修改用户', - `update_time` datetime(0) NOT NULL COMMENT '修改日期', - `ts` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '时间戳', + `update_time` datetime NOT NULL COMMENT '修改日期', + `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '时间戳', PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '测试汽车' ROW_FORMAT = Dynamic; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='测试汽车'; -- ---------------------------- -- Records of test_car -- ---------------------------- +BEGIN; INSERT INTO `test_car` VALUES (1340634224709677058, '奔驰GXX', 'Gxx', '奔驰', '2020-12-20', '1', 1, '0', 0, 1313694379541635074, '2020-12-20 20:24:42', 1313694379541635074, '2020-12-20 20:24:42', '2021-04-08 23:51:39'); INSERT INTO `test_car` VALUES (1340634337075081217, '北汽绅宝', '电动', '绅宝', '2020-12-13', '1', 1, '0', 0, 1313694379541635074, '2020-12-20 20:25:08', 1313694379541635074, '2020-12-20 20:25:08', '2021-04-08 23:51:39'); INSERT INTO `test_car` VALUES (1340634432696823810, '宝马7系', '烧油', '宝马', '2020-12-20', '0', 1, '0', 0, 1313694379541635074, '2020-12-20 20:25:31', 1313694379541635074, '2020-12-20 20:25:31', '2021-04-08 23:51:39'); @@ -6458,139 +6526,141 @@ INSERT INTO `test_car` VALUES (1340634485616357378, '测试', '123', '123', '202 INSERT INTO `test_car` VALUES (1340635288087375874, '宝马7系', '烧油', '宝马', '2020-12-20', '0', 1, '0', 2, 1313694379541635074, '2020-12-20 20:28:55', 1313694379541635074, '2021-01-18 17:08:23', '2021-04-08 23:51:39'); INSERT INTO `test_car` VALUES (1340635288095764482, '北汽绅宝', '电动', '绅宝', '2020-12-13', '1', 1, '0', 0, 1313694379541635074, '2020-12-20 20:28:55', 1313694379541635074, '2020-12-20 20:28:55', '2021-04-08 23:51:39'); INSERT INTO `test_car` VALUES (1340635288099958786, '奔驰GXX', 'Gxx', '奔驰', '2020-12-20', '1', 1, '0', 0, 1313694379541635074, '2020-12-20 20:28:55', 1313694379541635074, '2020-12-20 20:28:55', '2021-04-08 23:51:39'); +COMMIT; -- ---------------------------- -- Table structure for test_car_copy1 -- ---------------------------- DROP TABLE IF EXISTS `test_car_copy1`; -CREATE TABLE `test_car_copy1` ( +CREATE TABLE `test_car_copy1` ( `id` bigint(19) NOT NULL COMMENT '主键', - `car_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '汽车名称', - `car_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '汽车类型', - `car_brand` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '汽车品牌', + `car_name` varchar(20) NOT NULL COMMENT '汽车名称', + `car_type` varchar(20) NOT NULL COMMENT '汽车类型', + `car_brand` varchar(50) DEFAULT NULL COMMENT '汽车品牌', `produce_data` date NOT NULL COMMENT '生产日期', - `iz_usable` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否启用', - `tenant_id` bigint(19) NULL DEFAULT NULL COMMENT '多租户ID', - `deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记:0未删除,1删除', + `iz_usable` char(1) NOT NULL COMMENT '是否启用', + `tenant_id` bigint(19) DEFAULT NULL COMMENT '多租户ID', + `deleted` char(1) NOT NULL COMMENT '删除标记:0未删除,1删除', `version` int(10) NOT NULL COMMENT '版本号(乐观锁)', `create_by` bigint(19) NOT NULL COMMENT '创建用户', - `create_time` datetime(0) NOT NULL COMMENT '创建日期', + `create_time` datetime NOT NULL COMMENT '创建日期', `update_by` bigint(19) NOT NULL COMMENT '修改用户', - `update_time` datetime(0) NOT NULL COMMENT '修改日期', - `ts` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '时间戳', + `update_time` datetime NOT NULL COMMENT '修改日期', + `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '时间戳', PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '测试' ROW_FORMAT = Dynamic; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='测试'; -- ---------------------------- -- Table structure for test_car_copy2 -- ---------------------------- DROP TABLE IF EXISTS `test_car_copy2`; -CREATE TABLE `test_car_copy2` ( +CREATE TABLE `test_car_copy2` ( `id` bigint(19) NOT NULL COMMENT '主键', - `car_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '汽车名称', - `car_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '汽车类型', - `car_brand` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '汽车品牌', + `car_name` varchar(20) NOT NULL COMMENT '汽车名称', + `car_type` varchar(20) NOT NULL COMMENT '汽车类型', + `car_brand` varchar(50) DEFAULT NULL COMMENT '汽车品牌', `produce_data` date NOT NULL COMMENT '生产日期', - `iz_usable` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否启用', - `tenant_id` bigint(19) NULL DEFAULT NULL COMMENT '多租户ID', - `deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记:0未删除,1删除', + `iz_usable` char(1) NOT NULL COMMENT '是否启用', + `tenant_id` bigint(19) DEFAULT NULL COMMENT '多租户ID', + `deleted` char(1) NOT NULL COMMENT '删除标记:0未删除,1删除', `version` int(10) NOT NULL COMMENT '版本号(乐观锁)', `create_by` bigint(19) NOT NULL COMMENT '创建用户', - `create_time` datetime(0) NOT NULL COMMENT '创建日期', + `create_time` datetime NOT NULL COMMENT '创建日期', `update_by` bigint(19) NOT NULL COMMENT '修改用户', - `update_time` datetime(0) NOT NULL COMMENT '修改日期', - `ts` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '时间戳', + `update_time` datetime NOT NULL COMMENT '修改日期', + `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '时间戳', PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '测试' ROW_FORMAT = Dynamic; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='测试'; -- ---------------------------- -- Table structure for test_car_copy3 -- ---------------------------- DROP TABLE IF EXISTS `test_car_copy3`; -CREATE TABLE `test_car_copy3` ( +CREATE TABLE `test_car_copy3` ( `id` bigint(19) NOT NULL COMMENT '主键', - `car_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '汽车名称', - `car_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '汽车类型', - `car_brand` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '汽车品牌', + `car_name` varchar(20) NOT NULL COMMENT '汽车名称', + `car_type` varchar(20) NOT NULL COMMENT '汽车类型', + `car_brand` varchar(50) DEFAULT NULL COMMENT '汽车品牌', `produce_data` date NOT NULL COMMENT '生产日期', - `iz_usable` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否启用', - `tenant_id` bigint(19) NULL DEFAULT NULL COMMENT '多租户ID', - `deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记:0未删除,1删除', + `iz_usable` char(1) NOT NULL COMMENT '是否启用', + `tenant_id` bigint(19) DEFAULT NULL COMMENT '多租户ID', + `deleted` char(1) NOT NULL COMMENT '删除标记:0未删除,1删除', `version` int(10) NOT NULL COMMENT '版本号(乐观锁)', `create_by` bigint(19) NOT NULL COMMENT '创建用户', - `create_time` datetime(0) NOT NULL COMMENT '创建日期', + `create_time` datetime NOT NULL COMMENT '创建日期', `update_by` bigint(19) NOT NULL COMMENT '修改用户', - `update_time` datetime(0) NOT NULL COMMENT '修改日期', - `ts` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '时间戳', + `update_time` datetime NOT NULL COMMENT '修改日期', + `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '时间戳', PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '测试' ROW_FORMAT = Dynamic; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='测试'; -- ---------------------------- -- Table structure for test_car_copy4 -- ---------------------------- DROP TABLE IF EXISTS `test_car_copy4`; -CREATE TABLE `test_car_copy4` ( +CREATE TABLE `test_car_copy4` ( `id` bigint(19) NOT NULL COMMENT '主键', - `car_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '汽车名称', - `car_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '汽车类型', - `car_brand` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '汽车品牌', + `car_name` varchar(20) NOT NULL COMMENT '汽车名称', + `car_type` varchar(20) NOT NULL COMMENT '汽车类型', + `car_brand` varchar(50) DEFAULT NULL COMMENT '汽车品牌', `produce_data` date NOT NULL COMMENT '生产日期', - `iz_usable` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否启用', - `tenant_id` bigint(19) NULL DEFAULT NULL COMMENT '多租户ID', - `deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记:0未删除,1删除', + `iz_usable` char(1) NOT NULL COMMENT '是否启用', + `tenant_id` bigint(19) DEFAULT NULL COMMENT '多租户ID', + `deleted` char(1) NOT NULL COMMENT '删除标记:0未删除,1删除', `version` int(10) NOT NULL COMMENT '版本号(乐观锁)', `create_by` bigint(19) NOT NULL COMMENT '创建用户', - `create_time` datetime(0) NOT NULL COMMENT '创建日期', + `create_time` datetime NOT NULL COMMENT '创建日期', `update_by` bigint(19) NOT NULL COMMENT '修改用户', - `update_time` datetime(0) NOT NULL COMMENT '修改日期', - `ts` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '时间戳', + `update_time` datetime NOT NULL COMMENT '修改日期', + `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '时间戳', PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '测试' ROW_FORMAT = Dynamic; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='测试'; -- ---------------------------- -- Table structure for test_car_copy5 -- ---------------------------- DROP TABLE IF EXISTS `test_car_copy5`; -CREATE TABLE `test_car_copy5` ( +CREATE TABLE `test_car_copy5` ( `id` bigint(19) NOT NULL COMMENT '主键', - `car_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '汽车名称', - `car_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '汽车类型', - `car_brand` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '汽车品牌', + `car_name` varchar(20) NOT NULL COMMENT '汽车名称', + `car_type` varchar(20) NOT NULL COMMENT '汽车类型', + `car_brand` varchar(50) DEFAULT NULL COMMENT '汽车品牌', `produce_data` date NOT NULL COMMENT '生产日期', - `iz_usable` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否启用', - `tenant_id` bigint(19) NULL DEFAULT NULL COMMENT '多租户ID', - `deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记:0未删除,1删除', + `iz_usable` char(1) NOT NULL COMMENT '是否启用', + `tenant_id` bigint(19) DEFAULT NULL COMMENT '多租户ID', + `deleted` char(1) NOT NULL COMMENT '删除标记:0未删除,1删除', `version` int(10) NOT NULL COMMENT '版本号(乐观锁)', `create_by` bigint(19) NOT NULL COMMENT '创建用户', - `create_time` datetime(0) NOT NULL COMMENT '创建日期', + `create_time` datetime NOT NULL COMMENT '创建日期', `update_by` bigint(19) NOT NULL COMMENT '修改用户', - `update_time` datetime(0) NOT NULL COMMENT '修改日期', - `ts` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '时间戳', + `update_time` datetime NOT NULL COMMENT '修改日期', + `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '时间戳', PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '测试' ROW_FORMAT = Dynamic; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='测试'; -- ---------------------------- -- Table structure for test_entity -- ---------------------------- DROP TABLE IF EXISTS `test_entity`; -CREATE TABLE `test_entity` ( +CREATE TABLE `test_entity` ( `id` bigint(19) NOT NULL, - `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `type` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL, - `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `tenant_id` bigint(19) NULL DEFAULT NULL COMMENT '多租户ID', + `name` varchar(255) DEFAULT NULL, + `type` varchar(120) NOT NULL, + `remark` varchar(255) DEFAULT NULL, + `tenant_id` bigint(19) DEFAULT NULL COMMENT '多租户ID', `create_by` bigint(19) NOT NULL, - `create_time` datetime(0) NOT NULL, + `create_time` datetime NOT NULL, `update_by` bigint(19) NOT NULL, - `update_time` datetime(0) NOT NULL, + `update_time` datetime NOT NULL, `version` int(11) NOT NULL, - `ts` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '时间戳', + `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '时间戳', PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- ---------------------------- -- Records of test_entity -- ---------------------------- +BEGIN; INSERT INTO `test_entity` VALUES (1364199553082777601, '测试名称1607593481', '1', '测试备注138092174', 1, 1313694379541635074, '2021-02-23 21:04:54', 1313694379541635074, '2021-02-23 21:04:54', 0, '2021-04-08 23:52:08'); INSERT INTO `test_entity` VALUES (1364199553678368770, '测试名称612578871', '4', '测试备注-861279371', 1, 1313694379541635074, '2021-02-23 21:04:54', 1313694379541635074, '2021-02-23 21:04:54', 0, '2021-04-08 23:52:08'); INSERT INTO `test_entity` VALUES (1364199553732894722, '测试名称-520336040', '4', '测试备注-20781738', 1, 1313694379541635074, '2021-02-23 21:04:54', 1313694379541635074, '2021-02-23 21:04:54', 0, '2021-04-08 23:52:08'); @@ -31315,32 +31385,34 @@ INSERT INTO `test_entity` VALUES (1365267353196998658, '测试名称948161445', INSERT INTO `test_entity` VALUES (1365267353243136001, '测试名称2080299310', '4', '测试备注1396804893', 1, 1313694379541635074, '2021-02-26 19:47:57', 1313694379541635074, '2021-02-26 19:47:57', 0, '2021-04-08 23:52:08'); INSERT INTO `test_entity` VALUES (1365267353289273346, '测试名称39969223', '4', '测试备注-1782248735', 1, 1313694379541635074, '2021-02-26 19:47:57', 1313694379541635074, '2021-02-26 19:47:57', 0, '2021-04-08 23:52:08'); INSERT INTO `test_entity` VALUES (1365267353335410690, '测试名称2131386477', '0', '测试备注-431824416', 1, 1313694379541635074, '2021-02-26 19:47:57', 1313694379541635074, '2021-02-26 19:47:57', 0, '2021-04-08 23:52:08'); +COMMIT; -- ---------------------------- -- Table structure for test_user -- ---------------------------- DROP TABLE IF EXISTS `test_user`; -CREATE TABLE `test_user` ( +CREATE TABLE `test_user` ( `id` bigint(19) NOT NULL COMMENT '主键', - `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '名称', - `money` double(8, 2) NOT NULL COMMENT '金钱', + `name` varchar(50) DEFAULT NULL COMMENT '名称', + `money` double(8,2) NOT NULL COMMENT '金钱', `age` smallint(5) NOT NULL COMMENT '年龄', `birth` date NOT NULL COMMENT '生日', - `iz_usable` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否启用', - `tenant_id` bigint(19) NULL DEFAULT NULL COMMENT '多租户ID', - `deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记:0未删除,1删除', + `iz_usable` char(1) NOT NULL COMMENT '是否启用', + `tenant_id` bigint(19) DEFAULT NULL COMMENT '多租户ID', + `deleted` char(1) NOT NULL COMMENT '删除标记:0未删除,1删除', `version` int(10) NOT NULL COMMENT '版本号(乐观锁)', `create_by` bigint(19) NOT NULL COMMENT '创建用户', - `create_time` datetime(0) NOT NULL COMMENT '创建日期', + `create_time` datetime NOT NULL COMMENT '创建日期', `update_by` bigint(19) NOT NULL COMMENT '修改用户', - `update_time` datetime(0) NOT NULL COMMENT '修改日期', - `ts` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '时间戳', + `update_time` datetime NOT NULL COMMENT '修改日期', + `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '时间戳', PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '某系统用户' ROW_FORMAT = Dynamic; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='某系统用户'; -- ---------------------------- -- Records of test_user -- ---------------------------- +BEGIN; INSERT INTO `test_user` VALUES (1330395579818037249, '张三', 123.00, 11, '2020-11-03', '1', NULL, '0', 1, 1, '2020-11-22 14:19:58', 1, '2020-11-22 14:21:53', '2021-04-08 23:52:13'); INSERT INTO `test_user` VALUES (1330395677499183106, '李四', 123.00, 19, '2020-11-04', '0', NULL, '0', 0, 1, '2020-11-22 14:20:22', 1, '2020-11-22 14:20:22', '2021-04-08 23:52:13'); INSERT INTO `test_user` VALUES (1330395764019286017, '王五', 123.00, 12, '2020-11-02', '1', NULL, '0', 0, 1, '2020-11-22 14:20:42', 1, '2020-11-22 14:20:42', '2021-04-08 23:52:13'); @@ -31360,5 +31432,6 @@ INSERT INTO `test_user` VALUES (1336252034586361857, '李四', 1000.00, 22, '199 INSERT INTO `test_user` VALUES (1338285518968438785, '周宇琪', 9999.00, 21, '1979-12-01', '0', 1, '0', 9, 1313694379541635074, '2020-12-14 08:51:47', 1313694379541635074, '2021-01-18 17:08:18', '2021-04-08 23:52:13'); INSERT INTO `test_user` VALUES (1338682114751184897, '张世荣', 565433.00, 20, '2020-12-01', '0', 1, '1', 1, 1313694379541635074, '2020-12-15 11:07:42', 1313694379541635074, '2020-12-16 14:10:22', '2021-04-08 23:52:13'); INSERT INTO `test_user` VALUES (1339439636625866754, '李佳昌', 1111.00, 111, '2020-12-01', '1', 1, '1', 0, 1313694379541635074, '2020-12-17 13:17:50', 1313694379541635074, '2020-12-17 13:17:50', '2021-04-08 23:52:13'); +COMMIT; SET FOREIGN_KEY_CHECKS = 1;