前端及数据库微调
parent
2b8d36284a
commit
e2d67e092c
Binary file not shown.
After Width: | Height: | Size: 242 KiB |
|
@ -14,7 +14,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Logo from '@/assets/images/logo.png'
|
import Logo from '@/assets/images/kashi_logo.png'
|
||||||
export default {
|
export default {
|
||||||
name: 'SidebarLogo',
|
name: 'SidebarLogo',
|
||||||
props: {
|
props: {
|
||||||
|
@ -25,7 +25,7 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
title: 'ELADMIN-后台管理',
|
title: '电产院财务管理系统',
|
||||||
logo: Logo
|
logo: Logo
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ module.exports = {
|
||||||
/**
|
/**
|
||||||
* @description 网站标题
|
* @description 网站标题
|
||||||
*/
|
*/
|
||||||
title: 'ELADMIN',
|
title: '财务管理系统',
|
||||||
/**
|
/**
|
||||||
* @description 是否显示 tagsView
|
* @description 是否显示 tagsView
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="login" :style="'background-image:url('+ Background +');'">
|
<div class="login" :style="'background-image:url('+ Background +');'">
|
||||||
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" label-position="left" label-width="0px" class="login-form">
|
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" label-position="left" label-width="0px" class="login-form">
|
||||||
<h3 class="title">
|
<h3 class="title">
|
||||||
ELADMIN 后台管理系统
|
喀什电产院财务管理系统
|
||||||
</h3>
|
</h3>
|
||||||
<el-form-item prop="username">
|
<el-form-item prop="username">
|
||||||
<el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="账号">
|
<el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="账号">
|
||||||
|
|
404
sql/finance.sql
404
sql/finance.sql
|
@ -14,7 +14,7 @@
|
||||||
Date: 31/10/2023 23:27:39
|
Date: 31/10/2023 23:27:39
|
||||||
*/
|
*/
|
||||||
|
|
||||||
SET NAMES utf8mb4;
|
SET NAMES utf8;
|
||||||
SET FOREIGN_KEY_CHECKS = 0;
|
SET FOREIGN_KEY_CHECKS = 0;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
|
@ -23,22 +23,22 @@ SET FOREIGN_KEY_CHECKS = 0;
|
||||||
DROP TABLE IF EXISTS `code_column_config`;
|
DROP TABLE IF EXISTS `code_column_config`;
|
||||||
CREATE TABLE `code_column_config` (
|
CREATE TABLE `code_column_config` (
|
||||||
`column_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
`column_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||||
`table_name` varchar(180) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
`table_name` varchar(180) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
||||||
`column_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
`column_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
||||||
`column_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
`column_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
||||||
`dict_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
`dict_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
||||||
`extra` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
`extra` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
||||||
`form_show` bit(1) NULL DEFAULT NULL,
|
`form_show` bit(1) NULL DEFAULT NULL,
|
||||||
`form_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
`form_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
||||||
`key_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
`key_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
||||||
`list_show` bit(1) NULL DEFAULT NULL,
|
`list_show` bit(1) NULL DEFAULT NULL,
|
||||||
`not_null` bit(1) NULL DEFAULT NULL,
|
`not_null` bit(1) NULL DEFAULT NULL,
|
||||||
`query_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
`query_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
||||||
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
`remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
||||||
`date_annotation` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
`date_annotation` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
||||||
PRIMARY KEY (`column_id`) USING BTREE,
|
PRIMARY KEY (`column_id`) USING BTREE,
|
||||||
INDEX `idx_table_name`(`table_name` ASC) USING BTREE
|
INDEX `idx_table_name`(`table_name` ASC) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 236 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '代码生成字段信息存储' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 236 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '代码生成字段信息存储' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of code_column_config
|
-- Records of code_column_config
|
||||||
|
@ -121,18 +121,18 @@ INSERT INTO `code_column_config` VALUES (262, 'user_bank', 'update_time', 'datet
|
||||||
DROP TABLE IF EXISTS `code_gen_config`;
|
DROP TABLE IF EXISTS `code_gen_config`;
|
||||||
CREATE TABLE `code_gen_config` (
|
CREATE TABLE `code_gen_config` (
|
||||||
`config_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
`config_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||||
`table_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '表名',
|
`table_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '表名',
|
||||||
`author` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '作者',
|
`author` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '作者',
|
||||||
`cover` bit(1) NULL DEFAULT NULL COMMENT '是否覆盖',
|
`cover` bit(1) NULL DEFAULT NULL COMMENT '是否覆盖',
|
||||||
`module_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '模块名称',
|
`module_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '模块名称',
|
||||||
`pack` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '至于哪个包下',
|
`pack` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '至于哪个包下',
|
||||||
`path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '前端代码生成的路径',
|
`path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '前端代码生成的路径',
|
||||||
`api_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '前端Api文件路径',
|
`api_path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '前端Api文件路径',
|
||||||
`prefix` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '表前缀',
|
`prefix` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '表前缀',
|
||||||
`api_alias` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '接口名称',
|
`api_alias` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '接口名称',
|
||||||
PRIMARY KEY (`config_id`) USING BTREE,
|
PRIMARY KEY (`config_id`) USING BTREE,
|
||||||
INDEX `idx_table_name`(`table_name`(100) ASC) USING BTREE
|
INDEX `idx_table_name`(`table_name`(100) ASC) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '代码生成器配置' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '代码生成器配置' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of code_gen_config
|
-- Records of code_gen_config
|
||||||
|
@ -148,19 +148,19 @@ INSERT INTO `code_gen_config` VALUES (10, 'user_bank', 'author', b'0', 'eladmin-
|
||||||
DROP TABLE IF EXISTS `mnt_app`;
|
DROP TABLE IF EXISTS `mnt_app`;
|
||||||
CREATE TABLE `mnt_app` (
|
CREATE TABLE `mnt_app` (
|
||||||
`app_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
`app_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||||
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '应用名称',
|
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '应用名称',
|
||||||
`upload_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '上传目录',
|
`upload_path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '上传目录',
|
||||||
`deploy_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '部署路径',
|
`deploy_path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '部署路径',
|
||||||
`backup_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '备份路径',
|
`backup_path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备份路径',
|
||||||
`port` int NULL DEFAULT NULL COMMENT '应用端口',
|
`port` int NULL DEFAULT NULL COMMENT '应用端口',
|
||||||
`start_script` varchar(4000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '启动脚本',
|
`start_script` varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '启动脚本',
|
||||||
`deploy_script` varchar(4000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '部署脚本',
|
`deploy_script` varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '部署脚本',
|
||||||
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建者',
|
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建者',
|
||||||
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新者',
|
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新者',
|
||||||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
||||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||||
PRIMARY KEY (`app_id`) USING BTREE
|
PRIMARY KEY (`app_id`) USING BTREE
|
||||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '应用管理' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '应用管理' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of mnt_app
|
-- Records of mnt_app
|
||||||
|
@ -171,17 +171,17 @@ CREATE TABLE `mnt_app` (
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `mnt_database`;
|
DROP TABLE IF EXISTS `mnt_database`;
|
||||||
CREATE TABLE `mnt_database` (
|
CREATE TABLE `mnt_database` (
|
||||||
`db_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT 'ID',
|
`db_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ID',
|
||||||
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '名称',
|
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '名称',
|
||||||
`jdbc_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT 'jdbc连接',
|
`jdbc_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'jdbc连接',
|
||||||
`user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '账号',
|
`user_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '账号',
|
||||||
`pwd` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '密码',
|
`pwd` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '密码',
|
||||||
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建者',
|
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建者',
|
||||||
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新者',
|
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新者',
|
||||||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
|
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
|
||||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||||
PRIMARY KEY (`db_id`) USING BTREE
|
PRIMARY KEY (`db_id`) USING BTREE
|
||||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '数据库管理' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '数据库管理' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of mnt_database
|
-- Records of mnt_database
|
||||||
|
@ -194,13 +194,13 @@ DROP TABLE IF EXISTS `mnt_deploy`;
|
||||||
CREATE TABLE `mnt_deploy` (
|
CREATE TABLE `mnt_deploy` (
|
||||||
`deploy_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
`deploy_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||||
`app_id` bigint NULL DEFAULT NULL COMMENT '应用编号',
|
`app_id` bigint NULL DEFAULT NULL COMMENT '应用编号',
|
||||||
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建者',
|
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建者',
|
||||||
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新者',
|
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新者',
|
||||||
`create_time` datetime NULL DEFAULT NULL,
|
`create_time` datetime NULL DEFAULT NULL,
|
||||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||||
PRIMARY KEY (`deploy_id`) USING BTREE,
|
PRIMARY KEY (`deploy_id`) USING BTREE,
|
||||||
INDEX `FK6sy157pseoxx4fmcqr1vnvvhy`(`app_id` ASC) USING BTREE
|
INDEX `FK6sy157pseoxx4fmcqr1vnvvhy`(`app_id` ASC) USING BTREE
|
||||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '部署管理' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '部署管理' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of mnt_deploy
|
-- Records of mnt_deploy
|
||||||
|
@ -211,14 +211,14 @@ CREATE TABLE `mnt_deploy` (
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `mnt_deploy_history`;
|
DROP TABLE IF EXISTS `mnt_deploy_history`;
|
||||||
CREATE TABLE `mnt_deploy_history` (
|
CREATE TABLE `mnt_deploy_history` (
|
||||||
`history_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT 'ID',
|
`history_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ID',
|
||||||
`app_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '应用名称',
|
`app_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '应用名称',
|
||||||
`deploy_date` datetime NOT NULL COMMENT '部署日期',
|
`deploy_date` datetime NOT NULL COMMENT '部署日期',
|
||||||
`deploy_user` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '部署用户',
|
`deploy_user` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '部署用户',
|
||||||
`ip` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '服务器IP',
|
`ip` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '服务器IP',
|
||||||
`deploy_id` bigint NULL DEFAULT NULL COMMENT '部署编号',
|
`deploy_id` bigint NULL DEFAULT NULL COMMENT '部署编号',
|
||||||
PRIMARY KEY (`history_id`) USING BTREE
|
PRIMARY KEY (`history_id`) USING BTREE
|
||||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '部署历史管理' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '部署历史管理' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of mnt_deploy_history
|
-- Records of mnt_deploy_history
|
||||||
|
@ -233,7 +233,7 @@ CREATE TABLE `mnt_deploy_server` (
|
||||||
`server_id` bigint NOT NULL COMMENT '服务ID',
|
`server_id` bigint NOT NULL COMMENT '服务ID',
|
||||||
PRIMARY KEY (`deploy_id`, `server_id`) USING BTREE,
|
PRIMARY KEY (`deploy_id`, `server_id`) USING BTREE,
|
||||||
INDEX `FKeaaha7jew9a02b3bk9ghols53`(`server_id` ASC) USING BTREE
|
INDEX `FKeaaha7jew9a02b3bk9ghols53`(`server_id` ASC) USING BTREE
|
||||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '应用与服务器关联' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '应用与服务器关联' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of mnt_deploy_server
|
-- Records of mnt_deploy_server
|
||||||
|
@ -245,18 +245,18 @@ CREATE TABLE `mnt_deploy_server` (
|
||||||
DROP TABLE IF EXISTS `mnt_server`;
|
DROP TABLE IF EXISTS `mnt_server`;
|
||||||
CREATE TABLE `mnt_server` (
|
CREATE TABLE `mnt_server` (
|
||||||
`server_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
`server_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||||
`account` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '账号',
|
`account` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '账号',
|
||||||
`ip` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT 'IP地址',
|
`ip` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'IP地址',
|
||||||
`name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '名称',
|
`name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '名称',
|
||||||
`password` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '密码',
|
`password` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '密码',
|
||||||
`port` int NULL DEFAULT NULL COMMENT '端口',
|
`port` int NULL DEFAULT NULL COMMENT '端口',
|
||||||
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建者',
|
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建者',
|
||||||
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新者',
|
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新者',
|
||||||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
|
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
|
||||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||||
PRIMARY KEY (`server_id`) USING BTREE,
|
PRIMARY KEY (`server_id`) USING BTREE,
|
||||||
INDEX `idx_ip`(`ip` ASC) USING BTREE
|
INDEX `idx_ip`(`ip` ASC) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '服务器管理' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '服务器管理' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of mnt_server
|
-- Records of mnt_server
|
||||||
|
@ -269,26 +269,26 @@ DROP TABLE IF EXISTS `purchase`;
|
||||||
CREATE TABLE `purchase` (
|
CREATE TABLE `purchase` (
|
||||||
`purchase_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
`purchase_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||||
`user_id` bigint NULL DEFAULT NULL COMMENT '采购人Id 关联User',
|
`user_id` bigint NULL DEFAULT NULL COMMENT '采购人Id 关联User',
|
||||||
`reason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '申请事由',
|
`reason` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '申请事由',
|
||||||
`fee` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '申请金额',
|
`fee` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '申请金额',
|
||||||
`product_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '货物/服务名称',
|
`product_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货物/服务名称',
|
||||||
`purchase_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '申请类型:设备费/业务费',
|
`purchase_type` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '申请类型:设备费/业务费',
|
||||||
`product_info` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '品牌/规格/参数',
|
`product_info` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '品牌/规格/参数',
|
||||||
`product_count` decimal(10, 0) NULL DEFAULT NULL COMMENT '数量',
|
`product_count` decimal(10, 0) NULL DEFAULT NULL COMMENT '数量',
|
||||||
`product_price` decimal(19, 2) NULL DEFAULT NULL COMMENT '预算单价',
|
`product_price` decimal(19, 2) NULL DEFAULT NULL COMMENT '预算单价',
|
||||||
`total_fee` decimal(19, 2) NULL DEFAULT NULL COMMENT '预算总价',
|
`total_fee` decimal(19, 2) NULL DEFAULT NULL COMMENT '预算总价',
|
||||||
`fee_source` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '资金来源 电产院经费(可以不填项目编号)/研究所经费(可以不填项目编号)/纵向项目/横向项目/纵向项目配套经费',
|
`fee_source` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '资金来源 电产院经费(可以不填项目编号)/研究所经费(可以不填项目编号)/纵向项目/横向项目/纵向项目配套经费',
|
||||||
`project_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '项目名称',
|
`project_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目名称',
|
||||||
`project_no` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '项目名称',
|
`project_no` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目名称',
|
||||||
`purchase_time` datetime NULL DEFAULT NULL COMMENT '预计采购时间',
|
`purchase_time` datetime NULL DEFAULT NULL COMMENT '预计采购时间',
|
||||||
`apply_time` datetime NULL DEFAULT NULL COMMENT '申请时间',
|
`apply_time` datetime NULL DEFAULT NULL COMMENT '申请时间',
|
||||||
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '备注',
|
`remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
|
||||||
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建者',
|
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建者',
|
||||||
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新者',
|
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新者',
|
||||||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
||||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||||
PRIMARY KEY (`purchase_id`) USING BTREE
|
PRIMARY KEY (`purchase_id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '经费支出' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '经费支出' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of purchase
|
-- Records of purchase
|
||||||
|
@ -303,24 +303,24 @@ DROP TABLE IF EXISTS `reimburse`;
|
||||||
CREATE TABLE `reimburse` (
|
CREATE TABLE `reimburse` (
|
||||||
`reimburse_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
`reimburse_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||||
`user_id` bigint NULL DEFAULT NULL COMMENT '报销人 关联User',
|
`user_id` bigint NULL DEFAULT NULL COMMENT '报销人 关联User',
|
||||||
`reason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '申请事由',
|
`reason` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '申请事由',
|
||||||
`fee` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '申请金额',
|
`fee` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '申请金额',
|
||||||
`reimburse_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '报销类型:设备费/业务费',
|
`reimburse_type` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '报销类型:设备费/业务费',
|
||||||
`fee_source` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
`fee_source` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
||||||
`business_fee_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '业务费类型',
|
`business_fee_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '业务费类型',
|
||||||
`project_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '项目名称',
|
`project_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目名称',
|
||||||
`project_no` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '项目名称',
|
`project_no` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目名称',
|
||||||
`project_fee` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '项目预算',
|
`project_fee` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目预算',
|
||||||
`reimburse_time` datetime NULL DEFAULT NULL COMMENT '花费产生时间',
|
`reimburse_time` datetime NULL DEFAULT NULL COMMENT '花费产生时间',
|
||||||
`purchase_time` datetime NULL DEFAULT NULL COMMENT '预计采购时间',
|
`purchase_time` datetime NULL DEFAULT NULL COMMENT '预计采购时间',
|
||||||
`apply_time` datetime NULL DEFAULT NULL COMMENT '申请时间',
|
`apply_time` datetime NULL DEFAULT NULL COMMENT '申请时间',
|
||||||
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '备注',
|
`remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
|
||||||
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建者',
|
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建者',
|
||||||
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新者',
|
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新者',
|
||||||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
||||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||||
PRIMARY KEY (`reimburse_id`) USING BTREE
|
PRIMARY KEY (`reimburse_id`) USING BTREE
|
||||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '报销单' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '报销单' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of reimburse
|
-- Records of reimburse
|
||||||
|
@ -335,17 +335,17 @@ CREATE TABLE `sys_dept` (
|
||||||
`dept_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
`dept_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||||
`pid` bigint NULL DEFAULT NULL COMMENT '上级部门',
|
`pid` bigint NULL DEFAULT NULL COMMENT '上级部门',
|
||||||
`sub_count` int NULL DEFAULT 0 COMMENT '子部门数目',
|
`sub_count` int NULL DEFAULT 0 COMMENT '子部门数目',
|
||||||
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '名称',
|
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '名称',
|
||||||
`dept_sort` int NULL DEFAULT 999 COMMENT '排序',
|
`dept_sort` int NULL DEFAULT 999 COMMENT '排序',
|
||||||
`enabled` bit(1) NOT NULL COMMENT '状态',
|
`enabled` bit(1) NOT NULL COMMENT '状态',
|
||||||
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建者',
|
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建者',
|
||||||
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新者',
|
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新者',
|
||||||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
||||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||||
PRIMARY KEY (`dept_id`) USING BTREE,
|
PRIMARY KEY (`dept_id`) USING BTREE,
|
||||||
INDEX `inx_pid`(`pid` ASC) USING BTREE,
|
INDEX `inx_pid`(`pid` ASC) USING BTREE,
|
||||||
INDEX `inx_enabled`(`enabled` ASC) USING BTREE
|
INDEX `inx_enabled`(`enabled` ASC) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 18 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '部门' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 18 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '部门' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of sys_dept
|
-- Records of sys_dept
|
||||||
|
@ -364,14 +364,14 @@ INSERT INTO `sys_dept` VALUES (17, 2, 0, '研发一组', 999, b'1', 'admin', 'ad
|
||||||
DROP TABLE IF EXISTS `sys_dict`;
|
DROP TABLE IF EXISTS `sys_dict`;
|
||||||
CREATE TABLE `sys_dict` (
|
CREATE TABLE `sys_dict` (
|
||||||
`dict_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
`dict_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||||
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '字典名称',
|
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '字典名称',
|
||||||
`description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '描述',
|
`description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '描述',
|
||||||
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建者',
|
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建者',
|
||||||
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新者',
|
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新者',
|
||||||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
||||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||||
PRIMARY KEY (`dict_id`) USING BTREE
|
PRIMARY KEY (`dict_id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '数据字典' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '数据字典' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of sys_dict
|
-- Records of sys_dict
|
||||||
|
@ -390,16 +390,16 @@ DROP TABLE IF EXISTS `sys_dict_detail`;
|
||||||
CREATE TABLE `sys_dict_detail` (
|
CREATE TABLE `sys_dict_detail` (
|
||||||
`detail_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
`detail_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||||
`dict_id` bigint NULL DEFAULT NULL COMMENT '字典id',
|
`dict_id` bigint NULL DEFAULT NULL COMMENT '字典id',
|
||||||
`label` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '字典标签',
|
`label` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '字典标签',
|
||||||
`value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '字典值',
|
`value` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '字典值',
|
||||||
`dict_sort` int NULL DEFAULT NULL COMMENT '排序',
|
`dict_sort` int NULL DEFAULT NULL COMMENT '排序',
|
||||||
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建者',
|
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建者',
|
||||||
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新者',
|
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新者',
|
||||||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
||||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||||
PRIMARY KEY (`detail_id`) USING BTREE,
|
PRIMARY KEY (`detail_id`) USING BTREE,
|
||||||
INDEX `FK5tpkputc6d9nboxojdbgnpmyb`(`dict_id` ASC) USING BTREE
|
INDEX `FK5tpkputc6d9nboxojdbgnpmyb`(`dict_id` ASC) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 13 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '数据字典详情' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 13 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '数据字典详情' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of sys_dict_detail
|
-- Records of sys_dict_detail
|
||||||
|
@ -424,17 +424,17 @@ INSERT INTO `sys_dict_detail` VALUES (13, 8, '材料费', 'material', 1, 'admin'
|
||||||
DROP TABLE IF EXISTS `sys_job`;
|
DROP TABLE IF EXISTS `sys_job`;
|
||||||
CREATE TABLE `sys_job` (
|
CREATE TABLE `sys_job` (
|
||||||
`job_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
`job_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||||
`name` varchar(180) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '岗位名称',
|
`name` varchar(180) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '岗位名称',
|
||||||
`enabled` bit(1) NOT NULL COMMENT '岗位状态',
|
`enabled` bit(1) NOT NULL COMMENT '岗位状态',
|
||||||
`job_sort` int NULL DEFAULT NULL COMMENT '排序',
|
`job_sort` int NULL DEFAULT NULL COMMENT '排序',
|
||||||
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建者',
|
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建者',
|
||||||
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新者',
|
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新者',
|
||||||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
||||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||||
PRIMARY KEY (`job_id`) USING BTREE,
|
PRIMARY KEY (`job_id`) USING BTREE,
|
||||||
UNIQUE INDEX `uniq_name`(`name` ASC) USING BTREE,
|
UNIQUE INDEX `uniq_name`(`name` ASC) USING BTREE,
|
||||||
INDEX `inx_enabled`(`enabled` ASC) USING BTREE
|
INDEX `inx_enabled`(`enabled` ASC) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 13 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '岗位' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 13 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '岗位' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of sys_job
|
-- Records of sys_job
|
||||||
|
@ -450,21 +450,21 @@ INSERT INTO `sys_job` VALUES (12, '软件测试', b'1', 5, NULL, 'admin', '2019-
|
||||||
DROP TABLE IF EXISTS `sys_log`;
|
DROP TABLE IF EXISTS `sys_log`;
|
||||||
CREATE TABLE `sys_log` (
|
CREATE TABLE `sys_log` (
|
||||||
`log_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
`log_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||||
`description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
`description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
||||||
`log_type` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
`log_type` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
||||||
`method` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
`method` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
||||||
`params` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL,
|
`params` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
|
||||||
`request_ip` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
`request_ip` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
||||||
`time` bigint NULL DEFAULT NULL,
|
`time` bigint NULL DEFAULT NULL,
|
||||||
`username` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
`username` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
||||||
`address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
`address` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
||||||
`browser` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
`browser` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
||||||
`exception_detail` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL,
|
`exception_detail` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
|
||||||
`create_time` datetime NULL DEFAULT NULL,
|
`create_time` datetime NULL DEFAULT NULL,
|
||||||
PRIMARY KEY (`log_id`) USING BTREE,
|
PRIMARY KEY (`log_id`) USING BTREE,
|
||||||
INDEX `log_create_time_index`(`create_time` ASC) USING BTREE,
|
INDEX `log_create_time_index`(`create_time` ASC) USING BTREE,
|
||||||
INDEX `inx_log_type`(`log_type` ASC) USING BTREE
|
INDEX `inx_log_type`(`log_type` ASC) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 3667 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '系统日志' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 3667 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '系统日志' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of sys_log
|
-- Records of sys_log
|
||||||
|
@ -693,25 +693,25 @@ CREATE TABLE `sys_menu` (
|
||||||
`pid` bigint NULL DEFAULT NULL COMMENT '上级菜单ID',
|
`pid` bigint NULL DEFAULT NULL COMMENT '上级菜单ID',
|
||||||
`sub_count` int NULL DEFAULT 0 COMMENT '子菜单数目',
|
`sub_count` int NULL DEFAULT 0 COMMENT '子菜单数目',
|
||||||
`type` int NULL DEFAULT NULL COMMENT '菜单类型',
|
`type` int NULL DEFAULT NULL COMMENT '菜单类型',
|
||||||
`title` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '菜单标题',
|
`title` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '菜单标题',
|
||||||
`name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '组件名称',
|
`name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '组件名称',
|
||||||
`component` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '组件',
|
`component` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '组件',
|
||||||
`menu_sort` int NULL DEFAULT NULL COMMENT '排序',
|
`menu_sort` int NULL DEFAULT NULL COMMENT '排序',
|
||||||
`icon` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '图标',
|
`icon` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '图标',
|
||||||
`path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '链接地址',
|
`path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '链接地址',
|
||||||
`i_frame` bit(1) NULL DEFAULT NULL COMMENT '是否外链',
|
`i_frame` bit(1) NULL DEFAULT NULL COMMENT '是否外链',
|
||||||
`cache` bit(1) NULL DEFAULT b'0' COMMENT '缓存',
|
`cache` bit(1) NULL DEFAULT b'0' COMMENT '缓存',
|
||||||
`hidden` bit(1) NULL DEFAULT b'0' COMMENT '隐藏',
|
`hidden` bit(1) NULL DEFAULT b'0' COMMENT '隐藏',
|
||||||
`permission` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '权限',
|
`permission` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '权限',
|
||||||
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建者',
|
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建者',
|
||||||
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新者',
|
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新者',
|
||||||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
||||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||||
PRIMARY KEY (`menu_id`) USING BTREE,
|
PRIMARY KEY (`menu_id`) USING BTREE,
|
||||||
UNIQUE INDEX `uniq_title`(`title` ASC) USING BTREE,
|
UNIQUE INDEX `uniq_title`(`title` ASC) USING BTREE,
|
||||||
UNIQUE INDEX `uniq_name`(`name` ASC) USING BTREE,
|
UNIQUE INDEX `uniq_name`(`name` ASC) USING BTREE,
|
||||||
INDEX `inx_pid`(`pid` ASC) USING BTREE
|
INDEX `inx_pid`(`pid` ASC) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 120 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '系统菜单' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 120 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '系统菜单' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of sys_menu
|
-- Records of sys_menu
|
||||||
|
@ -803,24 +803,24 @@ INSERT INTO `sys_menu` VALUES (122, 118, 0, 1, '银行卡信息', 'Userbank', 's
|
||||||
DROP TABLE IF EXISTS `sys_quartz_job`;
|
DROP TABLE IF EXISTS `sys_quartz_job`;
|
||||||
CREATE TABLE `sys_quartz_job` (
|
CREATE TABLE `sys_quartz_job` (
|
||||||
`job_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
`job_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||||
`bean_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT 'Spring Bean名称',
|
`bean_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'Spring Bean名称',
|
||||||
`cron_expression` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT 'cron 表达式',
|
`cron_expression` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'cron 表达式',
|
||||||
`is_pause` bit(1) NULL DEFAULT NULL COMMENT '状态:1暂停、0启用',
|
`is_pause` bit(1) NULL DEFAULT NULL COMMENT '状态:1暂停、0启用',
|
||||||
`job_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '任务名称',
|
`job_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '任务名称',
|
||||||
`method_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '方法名称',
|
`method_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '方法名称',
|
||||||
`params` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '参数',
|
`params` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '参数',
|
||||||
`description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '备注',
|
`description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
|
||||||
`person_in_charge` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '负责人',
|
`person_in_charge` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '负责人',
|
||||||
`email` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '报警邮箱',
|
`email` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '报警邮箱',
|
||||||
`sub_task` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '子任务ID',
|
`sub_task` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '子任务ID',
|
||||||
`pause_after_failure` bit(1) NULL DEFAULT NULL COMMENT '任务失败后是否暂停',
|
`pause_after_failure` bit(1) NULL DEFAULT NULL COMMENT '任务失败后是否暂停',
|
||||||
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建者',
|
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建者',
|
||||||
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新者',
|
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新者',
|
||||||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
||||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||||
PRIMARY KEY (`job_id`) USING BTREE,
|
PRIMARY KEY (`job_id`) USING BTREE,
|
||||||
INDEX `inx_is_pause`(`is_pause` ASC) USING BTREE
|
INDEX `inx_is_pause`(`is_pause` ASC) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '定时任务' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '定时任务' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of sys_quartz_job
|
-- Records of sys_quartz_job
|
||||||
|
@ -836,17 +836,17 @@ INSERT INTO `sys_quartz_job` VALUES (6, 'testTask', '0/5 * * * * ?', b'1', '测
|
||||||
DROP TABLE IF EXISTS `sys_quartz_log`;
|
DROP TABLE IF EXISTS `sys_quartz_log`;
|
||||||
CREATE TABLE `sys_quartz_log` (
|
CREATE TABLE `sys_quartz_log` (
|
||||||
`log_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
`log_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||||
`bean_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
`bean_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
||||||
`create_time` datetime NULL DEFAULT NULL,
|
`create_time` datetime NULL DEFAULT NULL,
|
||||||
`cron_expression` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
`cron_expression` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
||||||
`exception_detail` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL,
|
`exception_detail` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
|
||||||
`is_success` bit(1) NULL DEFAULT NULL,
|
`is_success` bit(1) NULL DEFAULT NULL,
|
||||||
`job_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
`job_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
||||||
`method_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
`method_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
||||||
`params` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
`params` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
||||||
`time` bigint NULL DEFAULT NULL,
|
`time` bigint NULL DEFAULT NULL,
|
||||||
PRIMARY KEY (`log_id`) USING BTREE
|
PRIMARY KEY (`log_id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 150 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '定时任务日志' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 150 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '定时任务日志' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of sys_quartz_log
|
-- Records of sys_quartz_log
|
||||||
|
@ -858,18 +858,18 @@ CREATE TABLE `sys_quartz_log` (
|
||||||
DROP TABLE IF EXISTS `sys_role`;
|
DROP TABLE IF EXISTS `sys_role`;
|
||||||
CREATE TABLE `sys_role` (
|
CREATE TABLE `sys_role` (
|
||||||
`role_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
`role_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||||
`name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '名称',
|
`name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '名称',
|
||||||
`level` int NULL DEFAULT NULL COMMENT '角色级别',
|
`level` int NULL DEFAULT NULL COMMENT '角色级别',
|
||||||
`description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '描述',
|
`description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '描述',
|
||||||
`data_scope` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '数据权限',
|
`data_scope` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '数据权限',
|
||||||
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建者',
|
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建者',
|
||||||
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新者',
|
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新者',
|
||||||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
||||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||||
PRIMARY KEY (`role_id`) USING BTREE,
|
PRIMARY KEY (`role_id`) USING BTREE,
|
||||||
UNIQUE INDEX `uniq_name`(`name` ASC) USING BTREE,
|
UNIQUE INDEX `uniq_name`(`name` ASC) USING BTREE,
|
||||||
INDEX `role_name_index`(`name` ASC) USING BTREE
|
INDEX `role_name_index`(`name` ASC) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '角色表' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色表' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of sys_role
|
-- Records of sys_role
|
||||||
|
@ -886,7 +886,7 @@ CREATE TABLE `sys_roles_depts` (
|
||||||
`dept_id` bigint NOT NULL,
|
`dept_id` bigint NOT NULL,
|
||||||
PRIMARY KEY (`role_id`, `dept_id`) USING BTREE,
|
PRIMARY KEY (`role_id`, `dept_id`) USING BTREE,
|
||||||
INDEX `FK7qg6itn5ajdoa9h9o78v9ksur`(`dept_id` ASC) USING BTREE
|
INDEX `FK7qg6itn5ajdoa9h9o78v9ksur`(`dept_id` ASC) USING BTREE
|
||||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '角色部门关联' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色部门关联' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of sys_roles_depts
|
-- Records of sys_roles_depts
|
||||||
|
@ -901,7 +901,7 @@ CREATE TABLE `sys_roles_menus` (
|
||||||
`role_id` bigint NOT NULL COMMENT '角色ID',
|
`role_id` bigint NOT NULL COMMENT '角色ID',
|
||||||
PRIMARY KEY (`menu_id`, `role_id`) USING BTREE,
|
PRIMARY KEY (`menu_id`, `role_id`) USING BTREE,
|
||||||
INDEX `FKcngg2qadojhi3a651a5adkvbq`(`role_id` ASC) USING BTREE
|
INDEX `FKcngg2qadojhi3a651a5adkvbq`(`role_id` ASC) USING BTREE
|
||||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '角色菜单关联' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色菜单关联' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of sys_roles_menus
|
-- Records of sys_roles_menus
|
||||||
|
@ -1019,19 +1019,19 @@ DROP TABLE IF EXISTS `sys_user`;
|
||||||
CREATE TABLE `sys_user` (
|
CREATE TABLE `sys_user` (
|
||||||
`user_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
`user_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||||
`dept_id` bigint NULL DEFAULT NULL COMMENT '部门名称',
|
`dept_id` bigint NULL DEFAULT NULL COMMENT '部门名称',
|
||||||
`username` varchar(180) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '用户名',
|
`username` varchar(180) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户名',
|
||||||
`nick_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '昵称',
|
`nick_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '昵称',
|
||||||
`gender` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '性别',
|
`gender` varchar(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '性别',
|
||||||
`phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '手机号码',
|
`phone` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '手机号码',
|
||||||
`id_no` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '身份证号码',
|
`id_no` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '身份证号码',
|
||||||
`email` varchar(180) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '邮箱',
|
`email` varchar(180) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '邮箱',
|
||||||
`avatar_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '头像地址',
|
`avatar_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '头像地址',
|
||||||
`avatar_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '头像真实路径',
|
`avatar_path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '头像真实路径',
|
||||||
`password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '密码',
|
`password` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '密码',
|
||||||
`is_admin` bit(1) NULL DEFAULT b'0' COMMENT '是否为admin账号',
|
`is_admin` bit(1) NULL DEFAULT b'0' COMMENT '是否为admin账号',
|
||||||
`enabled` bit(1) NULL DEFAULT NULL COMMENT '状态:1启用、0禁用',
|
`enabled` bit(1) NULL DEFAULT NULL COMMENT '状态:1启用、0禁用',
|
||||||
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建者',
|
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建者',
|
||||||
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新者',
|
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新者',
|
||||||
`pwd_reset_time` datetime NULL DEFAULT NULL COMMENT '修改密码的时间',
|
`pwd_reset_time` datetime NULL DEFAULT NULL COMMENT '修改密码的时间',
|
||||||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
||||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||||
|
@ -1042,7 +1042,7 @@ CREATE TABLE `sys_user` (
|
||||||
UNIQUE INDEX `uniq_email`(`email` ASC) USING BTREE,
|
UNIQUE INDEX `uniq_email`(`email` ASC) USING BTREE,
|
||||||
INDEX `FK5rwmryny6jthaaxkogownknqp`(`dept_id` ASC) USING BTREE,
|
INDEX `FK5rwmryny6jthaaxkogownknqp`(`dept_id` ASC) USING BTREE,
|
||||||
INDEX `inx_enabled`(`enabled` ASC) USING BTREE
|
INDEX `inx_enabled`(`enabled` ASC) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '系统用户' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '系统用户' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of sys_user
|
-- Records of sys_user
|
||||||
|
@ -1075,7 +1075,7 @@ CREATE TABLE `sys_users_roles` (
|
||||||
`role_id` bigint NOT NULL COMMENT '角色ID',
|
`role_id` bigint NOT NULL COMMENT '角色ID',
|
||||||
PRIMARY KEY (`user_id`, `role_id`) USING BTREE,
|
PRIMARY KEY (`user_id`, `role_id`) USING BTREE,
|
||||||
INDEX `FKq4eq273l04bpu4efj0jd0jb98`(`role_id` ASC) USING BTREE
|
INDEX `FKq4eq273l04bpu4efj0jd0jb98`(`role_id` ASC) USING BTREE
|
||||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '用户角色关联' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户角色关联' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of sys_users_roles
|
-- Records of sys_users_roles
|
||||||
|
@ -1089,18 +1089,18 @@ INSERT INTO `sys_users_roles` VALUES (2, 2);
|
||||||
DROP TABLE IF EXISTS `tool_alipay_config`;
|
DROP TABLE IF EXISTS `tool_alipay_config`;
|
||||||
CREATE TABLE `tool_alipay_config` (
|
CREATE TABLE `tool_alipay_config` (
|
||||||
`config_id` bigint NOT NULL COMMENT 'ID',
|
`config_id` bigint NOT NULL COMMENT 'ID',
|
||||||
`app_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '应用ID',
|
`app_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '应用ID',
|
||||||
`charset` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '编码',
|
`charset` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '编码',
|
||||||
`format` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '类型 固定格式json',
|
`format` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '类型 固定格式json',
|
||||||
`gateway_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '网关地址',
|
`gateway_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '网关地址',
|
||||||
`notify_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '异步回调',
|
`notify_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '异步回调',
|
||||||
`private_key` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL COMMENT '私钥',
|
`private_key` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '私钥',
|
||||||
`public_key` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL COMMENT '公钥',
|
`public_key` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '公钥',
|
||||||
`return_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '回调地址',
|
`return_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '回调地址',
|
||||||
`sign_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '签名方式',
|
`sign_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '签名方式',
|
||||||
`sys_service_provider_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '商户号',
|
`sys_service_provider_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商户号',
|
||||||
PRIMARY KEY (`config_id`) USING BTREE
|
PRIMARY KEY (`config_id`) USING BTREE
|
||||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '支付宝配置类' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '支付宝配置类' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of tool_alipay_config
|
-- Records of tool_alipay_config
|
||||||
|
@ -1113,13 +1113,13 @@ INSERT INTO `tool_alipay_config` VALUES (1, '2016091700532697', 'utf-8', 'JSON',
|
||||||
DROP TABLE IF EXISTS `tool_email_config`;
|
DROP TABLE IF EXISTS `tool_email_config`;
|
||||||
CREATE TABLE `tool_email_config` (
|
CREATE TABLE `tool_email_config` (
|
||||||
`config_id` bigint NOT NULL COMMENT 'ID',
|
`config_id` bigint NOT NULL COMMENT 'ID',
|
||||||
`from_user` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '收件人',
|
`from_user` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '收件人',
|
||||||
`host` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '邮件服务器SMTP地址',
|
`host` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '邮件服务器SMTP地址',
|
||||||
`pass` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '密码',
|
`pass` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '密码',
|
||||||
`port` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '端口',
|
`port` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '端口',
|
||||||
`user` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '发件者用户名',
|
`user` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '发件者用户名',
|
||||||
PRIMARY KEY (`config_id`) USING BTREE
|
PRIMARY KEY (`config_id`) USING BTREE
|
||||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '邮箱配置' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '邮箱配置' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of tool_email_config
|
-- Records of tool_email_config
|
||||||
|
@ -1131,18 +1131,18 @@ CREATE TABLE `tool_email_config` (
|
||||||
DROP TABLE IF EXISTS `tool_local_storage`;
|
DROP TABLE IF EXISTS `tool_local_storage`;
|
||||||
CREATE TABLE `tool_local_storage` (
|
CREATE TABLE `tool_local_storage` (
|
||||||
`storage_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
`storage_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||||
`real_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '文件真实的名称',
|
`real_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '文件真实的名称',
|
||||||
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '文件名',
|
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '文件名',
|
||||||
`suffix` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '后缀',
|
`suffix` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '后缀',
|
||||||
`path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '路径',
|
`path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '路径',
|
||||||
`type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '类型',
|
`type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '类型',
|
||||||
`size` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '大小',
|
`size` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '大小',
|
||||||
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建者',
|
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建者',
|
||||||
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新者',
|
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新者',
|
||||||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
||||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||||
PRIMARY KEY (`storage_id`) USING BTREE
|
PRIMARY KEY (`storage_id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 9 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '本地存储' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 9 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '本地存储' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of tool_local_storage
|
-- Records of tool_local_storage
|
||||||
|
@ -1154,14 +1154,14 @@ CREATE TABLE `tool_local_storage` (
|
||||||
DROP TABLE IF EXISTS `tool_qiniu_config`;
|
DROP TABLE IF EXISTS `tool_qiniu_config`;
|
||||||
CREATE TABLE `tool_qiniu_config` (
|
CREATE TABLE `tool_qiniu_config` (
|
||||||
`config_id` bigint NOT NULL COMMENT 'ID',
|
`config_id` bigint NOT NULL COMMENT 'ID',
|
||||||
`access_key` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL COMMENT 'accessKey',
|
`access_key` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT 'accessKey',
|
||||||
`bucket` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT 'Bucket 识别符',
|
`bucket` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'Bucket 识别符',
|
||||||
`host` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '外链域名',
|
`host` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '外链域名',
|
||||||
`secret_key` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL COMMENT 'secretKey',
|
`secret_key` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT 'secretKey',
|
||||||
`type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '空间类型',
|
`type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '空间类型',
|
||||||
`zone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '机房',
|
`zone` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '机房',
|
||||||
PRIMARY KEY (`config_id`) USING BTREE
|
PRIMARY KEY (`config_id`) USING BTREE
|
||||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '七牛云配置' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '七牛云配置' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of tool_qiniu_config
|
-- Records of tool_qiniu_config
|
||||||
|
@ -1173,16 +1173,16 @@ CREATE TABLE `tool_qiniu_config` (
|
||||||
DROP TABLE IF EXISTS `tool_qiniu_content`;
|
DROP TABLE IF EXISTS `tool_qiniu_content`;
|
||||||
CREATE TABLE `tool_qiniu_content` (
|
CREATE TABLE `tool_qiniu_content` (
|
||||||
`content_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
`content_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||||
`bucket` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT 'Bucket 识别符',
|
`bucket` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'Bucket 识别符',
|
||||||
`name` varchar(180) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '文件名称',
|
`name` varchar(180) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '文件名称',
|
||||||
`size` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '文件大小',
|
`size` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '文件大小',
|
||||||
`type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '文件类型:私有或公开',
|
`type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '文件类型:私有或公开',
|
||||||
`url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '文件url',
|
`url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '文件url',
|
||||||
`suffix` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '文件后缀',
|
`suffix` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '文件后缀',
|
||||||
`update_time` datetime NULL DEFAULT NULL COMMENT '上传或同步的时间',
|
`update_time` datetime NULL DEFAULT NULL COMMENT '上传或同步的时间',
|
||||||
PRIMARY KEY (`content_id`) USING BTREE,
|
PRIMARY KEY (`content_id`) USING BTREE,
|
||||||
UNIQUE INDEX `uniq_name`(`name` ASC) USING BTREE
|
UNIQUE INDEX `uniq_name`(`name` ASC) USING BTREE
|
||||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '七牛云文件存储' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '七牛云文件存储' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of tool_qiniu_content
|
-- Records of tool_qiniu_content
|
||||||
|
@ -1195,16 +1195,16 @@ DROP TABLE IF EXISTS `user_bank`;
|
||||||
CREATE TABLE `user_bank` (
|
CREATE TABLE `user_bank` (
|
||||||
`bank_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
`bank_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||||
`user_id` bigint NOT NULL COMMENT '所属用户',
|
`user_id` bigint NOT NULL COMMENT '所属用户',
|
||||||
`bank_no` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '银行卡号',
|
`bank_no` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '银行卡号',
|
||||||
`bank_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '银行卡所属支行',
|
`bank_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '银行卡所属支行',
|
||||||
`bank_use` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '否' COMMENT '是否常用账号',
|
`bank_use` varchar(2) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '否' COMMENT '是否常用账号',
|
||||||
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '备注',
|
`remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
|
||||||
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建者',
|
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建者',
|
||||||
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新者',
|
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新者',
|
||||||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
||||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||||
PRIMARY KEY (`bank_id`) USING BTREE
|
PRIMARY KEY (`bank_id`) USING BTREE
|
||||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '银行卡信息' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '银行卡信息' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of user_bank
|
-- Records of user_bank
|
||||||
|
|
Loading…
Reference in New Issue