修复引入多租户后,前端 <img /> 读取图片报错的问题

pull/2/head
YunaiV 2021-12-15 13:08:15 +08:00
parent b99f364d92
commit abf61bfdea
6 changed files with 671 additions and 727 deletions

View File

@ -11,7 +11,7 @@
Target Server Version : 80026 Target Server Version : 80026
File Encoding : 65001 File Encoding : 65001
Date: 14/12/2021 22:59:14 Date: 15/12/2021 13:07:09
*/ */
SET NAMES utf8mb4; SET NAMES utf8mb4;
@ -23,28 +23,28 @@ SET FOREIGN_KEY_CHECKS = 0;
DROP TABLE IF EXISTS `inf_api_access_log`; DROP TABLE IF EXISTS `inf_api_access_log`;
CREATE TABLE `inf_api_access_log` ( CREATE TABLE `inf_api_access_log` (
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '', `id` bigint NOT NULL AUTO_INCREMENT COMMENT '',
`trace_id` varchar(64) NOT NULL DEFAULT '' COMMENT '', `trace_id` varchar(64) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '',
`user_id` bigint NOT NULL DEFAULT '0' COMMENT '', `user_id` bigint NOT NULL DEFAULT '0' COMMENT '',
`user_type` tinyint NOT NULL DEFAULT '0' COMMENT '', `user_type` tinyint NOT NULL DEFAULT '0' COMMENT '',
`application_name` varchar(50) NOT NULL COMMENT '', `application_name` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`request_method` varchar(16) NOT NULL DEFAULT '' COMMENT '', `request_method` varchar(16) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '',
`request_url` varchar(255) NOT NULL DEFAULT '' COMMENT '', `request_url` varchar(255) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '',
`request_params` varchar(8000) NOT NULL DEFAULT '' COMMENT '', `request_params` varchar(8000) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '',
`user_ip` varchar(50) NOT NULL COMMENT ' IP', `user_ip` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT ' IP',
`user_agent` varchar(512) NOT NULL COMMENT ' UA', `user_agent` varchar(512) COLLATE utf8mb4_general_ci NOT NULL COMMENT ' UA',
`begin_time` datetime NOT NULL COMMENT '', `begin_time` datetime NOT NULL COMMENT '',
`end_time` datetime NOT NULL COMMENT '', `end_time` datetime NOT NULL COMMENT '',
`duration` int NOT NULL COMMENT '', `duration` int NOT NULL COMMENT '',
`result_code` int NOT NULL DEFAULT '0' COMMENT '', `result_code` int NOT NULL DEFAULT '0' COMMENT '',
`result_msg` varchar(512) DEFAULT '' COMMENT '', `result_msg` varchar(512) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`creator` varchar(64) DEFAULT '' COMMENT '', `creator` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) DEFAULT '' COMMENT '', `updater` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
`tenant_id` bigint NOT NULL DEFAULT '0' COMMENT '', `tenant_id` bigint NOT NULL DEFAULT '0' COMMENT '',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=3162 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='API 访'; ) ENGINE=InnoDB AUTO_INCREMENT=3282 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='API 访';
-- ---------------------------- -- ----------------------------
-- Records of inf_api_access_log -- Records of inf_api_access_log
@ -58,30 +58,30 @@ COMMIT;
DROP TABLE IF EXISTS `inf_api_error_log`; DROP TABLE IF EXISTS `inf_api_error_log`;
CREATE TABLE `inf_api_error_log` ( CREATE TABLE `inf_api_error_log` (
`id` int NOT NULL AUTO_INCREMENT COMMENT '', `id` int NOT NULL AUTO_INCREMENT COMMENT '',
`trace_id` varchar(64) NOT NULL COMMENT '\n *\n * 访logger ', `trace_id` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '\n *\n * 访logger ',
`user_id` int NOT NULL DEFAULT '0' COMMENT '', `user_id` int NOT NULL DEFAULT '0' COMMENT '',
`user_type` tinyint NOT NULL DEFAULT '0' COMMENT '', `user_type` tinyint NOT NULL DEFAULT '0' COMMENT '',
`application_name` varchar(50) NOT NULL COMMENT '\n *\n * spring.application.name', `application_name` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '\n *\n * spring.application.name',
`request_method` varchar(16) NOT NULL COMMENT '', `request_method` varchar(16) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`request_url` varchar(255) NOT NULL COMMENT '', `request_url` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`request_params` varchar(8000) NOT NULL COMMENT '', `request_params` varchar(8000) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`user_ip` varchar(50) NOT NULL COMMENT ' IP', `user_ip` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT ' IP',
`user_agent` varchar(512) NOT NULL COMMENT ' UA', `user_agent` varchar(512) COLLATE utf8mb4_general_ci NOT NULL COMMENT ' UA',
`exception_time` datetime NOT NULL COMMENT '', `exception_time` datetime NOT NULL COMMENT '',
`exception_name` varchar(128) NOT NULL DEFAULT '' COMMENT '\n *\n * {@link Throwable#getClass()} ', `exception_name` varchar(128) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '\n *\n * {@link Throwable#getClass()} ',
`exception_message` text NOT NULL COMMENT '\n *\n * {@link cn.iocoder.common.framework.util.ExceptionUtil#getMessage(Throwable)}', `exception_message` text COLLATE utf8mb4_general_ci NOT NULL COMMENT '\n *\n * {@link cn.iocoder.common.framework.util.ExceptionUtil#getMessage(Throwable)}',
`exception_root_cause_message` text NOT NULL COMMENT '\n *\n * {@link cn.iocoder.common.framework.util.ExceptionUtil#getRootCauseMessage(Throwable)}', `exception_root_cause_message` text COLLATE utf8mb4_general_ci NOT NULL COMMENT '\n *\n * {@link cn.iocoder.common.framework.util.ExceptionUtil#getRootCauseMessage(Throwable)}',
`exception_stack_trace` text NOT NULL COMMENT '\n *\n * {@link cn.iocoder.common.framework.util.ExceptionUtil#getServiceException(Exception)}', `exception_stack_trace` text COLLATE utf8mb4_general_ci NOT NULL COMMENT '\n *\n * {@link cn.iocoder.common.framework.util.ExceptionUtil#getServiceException(Exception)}',
`exception_class_name` varchar(512) NOT NULL COMMENT '\n *\n * {@link StackTraceElement#getClassName()}', `exception_class_name` varchar(512) COLLATE utf8mb4_general_ci NOT NULL COMMENT '\n *\n * {@link StackTraceElement#getClassName()}',
`exception_file_name` varchar(512) NOT NULL COMMENT '\n *\n * {@link StackTraceElement#getFileName()}', `exception_file_name` varchar(512) COLLATE utf8mb4_general_ci NOT NULL COMMENT '\n *\n * {@link StackTraceElement#getFileName()}',
`exception_method_name` varchar(512) NOT NULL COMMENT '\n *\n * {@link StackTraceElement#getMethodName()}', `exception_method_name` varchar(512) COLLATE utf8mb4_general_ci NOT NULL COMMENT '\n *\n * {@link StackTraceElement#getMethodName()}',
`exception_line_number` int NOT NULL COMMENT '\n *\n * {@link StackTraceElement#getLineNumber()}', `exception_line_number` int NOT NULL COMMENT '\n *\n * {@link StackTraceElement#getLineNumber()}',
`process_status` tinyint NOT NULL COMMENT '', `process_status` tinyint NOT NULL COMMENT '',
`process_time` datetime DEFAULT NULL COMMENT '', `process_time` datetime DEFAULT NULL COMMENT '',
`process_user_id` int DEFAULT '0' COMMENT '', `process_user_id` int DEFAULT '0' COMMENT '',
`creator` varchar(64) DEFAULT '' COMMENT '', `creator` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) DEFAULT '' COMMENT '', `updater` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
`tenant_id` bigint NOT NULL DEFAULT '0' COMMENT '', `tenant_id` bigint NOT NULL DEFAULT '0' COMMENT '',
@ -100,16 +100,16 @@ COMMIT;
DROP TABLE IF EXISTS `inf_config`; DROP TABLE IF EXISTS `inf_config`;
CREATE TABLE `inf_config` ( CREATE TABLE `inf_config` (
`id` int NOT NULL AUTO_INCREMENT COMMENT '', `id` int NOT NULL AUTO_INCREMENT COMMENT '',
`group` varchar(50) NOT NULL COMMENT '', `group` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`type` tinyint NOT NULL COMMENT '', `type` tinyint NOT NULL COMMENT '',
`name` varchar(100) NOT NULL DEFAULT '' COMMENT '', `name` varchar(100) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '',
`key` varchar(100) NOT NULL DEFAULT '' COMMENT '', `key` varchar(100) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '',
`value` varchar(500) NOT NULL DEFAULT '' COMMENT '', `value` varchar(500) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '',
`sensitive` bit(1) NOT NULL COMMENT '', `sensitive` bit(1) NOT NULL COMMENT '',
`remark` varchar(500) DEFAULT NULL COMMENT '', `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '',
`creator` varchar(64) DEFAULT '' COMMENT '', `creator` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) DEFAULT '' COMMENT '', `updater` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
@ -131,12 +131,12 @@ COMMIT;
-- ---------------------------- -- ----------------------------
DROP TABLE IF EXISTS `inf_file`; DROP TABLE IF EXISTS `inf_file`;
CREATE TABLE `inf_file` ( CREATE TABLE `inf_file` (
`id` varchar(188) NOT NULL COMMENT '', `id` varchar(188) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`type` varchar(63) DEFAULT NULL COMMENT '', `type` varchar(63) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '',
`content` mediumblob NOT NULL COMMENT '', `content` mediumblob NOT NULL COMMENT '',
`creator` varchar(64) DEFAULT '' COMMENT '', `creator` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) DEFAULT '' COMMENT '', `updater` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
`tenant_id` bigint NOT NULL DEFAULT '0' COMMENT '', `tenant_id` bigint NOT NULL DEFAULT '0' COMMENT '',
@ -164,17 +164,17 @@ COMMIT;
DROP TABLE IF EXISTS `inf_job`; DROP TABLE IF EXISTS `inf_job`;
CREATE TABLE `inf_job` ( CREATE TABLE `inf_job` (
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '', `id` bigint NOT NULL AUTO_INCREMENT COMMENT '',
`name` varchar(32) NOT NULL COMMENT '', `name` varchar(32) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`status` tinyint NOT NULL COMMENT '', `status` tinyint NOT NULL COMMENT '',
`handler_name` varchar(64) NOT NULL COMMENT '', `handler_name` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`handler_param` varchar(255) DEFAULT NULL COMMENT '', `handler_param` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '',
`cron_expression` varchar(32) NOT NULL COMMENT 'CRON ', `cron_expression` varchar(32) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'CRON ',
`retry_count` int NOT NULL DEFAULT '0' COMMENT '', `retry_count` int NOT NULL DEFAULT '0' COMMENT '',
`retry_interval` int NOT NULL DEFAULT '0' COMMENT '', `retry_interval` int NOT NULL DEFAULT '0' COMMENT '',
`monitor_timeout` int NOT NULL DEFAULT '0' COMMENT '', `monitor_timeout` int NOT NULL DEFAULT '0' COMMENT '',
`creator` varchar(64) DEFAULT '' COMMENT '', `creator` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) DEFAULT '' COMMENT '', `updater` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
@ -228,14 +228,14 @@ CREATE TABLE `mbr_user` (
`nickname` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '', `nickname` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '',
`avatar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '', `avatar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '',
`status` tinyint NOT NULL COMMENT '', `status` tinyint NOT NULL COMMENT '',
`mobile` varchar(11) COLLATE utf8mb4_bin NOT NULL COMMENT '', `mobile` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '',
`password` varchar(100) COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '', `password` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '',
`register_ip` varchar(32) COLLATE utf8mb4_bin NOT NULL COMMENT ' IP', `register_ip` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT ' IP',
`login_ip` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT 'IP', `login_ip` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT 'IP',
`login_date` datetime DEFAULT NULL COMMENT '', `login_date` datetime DEFAULT NULL COMMENT '',
`creator` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '', `creator` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) COLLATE utf8mb4_bin DEFAULT '' COMMENT '', `updater` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
`tenant_id` bigint NOT NULL DEFAULT '0' COMMENT '', `tenant_id` bigint NOT NULL DEFAULT '0' COMMENT '',
@ -257,17 +257,17 @@ COMMIT;
DROP TABLE IF EXISTS `oa_leave`; DROP TABLE IF EXISTS `oa_leave`;
CREATE TABLE `oa_leave` ( CREATE TABLE `oa_leave` (
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '', `id` bigint NOT NULL AUTO_INCREMENT COMMENT '',
`process_instance_id` varchar(64) DEFAULT NULL COMMENT 'id', `process_instance_id` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'id',
`status` tinyint NOT NULL COMMENT '', `status` tinyint NOT NULL COMMENT '',
`user_id` varchar(20) NOT NULL COMMENT 'id', `user_id` varchar(20) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'id',
`start_time` datetime NOT NULL COMMENT '', `start_time` datetime NOT NULL COMMENT '',
`end_time` datetime NOT NULL COMMENT '', `end_time` datetime NOT NULL COMMENT '',
`leave_type` varchar(20) DEFAULT NULL COMMENT '', `leave_type` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '',
`reason` varchar(2000) DEFAULT NULL COMMENT '', `reason` varchar(2000) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '',
`apply_time` datetime NOT NULL COMMENT '', `apply_time` datetime NOT NULL COMMENT '',
`creator` varchar(64) DEFAULT '' COMMENT '', `creator` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) DEFAULT '' COMMENT '', `updater` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
PRIMARY KEY (`id`) PRIMARY KEY (`id`)
@ -289,13 +289,13 @@ CREATE TABLE `pay_app` (
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '', `id` bigint NOT NULL AUTO_INCREMENT COMMENT '',
`name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '', `name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`status` tinyint NOT NULL COMMENT '', `status` tinyint NOT NULL COMMENT '',
`remark` varchar(255) DEFAULT NULL COMMENT '', `remark` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '',
`pay_notify_url` varchar(1024) NOT NULL COMMENT '', `pay_notify_url` varchar(1024) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`refund_notify_url` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '退', `refund_notify_url` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '退',
`merchant_id` bigint NOT NULL COMMENT '', `merchant_id` bigint NOT NULL COMMENT '',
`creator` varchar(64) DEFAULT '' COMMENT '', `creator` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) DEFAULT '' COMMENT '', `updater` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
@ -316,18 +316,18 @@ CREATE TABLE `pay_channel` (
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '', `id` bigint NOT NULL AUTO_INCREMENT COMMENT '',
`code` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '', `code` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`status` tinyint NOT NULL COMMENT '', `status` tinyint NOT NULL COMMENT '',
`remark` varchar(255) DEFAULT NULL COMMENT '', `remark` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '',
`fee_rate` double NOT NULL DEFAULT '0' COMMENT '', `fee_rate` double NOT NULL DEFAULT '0' COMMENT '',
`merchant_id` bigint NOT NULL COMMENT '', `merchant_id` bigint NOT NULL COMMENT '',
`app_id` bigint NOT NULL COMMENT '', `app_id` bigint NOT NULL COMMENT '',
`config` varchar(4096) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '', `config` varchar(4096) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`creator` varchar(64) DEFAULT '' COMMENT '', `creator` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) DEFAULT '' COMMENT '', `updater` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='\n'; ) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='\n';
-- ---------------------------- -- ----------------------------
-- Records of pay_channel -- Records of pay_channel
@ -339,6 +339,7 @@ INSERT INTO `pay_channel` VALUES (11, 'wx_pub', 0, NULL, 1, 1, 6, '{\"@class\":\
INSERT INTO `pay_channel` VALUES (12, 'wx_pub', 0, NULL, 1, 1, 6, '{\"@class\":\"cn.iocoder.yudao.framework.pay.core.client.impl.wx.WXPayClientConfig\",\"appId\":\"wx041349c6f39b268b\",\"mchId\":\"1545083881\",\"apiVersion\":\"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r01YL9c0g16B9MW\\n-----END CERTIFICATE-----\\n\",\"apiV3Key\":\"joerVi8y5DJ3o4ttA0o1uH47Xz1u2Ase\"}', NULL, '2021-12-14 22:06:10', NULL, '2021-12-14 22:06:10', b'0'); INSERT INTO `pay_channel` VALUES (12, 'wx_pub', 0, NULL, 1, 1, 6, '{\"@class\":\"cn.iocoder.yudao.framework.pay.core.client.impl.wx.WXPayClientConfig\",\"appId\":\"wx041349c6f39b268b\",\"mchId\":\"1545083881\",\"apiVersion\":\"v2\",\"mchKey\":\"0alL64UDQdlCwiKZ73ib7ypaIjMns06p\",\"privateKeyContent\":\"-----BEGIN PRIVATE KEY-----\\nMIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC5q2hYE3loOQoH\\nl/2kh/epuj17W8VpV5vBl7ysJWAbBXux6mlq4gKTHD0QUQdiKtDEUm/bKC9Bi6VU\\nuklM5Y8oCaCbhjklHRbET8jsgd9phSNGviHclYRLsQRO8oXnN89kN0y7DYKm0hYd\\nmaiS12Z3v8VaImSTr4HVeHlC/z3S6mdwSr263stKt931YTcbTj/QFH7znsv9Na0u\\nX6LaMBEEAsJctWdm8Ndrd1tGh9Fzf0DA5VRXsJR3kkWspy+IwiDTPV/FDKOU9NJC\\nSxMmDePerTfkoZ2s1rltqBK0ykDJrXtxR+hTzEsKZ/KpNi8tyYpfNZsviHIlUsLP\\nFJ5UvUhpAgMBAAECggEAd90NltazqTIxpGdeCwrwOzWNnYbIclJprlhMKIJUgf1P\\nNrPTbHoOGXTAgzkcYCat8iAaMEzH/TOu/3zn92m3uqxEcEL9v1UBLqknWHAbkB6w\\ngGocqDAqYUcdNe5hvbyM+fCta5C0SQgV2PQrHOlMMICwYpkTfzhtxCdreXIYMoGg\\nJEIRkZWgrm/N7LTtNgizznuUjy6OURWjXaWKPcs3b3j6G1gLj9Vp++z4y0u51nqM\\n4R6fcvl8M6BjlcC8zo6DbOvCW8cXtuXsnru+2TPrUnsGeybJok4fEQs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OS76Tg72wWXcHfHDAOgt\\n9icp62cKx1WO3QweeZpSvLDmtdLgKKrqeIWh+rL8+ZhuAOxSkaRwcsMTWDaLeDOi\\n0pGeqvfG8WNhPxkkaSI8xbiTK641Yg9WT/Q4yfHS7Q6wg1dj9YQdo0dvVB0S2Nir\\nX9IK6PUaHDnQeFKDmKgLkDGLaKaiijEvC91wMEE6qB8b0eNhciaxq2YhGHcFmSRP\\nWUyc5CmBadt7wIOH5Z3bfuwWGxqxKjNw/baM/d+nk7hlDr01YL9c0g16B9MW\\n-----END CERTIFICATE-----\\n\",\"apiV3Key\":\"joerVi8y5DJ3o4ttA0o1uH47Xz1u2Ase\"}', NULL, '2021-12-14 22:06:10', NULL, '2021-12-14 22:06:10', b'0');
INSERT INTO `pay_channel` VALUES (13, 'wx_pub', 0, NULL, 1, 1, 6, '{\"@class\":\"cn.iocoder.yudao.framework.pay.core.client.impl.wx.WXPayClientConfig\",\"appId\":\"wx041349c6f39b268b\",\"mchId\":\"1545083881\",\"apiVersion\":\"v2\",\"mchKey\":\"0alL64UDQdlCwiKZ73ib7ypaIjMns06p\",\"privateKeyContent\":\"-----BEGIN PRIVATE KEY-----\\nMIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC5q2hYE3loOQoH\\nl/2kh/epuj17W8VpV5vBl7ysJWAbBXux6mlq4gKTHD0QUQdiKtDEUm/bKC9Bi6VU\\nuklM5Y8oCaCbhjklHRbET8jsgd9phSNGviHclYRLsQRO8oXnN89kN0y7DYKm0hYd\\nmaiS12Z3v8VaImSTr4HVeHlC/z3S6mdwSr263stKt931YTcbTj/QFH7znsv9Na0u\\nX6LaMBEEAsJctWdm8Ndrd1tGh9Fzf0DA5VRXsJR3kkWspy+IwiDTPV/FDKOU9NJC\\nSxMmDePerTfkoZ2s1rltqBK0ykDJrXtxR+hTzEsKZ/KpNi8tyYpfNZsviHIlUsLP\\nFJ5UvUhpAgMBAAECggEAd90NltazqTIxpGdeCwrwOzWN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TBAIwADALBgNVHQ8EBAMC\\nBPAwZQYDVR0fBF4wXDBaoFigVoZUaHR0cDovL2V2Y2EuaXRydXMuY29tLmNuL3B1\\nYmxpYy9pdHJ1c2NybD9DQT0xQkQ0MjIwRTUwREJDMDRCMDZBRDM5NzU0OTg0NkMw\\nMUMzRThFQkQyMA0GCSqGSIb3DQEBCwUAA4IBAQBe7XgncAY/1PLbCsnMsYt11k3V\\n2cdNZ+yuCxhlOEKk3nHE6WCTL6zL0qWlTKKpnw1rE/+4OS76Tg72wWXcHfHDAOgt\\n9icp62cKx1WO3QweeZpSvLDmtdLgKKrqeIWh+rL8+ZhuAOxSkaRwcsMTWDaLeDOi\\n0pGeqvfG8WNhPxkkaSI8xbiTK641Yg9WT/Q4yfHS7Q6wg1dj9YQdo0dvVB0S2Nir\\nX9IK6PUaHDnQeFKDmKgLkDGLaKaiijEvC91wMEE6qB8b0eNhciaxq2YhGHcFmSRP\\nWUyc5CmBadt7wIOH5Z3bfuwWGxqxKjNw/baM/d+nk7hlDr01YL9c0g16B9MW\\n-----END CERTIFICATE-----\\n\",\"apiV3Key\":\"joerVi8y5DJ3o4ttA0o1uH47Xz1u2Ase\"}', NULL, '2021-12-14 22:09:39', NULL, '2021-12-14 22:09:39', b'0'); INSERT INTO `pay_channel` VALUES (13, 'wx_pub', 0, NULL, 1, 1, 6, '{\"@class\":\"cn.iocoder.yudao.framework.pay.core.client.impl.wx.WXPayClientConfig\",\"appId\":\"wx041349c6f39b268b\",\"mchId\":\"1545083881\",\"apiVersion\":\"v2\",\"mchKey\":\"0alL64UDQdlCwiKZ73ib7ypaIjMns06p\",\"privateKeyContent\":\"-----BEGIN PRIVATE KEY-----\\nMIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC5q2hYE3loOQoH\\nl/2kh/epuj17W8VpV5vBl7ysJWAbBXux6mlq4gKTHD0QUQdiKtDEUm/bKC9Bi6VU\\nuklM5Y8oCaCbhjklHRbET8jsgd9phSNGvi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y5JR0WxE/I7IHfaYUjRr4h3JWES7EETvKF5zfP\\nZDdMuw2CptIWHZmoktdmd7/FWiJkk6+B1Xh5Qv890upncEq9ut7LSrfd9WE3G04/\\n0BR+857L/TWtLl+i2jARBALCXLVnZvDXa3dbRofRc39AwOVUV7CUd5JFrKcviMIg\\n0z1fxQyjlPTSQksTJg3j3q035KGdrNa5bagStMpAya17cUfoU8xLCmfyqTYvLcmK\\nXzWbL4hyJVLCzxSeVL1IaQIDAQABo4GBMH8wCQYDVR0TBAIwADALBgNVHQ8EBAMC\\nBPAwZQYDVR0fBF4wXDBaoFigVoZUaHR0cDovL2V2Y2EuaXRydXMuY29tLmNuL3B1\\nYmxpYy9pdHJ1c2NybD9DQT0xQkQ0MjIwRTUwREJDMDRCMDZBRDM5NzU0OTg0NkMw\\nMUMzRThFQkQyMA0GCSqGSIb3DQEBCwUAA4IBAQBe7XgncAY/1PLbCsnMsYt11k3V\\n2cdNZ+yuCxhlOEKk3nHE6WCTL6zL0qWlTKKpnw1rE/+4OS76Tg72wWXcHfHDAOgt\\n9icp62cKx1WO3QweeZpSvLDmtdLgKKrqeIWh+rL8+ZhuAOxSkaRwcsMTWDaLeDOi\\n0pGeqvfG8WNhPxkkaSI8xbiTK641Yg9WT/Q4yfHS7Q6wg1dj9YQdo0dvVB0S2Nir\\nX9IK6PUaHDnQeFKDmKgLkDGLaKaiijEvC91wMEE6qB8b0eNhciaxq2YhGHcFmSRP\\nWUyc5CmBadt7wIOH5Z3bfuwWGxqxKjNw/baM/d+nk7hlDr01YL9c0g16B9MW\\n-----END CERTIFICATE-----\\n\",\"apiV3Key\":\"joerVi8y5DJ3o4ttA0o1uH47Xz1u2Ase\"}', NULL, '2021-12-14 22:09:39', NULL, '2021-12-14 22:09:39', b'0');
INSERT INTO `pay_channel` VALUES (14, 'wx_pub', 0, NULL, 1, 1, 6, '{\"@class\":\"cn.iocoder.yudao.framework.pay.core.client.impl.wx.WXPayClientConfig\",\"appId\":\"wx041349c6f39b268b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Z3bfuwWGxqxKjNw/baM/d+nk7hlDr01YL9c0g16B9MW\\n-----END CERTIFICATE-----\\n\",\"apiV3Key\":\"joerVi8y5DJ3o4ttA0o1uH47Xz1u2Ase\"}', NULL, '2021-12-14 22:38:49', NULL, '2021-12-14 22:38:49', b'0'); INSERT INTO `pay_channel` VALUES (14, 'wx_pub', 0, NULL, 1, 1, 6, '{\"@class\":\"cn.iocoder.yudao.framework.pay.core.client.impl.wx.WXPayClientConfig\",\"appId\":\"wx041349c6f39b268b\",\"mchId\":\"1545083881\",\"apiVersion\":\"v2\",\"mchKey\":\"0alL64UDQdlCwiKZ73ib7ypaIjMns06p\",\"privateKeyContent\":\"-----BEGIN PRIVATE KEY-----\\nMIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC5q2hYE3loOQoH\\nl/2kh/epuj17W8VpV5vBl7ysJWAbBXux6mlq4gKTHD0QUQdiKtDEUm/bKC9Bi6VU\\nuklM5Y8oCaCbhjklHRbET8jsgd9phSNGviHclYRLsQRO8oXnN89kN0y7DYKm0hYd\\nmaiS12Z3v8VaImSTr4HVeHlC/z3S6mdwSr263stKt931YTcbTj/QFH7znsv9Na0u\\nX6LaMBEEAsJctWdm8Ndrd1tGh9Fzf0DA5VRXsJR3kkWspy+IwiDTPV/FDKOU9NJC\\nSxMmDePerTfkoZ2s1rltqBK0ykDJrXtxR+hTzEsKZ/KpNi8tyYpfNZsviHIlUsLP\\nFJ5UvUhpAgMBAAECggEAd90NltazqTIxpGdeCwrwOzWNnYbIclJprlhMKIJUgf1P\\nNrPTbHoOGXTAgzkcYCat8iAaMEzH/TOu/3zn92m3uqxEcEL9v1UBLqknWHAbkB6w\\ngGocqDAqYUcdNe5hvbyM+fCta5C0SQgV2PQrHOlMMICwYpkTfzhtxCdreXIYMoGg\\nJEIRkZWgrm/N7LTtNgizznuUjy6OURWjXaWKPcs3b3j6G1gLj9Vp++z4y0u51nqM\\n4R6fcvl8M6BjlcC8zo6DbOvC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3nHE6WCTL6zL0qWlTKKpnw1rE/+4OS76Tg72wWXcHfHDAOgt\\n9icp62cKx1WO3QweeZpSvLDmtdLgKKrqeIWh+rL8+ZhuAOxSkaRwcsMTWDaLeDOi\\n0pGeqvfG8WNhPxkkaSI8xbiTK641Yg9WT/Q4yfHS7Q6wg1dj9YQdo0dvVB0S2Nir\\nX9IK6PUaHDnQeFKDmKgLkDGLaKaiijEvC91wMEE6qB8b0eNhciaxq2YhGHcFmSRP\\nWUyc5CmBadt7wIOH5Z3bfuwWGxqxKjNw/baM/d+nk7hlDr01YL9c0g16B9MW\\n-----END CERTIFICATE-----\\n\",\"apiV3Key\":\"joerVi8y5DJ3o4ttA0o1uH47Xz1u2Ase\"}', NULL, '2021-12-14 22:38:49', NULL, '2021-12-14 22:38:49', b'0');
INSERT INTO `pay_channel` VALUES (15, 'wx_pub', 0, NULL, 1, 1, 6, '{\"@class\":\"cn.iocoder.yudao.framework.pay.core.client.impl.wx.WXPayClientConfig\",\"appId\":\"wx041349c6f39b268b\",\"mchId\":\"1545083881\",\"apiVersion\":\"v2\",\"mchKey\":\"0alL64UDQdlCwiKZ73ib7ypaIjMns06p\",\"privateKeyContent\":\"-----BEGIN PRIVATE KEY-----\\nMIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC5q2hYE3loOQoH\\nl/2kh/epuj17W8VpV5vBl7ysJWAbBXux6mlq4gKTHD0QUQdiKtDEUm/bKC9Bi6VU\\nuklM5Y8oCaCbhjklHRbET8jsgd9phSNGviHclYRLsQRO8oXnN89kN0y7DYKm0hYd\\nmaiS12Z3v8VaImSTr4HVeHlC/z3S6mdwSr263stKt931YTcbTj/QFH7znsv9Na0u\\nX6LaMBEEAsJctWdm8Ndrd1tGh9Fzf0DA5VRXsJR3kkWspy+IwiDTPV/FDKOU9NJC\\nSxMmDePerTfkoZ2s1rltqBK0ykDJrXtxR+hTzEsKZ/KpNi8tyYpfNZsviHIlUsLP\\nFJ5UvUhpAgM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SeVL1IaQIDAQABo4GBMH8wCQYDVR0TBAIwADALBgNVHQ8EBAMC\\nBPAwZQYDVR0fBF4wXDBaoFigVoZUaHR0cDovL2V2Y2EuaXRydXMuY29tLmNuL3B1\\nYmxpYy9pdHJ1c2NybD9DQT0xQkQ0MjIwRTUwREJDMDRCMDZBRDM5NzU0OTg0NkMw\\nMUMzRThFQkQyMA0GCSqGSIb3DQEBCwUAA4IBAQBe7XgncAY/1PLbCsnMsYt11k3V\\n2cdNZ+yuCxhlOEKk3nHE6WCTL6zL0qWlTKKpnw1rE/+4OS76Tg72wWXcHfHDAOgt\\n9icp62cKx1WO3QweeZpSvLDmtdLgKKrqeIWh+rL8+ZhuAOxSkaRwcsMTWDaLeDOi\\n0pGeqvfG8WNhPxkkaSI8xbiTK641Yg9WT/Q4yfHS7Q6wg1dj9YQdo0dvVB0S2Nir\\nX9IK6PUaHDnQeFKDmKgLkDGLaKaiijEvC91wMEE6qB8b0eNhciaxq2YhGHcFmSRP\\nWUyc5CmBadt7wIOH5Z3bfuwWGxqxKjNw/baM/d+nk7hlDr01YL9c0g16B9MW\\n-----END CERTIFICATE-----\\n\",\"apiV3Key\":\"joerVi8y5DJ3o4ttA0o1uH47Xz1u2Ase\"}', NULL, '2021-12-15 09:32:26', NULL, '2021-12-15 09:32:26', b'0');
COMMIT; COMMIT;
-- ---------------------------- -- ----------------------------
@ -351,10 +352,10 @@ CREATE TABLE `pay_merchant` (
`name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '', `name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`short_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '', `short_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`status` tinyint NOT NULL COMMENT '', `status` tinyint NOT NULL COMMENT '',
`remark` varchar(255) DEFAULT NULL COMMENT '', `remark` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '',
`creator` varchar(64) DEFAULT '' COMMENT '', `creator` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) DEFAULT '' COMMENT '', `updater` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
@ -375,11 +376,11 @@ CREATE TABLE `pay_notify_log` (
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '', `id` bigint NOT NULL AUTO_INCREMENT COMMENT '',
`task_id` bigint NOT NULL COMMENT '', `task_id` bigint NOT NULL COMMENT '',
`notify_times` tinyint NOT NULL COMMENT '', `notify_times` tinyint NOT NULL COMMENT '',
`response` varchar(2048) NOT NULL COMMENT '', `response` varchar(2048) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`status` tinyint NOT NULL COMMENT '', `status` tinyint NOT NULL COMMENT '',
`creator` varchar(64) DEFAULT '' COMMENT '', `creator` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) DEFAULT '' COMMENT '', `updater` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
@ -408,9 +409,9 @@ CREATE TABLE `pay_notify_task` (
`notify_times` tinyint NOT NULL COMMENT '', `notify_times` tinyint NOT NULL COMMENT '',
`max_notify_times` tinyint NOT NULL COMMENT '', `max_notify_times` tinyint NOT NULL COMMENT '',
`notify_url` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '', `notify_url` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`creator` varchar(64) DEFAULT '' COMMENT '', `creator` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) DEFAULT '' COMMENT '', `updater` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
@ -448,7 +449,7 @@ CREATE TABLE `pay_order` (
`app_id` bigint NOT NULL COMMENT '', `app_id` bigint NOT NULL COMMENT '',
`channel_id` bigint DEFAULT NULL COMMENT '', `channel_id` bigint DEFAULT NULL COMMENT '',
`channel_code` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '', `channel_code` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '',
`merchant_order_id` varchar(64) NOT NULL COMMENT '', `merchant_order_id` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`subject` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '', `subject` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`body` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '', `body` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`notify_url` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '', `notify_url` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
@ -466,10 +467,10 @@ CREATE TABLE `pay_order` (
`refund_times` tinyint NOT NULL COMMENT '退', `refund_times` tinyint NOT NULL COMMENT '退',
`refund_amount` bigint NOT NULL COMMENT '退', `refund_amount` bigint NOT NULL COMMENT '退',
`channel_user_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '', `channel_user_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '',
`channel_order_no` varchar(64) DEFAULT NULL COMMENT '', `channel_order_no` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '',
`creator` varchar(64) DEFAULT '' COMMENT '', `creator` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) DEFAULT '' COMMENT '', `updater` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
@ -599,7 +600,7 @@ COMMIT;
DROP TABLE IF EXISTS `pay_order_extension`; DROP TABLE IF EXISTS `pay_order_extension`;
CREATE TABLE `pay_order_extension` ( CREATE TABLE `pay_order_extension` (
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '', `id` bigint NOT NULL AUTO_INCREMENT COMMENT '',
`no` varchar(64) NOT NULL COMMENT '', `no` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`order_id` bigint NOT NULL COMMENT '', `order_id` bigint NOT NULL COMMENT '',
`channel_id` bigint NOT NULL COMMENT '', `channel_id` bigint NOT NULL COMMENT '',
`channel_code` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '', `channel_code` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
@ -607,9 +608,9 @@ CREATE TABLE `pay_order_extension` (
`status` tinyint NOT NULL COMMENT '', `status` tinyint NOT NULL COMMENT '',
`channel_extras` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '', `channel_extras` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '',
`channel_notify_data` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '', `channel_notify_data` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '',
`creator` varchar(64) DEFAULT '' COMMENT '', `creator` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) DEFAULT '' COMMENT '', `updater` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
@ -739,16 +740,16 @@ CREATE TABLE `sys_dept` (
-- Records of sys_dept -- Records of sys_dept
-- ---------------------------- -- ----------------------------
BEGIN; BEGIN;
INSERT INTO `sys_dept` VALUES (100, '', 0, 0, '', '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '', '2021-01-06 19:45:52', b'0', 0); INSERT INTO `sys_dept` VALUES (100, '', 0, 0, '', '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '', '2021-12-15 05:01:45', b'0', 1);
INSERT INTO `sys_dept` VALUES (101, '', 100, 1, '', '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '1', '2021-03-14 20:26:18', b'0', 0); INSERT INTO `sys_dept` VALUES (101, '', 100, 1, '', '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '1', '2021-12-15 05:01:44', b'0', 1);
INSERT INTO `sys_dept` VALUES (102, '', 100, 2, '', '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '', '2021-01-05 17:03:47', b'0', 0); INSERT INTO `sys_dept` VALUES (102, '', 100, 2, '', '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '', '2021-12-15 05:01:40', b'0', 1);
INSERT INTO `sys_dept` VALUES (103, '', 101, 1, '', '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '', '2021-01-05 17:03:47', b'0', 0); INSERT INTO `sys_dept` VALUES (103, '', 101, 1, '', '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '', '2021-12-15 05:01:41', b'0', 1);
INSERT INTO `sys_dept` VALUES (104, '', 101, 2, '', '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '', '2021-01-05 17:03:47', b'0', 0); INSERT INTO `sys_dept` VALUES (104, '', 101, 2, '', '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '', '2021-12-15 05:01:38', b'0', 1);
INSERT INTO `sys_dept` VALUES (105, '', 101, 3, '', '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '', '2021-01-05 17:03:47', b'0', 0); INSERT INTO `sys_dept` VALUES (105, '', 101, 3, '', '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '', '2021-12-15 05:01:37', b'0', 1);
INSERT INTO `sys_dept` VALUES (106, '', 101, 4, '', '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '', '2021-01-05 17:03:47', b'0', 0); INSERT INTO `sys_dept` VALUES (106, '', 101, 4, '', '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '', '2021-12-15 05:01:35', b'0', 1);
INSERT INTO `sys_dept` VALUES (107, '', 101, 5, '', '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '', '2021-01-05 17:03:47', b'0', 0); INSERT INTO `sys_dept` VALUES (107, '', 101, 5, '', '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '', '2021-12-15 05:01:33', b'0', 1);
INSERT INTO `sys_dept` VALUES (108, '', 102, 1, '', '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '', '2021-01-05 17:03:47', b'0', 0); INSERT INTO `sys_dept` VALUES (108, '', 102, 1, '', '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '', '2021-12-15 05:01:31', b'0', 1);
INSERT INTO `sys_dept` VALUES (109, '', 102, 2, '', '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '', '2021-01-05 17:03:47', b'0', 0); INSERT INTO `sys_dept` VALUES (109, '', 102, 2, '', '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '', '2021-12-15 05:01:29', b'0', 1);
COMMIT; COMMIT;
-- ---------------------------- -- ----------------------------
@ -1047,7 +1048,7 @@ CREATE TABLE `sys_login_log` (
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
`tenant_id` bigint NOT NULL DEFAULT '0' COMMENT '', `tenant_id` bigint NOT NULL DEFAULT '0' COMMENT '',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=469 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='访'; ) ENGINE=InnoDB AUTO_INCREMENT=474 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='访';
-- ---------------------------- -- ----------------------------
-- Records of sys_login_log -- Records of sys_login_log
@ -1267,9 +1268,9 @@ CREATE TABLE `sys_notice` (
-- Records of sys_notice -- Records of sys_notice
-- ---------------------------- -- ----------------------------
BEGIN; BEGIN;
INSERT INTO `sys_notice` VALUES (1, '2018-07-01 ', '', 2, 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 17:03:48', b'0', 0); INSERT INTO `sys_notice` VALUES (1, '2018-07-01 ', '', 2, 0, 'admin', '2021-01-05 17:03:48', '', '2021-12-15 05:02:23', b'0', 1);
INSERT INTO `sys_notice` VALUES (2, '2018-07-01 ', '', 1, 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 17:03:48', b'0', 0); INSERT INTO `sys_notice` VALUES (2, '2018-07-01 ', '', 1, 0, 'admin', '2021-01-05 17:03:48', '', '2021-12-15 05:02:22', b'0', 1);
INSERT INTO `sys_notice` VALUES (3, '1133', '<p>222333</p>', 1, 0, '', '2021-01-13 05:24:52', '', '2021-01-13 05:25:01', b'1', 0); INSERT INTO `sys_notice` VALUES (3, '1133', '<p>222333</p>', 1, 0, '', '2021-01-13 05:24:52', '', '2021-12-15 05:02:21', b'1', 1);
COMMIT; COMMIT;
-- ---------------------------- -- ----------------------------
@ -1303,7 +1304,7 @@ CREATE TABLE `sys_operate_log` (
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
`tenant_id` bigint NOT NULL DEFAULT '0' COMMENT '', `tenant_id` bigint NOT NULL DEFAULT '0' COMMENT '',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=83 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT=''; ) ENGINE=InnoDB AUTO_INCREMENT=85 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='';
-- ---------------------------- -- ----------------------------
-- Records of sys_operate_log -- Records of sys_operate_log
@ -1317,14 +1318,14 @@ COMMIT;
DROP TABLE IF EXISTS `sys_post`; DROP TABLE IF EXISTS `sys_post`;
CREATE TABLE `sys_post` ( CREATE TABLE `sys_post` (
`id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID', `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
`code` varchar(64) NOT NULL COMMENT '', `code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`name` varchar(50) NOT NULL COMMENT '', `name` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`sort` int NOT NULL COMMENT '', `sort` int NOT NULL COMMENT '',
`status` tinyint NOT NULL COMMENT '0 1', `status` tinyint NOT NULL COMMENT '0 1',
`remark` varchar(500) DEFAULT NULL COMMENT '', `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '',
`creator` varchar(64) DEFAULT '' COMMENT '', `creator` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) DEFAULT '' COMMENT '', `updater` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
`tenant_id` bigint NOT NULL DEFAULT '0' COMMENT '', `tenant_id` bigint NOT NULL DEFAULT '0' COMMENT '',
@ -1348,17 +1349,17 @@ COMMIT;
DROP TABLE IF EXISTS `sys_role`; DROP TABLE IF EXISTS `sys_role`;
CREATE TABLE `sys_role` ( CREATE TABLE `sys_role` (
`id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID', `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
`name` varchar(30) NOT NULL COMMENT '', `name` varchar(30) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`code` varchar(100) NOT NULL COMMENT '', `code` varchar(100) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`sort` int NOT NULL COMMENT '', `sort` int NOT NULL COMMENT '',
`data_scope` tinyint NOT NULL DEFAULT '1' COMMENT '1 2 3 4', `data_scope` tinyint NOT NULL DEFAULT '1' COMMENT '1 2 3 4',
`data_scope_dept_ids` varchar(500) NOT NULL DEFAULT '' COMMENT '()', `data_scope_dept_ids` varchar(500) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '()',
`status` tinyint NOT NULL COMMENT '0 1', `status` tinyint NOT NULL COMMENT '0 1',
`type` tinyint NOT NULL COMMENT '', `type` tinyint NOT NULL COMMENT '',
`remark` varchar(500) DEFAULT NULL COMMENT '', `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '',
`creator` varchar(64) DEFAULT '' COMMENT '', `creator` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) DEFAULT '' COMMENT '', `updater` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
@ -1368,7 +1369,7 @@ CREATE TABLE `sys_role` (
-- Records of sys_role -- Records of sys_role
-- ---------------------------- -- ----------------------------
BEGIN; BEGIN;
INSERT INTO `sys_role` VALUES (1, '', 'admin', 1, 2, '', 0, 1, '', 'admin', '2021-01-05 17:03:48', '', '2021-12-13 01:22:23', b'0'); INSERT INTO `sys_role` VALUES (1, '', 'admin', 1, 1, '', 0, 1, '', 'admin', '2021-01-05 17:03:48', '', '2021-12-15 04:52:44', b'0');
INSERT INTO `sys_role` VALUES (2, '', 'common', 2, 2, '', 0, 1, '', 'admin', '2021-01-05 17:03:48', '', '2021-01-06 11:46:58', b'0'); INSERT INTO `sys_role` VALUES (2, '', 'common', 2, 2, '', 0, 1, '', 'admin', '2021-01-05 17:03:48', '', '2021-01-06 11:46:58', b'0');
INSERT INTO `sys_role` VALUES (101, '', 'test', 0, 2, '[104]', 0, 2, '132', '', '2021-01-06 13:49:35', '1', '2021-03-14 22:17:20', b'0'); INSERT INTO `sys_role` VALUES (101, '', 'test', 0, 2, '[104]', 0, 2, '132', '', '2021-01-06 13:49:35', '1', '2021-03-14 22:17:20', b'0');
COMMIT; COMMIT;
@ -1381,9 +1382,9 @@ CREATE TABLE `sys_role_menu` (
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '', `id` bigint NOT NULL AUTO_INCREMENT COMMENT '',
`role_id` bigint NOT NULL COMMENT 'ID', `role_id` bigint NOT NULL COMMENT 'ID',
`menu_id` bigint NOT NULL COMMENT 'ID', `menu_id` bigint NOT NULL COMMENT 'ID',
`creator` varchar(64) DEFAULT '' COMMENT '', `creator` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) DEFAULT '' COMMENT '', `updater` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
@ -1555,16 +1556,16 @@ COMMIT;
DROP TABLE IF EXISTS `sys_sms_channel`; DROP TABLE IF EXISTS `sys_sms_channel`;
CREATE TABLE `sys_sms_channel` ( CREATE TABLE `sys_sms_channel` (
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '', `id` bigint NOT NULL AUTO_INCREMENT COMMENT '',
`signature` varchar(10) NOT NULL COMMENT '', `signature` varchar(10) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`code` varchar(63) NOT NULL COMMENT '', `code` varchar(63) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`status` tinyint NOT NULL COMMENT '', `status` tinyint NOT NULL COMMENT '',
`remark` varchar(255) DEFAULT NULL COMMENT '', `remark` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '',
`api_key` varchar(128) NOT NULL COMMENT ' API ', `api_key` varchar(128) COLLATE utf8mb4_general_ci NOT NULL COMMENT ' API ',
`api_secret` varchar(128) DEFAULT NULL COMMENT ' API ', `api_secret` varchar(128) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT ' API ',
`callback_url` varchar(255) DEFAULT NULL COMMENT ' URL', `callback_url` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT ' URL',
`creator` varchar(64) DEFAULT '' COMMENT '', `creator` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) DEFAULT '' COMMENT '', `updater` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
@ -1586,17 +1587,17 @@ COMMIT;
DROP TABLE IF EXISTS `sys_sms_code`; DROP TABLE IF EXISTS `sys_sms_code`;
CREATE TABLE `sys_sms_code` ( CREATE TABLE `sys_sms_code` (
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '', `id` bigint NOT NULL AUTO_INCREMENT COMMENT '',
`mobile` varchar(11) NOT NULL COMMENT '', `mobile` varchar(11) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`code` varchar(6) NOT NULL COMMENT '', `code` varchar(6) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`create_ip` varchar(15) NOT NULL COMMENT ' IP', `create_ip` varchar(15) COLLATE utf8mb4_general_ci NOT NULL COMMENT ' IP',
`scene` tinyint NOT NULL COMMENT '', `scene` tinyint NOT NULL COMMENT '',
`today_index` tinyint NOT NULL COMMENT '', `today_index` tinyint NOT NULL COMMENT '',
`used` tinyint NOT NULL COMMENT '使', `used` tinyint NOT NULL COMMENT '使',
`used_time` datetime DEFAULT NULL COMMENT '使', `used_time` datetime DEFAULT NULL COMMENT '使',
`used_ip` varchar(255) DEFAULT NULL COMMENT '使 IP', `used_ip` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '使 IP',
`creator` varchar(64) DEFAULT '' COMMENT '', `creator` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) DEFAULT '' COMMENT '', `updater` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
PRIMARY KEY (`id`) USING BTREE, PRIMARY KEY (`id`) USING BTREE,
@ -1633,31 +1634,31 @@ DROP TABLE IF EXISTS `sys_sms_log`;
CREATE TABLE `sys_sms_log` ( CREATE TABLE `sys_sms_log` (
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '', `id` bigint NOT NULL AUTO_INCREMENT COMMENT '',
`channel_id` bigint NOT NULL COMMENT '', `channel_id` bigint NOT NULL COMMENT '',
`channel_code` varchar(63) NOT NULL COMMENT '', `channel_code` varchar(63) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`template_id` bigint NOT NULL COMMENT '', `template_id` bigint NOT NULL COMMENT '',
`template_code` varchar(63) NOT NULL COMMENT '', `template_code` varchar(63) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`template_type` tinyint NOT NULL COMMENT '', `template_type` tinyint NOT NULL COMMENT '',
`template_content` varchar(255) NOT NULL COMMENT '', `template_content` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`template_params` varchar(255) NOT NULL COMMENT '', `template_params` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`api_template_id` varchar(63) NOT NULL COMMENT ' API ', `api_template_id` varchar(63) COLLATE utf8mb4_general_ci NOT NULL COMMENT ' API ',
`mobile` varchar(11) NOT NULL COMMENT '', `mobile` varchar(11) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`user_id` bigint DEFAULT NULL COMMENT '', `user_id` bigint DEFAULT NULL COMMENT '',
`user_type` tinyint DEFAULT NULL COMMENT '', `user_type` tinyint DEFAULT NULL COMMENT '',
`send_status` tinyint NOT NULL DEFAULT '0' COMMENT '', `send_status` tinyint NOT NULL DEFAULT '0' COMMENT '',
`send_time` datetime DEFAULT NULL COMMENT '', `send_time` datetime DEFAULT NULL COMMENT '',
`send_code` int DEFAULT NULL COMMENT '', `send_code` int DEFAULT NULL COMMENT '',
`send_msg` varchar(255) DEFAULT NULL COMMENT '', `send_msg` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '',
`api_send_code` varchar(63) DEFAULT NULL COMMENT ' API ', `api_send_code` varchar(63) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT ' API ',
`api_send_msg` varchar(255) DEFAULT NULL COMMENT ' API ', `api_send_msg` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT ' API ',
`api_request_id` varchar(255) DEFAULT NULL COMMENT ' API ID', `api_request_id` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT ' API ID',
`api_serial_no` varchar(255) DEFAULT NULL COMMENT ' API ', `api_serial_no` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT ' API ',
`receive_status` tinyint NOT NULL DEFAULT '0' COMMENT '', `receive_status` tinyint NOT NULL DEFAULT '0' COMMENT '',
`receive_time` datetime DEFAULT NULL COMMENT '', `receive_time` datetime DEFAULT NULL COMMENT '',
`api_receive_code` varchar(63) DEFAULT NULL COMMENT 'API ', `api_receive_code` varchar(63) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'API ',
`api_receive_msg` varchar(255) DEFAULT NULL COMMENT 'API ', `api_receive_msg` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'API ',
`creator` varchar(64) DEFAULT '' COMMENT '', `creator` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) DEFAULT '' COMMENT '', `updater` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
@ -1715,13 +1716,13 @@ CREATE TABLE `sys_social_user` (
`user_id` bigint NOT NULL COMMENT '', `user_id` bigint NOT NULL COMMENT '',
`user_type` tinyint NOT NULL DEFAULT '0' COMMENT '', `user_type` tinyint NOT NULL DEFAULT '0' COMMENT '',
`type` tinyint NOT NULL COMMENT '', `type` tinyint NOT NULL COMMENT '',
`openid` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT ' openid', `openid` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT ' openid',
`token` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT ' token', `token` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT ' token',
`union_id` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '', `union_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '',
`raw_token_info` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT ' Token JSON ', `raw_token_info` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT ' Token JSON ',
`nickname` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '', `nickname` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '',
`avatar` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '', `avatar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '',
`raw_user_info` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT ' JSON ', `raw_user_info` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT ' JSON ',
`creator` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '', `creator` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '', `updater` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '',
@ -1748,9 +1749,9 @@ CREATE TABLE `sys_tenant` (
`contact_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '', `contact_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`contact_mobile` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '', `contact_mobile` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '',
`status` tinyint NOT NULL DEFAULT '0' COMMENT '0 1', `status` tinyint NOT NULL DEFAULT '0' COMMENT '0 1',
`creator` varchar(64) DEFAULT '' COMMENT '', `creator` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) DEFAULT '' COMMENT '', `updater` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
@ -1771,22 +1772,22 @@ COMMIT;
DROP TABLE IF EXISTS `sys_user`; DROP TABLE IF EXISTS `sys_user`;
CREATE TABLE `sys_user` ( CREATE TABLE `sys_user` (
`id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID', `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
`username` varchar(30) NOT NULL COMMENT '', `username` varchar(30) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`password` varchar(100) NOT NULL DEFAULT '' COMMENT '', `password` varchar(100) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '',
`nickname` varchar(30) NOT NULL COMMENT '', `nickname` varchar(30) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`remark` varchar(500) DEFAULT NULL COMMENT '', `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '',
`dept_id` bigint DEFAULT NULL COMMENT 'ID', `dept_id` bigint DEFAULT NULL COMMENT 'ID',
`post_ids` varchar(255) DEFAULT NULL COMMENT '', `post_ids` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '',
`email` varchar(50) DEFAULT '' COMMENT '', `email` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`mobile` varchar(11) DEFAULT '' COMMENT '', `mobile` varchar(11) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`sex` tinyint DEFAULT '0' COMMENT '', `sex` tinyint DEFAULT '0' COMMENT '',
`avatar` varchar(100) DEFAULT '' COMMENT '', `avatar` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`status` tinyint NOT NULL DEFAULT '0' COMMENT '0 1', `status` tinyint NOT NULL DEFAULT '0' COMMENT '0 1',
`login_ip` varchar(50) DEFAULT '' COMMENT 'IP', `login_ip` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT 'IP',
`login_date` datetime DEFAULT NULL COMMENT '', `login_date` datetime DEFAULT NULL COMMENT '',
`creator` varchar(64) DEFAULT '' COMMENT '', `creator` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) DEFAULT '' COMMENT '', `updater` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
`tenant_id` bigint NOT NULL DEFAULT '0' COMMENT '', `tenant_id` bigint NOT NULL DEFAULT '0' COMMENT '',
@ -1797,7 +1798,7 @@ CREATE TABLE `sys_user` (
-- Records of sys_user -- Records of sys_user
-- ---------------------------- -- ----------------------------
BEGIN; BEGIN;
INSERT INTO `sys_user` VALUES (1, 'admin', '$2a$10$0acJOIk2D25/oC87nyclE..0lzeu9DtQ/n3geP4fkun/zIVRhHJIO', '', '', 103, '[1]', 'aoteman@126.com', '15612345678', 1, 'http://127.0.0.1:48080/api/infra/file/get/7e7ed694-2242-46cf-9ac9-0709debcc22f', 0, '127.0.0.1', '2021-12-14 20:22:55', 'admin', '2021-01-05 17:03:47', NULL, '2021-12-14 20:22:55', b'0', 1); INSERT INTO `sys_user` VALUES (1, 'admin', '$2a$10$0acJOIk2D25/oC87nyclE..0lzeu9DtQ/n3geP4fkun/zIVRhHJIO', '', '', 103, '[1]', 'aoteman@126.com', '15612345678', 1, 'http://127.0.0.1:48080/api/infra/file/get/7e7ed694-2242-46cf-9ac9-0709debcc22f', 0, '127.0.0.1', '2021-12-15 12:33:21', 'admin', '2021-01-05 17:03:47', NULL, '2021-12-15 12:33:21', b'0', 1);
INSERT INTO `sys_user` VALUES (2, 'ry', '$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2', '', '', 103, '[2]', 'ry@qq.com', '15666666666', 1, '', 0, '127.0.0.1', '2021-01-05 17:03:47', 'admin', '2021-01-05 17:03:47', '', '2021-12-13 01:26:34', b'1', 1); INSERT INTO `sys_user` VALUES (2, 'ry', '$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2', '', '', 103, '[2]', 'ry@qq.com', '15666666666', 1, '', 0, '127.0.0.1', '2021-01-05 17:03:47', 'admin', '2021-01-05 17:03:47', '', '2021-12-13 01:26:34', b'1', 1);
INSERT INTO `sys_user` VALUES (100, 'yudao', '$2a$10$11U48RhyJ5pSBYWSn12AD./ld671.ycSzJHbyrtpeoMeYiw31eo8a', '', '', 103, '[1]', 'yudao@iocoder.cn', '15601691300', 1, '', 1, '', NULL, '', '2021-01-07 09:07:17', '1', '2021-12-13 01:26:55', b'0', 1); INSERT INTO `sys_user` VALUES (100, 'yudao', '$2a$10$11U48RhyJ5pSBYWSn12AD./ld671.ycSzJHbyrtpeoMeYiw31eo8a', '', '', 103, '[1]', 'yudao@iocoder.cn', '15601691300', 1, '', 1, '', NULL, '', '2021-01-07 09:07:17', '1', '2021-12-13 01:26:55', b'0', 1);
INSERT INTO `sys_user` VALUES (103, 'yuanma', '', '', NULL, 100, NULL, 'yuanma@iocoder.cn', '15601701300', 0, '', 0, '', NULL, '', '2021-01-13 23:50:35', '', '2021-12-05 02:22:01', b'0', 1); INSERT INTO `sys_user` VALUES (103, 'yuanma', '', '', NULL, 100, NULL, 'yuanma@iocoder.cn', '15601701300', 0, '', 0, '', NULL, '', '2021-01-13 23:50:35', '', '2021-12-05 02:22:01', b'0', 1);
@ -1814,9 +1815,9 @@ CREATE TABLE `sys_user_role` (
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '', `id` bigint NOT NULL AUTO_INCREMENT COMMENT '',
`user_id` bigint NOT NULL COMMENT 'ID', `user_id` bigint NOT NULL COMMENT 'ID',
`role_id` bigint NOT NULL COMMENT 'ID', `role_id` bigint NOT NULL COMMENT 'ID',
`creator` varchar(64) DEFAULT '' COMMENT '', `creator` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`create_time` datetime DEFAULT NULL COMMENT '', `create_time` datetime DEFAULT NULL COMMENT '',
`updater` varchar(64) DEFAULT '' COMMENT '', `updater` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`update_time` datetime DEFAULT NULL COMMENT '', `update_time` datetime DEFAULT NULL COMMENT '',
`deleted` bit(1) DEFAULT b'0' COMMENT '', `deleted` bit(1) DEFAULT b'0' COMMENT '',
`tenant_id` bigint NOT NULL DEFAULT '0' COMMENT '', `tenant_id` bigint NOT NULL DEFAULT '0' COMMENT '',
@ -1863,96 +1864,6 @@ CREATE TABLE `sys_user_session` (
-- Records of sys_user_session -- Records of sys_user_session
-- ---------------------------- -- ----------------------------
BEGIN; BEGIN;
INSERT INTO `sys_user_session` VALUES ('01e54f75b0a54c01b569adff3b33eec4', 245, 1, '2021-11-26 10:04:53', '15601691300', '127.0.0.1', 'Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Mobile Safari/537.36', NULL, '2021-11-26 09:34:53', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('02f40128d6ae47caae7ebe1eac9300b6', 245, 1, '2021-10-10 18:50:20', '15601691300', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-10-10 18:20:20', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('088ef4bb73b5423faf5746e1e9780bec', 1, 2, '2021-12-06 01:29:47', 'admin', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-12-06 00:59:47', NULL, '2021-12-06 00:59:47', b'0', 0);
INSERT INTO `sys_user_session` VALUES ('0d161f69c9ac4c7f836e1b850715a7b0', 1, 2, '2021-12-06 01:52:11', 'admin', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-12-06 01:22:11', NULL, '2021-12-06 01:22:11', b'0', 1);
INSERT INTO `sys_user_session` VALUES ('0d6466a5035c40a3a9398f55edc32efc', 245, 1, '2021-11-26 09:57:19', '15601691300', '127.0.0.1', 'Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Mobile Safari/537.36', NULL, '2021-11-26 09:27:19', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('0e174b5eb969452a8d414df6384fd13f', 245, 1, '2021-11-26 10:04:25', '15601691300', '127.0.0.1', 'Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Mobile Safari/537.36', NULL, '2021-11-26 09:34:25', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('112ac5cf97a34607b13ad0a5831df9af', 1, 2, '2021-10-12 09:34:24', 'admin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36', NULL, '2021-10-12 08:20:37', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('11460601b012499a83dae897acdb54fe', 1, 2, '2021-12-06 22:57:36', 'admin', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-12-06 22:27:36', NULL, '2021-12-06 22:27:36', b'0', 1);
INSERT INTO `sys_user_session` VALUES ('187482d1c6034f6795f9a8b4e1d041b7', 1, 2, '2021-12-05 18:25:37', 'admin', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-12-05 17:55:37', NULL, '2021-12-05 17:55:37', b'0', 0);
INSERT INTO `sys_user_session` VALUES ('1b10af63a571471daa51a3a4671ebd8b', 1, 2, '2021-12-12 19:18:00', 'admin', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-12-12 18:48:00', NULL, '2021-12-12 18:48:00', b'0', 1);
INSERT INTO `sys_user_session` VALUES ('1e9372b2e67c4e9c924d45232c9cf704', 1, 2, '2021-12-06 01:30:53', 'admin', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-12-06 01:00:53', NULL, '2021-12-06 01:00:53', b'0', 0);
INSERT INTO `sys_user_session` VALUES ('2308c190eb504bafadac3b322df759dc', 1, 2, '2021-10-30 14:10:10', 'admin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36', NULL, '2021-10-30 13:40:10', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('2d8e3e05ce4e41a29f1fd6f96d93030f', 245, 1, '2021-11-25 22:56:24', '15601691300', '127.0.0.1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', NULL, '2021-11-25 22:26:24', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('2e6520714c4845ed8835aa4aea5eeff4', 245, 1, '2021-11-26 09:55:15', '15601691300', '127.0.0.1', 'Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Mobile Safari/537.36', NULL, '2021-11-26 09:25:15', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('305dfd92dfae464ba2db2a6ef8b97da9', 1, 2, '2021-12-06 01:49:09', 'admin', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-12-06 01:19:09', NULL, '2021-12-06 01:19:09', b'0', 1);
INSERT INTO `sys_user_session` VALUES ('315a63226f7d4d4b8643c0dce7108fd2', 1, 2, '2021-12-06 01:16:39', 'admin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36', NULL, '2021-12-06 00:46:39', NULL, '2021-12-05 16:48:35', b'1', 0);
INSERT INTO `sys_user_session` VALUES ('348e808ab4424221ae0ee2d27dc700af', 1, 2, '2021-12-06 22:55:41', 'admin', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-12-06 22:25:41', NULL, '2021-12-06 22:25:41', b'0', 1);
INSERT INTO `sys_user_session` VALUES ('3d5c6594daa94d459ab6c8e1cb181e8e', 1, 2, '2021-12-06 01:56:30', 'admin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36', NULL, '2021-12-06 01:26:30', NULL, '2021-12-06 01:26:30', b'0', 1);
INSERT INTO `sys_user_session` VALUES ('41ee0bcc792c4d919e9411b076276aeb', 245, 1, '2021-11-25 22:56:24', '15601691300', '127.0.0.1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', NULL, '2021-11-25 22:26:24', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('422781d95d6b49169a3e8ca184ccaa0d', 245, 1, '2021-11-26 13:19:28', '15601691300', '127.0.0.1', 'Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Mobile Safari/537.36', NULL, '2021-11-26 12:36:00', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('430715f372d54178aada46808589498c', 245, 1, '2021-11-26 09:57:49', '15601691300', '127.0.0.1', 'Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Mobile Safari/537.36', NULL, '2021-11-26 09:27:49', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('48d5450ed7ee48589f2030afa36b26db', 1, 2, '2021-12-04 21:29:54', 'admin', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-12-04 20:59:54', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('49a719b8744c4b99b7ca53b46c413a68', 1, 2, '2021-12-14 10:38:43', 'admin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36', NULL, '2021-12-14 09:43:22', NULL, '2021-12-14 10:08:43', b'0', 1);
INSERT INTO `sys_user_session` VALUES ('4a8347de279e4dd8a1e3f6e93047c612', 1, 2, '2021-12-14 21:29:27', 'admin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36', NULL, '2021-12-14 20:22:55', NULL, '2021-12-14 20:59:27', b'0', 1);
INSERT INTO `sys_user_session` VALUES ('549f940264cc4edf8ed78a9a0bafd7db', 245, 1, '2021-10-10 17:25:06', '15601691300', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-10-10 16:55:06', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('55f80d1a547a4900b40ed49e059872a0', 1, 2, '2021-12-05 18:28:43', 'admin', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-12-05 17:58:43', NULL, '2021-12-05 17:58:43', b'0', 0);
INSERT INTO `sys_user_session` VALUES ('595b5a61273340dea7c583c06323c335', 1, 2, '2021-12-06 01:31:17', 'admin', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-12-06 01:01:17', NULL, '2021-12-06 01:01:17', b'0', 0);
INSERT INTO `sys_user_session` VALUES ('5a16ffa063a34a329650d1565c486ce1', 245, 1, '2021-11-25 22:56:24', '15601691300', '127.0.0.1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', NULL, '2021-11-25 22:26:24', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('5b24604023df4adf8e3aa31b7cd12b71', 1, 2, '2021-12-05 00:40:36', 'admin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36', NULL, '2021-12-05 00:10:36', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('5c8f2bb378aa4f8b92ef5b52a6ab282b', 245, 1, '2021-10-10 18:50:07', '15601691300', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-10-10 18:20:07', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('5efe7272e0414d38be45f26228be6dfd', 1, 2, '2021-10-27 09:00:10', 'admin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36', NULL, '2021-10-27 08:30:10', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('5fc867db5eb3463f8c7d9e6f4d2e0f05', 1, 2, '2021-10-30 17:41:47', 'admin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36', NULL, '2021-10-30 17:11:47', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('60b382f4b5e649c59eed9756dbcbf648', 1, 2, '2021-12-12 19:18:56', 'admin', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-12-12 18:48:56', NULL, '2021-12-12 18:48:56', b'0', 1);
INSERT INTO `sys_user_session` VALUES ('6614287351414862a657c826b93871b4', 245, 1, '2021-11-26 10:08:48', '15601691300', '127.0.0.1', 'Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Mobile Safari/537.36', NULL, '2021-11-26 09:38:48', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('66c38e3a2f304428bdf351d0232f5f19', 245, 1, '2021-11-25 23:59:30', '15601691300', '127.0.0.1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', NULL, '2021-11-25 23:29:30', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('77c72cf07bdf484b82a61b6a86df1e29', 245, 1, '2021-11-25 22:56:07', '15601691300', '127.0.0.1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', NULL, '2021-11-25 22:26:07', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('785497ff09144c9fbb3e2d7eeeb569c2', 245, 1, '2021-11-26 10:15:25', '15601691300', '127.0.0.1', 'Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Mobile Safari/537.36', NULL, '2021-11-26 09:45:25', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('78c34a300fe449e391d8187a61164b6e', 1, 2, '2021-10-11 08:35:34', 'admin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36', NULL, '2021-10-11 07:55:00', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('793ee411b8ba409d8f35c6c521e3b75d', 105, 2, '2021-10-30 14:11:04', 'hradmin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36', NULL, '2021-10-30 13:41:04', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('7aca1bf7085444559b7e921fbd448a1e', 1, 2, '2021-12-06 01:31:19', 'admin', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-12-06 01:01:19', NULL, '2021-12-06 01:01:19', b'0', 0);
INSERT INTO `sys_user_session` VALUES ('7d8c45a4c00644af8e5f7c8f8b8f37e0', 245, 1, '2021-11-25 22:56:44', '15601691300', '127.0.0.1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', NULL, '2021-11-25 22:26:44', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('806c34e429a24e75ae2bbd17cf99b52c', 245, 1, '2021-11-25 22:58:58', '15601691300', '127.0.0.1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', NULL, '2021-11-25 22:28:58', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('84836ccb50d843d797eefc33cd25adae', 245, 1, '2021-11-26 09:44:14', '15601691300', '127.0.0.1', 'Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Mobile Safari/537.36', NULL, '2021-11-26 09:14:14', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('8648b75ba55f48be95440c3386989206', 105, 2, '2021-10-30 21:59:57', 'hradmin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36', NULL, '2021-10-30 21:19:36', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('867b3884d1084114baee80ef2ed0fa5d', 245, 1, '2021-11-26 10:03:57', '15601691300', '127.0.0.1', 'Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Mobile Safari/537.36', NULL, '2021-11-26 09:33:57', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('86b2e205f6924e3691b29fee8ad3b056', 245, 1, '2021-11-25 21:14:50', '15601691300', '127.0.0.1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', NULL, '2021-11-25 20:44:50', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('88da23cc6b754bf8973991dbe6c7a50f', 245, 1, '2021-11-26 08:14:28', '15601691300', '127.0.0.1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', NULL, '2021-11-26 07:44:28', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('8a1a62eeed564b37b018b9241928c6f9', 105, 2, '2021-10-30 17:42:59', 'hradmin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36', NULL, '2021-10-30 17:12:59', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('8b2f3876504e47939f6bb36084dd1944', 1, 2, '2021-12-05 23:26:23', 'admin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36', NULL, '2021-12-05 22:44:41', NULL, '2021-12-05 22:56:23', b'0', 0);
INSERT INTO `sys_user_session` VALUES ('8dc5776d684e4ca0864f2ed7e52ca087', 245, 1, '2021-11-25 22:27:33', '15601691300', '127.0.0.1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', NULL, '2021-11-25 21:57:33', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('8f3ef6f4af4f4330a0a13ffa6bf0f82c', 245, 1, '2021-11-28 00:13:17', '15601691300', '127.0.0.1', 'Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Mobile Safari/537.36', NULL, '2021-11-27 23:43:17', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('8f4d894746394901bcf7dcf6d4321868', 245, 1, '2021-10-10 23:04:03', '15601691300', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-10-10 22:34:03', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('945adc9a9a27465baf4394529c7602c8', 245, 1, '2021-11-25 13:42:41', '15601691300', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-11-25 13:12:41', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('99f61b1508a74ea2b895aeb65d3f381f', 105, 2, '2021-10-30 14:08:10', 'hradmin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36', NULL, '2021-10-30 13:38:10', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('9ddb53d391f9413cbd460ec2461ceeb0', 1, 2, '2021-10-12 10:07:20', 'admin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36', NULL, '2021-10-12 09:22:43', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('a411c20349354e219f54909947c1b849', 245, 1, '2021-11-26 10:10:09', '15601691300', '127.0.0.1', 'Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Mobile Safari/537.36', NULL, '2021-11-26 09:40:09', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('a6a781e9d02a4e23941c44dd0db4dcfd', 245, 1, '2021-11-26 09:56:09', '15601691300', '127.0.0.1', 'Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Mobile Safari/537.36', NULL, '2021-11-26 09:26:09', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('a6aa7714a2e44c95aaa8a2c5adc2a67a', 1, 2, '2021-12-06 13:37:56', 'admin', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-12-06 13:07:56', NULL, '2021-12-06 13:07:56', b'0', 1);
INSERT INTO `sys_user_session` VALUES ('a7b38989fd2a4128b547780e19438db9', 245, 1, '2021-11-25 22:56:01', '15601691300', '127.0.0.1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', NULL, '2021-11-25 22:26:01', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('a7bf7346fd6a4f94a06029db9b9beb8f', 245, 1, '2021-11-25 22:58:31', '15601691300', '127.0.0.1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', NULL, '2021-11-25 22:28:31', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('a810c2959a5b41ecbf3be7d49545c411', 1, 2, '2021-12-05 00:42:12', 'admin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36', NULL, '2021-12-05 00:12:12', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('b25ba932d4774b148a204df4a6911f95', 1, 2, '2021-12-04 23:19:16', 'admin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36', NULL, '2021-12-04 22:49:16', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('b2c787e6a1aa4160920336c9b67b738e', 1, 2, '2021-12-06 01:19:19', 'admin', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-12-06 00:49:19', NULL, '2021-12-06 00:49:19', b'0', 0);
INSERT INTO `sys_user_session` VALUES ('b3f0a1aa486343788305243bd222a22d', 1, 2, '2021-10-30 14:04:52', 'admin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36', NULL, '2021-10-30 13:34:52', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('b5849f33630144a6911854c86c19e6f1', 245, 1, '2021-10-30 10:38:42', '15601691300', '127.0.0.1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 11_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E217 MicroMessenger/6.8.0(0x16080000) NetType/WIFI Language/en Branch/Br_trunk MiniProgramEnv/Mac', NULL, '2021-10-30 10:08:42', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('c166a8f52f7e42a49c9a5c3d3b21be82', 1, 2, '2021-12-06 01:19:27', 'admin', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-12-06 00:49:27', NULL, '2021-12-06 00:49:27', b'0', 0);
INSERT INTO `sys_user_session` VALUES ('c1b76bdaf2c146c581caa4d7fd81ee66', 246, 1, '2021-10-10 23:06:27', '15601691301', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-10-10 22:36:27', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('c894b8c213ca4b30b0f5e900353108c4', 1, 2, '2021-12-06 22:59:10', 'admin', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-12-06 22:29:10', NULL, '2021-12-06 22:29:10', b'0', 1);
INSERT INTO `sys_user_session` VALUES ('cbc36fe506cf4b26be2e1c27ee00460c', 245, 1, '2021-11-28 21:55:25', '15601691300', '127.0.0.1', 'Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Mobile Safari/537.36', '245', '2021-11-28 20:47:51', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('cbc4ded131fc411ab7953f9ff303392c', 245, 1, '2021-11-26 07:45:52', '15601691300', '127.0.0.1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', NULL, '2021-11-26 07:15:52', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('cd87c53716bf409cb75f01476d1b9dab', 245, 1, '2021-11-25 13:50:46', '15601691300', '127.0.0.1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', NULL, '2021-11-25 13:20:46', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('cefa650e55aa4e9d8ec17d8796e18057', 1, 2, '2021-12-04 23:17:11', 'admin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36', NULL, '2021-12-04 22:47:11', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('d177703bdcc3464a871c8393f6107253', 1, 2, '2021-12-06 01:48:14', 'admin', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-12-06 01:18:14', NULL, '2021-12-06 01:18:14', b'0', 1);
INSERT INTO `sys_user_session` VALUES ('d527f9e2c3db47e892033551cdd6df70', 245, 1, '2021-11-26 08:05:58', '15601691300', '127.0.0.1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', NULL, '2021-11-26 07:35:58', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('d6b4180a11a547b28d57e44a7fcf0dda', 1, 2, '2021-10-30 14:11:37', 'admin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36', NULL, '2021-10-30 13:41:37', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('d9477b8ec8cd41b6809066da0696ee0d', 245, 1, '2021-11-25 22:56:16', '15601691300', '127.0.0.1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', NULL, '2021-11-25 22:26:16', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('db4c2ce5a6b54460848bc6e89b7dfa0d', 245, 1, '2021-11-26 09:40:43', '15601691300', '127.0.0.1', 'Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Mobile Safari/537.36', NULL, '2021-11-26 09:10:43', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('dbedf41caf264bc19d03cfd56666aec6', 245, 1, '2021-11-26 09:54:29', '15601691300', '127.0.0.1', 'Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Mobile Safari/537.36', NULL, '2021-11-26 09:24:29', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('dcb1de2e2ef14e37bca3e64f5bbb603f', 245, 1, '2021-10-10 18:55:16', '15601691300', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-10-10 18:25:16', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('e1ec7a36910849bd86aa09b416824675', 245, 1, '2021-11-25 13:50:42', '15601691300', '127.0.0.1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', NULL, '2021-11-25 13:20:42', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('e206ac2498054d0c822392e599f6151a', 1, 2, '2021-10-10 00:17:31', 'admin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36', NULL, '2021-10-09 23:47:31', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('e23f3e6d396a4d1eafa03e2ad569af43', 245, 1, '2021-11-25 21:15:04', '15601691300', '127.0.0.1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', NULL, '2021-11-25 20:45:04', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('e24b67872cfb4c698aa727006820eafc', 245, 1, '2021-10-10 18:49:55', '15601691300', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-10-10 18:19:55', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('e35210f39f0346b491d227bfa911129d', 1, 2, '2021-12-12 19:17:59', 'admin', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-12-12 18:47:59', NULL, '2021-12-12 18:47:59', b'0', 1);
INSERT INTO `sys_user_session` VALUES ('e3f3909606f94d5192a218e0b68cfdfb', 245, 1, '2021-11-25 22:56:09', '15601691300', '127.0.0.1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', NULL, '2021-11-25 22:26:09', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('e627b998dd52401d972ec37fd97431fe', 245, 1, '2021-11-26 09:36:43', '15601691300', '127.0.0.1', 'Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Mobile Safari/537.36', NULL, '2021-11-26 09:06:43', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('ea1fdc1e14444b59989f0d80acbfe0a7', 105, 2, '2021-10-30 14:09:50', 'hradmin', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36', NULL, '2021-10-30 13:39:50', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('ebe27b0064564a52b3f8a184642e6008', 245, 1, '2021-11-28 21:17:49', '15601691300', '127.0.0.1', 'Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Mobile Safari/537.36', NULL, '2021-11-28 20:37:02', NULL, '2021-12-05 02:41:50', b'1', 1);
INSERT INTO `sys_user_session` VALUES ('f826e83191f3421091f73735c2b78aab', 1, 2, '2021-12-06 01:21:20', 'admin', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-12-06 00:51:20', NULL, '2021-12-06 00:51:20', b'0', 0);
INSERT INTO `sys_user_session` VALUES ('fef1ea274b4f4d8b840cb583f45ea104', 1, 2, '2021-12-06 01:19:33', 'admin', '127.0.0.1', 'Apache-HttpClient/4.5.13 (Java/11.0.11)', NULL, '2021-12-06 00:49:33', NULL, '2021-12-06 00:49:33', b'0', 0);
COMMIT; COMMIT;
-- ---------------------------- -- ----------------------------
@ -1962,26 +1873,26 @@ DROP TABLE IF EXISTS `tool_codegen_column`;
CREATE TABLE `tool_codegen_column` ( CREATE TABLE `tool_codegen_column` (
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '', `id` bigint NOT NULL AUTO_INCREMENT COMMENT '',
`table_id` bigint NOT NULL COMMENT '', `table_id` bigint NOT NULL COMMENT '',
`column_name` varchar(200) NOT NULL COMMENT '', `column_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`column_type` varchar(100) NOT NULL COMMENT '', `column_type` varchar(100) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`column_comment` varchar(500) NOT NULL COMMENT '', `column_comment` varchar(500) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`nullable` bit(1) NOT NULL COMMENT '', `nullable` bit(1) NOT NULL COMMENT '',
`primary_key` bit(1) NOT NULL COMMENT '', `primary_key` bit(1) NOT NULL COMMENT '',
`auto_Increment` char(1) NOT NULL COMMENT '', `auto_Increment` char(1) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`ordinal_position` int NOT NULL COMMENT '', `ordinal_position` int NOT NULL COMMENT '',
`java_type` varchar(32) NOT NULL COMMENT 'Java ', `java_type` varchar(32) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'Java ',
`java_field` varchar(64) NOT NULL COMMENT 'Java ', `java_field` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'Java ',
`dict_type` varchar(200) DEFAULT '' COMMENT '', `dict_type` varchar(200) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`example` varchar(64) DEFAULT NULL COMMENT '', `example` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '',
`create_operation` bit(1) NOT NULL COMMENT ' Create ', `create_operation` bit(1) NOT NULL COMMENT ' Create ',
`update_operation` bit(1) NOT NULL COMMENT ' Update ', `update_operation` bit(1) NOT NULL COMMENT ' Update ',
`list_operation` bit(1) NOT NULL COMMENT ' List ', `list_operation` bit(1) NOT NULL COMMENT ' List ',
`list_operation_condition` varchar(32) NOT NULL DEFAULT '=' COMMENT 'List ', `list_operation_condition` varchar(32) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '=' COMMENT 'List ',
`list_operation_result` bit(1) NOT NULL COMMENT ' List ', `list_operation_result` bit(1) NOT NULL COMMENT ' List ',
`html_type` varchar(32) NOT NULL COMMENT '', `html_type` varchar(32) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`creator` varchar(64) DEFAULT '' COMMENT '', `creator` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) DEFAULT '' COMMENT '', `updater` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
@ -2212,19 +2123,19 @@ DROP TABLE IF EXISTS `tool_codegen_table`;
CREATE TABLE `tool_codegen_table` ( CREATE TABLE `tool_codegen_table` (
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '', `id` bigint NOT NULL AUTO_INCREMENT COMMENT '',
`import_type` tinyint NOT NULL DEFAULT '1' COMMENT '', `import_type` tinyint NOT NULL DEFAULT '1' COMMENT '',
`table_name` varchar(200) NOT NULL DEFAULT '' COMMENT '', `table_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '',
`table_comment` varchar(500) NOT NULL DEFAULT '' COMMENT '', `table_comment` varchar(500) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '',
`remark` varchar(500) DEFAULT NULL COMMENT '', `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '',
`module_name` varchar(30) NOT NULL COMMENT '', `module_name` varchar(30) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`business_name` varchar(30) NOT NULL COMMENT '', `business_name` varchar(30) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`class_name` varchar(100) NOT NULL DEFAULT '' COMMENT '', `class_name` varchar(100) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '',
`class_comment` varchar(50) NOT NULL COMMENT '', `class_comment` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`author` varchar(50) NOT NULL COMMENT '', `author` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '',
`template_type` tinyint NOT NULL DEFAULT '1' COMMENT '', `template_type` tinyint NOT NULL DEFAULT '1' COMMENT '',
`parent_menu_id` bigint DEFAULT NULL COMMENT '', `parent_menu_id` bigint DEFAULT NULL COMMENT '',
`creator` varchar(64) DEFAULT '' COMMENT '', `creator` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) DEFAULT '' COMMENT '', `updater` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
@ -2257,14 +2168,14 @@ COMMIT;
DROP TABLE IF EXISTS `tool_test_demo`; DROP TABLE IF EXISTS `tool_test_demo`;
CREATE TABLE `tool_test_demo` ( CREATE TABLE `tool_test_demo` (
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '', `id` bigint NOT NULL AUTO_INCREMENT COMMENT '',
`name` varchar(100) NOT NULL DEFAULT '' COMMENT '', `name` varchar(100) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '',
`status` tinyint NOT NULL DEFAULT '0' COMMENT '', `status` tinyint NOT NULL DEFAULT '0' COMMENT '',
`type` tinyint NOT NULL COMMENT '', `type` tinyint NOT NULL COMMENT '',
`category` tinyint NOT NULL COMMENT '', `category` tinyint NOT NULL COMMENT '',
`remark` varchar(500) DEFAULT NULL COMMENT '', `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '',
`creator` varchar(64) DEFAULT '' COMMENT '', `creator` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
`updater` varchar(64) DEFAULT '' COMMENT '', `updater` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE

View File

@ -10,6 +10,7 @@ import cn.iocoder.yudao.framework.common.pojo.CommonResult;
import cn.iocoder.yudao.framework.common.pojo.PageResult; import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.adminserver.modules.infra.convert.file.InfFileConvert; import cn.iocoder.yudao.adminserver.modules.infra.convert.file.InfFileConvert;
import cn.iocoder.yudao.framework.common.util.servlet.ServletUtils; import cn.iocoder.yudao.framework.common.util.servlet.ServletUtils;
import cn.iocoder.yudao.framework.tenant.core.context.TenantContextHolder;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams; import io.swagger.annotations.ApiImplicitParams;
@ -64,6 +65,7 @@ public class InfFileController {
@ApiOperation("下载文件") @ApiOperation("下载文件")
@ApiImplicitParam(name = "path", value = "文件附件", required = true, dataTypeClass = MultipartFile.class) @ApiImplicitParam(name = "path", value = "文件附件", required = true, dataTypeClass = MultipartFile.class)
public void getFile(HttpServletResponse response, @PathVariable("path") String path) throws IOException { public void getFile(HttpServletResponse response, @PathVariable("path") String path) throws IOException {
TenantContextHolder.setNullTenantId();
InfFileDO file = fileCoreService.getFile(path); InfFileDO file = fileCoreService.getFile(path);
if (file == null) { if (file == null) {
log.warn("[getFile][path({}) 文件不存在]", path); log.warn("[getFile][path({}) 文件不存在]", path);

View File

@ -2,11 +2,27 @@ package cn.iocoder.yudao.coreservice.modules.infra.dal.mysql.file;
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX; import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.coreservice.modules.infra.dal.dataobject.file.InfFileDO; import cn.iocoder.yudao.coreservice.modules.infra.dal.dataobject.file.InfFileDO;
import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
@Mapper @Mapper
public interface InfFileCoreMapper extends BaseMapperX<InfFileDO> { public interface InfFileCoreMapper extends BaseMapperX<InfFileDO> {
default Integer selectCountById(String id) { default Integer selectCountById(String id) {
return selectCount("id", id); return selectCount("id", id);
} }
/**
* Path
* ID
* 使 <img />
*
* @param path
* @return
*/
@InterceptorIgnore(tenantLine = "true")
default InfFileDO selectByPath(String path) {
return selectById(path);
}
} }

View File

@ -58,7 +58,7 @@ public class InfFileCoreServiceImpl implements InfFileCoreService {
@Override @Override
public InfFileDO getFile(String path) { public InfFileDO getFile(String path) {
return fileMapper.selectById(path); return fileMapper.selectByPath(path);
} }
} }

View File

@ -11,6 +11,11 @@ public class TenantContextHolder {
private static final ThreadLocal<Long> TENANT_ID = new TransmittableThreadLocal<>(); private static final ThreadLocal<Long> TENANT_ID = new TransmittableThreadLocal<>();
/**
* -
*/
private static final Long TENANT_ID_NULL = 0L;
/** /**
* *
* *
@ -33,6 +38,15 @@ public class TenantContextHolder {
return tenantId; return tenantId;
} }
/**
* <img />
* Controller
* TODO
*/
public static void setNullTenantId() {
TENANT_ID.set(TENANT_ID_NULL);
}
public static void setTenantId(Long tenantId) { public static void setTenantId(Long tenantId) {
TENANT_ID.set(tenantId); TENANT_ID.set(tenantId);
} }

View File

@ -30,6 +30,7 @@ public class TenantSecurityWebFilter extends OncePerRequestFilter {
throws ServletException, IOException { throws ServletException, IOException {
LoginUser user = SecurityFrameworkUtils.getLoginUser(); LoginUser user = SecurityFrameworkUtils.getLoginUser();
assert user != null; // shouldNotFilter 已经校验 assert user != null; // shouldNotFilter 已经校验
// 校验租户是否匹配。
if (!Objects.equals(user.getTenantId(), TenantContextHolder.getTenantId())) { if (!Objects.equals(user.getTenantId(), TenantContextHolder.getTenantId())) {
log.error("[doFilterInternal][租户({}) User({}/{}) 越权访问租户({}) URL({}/{})]", log.error("[doFilterInternal][租户({}) User({}/{}) 越权访问租户({}) URL({}/{})]",
user.getTenantId(), user.getId(), user.getUserType(), user.getTenantId(), user.getId(), user.getUserType(),