|
|
@ -3,15 +3,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
Source Server : OPSLI 快速开发平台
|
|
|
|
Source Server : OPSLI 快速开发平台
|
|
|
|
Source Server Type : MySQL
|
|
|
|
Source Server Type : MySQL
|
|
|
|
Source Server Version : 50729
|
|
|
|
Source Server Version : 50733
|
|
|
|
Source Host : 127.0.0.1:3306
|
|
|
|
Source Host : 127.0.0.1:3306
|
|
|
|
Source Schema : opsli-boot
|
|
|
|
Source Schema : opsli-boot
|
|
|
|
|
|
|
|
|
|
|
|
Target Server Type : MySQL
|
|
|
|
Target Server Type : MySQL
|
|
|
|
Target Server Version : 50729
|
|
|
|
Target Server Version : 50733
|
|
|
|
File Encoding : 65001
|
|
|
|
File Encoding : 65001
|
|
|
|
|
|
|
|
|
|
|
|
Date: 07/05/2021 19:30:16
|
|
|
|
Date: 17/05/2021 00:37:58
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
SET NAMES utf8mb4;
|
|
|
|
SET NAMES utf8mb4;
|
|
|
@ -24,28 +24,30 @@ DROP TABLE IF EXISTS `creater_logs`;
|
|
|
|
CREATE TABLE `creater_logs` (
|
|
|
|
CREATE TABLE `creater_logs` (
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '主键',
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '主键',
|
|
|
|
`table_id` bigint(19) NOT NULL COMMENT '归属表ID',
|
|
|
|
`table_id` bigint(19) NOT NULL COMMENT '归属表ID',
|
|
|
|
`package_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '生成包名',
|
|
|
|
`package_name` varchar(255) NOT NULL COMMENT '生成包名',
|
|
|
|
`module_name` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '生成模块名',
|
|
|
|
`module_name` varchar(40) NOT NULL COMMENT '生成模块名',
|
|
|
|
`sub_module_name` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '生成子模块名',
|
|
|
|
`sub_module_name` varchar(40) DEFAULT NULL COMMENT '生成子模块名',
|
|
|
|
`code_title` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '代码标题',
|
|
|
|
`code_title` varchar(100) NOT NULL COMMENT '代码标题',
|
|
|
|
`code_title_brief` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '代码标题简介',
|
|
|
|
`code_title_brief` varchar(100) NOT NULL COMMENT '代码标题简介',
|
|
|
|
`author_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '作者名',
|
|
|
|
`author_name` varchar(64) NOT NULL COMMENT '作者名',
|
|
|
|
`version` int(11) NOT NULL COMMENT '版本(乐观锁)',
|
|
|
|
`version` int(11) NOT NULL COMMENT '版本(乐观锁)',
|
|
|
|
`create_by` bigint(19) 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_by` bigint(19) NOT NULL COMMENT '修改用户',
|
|
|
|
`update_time` datetime(0) NOT NULL COMMENT '修改日期',
|
|
|
|
`update_time` datetime NOT NULL COMMENT '修改日期',
|
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
UNIQUE INDEX `table`(`id`, `table_id`) USING BTREE
|
|
|
|
UNIQUE KEY `table` (`id`,`table_id`) USING BTREE
|
|
|
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '代码生成器 - 生成日志' ROW_FORMAT = Dynamic;
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='代码生成器 - 生成日志';
|
|
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Records of creater_logs
|
|
|
|
-- 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 (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 (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 (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');
|
|
|
|
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
|
|
|
|
-- Table structure for creater_table
|
|
|
@ -53,30 +55,32 @@ INSERT INTO `creater_logs` VALUES (1359429290382323714, 1359428685312028674, 'or
|
|
|
|
DROP TABLE IF EXISTS `creater_table`;
|
|
|
|
DROP TABLE IF EXISTS `creater_table`;
|
|
|
|
CREATE TABLE `creater_table` (
|
|
|
|
CREATE TABLE `creater_table` (
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '主键',
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '主键',
|
|
|
|
`table_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '表名称',
|
|
|
|
`table_name` varchar(100) NOT NULL COMMENT '表名称',
|
|
|
|
`old_table_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '表名称',
|
|
|
|
`old_table_name` varchar(100) NOT NULL COMMENT '表名称',
|
|
|
|
`table_type` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '表类型',
|
|
|
|
`table_type` varchar(30) NOT NULL COMMENT '表类型',
|
|
|
|
`comments` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '描述',
|
|
|
|
`comments` varchar(200) NOT NULL COMMENT '描述',
|
|
|
|
`jdbc_type` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '数据库类型 { MySQL\\Oracle\\SQLServer ...}',
|
|
|
|
`jdbc_type` varchar(30) NOT NULL DEFAULT '0' COMMENT '数据库类型 { MySQL\\Oracle\\SQLServer ...}',
|
|
|
|
`iz_sync` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '同步',
|
|
|
|
`iz_sync` char(1) DEFAULT '0' COMMENT '同步',
|
|
|
|
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注信息',
|
|
|
|
`remark` varchar(255) DEFAULT NULL COMMENT '备注信息',
|
|
|
|
`version` int(11) NOT NULL COMMENT '版本(乐观锁)',
|
|
|
|
`version` int(11) NOT NULL COMMENT '版本(乐观锁)',
|
|
|
|
`create_by` bigint(19) 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_by` bigint(19) NOT NULL COMMENT '修改用户',
|
|
|
|
`update_time` datetime(0) NOT NULL COMMENT '修改日期',
|
|
|
|
`update_time` datetime NOT NULL COMMENT '修改日期',
|
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
INDEX `creater_table_name`(`table_name`) USING BTREE
|
|
|
|
KEY `creater_table_name` (`table_name`) USING BTREE
|
|
|
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '代码生成器 - 表信息' ROW_FORMAT = Dynamic;
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='代码生成器 - 表信息';
|
|
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Records of creater_table
|
|
|
|
-- 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 (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 (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 (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 (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');
|
|
|
|
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
|
|
|
|
-- Table structure for creater_table_column
|
|
|
@ -85,34 +89,35 @@ DROP TABLE IF EXISTS `creater_table_column`;
|
|
|
|
CREATE TABLE `creater_table_column` (
|
|
|
|
CREATE TABLE `creater_table_column` (
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '主键',
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '主键',
|
|
|
|
`table_id` bigint(19) NOT NULL COMMENT '归属表ID',
|
|
|
|
`table_id` bigint(19) NOT NULL COMMENT '归属表ID',
|
|
|
|
`field_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段名称',
|
|
|
|
`field_name` varchar(100) NOT NULL COMMENT '字段名称',
|
|
|
|
`field_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段类型',
|
|
|
|
`field_type` varchar(100) NOT NULL COMMENT '字段类型',
|
|
|
|
`field_length` int(11) NULL DEFAULT NULL COMMENT '字段长度',
|
|
|
|
`field_length` int(11) DEFAULT NULL COMMENT '字段长度',
|
|
|
|
`field_precision` int(11) NULL DEFAULT NULL COMMENT '字段精度',
|
|
|
|
`field_precision` int(11) DEFAULT NULL COMMENT '字段精度',
|
|
|
|
`field_comments` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段描述',
|
|
|
|
`field_comments` varchar(200) NOT NULL COMMENT '字段描述',
|
|
|
|
`iz_pk` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '是否主键',
|
|
|
|
`iz_pk` char(1) DEFAULT NULL COMMENT '是否主键',
|
|
|
|
`iz_not_null` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '是否可为空',
|
|
|
|
`iz_not_null` char(1) DEFAULT NULL COMMENT '是否可为空',
|
|
|
|
`iz_show_list` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '是否列表字段',
|
|
|
|
`iz_show_list` char(1) DEFAULT NULL COMMENT '是否列表字段',
|
|
|
|
`iz_show_form` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '是否表单显示',
|
|
|
|
`iz_show_form` char(1) DEFAULT NULL COMMENT '是否表单显示',
|
|
|
|
`query_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '检索类别',
|
|
|
|
`query_type` varchar(100) DEFAULT NULL COMMENT '检索类别',
|
|
|
|
`java_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'Java数据类型',
|
|
|
|
`java_type` varchar(50) NOT NULL COMMENT 'Java数据类型',
|
|
|
|
`show_type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '字段生成方案(文本框、文本域、下拉框、复选框、单选框、字典选择、人员选择、部门选择、区域选择)',
|
|
|
|
`show_type` char(1) DEFAULT NULL COMMENT '字段生成方案(文本框、文本域、下拉框、复选框、单选框、字典选择、人员选择、部门选择、区域选择)',
|
|
|
|
`dict_type_code` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '字典类型',
|
|
|
|
`dict_type_code` varchar(120) DEFAULT NULL COMMENT '字典类型',
|
|
|
|
`sort` smallint(6) NOT 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 '版本(乐观锁)',
|
|
|
|
`version` int(11) NOT NULL COMMENT '版本(乐观锁)',
|
|
|
|
`create_by` bigint(19) 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_by` bigint(19) NOT NULL COMMENT '修改用户',
|
|
|
|
`update_time` datetime(0) NOT NULL COMMENT '修改日期',
|
|
|
|
`update_time` datetime NOT NULL COMMENT '修改日期',
|
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
INDEX `creater_table_column_sort`(`sort`) USING BTREE,
|
|
|
|
KEY `creater_table_column_sort` (`sort`) USING BTREE,
|
|
|
|
INDEX `creater_table_column_table_id`(`table_id`, `field_name`) USING BTREE
|
|
|
|
KEY `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;
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='代码生成器 - 表结构\r\n';
|
|
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Records of creater_table_column
|
|
|
|
-- 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 (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 (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');
|
|
|
|
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,6 +175,7 @@ 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 (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 (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');
|
|
|
|
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');
|
|
|
|
|
|
|
|
COMMIT;
|
|
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Table structure for sys_area
|
|
|
|
-- Table structure for sys_area
|
|
|
@ -177,25 +183,26 @@ INSERT INTO `creater_table_column` VALUES (1359428984609173506, 1359428685312028
|
|
|
|
DROP TABLE IF EXISTS `sys_area`;
|
|
|
|
DROP TABLE IF EXISTS `sys_area`;
|
|
|
|
CREATE TABLE `sys_area` (
|
|
|
|
CREATE TABLE `sys_area` (
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '唯一主键',
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '唯一主键',
|
|
|
|
`parent_id` bigint(19) NULL DEFAULT NULL COMMENT '上级ID',
|
|
|
|
`parent_id` bigint(19) DEFAULT NULL COMMENT '上级ID',
|
|
|
|
`area_code` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '地域编号',
|
|
|
|
`area_code` varchar(40) NOT NULL COMMENT '地域编号',
|
|
|
|
`area_name` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '地域名称',
|
|
|
|
`area_name` varchar(40) DEFAULT NULL COMMENT '地域名称',
|
|
|
|
`area_type` int(5) NOT 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删除',
|
|
|
|
`deleted` char(1) NOT NULL DEFAULT '0' COMMENT '删除标记:0未删除,1删除',
|
|
|
|
`version` int(11) NOT NULL DEFAULT 0 COMMENT '版本(乐观锁)',
|
|
|
|
`version` int(11) NOT NULL DEFAULT '0' COMMENT '版本(乐观锁)',
|
|
|
|
`create_by` bigint(19) 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_by` bigint(19) NOT NULL COMMENT '修改用户',
|
|
|
|
`update_time` datetime(0) NOT NULL COMMENT '修改日期',
|
|
|
|
`update_time` datetime NOT NULL COMMENT '修改日期',
|
|
|
|
`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,
|
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
UNIQUE INDEX `area`(`area_code`) USING BTREE,
|
|
|
|
UNIQUE KEY `area` (`area_code`) USING BTREE,
|
|
|
|
INDEX `parent_id`(`parent_id`) USING BTREE
|
|
|
|
KEY `parent_id` (`parent_id`) USING BTREE
|
|
|
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '地区表' ROW_FORMAT = Dynamic;
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='地区表';
|
|
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Records of sys_area
|
|
|
|
-- 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 (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 (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');
|
|
|
|
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');
|
|
|
@ -3409,6 +3416,7 @@ 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 (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 (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');
|
|
|
|
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
|
|
|
|
-- Table structure for sys_dict
|
|
|
@ -3416,24 +3424,25 @@ INSERT INTO `sys_area` VALUES (820000, 86, '820000', '澳门特别行政区', 1,
|
|
|
|
DROP TABLE IF EXISTS `sys_dict`;
|
|
|
|
DROP TABLE IF EXISTS `sys_dict`;
|
|
|
|
CREATE TABLE `sys_dict` (
|
|
|
|
CREATE TABLE `sys_dict` (
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '字典主键',
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '字典主键',
|
|
|
|
`type_code` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字典编号',
|
|
|
|
`type_code` varchar(120) NOT NULL COMMENT '字典编号',
|
|
|
|
`type_name` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字典名称',
|
|
|
|
`type_name` varchar(120) NOT NULL COMMENT '字典名称',
|
|
|
|
`iz_lock` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否内置 0否 1是',
|
|
|
|
`iz_lock` char(1) NOT NULL COMMENT '是否内置 0否 1是',
|
|
|
|
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
|
|
|
|
`remark` varchar(255) DEFAULT NULL COMMENT '备注',
|
|
|
|
`deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '删除标记:0未删除,1删除',
|
|
|
|
`deleted` char(1) NOT NULL DEFAULT '0' COMMENT '删除标记:0未删除,1删除',
|
|
|
|
`version` int(11) NOT NULL COMMENT '版本(乐观锁)',
|
|
|
|
`version` int(11) NOT NULL COMMENT '版本(乐观锁)',
|
|
|
|
`create_by` bigint(19) 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_by` bigint(19) NOT NULL COMMENT '修改人',
|
|
|
|
`update_time` datetime(0) NOT NULL COMMENT '修改时间',
|
|
|
|
`update_time` datetime NOT NULL COMMENT '修改时间',
|
|
|
|
`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,
|
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
INDEX `type_code_typename_unique`(`type_code`, `type_name`) USING BTREE
|
|
|
|
KEY `type_code_typename_unique` (`type_code`,`type_name`) USING BTREE
|
|
|
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '字典表' ROW_FORMAT = Dynamic;
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='字典表';
|
|
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Records of sys_dict
|
|
|
|
-- 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 (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 (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');
|
|
|
|
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');
|
|
|
@ -3451,6 +3460,7 @@ INSERT INTO `sys_dict` VALUES (1346735875094847489, '123123', '测试', '0', NUL
|
|
|
|
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 (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 (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');
|
|
|
|
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
|
|
|
|
-- Table structure for sys_dict_detail
|
|
|
@ -3458,27 +3468,28 @@ INSERT INTO `sys_dict` VALUES (1389291635615805442, 'password_level', '密码强
|
|
|
|
DROP TABLE IF EXISTS `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 '字典明细主键',
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '字典明细主键',
|
|
|
|
`type_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '类型ID',
|
|
|
|
`type_id` varchar(32) NOT NULL COMMENT '类型ID',
|
|
|
|
`type_code` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '类型code 冗余字段',
|
|
|
|
`type_code` varchar(120) NOT NULL COMMENT '类型code 冗余字段',
|
|
|
|
`dict_name` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字典名称',
|
|
|
|
`dict_name` varchar(120) NOT NULL COMMENT '字典名称',
|
|
|
|
`dict_value` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字典值',
|
|
|
|
`dict_value` varchar(120) NOT NULL COMMENT '字典值',
|
|
|
|
`iz_lock` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否内置 0否 1是',
|
|
|
|
`iz_lock` char(1) NOT NULL COMMENT '是否内置 0否 1是',
|
|
|
|
`sort_no` int(11) NOT NULL COMMENT '排序',
|
|
|
|
`sort_no` int(11) NOT NULL COMMENT '排序',
|
|
|
|
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
|
|
|
|
`remark` varchar(255) DEFAULT NULL COMMENT '备注',
|
|
|
|
`deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '删除状态',
|
|
|
|
`deleted` char(1) NOT NULL DEFAULT '0' COMMENT '删除状态',
|
|
|
|
`version` int(11) NOT NULL COMMENT '版本(乐观锁)',
|
|
|
|
`version` int(11) NOT NULL COMMENT '版本(乐观锁)',
|
|
|
|
`create_by` bigint(19) 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_by` bigint(19) NOT NULL COMMENT '修改人',
|
|
|
|
`update_time` datetime(0) NOT NULL COMMENT '修改时间',
|
|
|
|
`update_time` datetime NOT NULL COMMENT '修改时间',
|
|
|
|
`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,
|
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
INDEX `dict_detail`(`type_code`, `dict_value`, `dict_name`) USING BTREE
|
|
|
|
KEY `dict_detail` (`type_code`,`dict_value`,`dict_name`) USING BTREE
|
|
|
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '字典表-明细' ROW_FORMAT = Dynamic;
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='字典表-明细';
|
|
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Records of sys_dict_detail
|
|
|
|
-- 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 (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 (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');
|
|
|
|
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');
|
|
|
@ -3574,6 +3585,7 @@ INSERT INTO `sys_dict_detail` VALUES (1389291836380360706, '1389291635615805442'
|
|
|
|
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 (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 (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');
|
|
|
|
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
|
|
|
|
-- Table structure for sys_logs
|
|
|
@ -3581,31 +3593,32 @@ INSERT INTO `sys_dict_detail` VALUES (1389291969885057026, '1389291635615805442'
|
|
|
|
DROP TABLE IF EXISTS `sys_logs`;
|
|
|
|
DROP TABLE IF EXISTS `sys_logs`;
|
|
|
|
CREATE TABLE `sys_logs` (
|
|
|
|
CREATE TABLE `sys_logs` (
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '唯一主键',
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '唯一主键',
|
|
|
|
`type` char(1) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '1' COMMENT '日志类型',
|
|
|
|
`type` char(1) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '1' COMMENT '日志类型',
|
|
|
|
`title` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '日志标题',
|
|
|
|
`title` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '日志标题',
|
|
|
|
`remote_addr` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '操作IP地址',
|
|
|
|
`remote_addr` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '操作IP地址',
|
|
|
|
`user_agent` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '用户代理',
|
|
|
|
`user_agent` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '用户代理',
|
|
|
|
`request_uri` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '请求URI',
|
|
|
|
`request_uri` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '请求URI',
|
|
|
|
`method` varchar(5) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '操作方式',
|
|
|
|
`method` varchar(5) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '操作方式',
|
|
|
|
`timeout` bigint(20) NULL DEFAULT NULL COMMENT '执行时间',
|
|
|
|
`timeout` bigint(20) DEFAULT NULL COMMENT '执行时间',
|
|
|
|
`params` text CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT '操作提交的数据',
|
|
|
|
`params` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT '操作提交的数据',
|
|
|
|
`exception` text CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT '异常信息',
|
|
|
|
`exception` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT '异常信息',
|
|
|
|
`version` int(11) NOT NULL COMMENT '版本(乐观锁)',
|
|
|
|
`version` int(11) NOT NULL COMMENT '版本(乐观锁)',
|
|
|
|
`create_by` bigint(19) 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_by` bigint(19) NOT NULL COMMENT '修改人',
|
|
|
|
`update_time` datetime(0) NOT NULL COMMENT '修改时间',
|
|
|
|
`update_time` datetime NOT NULL COMMENT '修改时间',
|
|
|
|
`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,
|
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
INDEX `sys_log_create_by`(`create_by`) USING BTREE,
|
|
|
|
KEY `sys_log_create_by` (`create_by`) USING BTREE,
|
|
|
|
INDEX `sys_log_request_uri`(`request_uri`) USING BTREE,
|
|
|
|
KEY `sys_log_request_uri` (`request_uri`) USING BTREE,
|
|
|
|
INDEX `sys_log_type`(`type`) USING BTREE,
|
|
|
|
KEY `sys_log_type` (`type`) USING BTREE,
|
|
|
|
INDEX `sys_log_create_date`(`create_time`) USING BTREE
|
|
|
|
KEY `sys_log_create_date` (`create_time`) USING BTREE
|
|
|
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '日志表' ROW_FORMAT = Dynamic;
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='日志表';
|
|
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Records of sys_logs
|
|
|
|
-- 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 (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 (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');
|
|
|
|
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');
|
|
|
@ -5914,6 +5927,7 @@ INSERT INTO `sys_logs` VALUES (1389565970968530946, '1', '系统配置-菜单管
|
|
|
|
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 (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 (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');
|
|
|
|
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
|
|
|
|
-- Table structure for sys_menu
|
|
|
@ -5921,31 +5935,32 @@ INSERT INTO `sys_logs` VALUES (1389566237814345729, '1', '系统配置-菜单管
|
|
|
|
DROP TABLE IF EXISTS `sys_menu`;
|
|
|
|
DROP TABLE IF EXISTS `sys_menu`;
|
|
|
|
CREATE TABLE `sys_menu` (
|
|
|
|
CREATE TABLE `sys_menu` (
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '功能主键',
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '功能主键',
|
|
|
|
`parent_id` bigint(19) NULL DEFAULT 0 COMMENT '父级主键',
|
|
|
|
`parent_id` bigint(19) DEFAULT '0' COMMENT '父级主键',
|
|
|
|
`menu_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '名称',
|
|
|
|
`menu_name` varchar(50) NOT NULL COMMENT '名称',
|
|
|
|
`permissions` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '权限',
|
|
|
|
`permissions` varchar(50) DEFAULT NULL COMMENT '权限',
|
|
|
|
`icon` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图标',
|
|
|
|
`icon` varchar(50) DEFAULT NULL COMMENT '图标',
|
|
|
|
`type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '类型: 1-菜单 2-按钮 3-链接',
|
|
|
|
`type` varchar(20) NOT NULL COMMENT '类型: 1-菜单 2-按钮 3-链接',
|
|
|
|
`url` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'url地址',
|
|
|
|
`url` varchar(200) DEFAULT NULL COMMENT 'url地址',
|
|
|
|
`component` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '组件',
|
|
|
|
`component` varchar(200) DEFAULT NULL COMMENT '组件',
|
|
|
|
`redirect` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '重定向',
|
|
|
|
`redirect` varchar(200) DEFAULT NULL COMMENT '重定向',
|
|
|
|
`sort_no` int(11) NOT 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否',
|
|
|
|
`always_show` char(1) NOT NULL DEFAULT '0' COMMENT '是否总是显示 0是 1否',
|
|
|
|
`hidden` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '是否隐藏 0是 1否',
|
|
|
|
`hidden` char(1) NOT NULL DEFAULT '0' COMMENT '是否隐藏 0是 1否',
|
|
|
|
`deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '删除状态',
|
|
|
|
`deleted` char(1) NOT NULL DEFAULT '0' COMMENT '删除状态',
|
|
|
|
`version` int(11) NOT NULL COMMENT '版本(乐观锁)',
|
|
|
|
`version` int(11) NOT NULL COMMENT '版本(乐观锁)',
|
|
|
|
`create_by` bigint(19) 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_by` bigint(19) NOT NULL COMMENT '修改用户',
|
|
|
|
`update_time` datetime(0) NOT NULL COMMENT '修改日期',
|
|
|
|
`update_time` datetime NOT NULL COMMENT '修改日期',
|
|
|
|
`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,
|
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
INDEX `pid`(`parent_id`) USING BTREE COMMENT '上级id'
|
|
|
|
KEY `pid` (`parent_id`) USING BTREE COMMENT '上级id'
|
|
|
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统功能表' ROW_FORMAT = Dynamic;
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='系统功能表';
|
|
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Records of sys_menu
|
|
|
|
-- Records of sys_menu
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
|
|
|
|
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 (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/system/menuManagement/index', NULL, 1, '0', '0', '0', 0, 1, '2020-04-14 19:07:31', 1, '2020-10-07 23:49:36', '2021-05-07 19:28:50');
|
|
|
|
INSERT INTO `sys_menu` VALUES (2, 1, '菜单管理', NULL, NULL, '1', 'menu', 'views/modules/system/menuManagement/index', NULL, 1, '0', '0', '0', 0, 1, '2020-04-14 19:07:31', 1, '2020-10-07 23:49:36', '2021-05-07 19:28:50');
|
|
|
|
INSERT INTO `sys_menu` VALUES (3, 1, '用户管理', NULL, '<vab-icon :icon=\"[\'fas\', \'users\']\"></vab-icon>', '1', 'user', 'views/modules/system/userManagement/index', NULL, 2, '0', '0', '0', 0, 1, '2020-04-14 19:07:31', 1, '2020-10-10 17:03:04', '2021-05-07 19:28:50');
|
|
|
|
INSERT INTO `sys_menu` VALUES (3, 1, '用户管理', NULL, '<vab-icon :icon=\"[\'fas\', \'users\']\"></vab-icon>', '1', 'user', 'views/modules/system/userManagement/index', NULL, 2, '0', '0', '0', 0, 1, '2020-04-14 19:07:31', 1, '2020-10-10 17:03:04', '2021-05-07 19:28:50');
|
|
|
@ -6079,6 +6094,7 @@ INSERT INTO `sys_menu` VALUES (1387633960401383426, 1387633500164599809, '新增
|
|
|
|
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 (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 (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');
|
|
|
|
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
|
|
|
|
-- Table structure for sys_options
|
|
|
@ -6086,24 +6102,25 @@ INSERT INTO `sys_menu` VALUES (1389555212654223361, 1327893773049262082, '生成
|
|
|
|
DROP TABLE IF EXISTS `sys_options`;
|
|
|
|
DROP TABLE IF EXISTS `sys_options`;
|
|
|
|
CREATE TABLE `sys_options` (
|
|
|
|
CREATE TABLE `sys_options` (
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '唯一主键',
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '唯一主键',
|
|
|
|
`option_code` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '参数编号',
|
|
|
|
`option_code` varchar(100) NOT NULL COMMENT '参数编号',
|
|
|
|
`option_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '参数名称',
|
|
|
|
`option_name` varchar(200) NOT NULL COMMENT '参数名称',
|
|
|
|
`option_value` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '参数值',
|
|
|
|
`option_value` text COMMENT '参数值',
|
|
|
|
`iz_lock` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否内置 0否 1是',
|
|
|
|
`iz_lock` char(1) NOT NULL COMMENT '是否内置 0否 1是',
|
|
|
|
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
|
|
|
|
`remark` varchar(255) DEFAULT NULL COMMENT '备注',
|
|
|
|
`version` int(11) NOT NULL DEFAULT 0 COMMENT '版本(乐观锁)',
|
|
|
|
`version` int(11) NOT NULL DEFAULT '0' COMMENT '版本(乐观锁)',
|
|
|
|
`create_by` bigint(19) 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_by` bigint(19) NOT NULL COMMENT '修改用户',
|
|
|
|
`update_time` datetime(0) NOT NULL COMMENT '修改日期',
|
|
|
|
`update_time` datetime NOT NULL COMMENT '修改日期',
|
|
|
|
`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,
|
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
UNIQUE INDEX `index`(`option_code`) USING BTREE COMMENT '参数编号唯一'
|
|
|
|
UNIQUE KEY `index` (`option_code`) USING BTREE COMMENT '参数编号唯一'
|
|
|
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统参数表' ROW_FORMAT = Dynamic;
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='系统参数表';
|
|
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Records of sys_options
|
|
|
|
-- 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 (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 (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');
|
|
|
|
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');
|
|
|
@ -6117,11 +6134,12 @@ 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 (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 (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 (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 (1388327975470596098, 'storage_type', 'storage_type', 'local', '1', NULL, 0, 1313694379541635074, '2021-05-01 11:02:38', 1313694379541635074, '2021-05-01 11:02:38', '2021-05-01 11:02:37');
|
|
|
|
INSERT INTO `sys_options` VALUES (1388327975470596098, 'storage_type', 'storage_type', 'local', '1', NULL, 0, 1313694379541635074, '2021-05-01 11:02:38', 1313694379541635074, '2021-05-01 11:02:38', '2021-05-11 10:57:44');
|
|
|
|
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 (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 (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 (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');
|
|
|
|
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
|
|
|
|
-- Table structure for sys_org
|
|
|
@ -6129,28 +6147,29 @@ INSERT INTO `sys_options` VALUES (1388333500516384770, '444', '444', '444', '0',
|
|
|
|
DROP TABLE IF EXISTS `sys_org`;
|
|
|
|
DROP TABLE IF EXISTS `sys_org`;
|
|
|
|
CREATE TABLE `sys_org` (
|
|
|
|
CREATE TABLE `sys_org` (
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '字典主键',
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '字典主键',
|
|
|
|
`parent_id` bigint(19) NOT NULL DEFAULT 0 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_code` varchar(120) NOT NULL COMMENT '组织机构编号',
|
|
|
|
`org_name` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '组织机构名称',
|
|
|
|
`org_name` varchar(120) NOT NULL COMMENT '组织机构名称',
|
|
|
|
`org_type` int(3) NOT NULL COMMENT '组织机构类型',
|
|
|
|
`org_type` int(3) NOT NULL COMMENT '组织机构类型',
|
|
|
|
`sort_no` int(11) 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是 默认为是',
|
|
|
|
`iz_validate` char(1) NOT NULL DEFAULT '1' COMMENT '开启数据校验:0否,1是 默认为是',
|
|
|
|
`tenant_id` bigint(20) NULL DEFAULT NULL COMMENT '多租户ID',
|
|
|
|
`tenant_id` bigint(20) DEFAULT NULL COMMENT '多租户ID',
|
|
|
|
`deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '删除标记:0未删除,1删除',
|
|
|
|
`deleted` char(1) NOT NULL DEFAULT '0' COMMENT '删除标记:0未删除,1删除',
|
|
|
|
`version` int(11) NOT NULL COMMENT '版本(乐观锁)',
|
|
|
|
`version` int(11) NOT NULL COMMENT '版本(乐观锁)',
|
|
|
|
`create_by` bigint(19) 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_by` bigint(19) NOT NULL COMMENT '修改人',
|
|
|
|
`update_time` datetime(0) NOT NULL COMMENT '修改时间',
|
|
|
|
`update_time` datetime NOT NULL COMMENT '修改时间',
|
|
|
|
`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,
|
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
INDEX `org_index`(`org_code`, `org_name`) USING BTREE,
|
|
|
|
KEY `org_index` (`org_code`,`org_name`) USING BTREE,
|
|
|
|
INDEX `pid`(`parent_id`) USING BTREE COMMENT '上级id'
|
|
|
|
KEY `pid` (`parent_id`) USING BTREE COMMENT '上级id'
|
|
|
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '组织机构表' ROW_FORMAT = Dynamic;
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='组织机构表';
|
|
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Records of sys_org
|
|
|
|
-- 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 (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 (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');
|
|
|
|
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');
|
|
|
@ -6161,6 +6180,7 @@ INSERT INTO `sys_org` VALUES (1332880775317581826, 1332879851278856193, '0011_12
|
|
|
|
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 (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 (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');
|
|
|
|
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
|
|
|
|
-- Table structure for sys_role
|
|
|
@ -6168,25 +6188,26 @@ INSERT INTO `sys_org` VALUES (1389268928454987778, 1389268887044624385, '0012_11
|
|
|
|
DROP TABLE IF EXISTS `sys_role`;
|
|
|
|
DROP TABLE IF EXISTS `sys_role`;
|
|
|
|
CREATE TABLE `sys_role` (
|
|
|
|
CREATE TABLE `sys_role` (
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '角色主键',
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '角色主键',
|
|
|
|
`role_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色编码',
|
|
|
|
`role_code` varchar(50) NOT NULL COMMENT '角色编码',
|
|
|
|
`role_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色名称',
|
|
|
|
`role_name` varchar(50) NOT NULL COMMENT '角色名称',
|
|
|
|
`iz_lock` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否内置 0否 1是',
|
|
|
|
`iz_lock` char(1) NOT NULL COMMENT '是否内置 0否 1是',
|
|
|
|
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
|
|
|
|
`remark` varchar(255) DEFAULT NULL COMMENT '备注',
|
|
|
|
`tenant_id` bigint(20) NULL DEFAULT NULL COMMENT '多租户ID',
|
|
|
|
`tenant_id` bigint(20) DEFAULT NULL COMMENT '多租户ID',
|
|
|
|
`deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记:0未删除,1删除',
|
|
|
|
`deleted` char(1) NOT NULL COMMENT '删除标记:0未删除,1删除',
|
|
|
|
`version` int(11) NOT NULL COMMENT '版本(乐观锁)',
|
|
|
|
`version` int(11) NOT NULL COMMENT '版本(乐观锁)',
|
|
|
|
`create_by` bigint(19) 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_by` bigint(19) NOT NULL COMMENT '修改用户',
|
|
|
|
`update_time` datetime(0) NOT NULL COMMENT '修改日期',
|
|
|
|
`update_time` datetime NOT NULL COMMENT '修改日期',
|
|
|
|
`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,
|
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
INDEX `role_code`(`role_code`, `role_name`, `tenant_id`) USING BTREE
|
|
|
|
KEY `role_code` (`role_code`,`role_name`,`tenant_id`) USING BTREE
|
|
|
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色信息表' ROW_FORMAT = Dynamic;
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='角色信息表';
|
|
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Records of sys_role
|
|
|
|
-- 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 (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 (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');
|
|
|
|
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');
|
|
|
@ -6204,6 +6225,7 @@ 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 (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 (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');
|
|
|
|
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
|
|
|
|
-- Table structure for sys_role_menu_ref
|
|
|
@ -6214,12 +6236,13 @@ CREATE TABLE `sys_role_menu_ref` (
|
|
|
|
`menu_id` bigint(19) NOT NULL COMMENT '用户主键',
|
|
|
|
`menu_id` bigint(19) NOT NULL COMMENT '用户主键',
|
|
|
|
`role_id` bigint(19) NOT NULL COMMENT '角色主键',
|
|
|
|
`role_id` bigint(19) NOT NULL COMMENT '角色主键',
|
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
INDEX `sys_role_menu`(`menu_id`, `role_id`) USING BTREE
|
|
|
|
KEY `sys_role_menu` (`menu_id`,`role_id`) USING BTREE
|
|
|
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色功能关联表' ROW_FORMAT = Dynamic;
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='角色功能关联表';
|
|
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Records of sys_role_menu_ref
|
|
|
|
-- Records of sys_role_menu_ref
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
|
|
|
|
BEGIN;
|
|
|
|
INSERT INTO `sys_role_menu_ref` VALUES (1387734139397865475, 1, 2);
|
|
|
|
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 (1312770352622878721, 1, 1312770323526991874);
|
|
|
|
INSERT INTO `sys_role_menu_ref` VALUES (1387734139397865476, 3, 2);
|
|
|
|
INSERT INTO `sys_role_menu_ref` VALUES (1387734139397865476, 3, 2);
|
|
|
@ -6348,6 +6371,7 @@ 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 (1387734139313979399, 1387633960401383426, 2);
|
|
|
|
INSERT INTO `sys_role_menu_ref` VALUES (1387734139313979400, 1387634089447534594, 2);
|
|
|
|
INSERT INTO `sys_role_menu_ref` VALUES (1387734139313979400, 1387634089447534594, 2);
|
|
|
|
INSERT INTO `sys_role_menu_ref` VALUES (1387734139313979401, 1387634157474951169, 2);
|
|
|
|
INSERT INTO `sys_role_menu_ref` VALUES (1387734139313979401, 1387634157474951169, 2);
|
|
|
|
|
|
|
|
COMMIT;
|
|
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Table structure for sys_tenant
|
|
|
|
-- Table structure for sys_tenant
|
|
|
@ -6355,26 +6379,28 @@ INSERT INTO `sys_role_menu_ref` VALUES (1387734139313979401, 1387634157474951169
|
|
|
|
DROP TABLE IF EXISTS `sys_tenant`;
|
|
|
|
DROP TABLE IF EXISTS `sys_tenant`;
|
|
|
|
CREATE TABLE `sys_tenant` (
|
|
|
|
CREATE TABLE `sys_tenant` (
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '唯一主键',
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '唯一主键',
|
|
|
|
`tenant_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '租户名称',
|
|
|
|
`tenant_name` varchar(50) NOT NULL COMMENT '租户名称',
|
|
|
|
`enable` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否启用 0否 1是',
|
|
|
|
`enable` char(1) NOT NULL COMMENT '是否启用 0否 1是',
|
|
|
|
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
|
|
|
|
`remark` varchar(255) DEFAULT NULL COMMENT '备注',
|
|
|
|
`deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记:0未删除,1删除',
|
|
|
|
`deleted` char(1) NOT NULL COMMENT '删除标记:0未删除,1删除',
|
|
|
|
`version` int(11) NOT NULL COMMENT '版本(乐观锁)',
|
|
|
|
`version` int(11) NOT NULL COMMENT '版本(乐观锁)',
|
|
|
|
`create_by` bigint(19) 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_by` bigint(19) NOT NULL COMMENT '修改用户',
|
|
|
|
`update_time` datetime(0) NOT NULL COMMENT '修改日期',
|
|
|
|
`update_time` datetime NOT NULL COMMENT '修改日期',
|
|
|
|
`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,
|
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
INDEX `role_code`(`tenant_name`) USING BTREE
|
|
|
|
KEY `role_code` (`tenant_name`) USING BTREE
|
|
|
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色信息表' ROW_FORMAT = Dynamic;
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='角色信息表';
|
|
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Records of sys_tenant
|
|
|
|
-- 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 (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 (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');
|
|
|
|
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
|
|
|
|
-- Table structure for sys_user
|
|
|
@ -6382,40 +6408,43 @@ INSERT INTO `sys_tenant` VALUES (1315214795665907713, '测试租户', '0', '不
|
|
|
|
DROP TABLE IF EXISTS `sys_user`;
|
|
|
|
DROP TABLE IF EXISTS `sys_user`;
|
|
|
|
CREATE TABLE `sys_user` (
|
|
|
|
CREATE TABLE `sys_user` (
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '用户主键',
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '用户主键',
|
|
|
|
`username` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '登录账户',
|
|
|
|
`username` varchar(32) NOT NULL COMMENT '登录账户',
|
|
|
|
`password` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '登录密码',
|
|
|
|
`password` varchar(50) NOT NULL COMMENT '登录密码',
|
|
|
|
`secret_key` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '盐值,密码秘钥',
|
|
|
|
`password_level` char(50) DEFAULT NULL COMMENT '登录密码强度',
|
|
|
|
`enable` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否启用',
|
|
|
|
`secret_key` varchar(50) NOT NULL COMMENT '盐值,密码秘钥',
|
|
|
|
`real_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '真实姓名',
|
|
|
|
`enable` char(1) NOT NULL COMMENT '是否启用',
|
|
|
|
`mobile` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '手机',
|
|
|
|
`real_name` varchar(50) NOT NULL COMMENT '真实姓名',
|
|
|
|
`no` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '工号',
|
|
|
|
`mobile` varchar(15) DEFAULT NULL COMMENT '手机',
|
|
|
|
`avatar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户头像',
|
|
|
|
`no` varchar(32) NOT NULL COMMENT '工号',
|
|
|
|
`login_ip` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '最后登陆IP',
|
|
|
|
`avatar` varchar(255) DEFAULT NULL COMMENT '用户头像',
|
|
|
|
`email` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '邮箱',
|
|
|
|
`login_ip` varchar(50) DEFAULT NULL COMMENT '最后登陆IP',
|
|
|
|
`sign` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '签名',
|
|
|
|
`email` varchar(100) DEFAULT NULL COMMENT '邮箱',
|
|
|
|
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
|
|
|
|
`sign` varchar(255) DEFAULT NULL COMMENT '签名',
|
|
|
|
`tenant_id` bigint(19) NULL DEFAULT NULL COMMENT '多租户ID',
|
|
|
|
`remark` varchar(255) DEFAULT NULL COMMENT '备注',
|
|
|
|
`deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '删除状态',
|
|
|
|
`tenant_id` bigint(19) DEFAULT NULL COMMENT '多租户ID',
|
|
|
|
|
|
|
|
`deleted` char(1) NOT NULL DEFAULT '0' COMMENT '删除状态',
|
|
|
|
`version` int(11) NOT NULL COMMENT '版本(乐观锁)',
|
|
|
|
`version` int(11) NOT NULL COMMENT '版本(乐观锁)',
|
|
|
|
`create_by` bigint(19) 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_by` bigint(19) NOT NULL COMMENT '修改人',
|
|
|
|
`update_time` datetime(0) NOT NULL COMMENT '修改时间',
|
|
|
|
`update_time` datetime NOT NULL COMMENT '修改时间',
|
|
|
|
`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,
|
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
INDEX `sys_user`(`username`, `real_name`) USING BTREE,
|
|
|
|
KEY `sys_user` (`username`,`real_name`) USING BTREE,
|
|
|
|
INDEX `tenant`(`tenant_id`) USING BTREE COMMENT '租户'
|
|
|
|
KEY `tenant` (`tenant_id`) USING BTREE COMMENT '租户'
|
|
|
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户信息表' ROW_FORMAT = Dynamic;
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户信息表';
|
|
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Records of sys_user
|
|
|
|
-- 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', 95, 1, '2020-09-25 15:03:22', 1, '2021-05-04 01:59:11', '2021-05-04 01:59:10');
|
|
|
|
BEGIN;
|
|
|
|
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 (1, 'system', '3fd98db7dc8e4456166eeb59c2333bba', '1', 'eearly4kbyoz0fqyt3xe', '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-13 16:17:15');
|
|
|
|
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 (1313694379541635074, 'demo', '011eae89281e764ce9774b7f9b18b12a', '1', '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-13 16:17:27');
|
|
|
|
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 (1315218541317750785, 'zhangsan', '386a1212b388a49d6cca827173824914', '1', '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-05-13 16:17:27');
|
|
|
|
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 (1315224529580072961, 'test', '248b77e86f3137b0381e78a0050c8eab', '1', '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-05-13 16:17:27');
|
|
|
|
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');
|
|
|
|
INSERT INTO `sys_user` VALUES (1315224823500120066, 'lyf', 'e7f977aac0007f3ae2b36c46d5fdc5c9', '1', '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-05-13 16:17:27');
|
|
|
|
|
|
|
|
INSERT INTO `sys_user` VALUES (1340328715309092866, 'tests', 'efb6175f6c12483b0e48d8dbb1da2f5c', '1', '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-05-13 16:17:27');
|
|
|
|
|
|
|
|
COMMIT;
|
|
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Table structure for sys_user_org_ref
|
|
|
|
-- Table structure for sys_user_org_ref
|
|
|
@ -6425,17 +6454,19 @@ CREATE TABLE `sys_user_org_ref` (
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '用户角色关联',
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '用户角色关联',
|
|
|
|
`user_id` bigint(19) NOT NULL COMMENT '用户主键',
|
|
|
|
`user_id` bigint(19) NOT NULL COMMENT '用户主键',
|
|
|
|
`org_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,
|
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
INDEX `sys_org_user`(`user_id`, `org_id`, `org_type`) USING BTREE
|
|
|
|
KEY `sys_org_user` (`user_id`,`org_id`,`org_type`) USING BTREE
|
|
|
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '组织机构用户关联表' ROW_FORMAT = Dynamic;
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='组织机构用户关联表';
|
|
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Records of sys_user_org_ref
|
|
|
|
-- 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 (1336194711962796034, 1313694379541635074, 1332710973848449026, '1');
|
|
|
|
INSERT INTO `sys_user_org_ref` VALUES (1336194711996350466, 1313694379541635074, 1332879851278856193, '2');
|
|
|
|
INSERT INTO `sys_user_org_ref` VALUES (1336194711996350466, 1313694379541635074, 1332879851278856193, '2');
|
|
|
|
INSERT INTO `sys_user_org_ref` VALUES (1336204588500140033, 1315224823500120066, 1332878633177477122, '1');
|
|
|
|
INSERT INTO `sys_user_org_ref` VALUES (1336204588500140033, 1315224823500120066, 1332878633177477122, '1');
|
|
|
|
|
|
|
|
COMMIT;
|
|
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Table structure for sys_user_role_ref
|
|
|
|
-- Table structure for sys_user_role_ref
|
|
|
@ -6446,12 +6477,13 @@ CREATE TABLE `sys_user_role_ref` (
|
|
|
|
`user_id` bigint(19) NOT NULL COMMENT '用户主键',
|
|
|
|
`user_id` bigint(19) NOT NULL COMMENT '用户主键',
|
|
|
|
`role_id` bigint(19) NOT NULL COMMENT '角色主键',
|
|
|
|
`role_id` bigint(19) NOT NULL COMMENT '角色主键',
|
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
INDEX `sys_user_role`(`user_id`, `role_id`) USING BTREE
|
|
|
|
KEY `sys_user_role` (`user_id`,`role_id`) USING BTREE
|
|
|
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户角色关联表' ROW_FORMAT = Dynamic;
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户角色关联表';
|
|
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Records of sys_user_role_ref
|
|
|
|
-- Records of sys_user_role_ref
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
|
|
|
|
BEGIN;
|
|
|
|
INSERT INTO `sys_user_role_ref` VALUES (1365262284070248450, 1, 1313050074675007490);
|
|
|
|
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 (1365262284091219969, 1, 1313050098867752962);
|
|
|
|
INSERT INTO `sys_user_role_ref` VALUES (1365262284091219970, 1, 1313050122074836994);
|
|
|
|
INSERT INTO `sys_user_role_ref` VALUES (1365262284091219970, 1, 1313050122074836994);
|
|
|
@ -6461,6 +6493,7 @@ 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 (1315220477014192130, 1315218541317750785, 1313146842146213890);
|
|
|
|
INSERT INTO `sys_user_role_ref` VALUES (1315224868903460865, 1315224823500120066, 1313146842146213890);
|
|
|
|
INSERT INTO `sys_user_role_ref` VALUES (1315224868903460865, 1315224823500120066, 1313146842146213890);
|
|
|
|
INSERT INTO `sys_user_role_ref` VALUES (1340330479513047041, 1340328715309092866, 1313146842146213890);
|
|
|
|
INSERT INTO `sys_user_role_ref` VALUES (1340330479513047041, 1340328715309092866, 1313146842146213890);
|
|
|
|
|
|
|
|
COMMIT;
|
|
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Table structure for test_car
|
|
|
|
-- Table structure for test_car
|
|
|
@ -6468,25 +6501,26 @@ INSERT INTO `sys_user_role_ref` VALUES (1340330479513047041, 1340328715309092866
|
|
|
|
DROP TABLE IF EXISTS `test_car`;
|
|
|
|
DROP TABLE IF EXISTS `test_car`;
|
|
|
|
CREATE TABLE `test_car` (
|
|
|
|
CREATE TABLE `test_car` (
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '主键',
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '主键',
|
|
|
|
`car_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '汽车名称',
|
|
|
|
`car_name` varchar(20) NOT NULL COMMENT '汽车名称',
|
|
|
|
`car_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '汽车类型',
|
|
|
|
`car_type` varchar(20) NOT NULL COMMENT '汽车类型',
|
|
|
|
`car_brand` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '汽车品牌',
|
|
|
|
`car_brand` varchar(50) DEFAULT NULL COMMENT '汽车品牌',
|
|
|
|
`produce_data` date NOT NULL COMMENT '生产日期',
|
|
|
|
`produce_data` date NOT NULL COMMENT '生产日期',
|
|
|
|
`iz_usable` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否启用',
|
|
|
|
`iz_usable` char(1) NOT NULL COMMENT '是否启用',
|
|
|
|
`tenant_id` bigint(19) NULL DEFAULT NULL COMMENT '多租户ID',
|
|
|
|
`tenant_id` bigint(19) DEFAULT NULL COMMENT '多租户ID',
|
|
|
|
`deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记:0未删除,1删除',
|
|
|
|
`deleted` char(1) NOT NULL COMMENT '删除标记:0未删除,1删除',
|
|
|
|
`version` int(10) NOT NULL COMMENT '版本号(乐观锁)',
|
|
|
|
`version` int(10) NOT NULL COMMENT '版本号(乐观锁)',
|
|
|
|
`create_by` bigint(19) 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_by` bigint(19) NOT NULL COMMENT '修改用户',
|
|
|
|
`update_time` datetime(0) NOT NULL COMMENT '修改日期',
|
|
|
|
`update_time` datetime NOT NULL COMMENT '修改日期',
|
|
|
|
`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
|
|
|
|
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
|
|
|
|
-- 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 (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 (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');
|
|
|
|
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');
|
|
|
@ -6494,6 +6528,7 @@ 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 (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 (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');
|
|
|
|
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
|
|
|
|
-- Table structure for test_car_copy1
|
|
|
@ -6501,21 +6536,21 @@ INSERT INTO `test_car` VALUES (1340635288099958786, '奔驰GXX', 'Gxx', '奔驰'
|
|
|
|
DROP TABLE IF EXISTS `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 '主键',
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '主键',
|
|
|
|
`car_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '汽车名称',
|
|
|
|
`car_name` varchar(20) NOT NULL COMMENT '汽车名称',
|
|
|
|
`car_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '汽车类型',
|
|
|
|
`car_type` varchar(20) NOT NULL COMMENT '汽车类型',
|
|
|
|
`car_brand` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '汽车品牌',
|
|
|
|
`car_brand` varchar(50) DEFAULT NULL COMMENT '汽车品牌',
|
|
|
|
`produce_data` date NOT NULL COMMENT '生产日期',
|
|
|
|
`produce_data` date NOT NULL COMMENT '生产日期',
|
|
|
|
`iz_usable` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否启用',
|
|
|
|
`iz_usable` char(1) NOT NULL COMMENT '是否启用',
|
|
|
|
`tenant_id` bigint(19) NULL DEFAULT NULL COMMENT '多租户ID',
|
|
|
|
`tenant_id` bigint(19) DEFAULT NULL COMMENT '多租户ID',
|
|
|
|
`deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记:0未删除,1删除',
|
|
|
|
`deleted` char(1) NOT NULL COMMENT '删除标记:0未删除,1删除',
|
|
|
|
`version` int(10) NOT NULL COMMENT '版本号(乐观锁)',
|
|
|
|
`version` int(10) NOT NULL COMMENT '版本号(乐观锁)',
|
|
|
|
`create_by` bigint(19) 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_by` bigint(19) NOT NULL COMMENT '修改用户',
|
|
|
|
`update_time` datetime(0) NOT NULL COMMENT '修改日期',
|
|
|
|
`update_time` datetime NOT NULL COMMENT '修改日期',
|
|
|
|
`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
|
|
|
|
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
|
|
|
|
-- Table structure for test_car_copy2
|
|
|
@ -6523,21 +6558,21 @@ CREATE TABLE `test_car_copy1` (
|
|
|
|
DROP TABLE IF EXISTS `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 '主键',
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '主键',
|
|
|
|
`car_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '汽车名称',
|
|
|
|
`car_name` varchar(20) NOT NULL COMMENT '汽车名称',
|
|
|
|
`car_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '汽车类型',
|
|
|
|
`car_type` varchar(20) NOT NULL COMMENT '汽车类型',
|
|
|
|
`car_brand` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '汽车品牌',
|
|
|
|
`car_brand` varchar(50) DEFAULT NULL COMMENT '汽车品牌',
|
|
|
|
`produce_data` date NOT NULL COMMENT '生产日期',
|
|
|
|
`produce_data` date NOT NULL COMMENT '生产日期',
|
|
|
|
`iz_usable` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否启用',
|
|
|
|
`iz_usable` char(1) NOT NULL COMMENT '是否启用',
|
|
|
|
`tenant_id` bigint(19) NULL DEFAULT NULL COMMENT '多租户ID',
|
|
|
|
`tenant_id` bigint(19) DEFAULT NULL COMMENT '多租户ID',
|
|
|
|
`deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记:0未删除,1删除',
|
|
|
|
`deleted` char(1) NOT NULL COMMENT '删除标记:0未删除,1删除',
|
|
|
|
`version` int(10) NOT NULL COMMENT '版本号(乐观锁)',
|
|
|
|
`version` int(10) NOT NULL COMMENT '版本号(乐观锁)',
|
|
|
|
`create_by` bigint(19) 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_by` bigint(19) NOT NULL COMMENT '修改用户',
|
|
|
|
`update_time` datetime(0) NOT NULL COMMENT '修改日期',
|
|
|
|
`update_time` datetime NOT NULL COMMENT '修改日期',
|
|
|
|
`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
|
|
|
|
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
|
|
|
|
-- Table structure for test_car_copy3
|
|
|
@ -6545,21 +6580,21 @@ CREATE TABLE `test_car_copy2` (
|
|
|
|
DROP TABLE IF EXISTS `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 '主键',
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '主键',
|
|
|
|
`car_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '汽车名称',
|
|
|
|
`car_name` varchar(20) NOT NULL COMMENT '汽车名称',
|
|
|
|
`car_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '汽车类型',
|
|
|
|
`car_type` varchar(20) NOT NULL COMMENT '汽车类型',
|
|
|
|
`car_brand` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '汽车品牌',
|
|
|
|
`car_brand` varchar(50) DEFAULT NULL COMMENT '汽车品牌',
|
|
|
|
`produce_data` date NOT NULL COMMENT '生产日期',
|
|
|
|
`produce_data` date NOT NULL COMMENT '生产日期',
|
|
|
|
`iz_usable` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否启用',
|
|
|
|
`iz_usable` char(1) NOT NULL COMMENT '是否启用',
|
|
|
|
`tenant_id` bigint(19) NULL DEFAULT NULL COMMENT '多租户ID',
|
|
|
|
`tenant_id` bigint(19) DEFAULT NULL COMMENT '多租户ID',
|
|
|
|
`deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记:0未删除,1删除',
|
|
|
|
`deleted` char(1) NOT NULL COMMENT '删除标记:0未删除,1删除',
|
|
|
|
`version` int(10) NOT NULL COMMENT '版本号(乐观锁)',
|
|
|
|
`version` int(10) NOT NULL COMMENT '版本号(乐观锁)',
|
|
|
|
`create_by` bigint(19) 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_by` bigint(19) NOT NULL COMMENT '修改用户',
|
|
|
|
`update_time` datetime(0) NOT NULL COMMENT '修改日期',
|
|
|
|
`update_time` datetime NOT NULL COMMENT '修改日期',
|
|
|
|
`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
|
|
|
|
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
|
|
|
|
-- Table structure for test_car_copy4
|
|
|
@ -6567,21 +6602,21 @@ CREATE TABLE `test_car_copy3` (
|
|
|
|
DROP TABLE IF EXISTS `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 '主键',
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '主键',
|
|
|
|
`car_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '汽车名称',
|
|
|
|
`car_name` varchar(20) NOT NULL COMMENT '汽车名称',
|
|
|
|
`car_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '汽车类型',
|
|
|
|
`car_type` varchar(20) NOT NULL COMMENT '汽车类型',
|
|
|
|
`car_brand` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '汽车品牌',
|
|
|
|
`car_brand` varchar(50) DEFAULT NULL COMMENT '汽车品牌',
|
|
|
|
`produce_data` date NOT NULL COMMENT '生产日期',
|
|
|
|
`produce_data` date NOT NULL COMMENT '生产日期',
|
|
|
|
`iz_usable` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否启用',
|
|
|
|
`iz_usable` char(1) NOT NULL COMMENT '是否启用',
|
|
|
|
`tenant_id` bigint(19) NULL DEFAULT NULL COMMENT '多租户ID',
|
|
|
|
`tenant_id` bigint(19) DEFAULT NULL COMMENT '多租户ID',
|
|
|
|
`deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记:0未删除,1删除',
|
|
|
|
`deleted` char(1) NOT NULL COMMENT '删除标记:0未删除,1删除',
|
|
|
|
`version` int(10) NOT NULL COMMENT '版本号(乐观锁)',
|
|
|
|
`version` int(10) NOT NULL COMMENT '版本号(乐观锁)',
|
|
|
|
`create_by` bigint(19) 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_by` bigint(19) NOT NULL COMMENT '修改用户',
|
|
|
|
`update_time` datetime(0) NOT NULL COMMENT '修改日期',
|
|
|
|
`update_time` datetime NOT NULL COMMENT '修改日期',
|
|
|
|
`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
|
|
|
|
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
|
|
|
|
-- Table structure for test_car_copy5
|
|
|
@ -6589,21 +6624,21 @@ CREATE TABLE `test_car_copy4` (
|
|
|
|
DROP TABLE IF EXISTS `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 '主键',
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '主键',
|
|
|
|
`car_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '汽车名称',
|
|
|
|
`car_name` varchar(20) NOT NULL COMMENT '汽车名称',
|
|
|
|
`car_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '汽车类型',
|
|
|
|
`car_type` varchar(20) NOT NULL COMMENT '汽车类型',
|
|
|
|
`car_brand` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '汽车品牌',
|
|
|
|
`car_brand` varchar(50) DEFAULT NULL COMMENT '汽车品牌',
|
|
|
|
`produce_data` date NOT NULL COMMENT '生产日期',
|
|
|
|
`produce_data` date NOT NULL COMMENT '生产日期',
|
|
|
|
`iz_usable` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否启用',
|
|
|
|
`iz_usable` char(1) NOT NULL COMMENT '是否启用',
|
|
|
|
`tenant_id` bigint(19) NULL DEFAULT NULL COMMENT '多租户ID',
|
|
|
|
`tenant_id` bigint(19) DEFAULT NULL COMMENT '多租户ID',
|
|
|
|
`deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记:0未删除,1删除',
|
|
|
|
`deleted` char(1) NOT NULL COMMENT '删除标记:0未删除,1删除',
|
|
|
|
`version` int(10) NOT NULL COMMENT '版本号(乐观锁)',
|
|
|
|
`version` int(10) NOT NULL COMMENT '版本号(乐观锁)',
|
|
|
|
`create_by` bigint(19) 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_by` bigint(19) NOT NULL COMMENT '修改用户',
|
|
|
|
`update_time` datetime(0) NOT NULL COMMENT '修改日期',
|
|
|
|
`update_time` datetime NOT NULL COMMENT '修改日期',
|
|
|
|
`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
|
|
|
|
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
|
|
|
|
-- Table structure for test_entity
|
|
|
@ -6611,22 +6646,23 @@ CREATE TABLE `test_car_copy5` (
|
|
|
|
DROP TABLE IF EXISTS `test_entity`;
|
|
|
|
DROP TABLE IF EXISTS `test_entity`;
|
|
|
|
CREATE TABLE `test_entity` (
|
|
|
|
CREATE TABLE `test_entity` (
|
|
|
|
`id` bigint(19) NOT NULL,
|
|
|
|
`id` bigint(19) NOT NULL,
|
|
|
|
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
|
|
|
|
`name` varchar(255) DEFAULT NULL,
|
|
|
|
`type` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
|
|
|
`type` varchar(120) NOT NULL,
|
|
|
|
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
|
|
|
|
`remark` varchar(255) DEFAULT NULL,
|
|
|
|
`tenant_id` bigint(19) NULL DEFAULT NULL COMMENT '多租户ID',
|
|
|
|
`tenant_id` bigint(19) DEFAULT NULL COMMENT '多租户ID',
|
|
|
|
`create_by` bigint(19) NOT NULL,
|
|
|
|
`create_by` bigint(19) NOT NULL,
|
|
|
|
`create_time` datetime(0) NOT NULL,
|
|
|
|
`create_time` datetime NOT NULL,
|
|
|
|
`update_by` bigint(19) NOT NULL,
|
|
|
|
`update_by` bigint(19) NOT NULL,
|
|
|
|
`update_time` datetime(0) NOT NULL,
|
|
|
|
`update_time` datetime NOT NULL,
|
|
|
|
`version` int(11) 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
|
|
|
|
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
|
|
|
|
-- 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 (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 (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');
|
|
|
|
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');
|
|
|
@ -31351,6 +31387,7 @@ 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 (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 (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');
|
|
|
|
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
|
|
|
|
-- Table structure for test_user
|
|
|
@ -31358,25 +31395,26 @@ INSERT INTO `test_entity` VALUES (1365267353335410690, '测试名称2131386477',
|
|
|
|
DROP TABLE IF EXISTS `test_user`;
|
|
|
|
DROP TABLE IF EXISTS `test_user`;
|
|
|
|
CREATE TABLE `test_user` (
|
|
|
|
CREATE TABLE `test_user` (
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '主键',
|
|
|
|
`id` bigint(19) NOT NULL COMMENT '主键',
|
|
|
|
`name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '名称',
|
|
|
|
`name` varchar(50) DEFAULT NULL COMMENT '名称',
|
|
|
|
`money` double(8, 2) NOT NULL COMMENT '金钱',
|
|
|
|
`money` double(8,2) NOT NULL COMMENT '金钱',
|
|
|
|
`age` smallint(5) NOT NULL COMMENT '年龄',
|
|
|
|
`age` smallint(5) NOT NULL COMMENT '年龄',
|
|
|
|
`birth` date NOT NULL COMMENT '生日',
|
|
|
|
`birth` date NOT NULL COMMENT '生日',
|
|
|
|
`iz_usable` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否启用',
|
|
|
|
`iz_usable` char(1) NOT NULL COMMENT '是否启用',
|
|
|
|
`tenant_id` bigint(19) NULL DEFAULT NULL COMMENT '多租户ID',
|
|
|
|
`tenant_id` bigint(19) DEFAULT NULL COMMENT '多租户ID',
|
|
|
|
`deleted` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标记:0未删除,1删除',
|
|
|
|
`deleted` char(1) NOT NULL COMMENT '删除标记:0未删除,1删除',
|
|
|
|
`version` int(10) NOT NULL COMMENT '版本号(乐观锁)',
|
|
|
|
`version` int(10) NOT NULL COMMENT '版本号(乐观锁)',
|
|
|
|
`create_by` bigint(19) 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_by` bigint(19) NOT NULL COMMENT '修改用户',
|
|
|
|
`update_time` datetime(0) NOT NULL COMMENT '修改日期',
|
|
|
|
`update_time` datetime NOT NULL COMMENT '修改日期',
|
|
|
|
`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
|
|
|
|
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
|
|
|
|
-- 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 (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 (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');
|
|
|
|
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');
|
|
|
@ -31396,5 +31434,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 (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 (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');
|
|
|
|
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;
|
|
|
|
SET FOREIGN_KEY_CHECKS = 1;
|
|
|
|