From 8023913b1210a8e72f10d3a1e8e2286cbd2257d5 Mon Sep 17 00:00:00 2001 From: smallchill Date: Tue, 7 May 2019 14:15:14 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E4=BC=98=E5=8C=96sql=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/sql/bladex-saber-mysql.sql | 10 +++++----- doc/sql/bladex-sword-mysql.sql | 6 +++--- doc/sql/bladex-update-RC9.sql | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/sql/bladex-saber-mysql.sql b/doc/sql/bladex-saber-mysql.sql index 98103451..646e23d1 100644 --- a/doc/sql/bladex-saber-mysql.sql +++ b/doc/sql/bladex-saber-mysql.sql @@ -11,7 +11,7 @@ Target Server Version : 50723 File Encoding : 65001 - Date: 07/05/2019 14:01:24 + Date: 07/05/2019 14:09:57 */ SET NAMES utf8mb4; @@ -151,7 +151,7 @@ CREATE TABLE `blade_log_api` ( -- Records of blade_log_api -- ---------------------------- BEGIN; -INSERT INTO `blade_log_api` VALUES (1125388216836780034, '000000', 'blade-api', 'smallchill-3.local', '192.168.0.122:80', 'dev', '1', '登录用户验证', 'POST', '/blade-auth/oauth/token', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36', '127.0.0.1', 'org.springblade.modules.auth.AuthController', 'token', 'tenantCode=000000&username=admin&password=admin&grant_type=password&scope=all&type=account', '128', '', '2019-05-06 21:13:54'), (1125388649185636354, '000000', 'blade-api', 'smallchill-3.local', '192.168.0.122:80', 'dev', '1', '登录用户验证', 'POST', '/blade-auth/oauth/token', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36', '127.0.0.1', 'org.springblade.modules.auth.AuthController', 'token', 'tenantCode=000000&username=admin&password=admin&grant_type=password&scope=all&type=account', '16', '', '2019-05-06 21:15:37'), (1125388961841639426, '000000', 'blade-api', 'smallchill-3.local', '192.168.0.122:80', 'dev', '1', '登录用户验证', 'POST', '/blade-auth/oauth/token', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36', '127.0.0.1', 'org.springblade.modules.auth.AuthController', 'token', 'tenantCode=000000&username=admin&password=admin&grant_type=password&scope=all&type=account', '10', '', '2019-05-06 21:16:52'), (1125389261314945025, '000000', 'blade-api', 'smallchill-3.local', '192.168.0.122:80', 'dev', '1', '登录用户验证', 'POST', '/blade-auth/oauth/token', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36', '127.0.0.1', 'org.springblade.modules.auth.AuthController', 'token', 'password=admin&grant_type=password&scope=all&tenantCode=000000&type=account&username=admin', '11', '', '2019-05-06 21:18:03'), (1125583685718310913, '000000', 'blade-api', 'smallchill-3.local', '192.168.0.129:80', 'dev', '1', '登录用户验证', 'POST', '/blade-auth/oauth/token', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36', '127.0.0.1', 'org.springblade.modules.auth.AuthController', 'token', 'tenantCode=000000&username=admin&password=admin&grant_type=password&scope=all&type=account', '70', '', '2019-05-07 10:10:38'); +INSERT INTO `blade_log_api` VALUES (1125388216836780034, '000000', 'blade-api', 'smallchill-3.local', '192.168.0.122:80', 'dev', '1', '登录用户验证', 'POST', '/blade-auth/oauth/token', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36', '127.0.0.1', 'org.springblade.modules.auth.AuthController', 'token', 'tenantCode=000000&username=admin&password=admin&grant_type=password&scope=all&type=account', '128', '', '2019-05-06 21:13:54'), (1125388649185636354, '000000', 'blade-api', 'smallchill-3.local', '192.168.0.122:80', 'dev', '1', '登录用户验证', 'POST', '/blade-auth/oauth/token', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36', '127.0.0.1', 'org.springblade.modules.auth.AuthController', 'token', 'tenantCode=000000&username=admin&password=admin&grant_type=password&scope=all&type=account', '16', '', '2019-05-06 21:15:37'), (1125388961841639426, '000000', 'blade-api', 'smallchill-3.local', '192.168.0.122:80', 'dev', '1', '登录用户验证', 'POST', '/blade-auth/oauth/token', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36', '127.0.0.1', 'org.springblade.modules.auth.AuthController', 'token', 'tenantCode=000000&username=admin&password=admin&grant_type=password&scope=all&type=account', '10', '', '2019-05-06 21:16:52'), (1125389261314945025, '000000', 'blade-api', 'smallchill-3.local', '192.168.0.122:80', 'dev', '1', '登录用户验证', 'POST', '/blade-auth/oauth/token', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36', '127.0.0.1', 'org.springblade.modules.auth.AuthController', 'token', 'password=admin&grant_type=password&scope=all&tenantCode=000000&type=account&username=admin', '11', '', '2019-05-06 21:18:03'), (1125583685718310913, '000000', 'blade-api', 'smallchill-3.local', '192.168.0.129:80', 'dev', '1', '登录用户验证', 'POST', '/blade-auth/oauth/token', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36', '127.0.0.1', 'org.springblade.modules.auth.AuthController', 'token', 'tenantCode=000000&username=admin&password=admin&grant_type=password&scope=all&type=account', '70', '', '2019-05-07 10:10:38'), (1125642132849651714, '000000', 'blade-api', 'smallchill-3.local', '192.168.0.129:80', 'dev', '1', '登录用户验证', 'POST', '/blade-auth/oauth/token', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36', '127.0.0.1', 'org.springblade.modules.auth.AuthController', 'token', 'tenantCode=000000&username=admin&password=admin&grant_type=password&scope=all&type=account', '353', '', '2019-05-07 14:02:53'); COMMIT; -- ---------------------------- @@ -298,9 +298,9 @@ CREATE TABLE `blade_process_leave` ( `reason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '请假理由', `task_user` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '第一级审批人', `apply_time` datetime(0) NULL DEFAULT NULL COMMENT '申请时间', - `create_user` int(11) NULL DEFAULT NULL COMMENT '创建人', + `create_user` bigint(64) NULL DEFAULT NULL COMMENT '创建人', `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', - `update_user` int(11) NULL DEFAULT NULL COMMENT '修改人', + `update_user` bigint(64) NULL DEFAULT NULL COMMENT '修改人', `update_time` datetime(0) NULL DEFAULT NULL COMMENT '修改时间', `status` int(2) NULL DEFAULT NULL COMMENT '状态', `is_deleted` int(2) NULL DEFAULT NULL COMMENT '是否已删除', @@ -404,7 +404,7 @@ CREATE TABLE `blade_user` ( -- Records of blade_user -- ---------------------------- BEGIN; -INSERT INTO `blade_user` VALUES (1123598821738675201, '000000', 'admin', '90b9aa7e25f80cf4f64e990b78a9fc5ebd6cecad', '管理员', '管理员', 'admin@bladex.vip', '22233322', '2018-08-08 00:00:00', 1, '1123598816738675201', '1123598813738675201', 1123598821738675201, '2018-08-08 00:00:00', 1123598821738675201, '2018-08-08 00:00:00', 1, 0), (1123598821738675202, '000000', 'hr', '5e79b90f7bba52d54115f086e48f539016a27ec6', '人事', '人事', 'hr@bladex.vip', '123333333333', '2018-08-08 00:00:00', 1, '1123598816738675203', '1123598813738675201', 1123598821738675201, '2019-04-27 17:03:10', 1123598821738675201, '2019-04-27 17:03:10', 1, 0), (1123598821738675203, '000000', 'manager', 'dfbaa3b61caa3a319f463cc165085aa8c822d2ce', '经理', '经理', 'manager@bladex.vip', '123333333333', '2018-08-08 00:00:00', 1, '1123598816738675204', '1123598813738675201', 1123598821738675201, '2019-04-27 17:03:38', 1123598821738675201, '2019-04-27 17:03:38', 1, 0), (1123598821738675204, '000000', 'boss', 'abe57d23e18f7ad8ea99c86e430c90a05119a9d3', '老板', '老板', 'boss@bladex.vip', '123333333333', '2018-08-08 00:00:00', 1, '1123598816738675205', '1123598813738675201', 1123598821738675201, '2019-04-27 17:03:55', 1123598821738675201, '2019-04-27 17:03:55', 1, 0); +INSERT INTO `blade_user` VALUES (1123598821738675201, '000000', 'admin', '90b9aa7e25f80cf4f64e990b78a9fc5ebd6cecad', '管理员', '管理员', 'admin@bladex.vip', '22233322', '2018-08-08 00:00:00', 1, '1123598816738675201', '1123598813738675201', 1123598821738675200, '2018-08-08 00:00:00', 1123598821738675201, '2019-05-07 14:03:24', 1, 0), (1123598821738675202, '000000', 'hr', '5e79b90f7bba52d54115f086e48f539016a27ec6', '人事', '人事', 'hr@bladex.vip', '123333333333', '2018-08-08 00:00:00', 1, '1123598816738675203', '1123598813738675201', 1123598821738675201, '2019-04-27 17:03:10', 1123598821738675201, '2019-04-27 17:03:10', 1, 0), (1123598821738675203, '000000', 'manager', 'dfbaa3b61caa3a319f463cc165085aa8c822d2ce', '经理', '经理', 'manager@bladex.vip', '123333333333', '2018-08-08 00:00:00', 1, '1123598816738675204', '1123598813738675201', 1123598821738675201, '2019-04-27 17:03:38', 1123598821738675201, '2019-04-27 17:03:38', 1, 0), (1123598821738675204, '000000', 'boss', 'abe57d23e18f7ad8ea99c86e430c90a05119a9d3', '老板', '老板', 'boss@bladex.vip', '123333333333', '2018-08-08 00:00:00', 1, '1123598816738675205', '1123598813738675201', 1123598821738675201, '2019-04-27 17:03:55', 1123598821738675201, '2019-04-27 17:03:55', 1, 0); COMMIT; SET FOREIGN_KEY_CHECKS = 1; diff --git a/doc/sql/bladex-sword-mysql.sql b/doc/sql/bladex-sword-mysql.sql index b7fe5b07..72543d0f 100644 --- a/doc/sql/bladex-sword-mysql.sql +++ b/doc/sql/bladex-sword-mysql.sql @@ -11,7 +11,7 @@ Target Server Version : 50723 File Encoding : 65001 - Date: 07/05/2019 14:00:35 + Date: 07/05/2019 14:10:34 */ SET NAMES utf8mb4; @@ -291,9 +291,9 @@ CREATE TABLE `blade_process_leave` ( `reason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '请假理由', `task_user` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '第一级审批人', `apply_time` datetime(0) NULL DEFAULT NULL COMMENT '申请时间', - `create_user` int(11) NULL DEFAULT NULL COMMENT '创建人', + `create_user` bigint(64) NULL DEFAULT NULL COMMENT '创建人', `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', - `update_user` int(11) NULL DEFAULT NULL COMMENT '修改人', + `update_user` bigint(64) NULL DEFAULT NULL COMMENT '修改人', `update_time` datetime(0) NULL DEFAULT NULL COMMENT '修改时间', `status` int(2) NULL DEFAULT NULL COMMENT '状态', `is_deleted` int(2) NULL DEFAULT NULL COMMENT '是否已删除', diff --git a/doc/sql/bladex-update-RC9.sql b/doc/sql/bladex-update-RC9.sql index 49115181..5aba0ae6 100644 --- a/doc/sql/bladex-update-RC9.sql +++ b/doc/sql/bladex-update-RC9.sql @@ -130,9 +130,9 @@ CREATE TABLE `blade_process_leave` ( `reason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '请假理由', `task_user` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '第一级审批人', `apply_time` datetime(0) NULL DEFAULT NULL COMMENT '申请时间', -`create_user` int(11) NULL DEFAULT NULL COMMENT '创建人', +`create_user` bigint(64) NULL DEFAULT NULL COMMENT '创建人', `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', -`update_user` int(11) NULL DEFAULT NULL COMMENT '修改人', +`update_user` bigint(64) DEFAULT NULL COMMENT '修改人', `update_time` datetime(0) NULL DEFAULT NULL COMMENT '修改时间', `status` int(2) NULL DEFAULT NULL COMMENT '状态', `is_deleted` int(2) NULL DEFAULT NULL COMMENT '是否已删除',