2021-01-10 00:09:38 +08:00
|
|
|
|
/*
|
|
|
|
|
Navicat Premium Data Transfer
|
|
|
|
|
|
2021-03-07 00:47:55 +08:00
|
|
|
|
Source Server : 127.0.0.1
|
2021-01-10 00:09:38 +08:00
|
|
|
|
Source Server Type : MySQL
|
|
|
|
|
Source Server Version : 50718
|
2021-02-28 02:02:24 +08:00
|
|
|
|
Source Host : localhost:3306
|
2021-01-10 00:09:38 +08:00
|
|
|
|
Source Schema : ruoyi-vue-pro
|
|
|
|
|
|
|
|
|
|
Target Server Type : MySQL
|
|
|
|
|
Target Server Version : 50718
|
|
|
|
|
File Encoding : 65001
|
|
|
|
|
|
2021-03-09 20:41:29 +08:00
|
|
|
|
Date: 09/03/2021 20:39:41
|
2021-01-10 00:09:38 +08:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
SET NAMES utf8mb4;
|
|
|
|
|
SET FOREIGN_KEY_CHECKS = 0;
|
|
|
|
|
|
2021-02-28 02:02:24 +08:00
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Table structure for inf_api_access_log
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
DROP TABLE IF EXISTS `inf_api_access_log`;
|
|
|
|
|
CREATE TABLE `inf_api_access_log` (
|
|
|
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '日志主键',
|
|
|
|
|
`trace_id` varchar(64) NOT NULL DEFAULT '' COMMENT '链路追踪编号',
|
|
|
|
|
`user_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '用户编号',
|
|
|
|
|
`user_type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '用户类型',
|
|
|
|
|
`application_name` varchar(50) NOT NULL COMMENT '应用名',
|
|
|
|
|
`request_method` varchar(16) NOT NULL DEFAULT '' COMMENT '请求方法名',
|
|
|
|
|
`request_url` varchar(255) NOT NULL DEFAULT '' COMMENT '请求地址',
|
|
|
|
|
`request_params` varchar(8000) NOT NULL DEFAULT '' COMMENT '请求参数',
|
|
|
|
|
`user_ip` varchar(50) NOT NULL COMMENT '用户 IP',
|
|
|
|
|
`user_agent` varchar(512) NOT NULL COMMENT '浏览器 UA',
|
|
|
|
|
`begin_time` datetime NOT NULL COMMENT '开始请求时间',
|
|
|
|
|
`end_time` datetime NOT NULL COMMENT '结束请求时间',
|
|
|
|
|
`duration` int(11) NOT NULL COMMENT '执行时长',
|
|
|
|
|
`result_code` int(11) NOT NULL DEFAULT '0' COMMENT '结果码',
|
|
|
|
|
`result_msg` varchar(512) DEFAULT '' COMMENT '结果提示',
|
2021-03-09 20:41:29 +08:00
|
|
|
|
`crerator` varchar(64) DEFAULT '' COMMENT '创建者',
|
2021-02-28 02:02:24 +08:00
|
|
|
|
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`updater` varchar(64) DEFAULT '' COMMENT '更新者',
|
2021-02-28 02:02:24 +08:00
|
|
|
|
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
|
|
|
|
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
2021-03-09 20:41:29 +08:00
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='API 访问日志表';
|
2021-02-28 02:02:24 +08:00
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Records of inf_api_access_log
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
BEGIN;
|
|
|
|
|
COMMIT;
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Table structure for inf_api_error_log
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
DROP TABLE IF EXISTS `inf_api_error_log`;
|
|
|
|
|
CREATE TABLE `inf_api_error_log` (
|
|
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '编号',
|
|
|
|
|
`trace_id` varchar(64) NOT NULL COMMENT '链路追踪编号\n *\n * 一般来说,通过链路追踪编号,可以将访问日志,错误日志,链路追踪日志,logger 打印日志等,结合在一起,从而进行排错。',
|
|
|
|
|
`user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户编号',
|
|
|
|
|
`user_type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '用户类型',
|
|
|
|
|
`application_name` varchar(50) NOT NULL COMMENT '应用名\n *\n * 目前读取 spring.application.name',
|
|
|
|
|
`request_method` varchar(16) NOT NULL COMMENT '请求方法名',
|
|
|
|
|
`request_url` varchar(255) NOT NULL COMMENT '请求地址',
|
|
|
|
|
`request_params` varchar(8000) NOT NULL COMMENT '请求参数',
|
|
|
|
|
`user_ip` varchar(50) NOT NULL COMMENT '用户 IP',
|
|
|
|
|
`user_agent` varchar(512) NOT NULL COMMENT '浏览器 UA',
|
|
|
|
|
`exception_time` datetime NOT NULL COMMENT '异常发生时间',
|
|
|
|
|
`exception_name` varchar(128) 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_root_cause_message` text 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_class_name` varchar(512) NOT NULL COMMENT '异常发生的类全名\n *\n * {@link StackTraceElement#getClassName()}',
|
|
|
|
|
`exception_file_name` varchar(512) NOT NULL COMMENT '异常发生的类文件\n *\n * {@link StackTraceElement#getFileName()}',
|
|
|
|
|
`exception_method_name` varchar(512) NOT NULL COMMENT '异常发生的方法名\n *\n * {@link StackTraceElement#getMethodName()}',
|
|
|
|
|
`exception_line_number` int(11) NOT NULL COMMENT '异常发生的方法所在行\n *\n * {@link StackTraceElement#getLineNumber()}',
|
|
|
|
|
`process_status` tinyint(4) NOT NULL COMMENT '处理状态',
|
|
|
|
|
`process_time` datetime DEFAULT NULL COMMENT '处理时间',
|
|
|
|
|
`process_user_id` int(11) DEFAULT '0' COMMENT '处理用户编号',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`creator` varchar(64) DEFAULT '' COMMENT '创建者',
|
2021-02-28 02:02:24 +08:00
|
|
|
|
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`updater` varchar(64) DEFAULT '' COMMENT '更新者',
|
2021-02-28 02:02:24 +08:00
|
|
|
|
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
|
|
|
|
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
2021-03-09 20:41:29 +08:00
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='系统异常日志';
|
2021-02-28 02:02:24 +08:00
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Records of inf_api_error_log
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
BEGIN;
|
|
|
|
|
COMMIT;
|
|
|
|
|
|
2021-01-10 00:09:38 +08:00
|
|
|
|
-- ----------------------------
|
2021-01-22 19:07:30 +08:00
|
|
|
|
-- Table structure for inf_config
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
DROP TABLE IF EXISTS `inf_config`;
|
|
|
|
|
CREATE TABLE `inf_config` (
|
|
|
|
|
`id` int(5) NOT NULL AUTO_INCREMENT COMMENT '参数主键',
|
|
|
|
|
`group` varchar(50) NOT NULL COMMENT '参数分组',
|
|
|
|
|
`type` tinyint(4) NOT NULL COMMENT '参数类型',
|
|
|
|
|
`name` varchar(100) NOT NULL DEFAULT '' COMMENT '参数名称',
|
|
|
|
|
`key` varchar(100) NOT NULL DEFAULT '' COMMENT '参数键名',
|
|
|
|
|
`value` varchar(500) NOT NULL DEFAULT '' COMMENT '参数键值',
|
|
|
|
|
`sensitive` bit(1) NOT NULL COMMENT '是否敏感',
|
|
|
|
|
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`creator` varchar(64) DEFAULT '' COMMENT '创建者',
|
2021-01-22 19:07:30 +08:00
|
|
|
|
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`updater` varchar(64) DEFAULT '' COMMENT '更新者',
|
2021-01-22 19:07:30 +08:00
|
|
|
|
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
|
|
|
|
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
2021-02-28 02:02:24 +08:00
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COMMENT='参数配置表';
|
2021-01-22 19:07:30 +08:00
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Records of inf_config
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
BEGIN;
|
|
|
|
|
INSERT INTO `inf_config` VALUES (1, 'ui', 1, '主框架页-默认皮肤样式名称', 'sys.index.skinName', 'skin-blue', b'0', '蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow', 'admin', '2021-01-05 17:03:48', '', '2021-01-05 17:03:48', b'0');
|
2021-01-28 01:34:49 +08:00
|
|
|
|
INSERT INTO `inf_config` VALUES (2, 'biz', 1, '用户管理-账号初始密码', 'sys.user.initPassword', '123456', b'0', '初始化密码 123456', 'admin', '2021-01-05 17:03:48', '', '2021-01-21 02:13:02', b'0');
|
2021-01-22 19:07:30 +08:00
|
|
|
|
INSERT INTO `inf_config` VALUES (3, 'ui', 1, '主框架页-侧边栏主题', 'sys.index.sideTheme', 'theme-dark', b'0', '深色主题theme-dark,浅色主题theme-light', 'admin', '2021-01-05 17:03:48', '', '2021-01-19 03:05:21', b'0');
|
|
|
|
|
INSERT INTO `inf_config` VALUES (4, '1', 2, 'xxx', 'demo.test', '10', b'0', '5', '', '2021-01-19 03:10:26', '', '2021-01-20 09:25:55', b'0');
|
2021-02-28 02:02:24 +08:00
|
|
|
|
INSERT INTO `inf_config` VALUES (5, 'xxx', 2, 'xxx', 'xxx', 'xxx', b'1', 'xxx', '', '2021-02-09 20:06:47', '', '2021-02-09 20:06:47', b'0');
|
2021-01-22 19:07:30 +08:00
|
|
|
|
COMMIT;
|
2021-01-10 00:09:38 +08:00
|
|
|
|
|
2021-02-14 23:01:21 +08:00
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Table structure for inf_job
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
DROP TABLE IF EXISTS `inf_job`;
|
|
|
|
|
CREATE TABLE `inf_job` (
|
|
|
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '任务编号',
|
|
|
|
|
`name` varchar(32) NOT NULL COMMENT '任务名称',
|
|
|
|
|
`status` tinyint(4) NOT NULL COMMENT '任务状态',
|
|
|
|
|
`handler_name` varchar(64) NOT NULL COMMENT '处理器的名字',
|
|
|
|
|
`handler_param` varchar(255) DEFAULT NULL COMMENT '处理器的参数',
|
|
|
|
|
`cron_expression` varchar(32) NOT NULL COMMENT 'CRON 表达式',
|
2021-02-21 13:11:27 +08:00
|
|
|
|
`retry_count` int(11) NOT NULL DEFAULT '0' COMMENT '重试次数',
|
|
|
|
|
`retry_interval` int(11) NOT NULL DEFAULT '0' COMMENT '重试间隔',
|
|
|
|
|
`monitor_timeout` int(11) NOT NULL DEFAULT '0' COMMENT '监控超时时间',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`creator` varchar(64) DEFAULT '' COMMENT '创建者',
|
2021-02-14 23:01:21 +08:00
|
|
|
|
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`updater` varchar(64) DEFAULT '' COMMENT '更新者',
|
2021-02-14 23:01:21 +08:00
|
|
|
|
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
|
|
|
|
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COMMENT='定时任务表';
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Records of inf_job
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
BEGIN;
|
2021-02-21 13:11:27 +08:00
|
|
|
|
INSERT INTO `inf_job` VALUES (2, '用户 Session 超时 Job', 3, 'sysUserSessionTimeoutJob', 'aoteman', '0/5 * * * * ? *', 0, 0, 10, '', '2021-02-07 10:15:09', '', '2021-02-07 12:57:44', b'1');
|
|
|
|
|
INSERT INTO `inf_job` VALUES (3, '用户 Session 超时 Job', 1, 'sysUserSessionTimeoutJob', NULL, '0 * * * * ? *', 3, 2000, 0, '', '2021-02-07 13:07:32', '', '2021-02-08 04:44:58', b'0');
|
2021-02-14 23:01:21 +08:00
|
|
|
|
COMMIT;
|
|
|
|
|
|
2021-02-17 21:00:58 +08:00
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Table structure for inf_job_log
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
DROP TABLE IF EXISTS `inf_job_log`;
|
|
|
|
|
CREATE TABLE `inf_job_log` (
|
|
|
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '日志编号',
|
|
|
|
|
`job_id` bigint(20) NOT NULL COMMENT '任务编号',
|
|
|
|
|
`handler_name` varchar(64) NOT NULL COMMENT '处理器的名字',
|
|
|
|
|
`handler_param` varchar(255) DEFAULT NULL COMMENT '处理器的参数',
|
2021-02-21 13:11:27 +08:00
|
|
|
|
`execute_index` tinyint(4) NOT NULL DEFAULT '1' COMMENT '第几次执行',
|
2021-02-17 21:00:58 +08:00
|
|
|
|
`begin_time` datetime NOT NULL COMMENT '开始执行时间',
|
|
|
|
|
`end_time` datetime DEFAULT NULL COMMENT '结束执行时间',
|
|
|
|
|
`duration` int(11) DEFAULT NULL COMMENT '执行时长',
|
|
|
|
|
`status` tinyint(4) NOT NULL COMMENT '任务状态',
|
|
|
|
|
`result` varchar(4000) DEFAULT '' COMMENT '结果数据',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`creator` varchar(64) DEFAULT '' COMMENT '创建者',
|
2021-02-17 21:00:58 +08:00
|
|
|
|
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`updater` varchar(64) DEFAULT '' COMMENT '更新者',
|
2021-02-17 21:00:58 +08:00
|
|
|
|
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
|
|
|
|
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
2021-03-09 20:41:29 +08:00
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='定时任务日志表';
|
2021-02-17 21:00:58 +08:00
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Records of inf_job_log
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
BEGIN;
|
|
|
|
|
COMMIT;
|
|
|
|
|
|
2021-01-10 00:09:38 +08:00
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Table structure for sys_dept
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
DROP TABLE IF EXISTS `sys_dept`;
|
|
|
|
|
CREATE TABLE `sys_dept` (
|
|
|
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '部门id',
|
|
|
|
|
`name` varchar(30) NOT NULL DEFAULT '' COMMENT '部门名称',
|
|
|
|
|
`parent_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '父部门id',
|
|
|
|
|
`sort` int(4) NOT NULL DEFAULT '0' COMMENT '显示顺序',
|
|
|
|
|
`leader` varchar(20) DEFAULT NULL COMMENT '负责人',
|
|
|
|
|
`phone` varchar(11) DEFAULT NULL COMMENT '联系电话',
|
|
|
|
|
`email` varchar(50) DEFAULT NULL COMMENT '邮箱',
|
|
|
|
|
`status` tinyint(4) NOT NULL COMMENT '部门状态(0正常 1停用)',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`creator` varchar(64) DEFAULT '' COMMENT '创建者',
|
2021-01-10 00:09:38 +08:00
|
|
|
|
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`updater` varchar(64) DEFAULT '' COMMENT '更新者',
|
2021-01-10 00:09:38 +08:00
|
|
|
|
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
|
|
|
|
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
2021-01-14 21:27:45 +08:00
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=110 DEFAULT CHARSET=utf8mb4 COMMENT='部门表';
|
2021-01-10 00:09:38 +08:00
|
|
|
|
|
2021-01-22 19:07:30 +08:00
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Records of sys_dept
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
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');
|
|
|
|
|
INSERT INTO `sys_dept` VALUES (101, '深圳总公司', 100, 1, '若依', '15888888888', 'ry@qq.com', 0, 'admin', '2021-01-05 17:03:47', '', '2021-01-05 17:03:47', b'0');
|
|
|
|
|
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');
|
|
|
|
|
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');
|
|
|
|
|
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');
|
|
|
|
|
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');
|
|
|
|
|
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');
|
|
|
|
|
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');
|
|
|
|
|
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');
|
|
|
|
|
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');
|
|
|
|
|
COMMIT;
|
|
|
|
|
|
2021-01-10 00:09:38 +08:00
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Table structure for sys_dict_data
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
DROP TABLE IF EXISTS `sys_dict_data`;
|
|
|
|
|
CREATE TABLE `sys_dict_data` (
|
|
|
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '字典编码',
|
|
|
|
|
`sort` int(4) NOT NULL DEFAULT '0' COMMENT '字典排序',
|
|
|
|
|
`label` varchar(100) NOT NULL DEFAULT '' COMMENT '字典标签',
|
|
|
|
|
`value` varchar(100) NOT NULL DEFAULT '' COMMENT '字典键值',
|
|
|
|
|
`dict_type` varchar(100) NOT NULL DEFAULT '' COMMENT '字典类型',
|
|
|
|
|
`status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态(0正常 1停用)',
|
|
|
|
|
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`creator` varchar(64) DEFAULT '' COMMENT '创建者',
|
2021-01-10 00:09:38 +08:00
|
|
|
|
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`updater` varchar(64) DEFAULT '' COMMENT '更新者',
|
2021-01-10 00:09:38 +08:00
|
|
|
|
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
|
|
|
|
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
2021-02-28 02:02:24 +08:00
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=65 DEFAULT CHARSET=utf8mb4 COMMENT='字典数据表';
|
2021-01-22 19:07:30 +08:00
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Records of sys_dict_data
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
BEGIN;
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (1, 1, '男', '1', 'sys_user_sex', 0, '性别男', 'admin', '2021-01-05 17:03:48', '', '2021-01-06 05:48:53', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (2, 2, '女', '2', 'sys_user_sex', 0, '性别女', 'admin', '2021-01-05 17:03:48', '', '2021-01-06 05:48:55', b'0');
|
2021-02-14 23:01:21 +08:00
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (8, 1, '正常', '0', 'sys_job_status', 0, '正常状态', 'admin', '2021-01-05 17:03:48', '', '2021-02-07 07:43:57', b'1');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (9, 2, '暂停', '1', 'sys_job_status', 0, '停用状态', 'admin', '2021-01-05 17:03:48', '', '2021-02-07 07:43:59', b'1');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (10, 1, '默认', 'DEFAULT', 'sys_job_group', 0, '默认分组', 'admin', '2021-01-05 17:03:48', '', '2021-02-07 07:43:44', b'1');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (11, 2, '系统', 'SYSTEM', 'sys_job_group', 0, '系统分组', 'admin', '2021-01-05 17:03:48', '', '2021-02-07 07:43:45', b'1');
|
2021-01-22 19:07:30 +08:00
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (12, 1, '系统内置', '1', 'sys_config_type', 0, '参数类型 - 系统内置', 'admin', '2021-01-05 17:03:48', '', '2021-01-18 07:41:59', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (13, 2, '自定义', '2', 'sys_config_type', 0, '参数类型 - 自定义', 'admin', '2021-01-05 17:03:48', '', '2021-01-18 07:41:51', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (14, 1, '通知', '1', 'sys_notice_type', 0, '通知', 'admin', '2021-01-05 17:03:48', '', '2021-01-06 00:02:28', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (15, 2, '公告', '2', 'sys_notice_type', 0, '公告', 'admin', '2021-01-05 17:03:48', '', '2021-01-06 00:02:28', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (16, 0, '其它', '0', 'sys_operate_type', 0, '其它操作', 'admin', '2021-01-05 17:03:48', '', '2021-01-16 13:51:12', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (17, 1, '查询', '1', 'sys_operate_type', 0, '查询操作', 'admin', '2021-01-05 17:03:48', '', '2021-01-16 13:51:10', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (18, 2, '新增', '2', 'sys_operate_type', 0, '新增操作', 'admin', '2021-01-05 17:03:48', '', '2021-01-16 13:51:17', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (19, 3, '修改', '3', 'sys_operate_type', 0, '修改操作', 'admin', '2021-01-05 17:03:48', '', '2021-01-16 13:51:20', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (20, 4, '删除', '4', 'sys_operate_type', 0, '删除操作', 'admin', '2021-01-05 17:03:48', '', '2021-01-16 13:51:24', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (22, 5, '导出', '5', 'sys_operate_type', 0, '导出操作', 'admin', '2021-01-05 17:03:48', '', '2021-01-16 13:49:20', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (23, 6, '导入', '6', 'sys_operate_type', 0, '导入操作', 'admin', '2021-01-05 17:03:48', '', '2021-01-16 13:49:24', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (27, 1, '开启', '0', 'sys_common_status', 0, '开启状态', 'admin', '2021-01-05 17:03:48', '', '2021-01-06 02:57:12', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (28, 2, '关闭', '1', 'sys_common_status', 0, '关闭状态', 'admin', '2021-01-05 17:03:48', '', '2021-01-06 05:48:32', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (29, 1, '目录', '1', 'sys_menu_type', 0, '目录', 'admin', '2021-01-05 17:03:48', '', '2021-01-06 13:33:30', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (30, 2, '菜单', '2', 'sys_menu_type', 0, '菜单', 'admin', '2021-01-05 17:03:48', '', '2021-01-06 13:33:35', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (31, 3, '按钮', '3', 'sys_menu_type', 0, '按钮', 'admin', '2021-01-05 17:03:48', '', '2021-01-06 13:33:38', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (32, 1, '内置', '1', 'sys_role_type', 0, '内置角色', 'admin', '2021-01-05 17:03:48', '', '2021-01-06 13:34:22', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (33, 2, '自定义', '2', 'sys_role_type', 0, '自定义角色', 'admin', '2021-01-05 17:03:48', '', '2021-01-06 13:34:26', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (34, 1, '全部数据权限', '1', 'sys_data_scope', 0, '全部数据权限', 'admin', '2021-01-05 17:03:48', '', '2021-01-06 19:38:02', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (35, 2, '指定部门数据权限', '2', 'sys_data_scope', 0, '指定部门数据权限', 'admin', '2021-01-05 17:03:48', '', '2021-01-06 19:38:20', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (36, 3, '本部门数据权限', '3', 'sys_data_scope', 0, '本部门数据权限', 'admin', '2021-01-05 17:03:48', '', '2021-01-06 19:38:29', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (37, 4, '本部门及以下数据权限', '4', 'sys_data_scope', 0, '本部门及以下数据权限', 'admin', '2021-01-05 17:03:48', '', '2021-01-06 19:38:32', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (38, 5, '仅本人数据权限', '5', 'sys_data_scope', 0, '仅本人数据权限', 'admin', '2021-01-05 17:03:48', '', '2021-01-06 19:38:38', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (39, 0, '成功', '0', 'sys_login_result', 0, '登陆结果 - 成功', '', '2021-01-18 06:17:36', '', '2021-01-18 06:17:36', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (40, 10, '账号或密码不正确', '10', 'sys_login_result', 0, '登陆结果 - 账号或密码不正确', '', '2021-01-18 06:17:54', '', '2021-01-18 06:17:54', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (41, 20, '用户被禁用', '20', 'sys_login_result', 0, '登陆结果 - 用户被禁用', '', '2021-01-18 06:17:54', '', '2021-01-18 06:19:02', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (42, 30, '验证码不存在', '30', 'sys_login_result', 0, '登陆结果 - 验证码不存在', '', '2021-01-18 06:17:54', '', '2021-01-18 06:19:24', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (43, 31, '验证码不正确', '31', 'sys_login_result', 0, '登陆结果 - 验证码不正确', '', '2021-01-18 06:17:54', '', '2021-01-18 06:19:33', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (44, 100, '未知异常', '100', 'sys_login_result', 0, '登陆结果 - 未知异常', '', '2021-01-18 06:17:54', '', '2021-01-18 06:19:57', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (45, 1, '是', 'true', 'sys_boolean_string', 0, 'Boolean 是否类型 - 是', '', '2021-01-19 03:20:55', '', '2021-01-19 03:21:08', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (46, 1, '否', 'false', 'sys_boolean_string', 0, 'Boolean 是否类型 - 否', '', '2021-01-19 03:20:55', '', '2021-01-19 03:21:39', b'0');
|
2021-01-28 01:34:49 +08:00
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (47, 1, '永不超时', '1', 'inf_redis_timeout_type', 0, 'Redis 未设置超时的情况', '', '2021-01-26 00:53:17', '', '2021-01-26 00:53:17', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (48, 1, '动态超时', '2', 'inf_redis_timeout_type', 0, '程序里动态传入超时时间,无法固定', '', '2021-01-26 00:55:00', '', '2021-01-26 00:55:00', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (49, 3, '固定超时', '3', 'inf_redis_timeout_type', 0, 'Redis 设置了过期时间', '', '2021-01-26 00:55:26', '', '2021-01-26 00:55:26', b'0');
|
2021-02-13 11:00:03 +08:00
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (50, 1, '单表(增删改查)', '1', 'tool_codegen_template_type', 0, NULL, '', '2021-02-05 07:09:06', '', '2021-02-05 07:21:52', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (51, 2, '树表(增删改查)', '2', 'tool_codegen_template_type', 0, NULL, '', '2021-02-05 07:14:46', '', '2021-02-05 07:21:49', b'0');
|
2021-02-13 13:40:29 +08:00
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (52, 3, '主子表(增删改查)', '3', 'tool_codegen_template_type', 0, NULL, '', '2021-02-05 07:21:45', '', '2021-02-06 18:54:26', b'1');
|
2021-02-14 23:01:21 +08:00
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (53, 0, '初始化中', '0', 'inf_job_status', 0, NULL, '', '2021-02-07 07:46:49', '', '2021-02-07 07:46:49', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (54, 1, '开启', '1', 'inf_job_status', 0, NULL, '', '2021-02-07 07:46:57', '', '2021-02-07 11:54:09', b'0');
|
2021-02-21 13:11:27 +08:00
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (56, 3, '暂停', '2', 'inf_job_status', 0, NULL, '', '2021-02-07 07:47:16', '', '2021-02-08 04:54:11', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (57, 0, '运行中', '0', 'inf_job_log_status', 0, 'RUNNING', '', '2021-02-08 10:04:24', '', '2021-02-08 10:04:24', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (58, 1, '成功', '1', 'inf_job_log_status', 0, NULL, '', '2021-02-08 10:06:57', '', '2021-02-08 10:06:57', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (59, 2, '失败', '2', 'inf_job_log_status', 0, '失败', '', '2021-02-08 10:07:38', '', '2021-02-08 10:07:38', b'0');
|
2021-02-28 02:02:24 +08:00
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (60, 1, '会员', '1', 'user_type', 0, NULL, '', '2021-02-26 00:16:27', '', '2021-02-26 00:16:27', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (61, 2, '管理员', '2', 'user_type', 0, NULL, '', '2021-02-26 00:16:34', '', '2021-02-26 00:16:34', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (62, 0, '未处理', '0', 'inf_api_error_log_process_status', 0, NULL, '', '2021-02-26 07:07:19', '', '2021-02-26 08:11:23', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (63, 1, '已处理', '1', 'inf_api_error_log_process_status', 0, NULL, '', '2021-02-26 07:07:26', '', '2021-02-26 08:11:29', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_data` VALUES (64, 2, '已忽略', '2', 'inf_api_error_log_process_status', 0, NULL, '', '2021-02-26 07:07:34', '', '2021-02-26 08:11:34', b'0');
|
2021-01-28 01:34:49 +08:00
|
|
|
|
COMMIT;
|
|
|
|
|
|
2021-01-10 00:09:38 +08:00
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Table structure for sys_dict_type
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
DROP TABLE IF EXISTS `sys_dict_type`;
|
|
|
|
|
CREATE TABLE `sys_dict_type` (
|
|
|
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '字典主键',
|
2021-01-14 21:27:45 +08:00
|
|
|
|
`name` varchar(100) NOT NULL DEFAULT '' COMMENT '字典名称',
|
2021-03-07 00:47:55 +08:00
|
|
|
|
`type` varchar(100) NOT NULL DEFAULT '' COMMENT '字典类型',
|
2021-01-10 00:09:38 +08:00
|
|
|
|
`status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态(0正常 1停用)',
|
2021-01-14 21:27:45 +08:00
|
|
|
|
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`creator` varchar(64) DEFAULT '' COMMENT '创建者',
|
2021-01-10 00:09:38 +08:00
|
|
|
|
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`updater` varchar(64) DEFAULT '' COMMENT '更新者',
|
2021-01-10 00:09:38 +08:00
|
|
|
|
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
2021-01-14 21:27:45 +08:00
|
|
|
|
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
|
2021-01-10 00:09:38 +08:00
|
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
2021-03-07 00:47:55 +08:00
|
|
|
|
UNIQUE KEY `dict_type` (`type`)
|
2021-02-28 02:02:24 +08:00
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=111 DEFAULT CHARSET=utf8mb4 COMMENT='字典类型表';
|
2021-01-22 19:07:30 +08:00
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Records of sys_dict_type
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
BEGIN;
|
|
|
|
|
INSERT INTO `sys_dict_type` VALUES (1, '用户性别', 'sys_user_sex', 0, NULL, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 17:03:48', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_type` VALUES (3, '系统开关', 'sys_normal_disable', 0, NULL, 'admin', '2021-01-05 17:03:48', '', '2021-01-07 19:47:48', b'1');
|
2021-02-14 23:01:21 +08:00
|
|
|
|
INSERT INTO `sys_dict_type` VALUES (4, '任务状态的枚举', 'sys_job_status', 0, NULL, 'admin', '2021-01-05 17:03:48', '', '2021-02-07 07:44:06', b'1');
|
|
|
|
|
INSERT INTO `sys_dict_type` VALUES (5, '任务分组', 'sys_job_group', 0, NULL, 'admin', '2021-01-05 17:03:48', '', '2021-02-07 07:43:52', b'1');
|
2021-01-22 19:07:30 +08:00
|
|
|
|
INSERT INTO `sys_dict_type` VALUES (6, '参数类型', 'sys_config_type', 0, NULL, 'admin', '2021-01-05 17:03:48', '', '2021-01-18 07:41:04', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_type` VALUES (7, '通知类型', 'sys_notice_type', 0, NULL, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 17:03:48', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_type` VALUES (8, '通知状态', 'sys_notice_status', 0, NULL, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 17:03:48', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_type` VALUES (9, '操作类型', 'sys_oper_type', 0, NULL, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 17:03:48', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_type` VALUES (10, '系统状态', 'sys_common_status', 0, NULL, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 17:03:48', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_type` VALUES (11, 'Boolean 是否类型', 'sys_boolean_string', 0, 'boolean 转是否', '', '2021-01-19 03:20:08', '', '2021-01-19 03:20:08', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_type` VALUES (104, '登陆结果', 'sys_login_result', 0, '登陆结果', '', '2021-01-18 06:17:11', '', '2021-01-18 06:17:11', b'0');
|
2021-01-28 01:34:49 +08:00
|
|
|
|
INSERT INTO `sys_dict_type` VALUES (105, 'Redis 超时类型', 'inf_redis_timeout_type', 0, 'RedisKeyDefine.TimeoutTypeEnum', '', '2021-01-26 00:52:50', '', '2021-01-26 00:52:50', b'0');
|
2021-02-13 11:00:03 +08:00
|
|
|
|
INSERT INTO `sys_dict_type` VALUES (106, '代码生成模板类型', 'tool_codegen_template_type', 0, NULL, '', '2021-02-05 07:08:06', '', '2021-02-05 07:08:06', b'0');
|
2021-02-14 23:01:21 +08:00
|
|
|
|
INSERT INTO `sys_dict_type` VALUES (107, '定时任务状态', 'inf_job_status', 0, NULL, '', '2021-02-07 07:44:16', '', '2021-02-07 07:44:16', b'0');
|
2021-02-21 13:11:27 +08:00
|
|
|
|
INSERT INTO `sys_dict_type` VALUES (108, '定时任务日志状态', 'inf_job_log_status', 0, NULL, '', '2021-02-08 10:03:51', '', '2021-02-08 10:03:51', b'0');
|
2021-02-28 02:02:24 +08:00
|
|
|
|
INSERT INTO `sys_dict_type` VALUES (109, '用户类型', 'user_type', 0, NULL, '', '2021-02-26 00:15:51', '', '2021-02-26 00:15:51', b'0');
|
|
|
|
|
INSERT INTO `sys_dict_type` VALUES (110, 'API 异常数据的处理状态', 'inf_api_error_log_process_status', 0, NULL, '', '2021-02-26 07:07:01', '', '2021-02-26 07:07:01', b'0');
|
2021-01-28 01:34:49 +08:00
|
|
|
|
COMMIT;
|
|
|
|
|
|
2021-01-10 00:09:38 +08:00
|
|
|
|
-- ----------------------------
|
2021-01-14 21:27:45 +08:00
|
|
|
|
-- Table structure for sys_file
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
DROP TABLE IF EXISTS `sys_file`;
|
|
|
|
|
CREATE TABLE `sys_file` (
|
2021-02-28 02:02:24 +08:00
|
|
|
|
`id` varchar(188) NOT NULL COMMENT '文件路径',
|
2021-01-14 21:27:45 +08:00
|
|
|
|
`content` blob NOT NULL COMMENT '文件内容',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`creator` varchar(64) DEFAULT '' COMMENT '创建者',
|
2021-01-14 21:27:45 +08:00
|
|
|
|
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`updater` varchar(64) DEFAULT '' COMMENT '更新者',
|
2021-01-14 21:27:45 +08:00
|
|
|
|
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
|
|
|
|
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='文件表\n';
|
2021-01-10 00:09:38 +08:00
|
|
|
|
|
2021-01-22 19:07:30 +08:00
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Records of sys_file
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
BEGIN;
|
|
|
|
|
INSERT INTO `sys_file` VALUES ('add5ec1891a7d97d2cc1d60847e16294.jpg', 0xFFD8FFE000104A46494600010101006400640000FFDB00840006040506050406060506070706080A100A0A09090A140E0F0C1017141818171416161A1D251F1A1B231C1616202C20232627292A29191F2D302D283025282928010707070A080A130A0A13281A161A2828282828282828282828282828282828282828282828282828282828282828282828282828282828282828282828282828FFC200110800EC00EC03012200021101031101FFC4001C0001000105010100000000000000000000000701020405060308FFDA0008010100000000FA14000707A3E3F659B5F2B3CB1B171B57BAFA2C000BE1ED8731AFC752DF3F2F2EF249DF79D0000A465CD59E5ACA5BE7B09BB71441BBB943DC0017447C95DB0D662E4FD0192237F3E17E8600039B8AF556E579647D0B60807A3DA49368003D7E7AC1A5B678CA3255081A4AEBC0007AFCF5834C6E8BA3DDF756902CE39200034908796C661E82C04073E003D755A4B2FC9F48A34CFA172404152C6F415C4E175B9BB879F8EAB41CEF792A807CF1B1903B7BADA5DC0737D47ADCB3CFCBCE3FD2CCBDB807CE35CAF5E8B3F0757D0FBF1BE7DD655B65965BF384B9397B80F9C6A2EDAF577F05A0F3D9499958BACF4E7F41D0654E168118657B59A8E2E43DD71B31FC73ED26EE33FB0E939E8FB135FEFBA9528007159783CAD981B8C5DDC9596A5231D6E17173476200BE26D8351AFCEB33FBED077DABE2FCFB6DB59CE463365A018B156E4A3CB7DDBC65CDE3EDF71259C945B3D7900725CFFB554C0EA3B769E32BEC92F794A4711EEE3BDEBAC0380C657CB7FD6E50F3D4E266EE0C2E2F9DE73CA6FD90237B7CB7FDB5F554B6911C8BB8A948CB039CE5E79E94230B3B6E98A82945453C225BB87D44E3DA158BB77DF56A00A1452DE6A2DB397D6FD5C562696B215002DAE1E4D29CCF8471C9DBF4E9EB03CF952A028A539DE8296E1C7DD3C2DABFA80BA3690760A5C28514A626A37F4A523DC2D7E9A772B1CC9B7733B2DA2828A2DB628EAFABA523DD1D29302BC6767EE88E46DB1414A29486A1A9CF8E99E2BD91303CF98ECE8897A9EC5428A294A70B04E5E279751D613038FECBD5485BA5911428A514530780D5E9B7B62930B93ED2D6A222EA64A28A514514ADB444FE56D7FFC4001B01000105010100000000000000000000000001020304050607FFDA0008010210000000F3600075E70AD558EA46005B9DCE33E1B7367000694AC32CD3CC00034E58A1A69A59A125A512766681ACD81C9A194D4F44E2B280D94750E8BD1383E7AE6F60E4D500BB0F4BB3CCEBAC540E7500BD5CB7D135B33E0E769342FA6DDE51AAADE56CD084D7DE780014F9CBF8EFEA2E800346D4CDC87F57654104628C38ED9DE6B841064EB5978DEAAEB155104115A7FFC4001A010002030101000000000000000000000000040102030506FFDA0008010310000000EB00043FBC939A35CE4003A76164A7AFC9800061CB22B8CAC0006EDA78C4B0B845F5B8C23981D3533A3CA742D7F0DDCD006A346783E07D9FA05BCFF7A92016EAF9EE0FABE6CE8DD4901AE84ADC1E8F5BCDE0CEC483FA72520BD62DE8D54E46B8F500019F429A318AC001259BEAF3215C8009BC1B5F4C55D2B5924B9560D55CB5AD2490B4EB3FFFC400451000010302020604090A050403010000000102030400110512061321314151203261711014222330425281D11524333440537291A1B116436292C16382E1F0357383A2FFDA0008010100013F01F4FC6B4931051908C2222ACB706690B1EAA397BE9E719811335B2B68D800AF9C4D735CB6D6A56E48036229BC3DF575B223BCDE861A84ED71E3F95AB53091D672FF00EEA270F1EA66FCE8C8863AB187F68A335A1D58C8FD2953F932DD2A628FF2DAFEDA3249FE5B5FD94F2D9BF94D3415FD236D4518C6ABE66D627A9E194AADF6047585622C3B866352E54C49533297E43C3684F61E54E105ACC946B788038D09B2E495063220A77802EAFD696EBF721C79DBF2BDABBC93DFD0346AF750424152D5B9291727DD587E8ACA9090B9EE888DFDDA76AFE02B0FC270FC3BEAB1939FEF17E52BF3AD62A9195C405B4B4B883B8A4DFEC0B4A1D694D3C80B6D42C526B12C39583FCE226672028F96DEF2DF68ECAC4594AB24A64EC3B7327876D22521D4E5988CDFEA246DA7A294A758C9D635CC784D1AC330F918A492D46B04A7E91D3B91F13D9585619170A6B2C74E678F59E575954493BFC3F25BB11CD6E1129C8CBF66FE49A8BA55221B89631D8BB0EC0F37C6A2BEC4C643B0DD4BAD9E47D38B1052B014856C20D488BF26622B84ADB11F1999278734D3CD969D520F034CBCB65576D56A25895BECCBDCFD534F34B65595C16FF346A0C473109CDC465594A815297ECA79D448CCC18A88D15395B4FEA799E88A75B43AD943A90B41DE0D3C1FD1F9499905CB344D8A4EEEEA0A0E34DB805B3A42BD3E92C432F075A9B1E7E3F9D47BAA7283A961F4FF00311E14485253915671BF655FE3952D0082B64E64F11C53DF583CD187630C495FD09F34E7603C6962C766E3D1462130904EA7F0E534EBB20A9A8F159D74B705F28DC91CCD46D185BEE25EC6A46B2DB7528DD4A3BAC2C06C03D3B7B4E53B8EC34B4EA98531F72FAD1E1357208209046E229C3981CC37EF238FBAB43315D73670D92BBBAD8BB2A3EB2797BBA3872017F32BAA819AB4559221393DC1E7652AE3B10370FB0B5D7152961C7A42C6E72438A1DD7B785C7128EB1DBC071350B02C5268CC969319BF69EDE7DD4DE8728FD63123DCDA2B0DD178906735284A7DC5B66E01B513737E824EAF0A98E0DE465FFBF9D436F538
|
|
|
|
|
COMMIT;
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Table structure for sys_login_log
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
DROP TABLE IF EXISTS `sys_login_log`;
|
|
|
|
|
CREATE TABLE `sys_login_log` (
|
|
|
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '访问ID',
|
|
|
|
|
`log_type` bigint(4) NOT NULL COMMENT '日志类型',
|
|
|
|
|
`trace_id` varchar(64) NOT NULL DEFAULT '' COMMENT '链路追踪编号',
|
|
|
|
|
`username` varchar(50) NOT NULL DEFAULT '' COMMENT '用户账号',
|
|
|
|
|
`result` tinyint(4) NOT NULL COMMENT '登陆结果',
|
|
|
|
|
`user_ip` varchar(50) NOT NULL COMMENT '用户 IP',
|
2021-02-21 13:11:27 +08:00
|
|
|
|
`user_agent` varchar(512) NOT NULL COMMENT '浏览器 UA',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`creator` varchar(64) DEFAULT '' COMMENT '创建者',
|
2021-01-22 19:07:30 +08:00
|
|
|
|
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`updater` varchar(64) DEFAULT '' COMMENT '更新者',
|
2021-01-22 19:07:30 +08:00
|
|
|
|
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
|
|
|
|
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
2021-03-09 20:41:29 +08:00
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='系统访问记录';
|
2021-01-22 19:07:30 +08:00
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Records of sys_login_log
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
BEGIN;
|
|
|
|
|
COMMIT;
|
2021-01-10 00:09:38 +08:00
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Table structure for sys_menu
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
DROP TABLE IF EXISTS `sys_menu`;
|
|
|
|
|
CREATE TABLE `sys_menu` (
|
|
|
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '菜单ID',
|
|
|
|
|
`name` varchar(50) NOT NULL COMMENT '菜单名称',
|
|
|
|
|
`permission` varchar(100) NOT NULL DEFAULT '' COMMENT '权限标识',
|
|
|
|
|
`menu_type` tinyint(4) NOT NULL COMMENT '菜单类型(M目录 C菜单 F按钮)',
|
|
|
|
|
`sort` int(11) NOT NULL DEFAULT '0' COMMENT '显示顺序',
|
|
|
|
|
`parent_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '父菜单ID',
|
|
|
|
|
`path` varchar(200) DEFAULT '' COMMENT '路由地址',
|
|
|
|
|
`icon` varchar(100) DEFAULT '#' COMMENT '菜单图标',
|
|
|
|
|
`component` varchar(255) DEFAULT NULL COMMENT '组件路径',
|
|
|
|
|
`status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '菜单状态(0正常 1停用)',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`creator` varchar(64) DEFAULT '' COMMENT '创建者',
|
2021-01-10 00:09:38 +08:00
|
|
|
|
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`updater` varchar(64) DEFAULT '' COMMENT '更新者',
|
2021-01-10 00:09:38 +08:00
|
|
|
|
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
|
|
|
|
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
2021-02-28 02:02:24 +08:00
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=1087 DEFAULT CHARSET=utf8mb4 COMMENT='菜单权限表';
|
2021-01-10 00:09:38 +08:00
|
|
|
|
|
2021-01-22 19:07:30 +08:00
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Records of sys_menu
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
BEGIN;
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1, '系统管理', '', 1, 1, 0, '/system', 'system', NULL, 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:34:28', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (2, '基础设施', '', 1, 2, 0, '/infra', 'monitor', NULL, 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-20 14:18:35', b'0');
|
2021-02-13 11:00:03 +08:00
|
|
|
|
INSERT INTO `sys_menu` VALUES (3, '研发工具', '', 1, 3, 0, '/tool', 'tool', NULL, 0, 'admin', '2021-01-05 17:03:48', '', '2021-02-06 12:44:42', b'0');
|
2021-01-28 01:34:49 +08:00
|
|
|
|
INSERT INTO `sys_menu` VALUES (4, '若依官网', '', 1, 4, 0, 'http://ruoyi.vip', 'guide', NULL, 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-20 21:54:28', b'1');
|
2021-01-22 19:07:30 +08:00
|
|
|
|
INSERT INTO `sys_menu` VALUES (100, '用户管理', 'system:user:list', 2, 1, 1, 'user', 'user', 'system/user/index', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:45', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (101, '角色管理', 'system:role:list', 2, 2, 1, 'role', 'peoples', 'system/role/index', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:45', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (102, '菜单管理', 'system:menu:list', 2, 3, 1, 'menu', 'tree-table', 'system/menu/index', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:45', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (103, '部门管理', 'system:dept:list', 2, 4, 1, 'dept', 'tree', 'system/dept/index', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:45', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (104, '岗位管理', 'system:post:list', 2, 5, 1, 'post', 'post', 'system/post/index', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:45', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (105, '字典管理', 'system:dict:list', 2, 6, 1, 'dict', 'dict', 'system/dict/index', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:45', b'0');
|
2021-02-21 13:11:27 +08:00
|
|
|
|
INSERT INTO `sys_menu` VALUES (106, '配置管理', 'infra:config:list', 2, 1, 2, 'config', 'edit', 'infra/config/index', 0, 'admin', '2021-01-05 17:03:48', '', '2021-02-08 20:03:57', b'0');
|
2021-01-22 19:07:30 +08:00
|
|
|
|
INSERT INTO `sys_menu` VALUES (107, '通知公告', 'system:notice:list', 2, 8, 1, 'notice', 'message', 'system/notice/index', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:45', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (108, '日志管理', '', 1, 9, 1, 'log', 'log', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:34:28', b'0');
|
2021-02-02 22:54:53 +08:00
|
|
|
|
INSERT INTO `sys_menu` VALUES (109, '在线用户', 'system:user-session:list', 2, 10, 1, 'user-session', 'online', 'system/session/index', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-26 08:21:20', b'0');
|
2021-02-14 23:01:21 +08:00
|
|
|
|
INSERT INTO `sys_menu` VALUES (110, '定时任务', 'infra:job:query', 2, 2, 2, 'job', 'job', 'infra/job/index', 0, 'admin', '2021-01-05 17:03:48', '', '2021-02-07 13:01:36', b'0');
|
2021-02-28 02:02:24 +08:00
|
|
|
|
INSERT INTO `sys_menu` VALUES (111, 'MySQL 监控', '', 2, 4, 2, 'druid', 'druid', 'infra/druid/index', 0, 'admin', '2021-01-05 17:03:48', '', '2021-02-26 02:18:32', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (112, 'Java 监控', '', 2, 6, 2, 'admin-server', 'server', 'infra/server', 0, 'admin', '2021-01-05 17:03:48', '', '2021-02-26 02:18:41', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (113, 'Redis 监控', '', 2, 5, 2, 'redis', 'redis', 'infra/redis/index', 0, 'admin', '2021-01-05 17:03:48', '', '2021-02-26 02:18:37', b'0');
|
2021-01-22 19:07:30 +08:00
|
|
|
|
INSERT INTO `sys_menu` VALUES (114, '表单构建', 'tool:build:list', 2, 1, 3, 'build', 'build', 'tool/build/index', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:45', b'0');
|
2021-03-07 00:47:55 +08:00
|
|
|
|
INSERT INTO `sys_menu` VALUES (115, '代码生成', 'tool:codegen:query', 2, 0, 3, 'codegen', 'code', 'tool/codegen/index', 0, 'admin', '2021-01-05 17:03:48', '', '2021-03-06 03:43:14', b'0');
|
2021-01-22 19:07:30 +08:00
|
|
|
|
INSERT INTO `sys_menu` VALUES (116, '系统接口', 'tool:swagger:list', 2, 3, 3, 'swagger', 'swagger', 'tool/swagger/index', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:45', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (500, '操作日志', 'system:operate-log:list', 2, 1, 108, 'operate-log', 'form', 'system/operatelog/index', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-16 18:25:45', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (501, '登录日志', 'system:login-log:list', 2, 2, 108, 'login-log', 'logininfor', 'system/loginlog/index', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-18 05:29:58', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1001, '用户查询', 'system:user:query', 3, 1, 100, '', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1002, '用户新增', 'system:user:add', 3, 2, 100, '', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1003, '用户修改', 'system:user:edit', 3, 3, 100, '', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1004, '用户删除', 'system:user:remove', 3, 4, 100, '', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1005, '用户导出', 'system:user:export', 3, 5, 100, '', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1006, '用户导入', 'system:user:import', 3, 6, 100, '', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1007, '重置密码', 'system:user:resetPwd', 3, 7, 100, '', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1008, '角色查询', 'system:role:query', 3, 1, 101, '', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1009, '角色新增', 'system:role:add', 3, 2, 101, '', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1010, '角色修改', 'system:role:edit', 3, 3, 101, '', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1011, '角色删除', 'system:role:remove', 3, 4, 101, '', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1012, '角色导出', 'system:role:export', 3, 5, 101, '', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1013, '菜单查询', 'system:menu:query', 3, 1, 102, '', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1014, '菜单新增', 'system:menu:add', 3, 2, 102, '', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1015, '菜单修改', 'system:menu:edit', 3, 3, 102, '', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1016, '菜单删除', 'system:menu:remove', 3, 4, 102, '', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1017, '部门查询', 'system:dept:query', 3, 1, 103, '', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1018, '部门新增', 'system:dept:add', 3, 2, 103, '', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1019, '部门修改', 'system:dept:edit', 3, 3, 103, '', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1020, '部门删除', 'system:dept:remove', 3, 4, 103, '', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1021, '岗位查询', 'system:post:query', 3, 1, 104, '', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1022, '岗位新增', 'system:post:add', 3, 2, 104, '', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1023, '岗位修改', 'system:post:edit', 3, 3, 104, '', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1024, '岗位删除', 'system:post:remove', 3, 4, 104, '', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1025, '岗位导出', 'system:post:export', 3, 5, 104, '', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1026, '字典查询', 'system:dict:query', 3, 1, 105, '#', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1027, '字典新增', 'system:dict:add', 3, 2, 105, '#', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1028, '字典修改', 'system:dict:edit', 3, 3, 105, '#', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1029, '字典删除', 'system:dict:remove', 3, 4, 105, '#', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1030, '字典导出', 'system:dict:export', 3, 5, 105, '#', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1031, '配置查询', 'infra:config:query', 3, 1, 106, '', '', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-20 14:34:00', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1032, '配置新增', 'infra:config:add', 3, 2, 106, '', '', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-20 14:34:05', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1033, '配置修改', 'infra:config:edit', 3, 3, 106, '', '', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-20 14:33:52', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1034, '配置删除', 'infra:config:remove', 3, 4, 106, '', '', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-20 14:34:12', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1035, '配置导出', 'infra:config:export', 3, 5, 106, '', '', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-20 14:34:19', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1036, '公告查询', 'system:notice:query', 3, 1, 107, '#', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1037, '公告新增', 'system:notice:add', 3, 2, 107, '#', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1038, '公告修改', 'system:notice:edit', 3, 3, 107, '#', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1039, '公告删除', 'system:notice:remove', 3, 4, 107, '#', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-05 22:36:55', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1040, '操作查询', 'system:operate-log:query', 3, 1, 500, '', '', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-16 18:28:10', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1042, '日志导出', 'system:operate-log:export', 3, 2, 500, '', '', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-16 18:28:23', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1043, '登录查询', 'system:login-log:query', 3, 1, 501, '#', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-18 05:29:26', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1045, '日志导出', 'system:login-log:export', 3, 3, 501, '#', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-18 05:29:30', b'0');
|
2021-02-02 22:54:53 +08:00
|
|
|
|
INSERT INTO `sys_menu` VALUES (1046, '在线查询', 'system:user-session:list', 3, 1, 109, '', '', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-26 08:22:37', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1047, '批量强退', 'monitor:online:batchLogout', 3, 2, 109, '#', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-26 08:21:46', b'1');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1048, '单条强退', 'system:user-session:delete', 3, 3, 109, '', '', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-01-26 08:22:54', b'0');
|
2021-02-14 23:01:21 +08:00
|
|
|
|
INSERT INTO `sys_menu` VALUES (1049, '任务查询', 'monitor:job:query', 3, 1, 110, '#', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-02-07 13:01:42', b'1');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1050, '任务新增', 'infra:job:create', 3, 2, 110, '', '', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-02-07 13:01:58', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1051, '任务修改', 'infra:job:update', 3, 3, 110, '', '', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-02-07 13:02:10', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1052, '任务删除', 'infra:job:delete', 3, 4, 110, '', '', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-02-07 13:02:22', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1053, '状态修改', 'infra:job:update', 3, 5, 110, '', '', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-02-07 13:02:38', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1054, '任务导出', 'infra:job:export', 3, 7, 110, '', '', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-02-07 13:02:51', b'0');
|
2021-02-13 13:40:29 +08:00
|
|
|
|
INSERT INTO `sys_menu` VALUES (1055, '生成查询', 'tool:gen:query', 3, 1, 115, '#', '#', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-02-06 21:23:25', b'1');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1056, '生成修改', 'tool:codegen:update', 3, 2, 115, '', '', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-02-06 21:23:41', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1057, '生成删除', 'tool:codegen:delete', 3, 3, 115, '', '', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-02-06 21:24:02', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1058, '导入代码', 'tool:codegen:create', 3, 2, 115, '', '', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-02-06 21:23:50', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1059, '预览代码', 'tool:codegen:preview', 3, 4, 115, '', '', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-02-06 21:24:10', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1060, '生成代码', 'tool:codegen:download', 3, 5, 115, '', '', '', 0, 'admin', '2021-01-05 17:03:48', '', '2021-02-06 21:24:20', b'0');
|
2021-01-22 19:07:30 +08:00
|
|
|
|
INSERT INTO `sys_menu` VALUES (1063, '设置角色菜单权限', 'system:permission:assign-role-menu', 3, 6, 101, '', '', '', 0, '', '2021-01-06 17:53:44', '', '2021-01-06 17:55:23', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1064, '设置角色数据权限', 'system:permission:assign-role-data-scope', 3, 7, 101, '', '', '', 0, '', '2021-01-06 17:56:31', '', '2021-01-06 17:56:31', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1065, '设置用户角色', 'system:permission:assign-user-role', 3, 8, 101, '', '', '', 0, '', '2021-01-07 10:23:28', '', '2021-01-07 10:23:28', b'0');
|
2021-01-28 01:34:49 +08:00
|
|
|
|
INSERT INTO `sys_menu` VALUES (1066, '获得 Redis 监控信息', 'infra:redis:get-monitor-info', 3, 1, 113, '', '', '', 0, '', '2021-01-26 01:02:31', '', '2021-01-26 01:02:31', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1067, '获得 Redis Key 列表', 'infra:redis:get-key-list', 3, 2, 113, '', '', '', 0, '', '2021-01-26 01:02:52', '', '2021-01-26 01:02:52', b'0');
|
2021-03-07 00:47:55 +08:00
|
|
|
|
INSERT INTO `sys_menu` VALUES (1070, '代码生成示例', 'tool:test-demo:query', 2, 0, 3, 'test-demo', 'validCode', 'tool/testDemo/index', 0, '', '2021-02-06 12:42:49', '', '2021-03-06 03:45:22', b'0');
|
2021-02-13 11:00:03 +08:00
|
|
|
|
INSERT INTO `sys_menu` VALUES (1071, '测试示例表创建', 'tool:test-demo:create', 3, 1, 1070, '', '', '', 0, '', '2021-02-06 12:42:49', '', '2021-02-06 12:53:47', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1072, '测试示例表更新', 'tool:test-demo:update', 3, 2, 1070, '', '', '', 0, '', '2021-02-06 12:42:49', '', '2021-02-06 12:53:51', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1073, '测试示例表删除', 'tool:test-demo:delete', 3, 3, 1070, '', '', '', 0, '', '2021-02-06 12:42:49', '', '2021-02-06 12:53:58', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1074, '测试示例表导出', 'tool:test-demo:export', 3, 4, 1070, '', '', '', 0, '', '2021-02-06 12:42:49', '', '2021-02-06 12:54:01', b'0');
|
2021-02-14 23:01:21 +08:00
|
|
|
|
INSERT INTO `sys_menu` VALUES (1075, '任务触发', 'infra:job:trigger', 3, 8, 110, '', '', '', 0, '', '2021-02-07 13:03:10', '', '2021-02-07 13:03:10', b'0');
|
2021-02-21 13:11:27 +08:00
|
|
|
|
INSERT INTO `sys_menu` VALUES (1076, '数据库文档', '', 2, 5, 3, 'db-doc', 'table', 'tool/dbDoc/index', 0, '', '2021-02-08 01:41:47', '', '2021-02-08 01:49:00', b'0');
|
2021-02-28 02:02:24 +08:00
|
|
|
|
INSERT INTO `sys_menu` VALUES (1077, '链路追踪', '', 2, 7, 2, 'skywalking', 'eye-open', 'infra/skywalking', 0, '', '2021-02-08 20:41:31', '', '2021-02-26 02:18:45', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1078, '访问日志', 'infra:api-access-log:query', 2, 1, 1083, 'api-access-log', 'log', 'infra/apiAccessLog/index', 0, '', '2021-02-26 01:32:59', '', '2021-02-26 07:53:46', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1079, 'API 访问日志表创建', 'system:api-access-log:create', 3, 1, 1078, '', '', '', 1, '', '2021-02-26 01:32:59', '', '2021-02-26 02:21:00', b'1');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1080, 'API 访问日志表更新', 'system:api-access-log:update', 3, 2, 1078, '', '', '', 1, '', '2021-02-26 01:32:59', '', '2021-02-26 02:21:08', b'1');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1081, 'API 访问日志表删除', 'system:api-access-log:delete', 3, 3, 1078, '', '', '', 1, '', '2021-02-26 01:32:59', '', '2021-02-26 02:21:27', b'1');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1082, '日志导出', 'infra:api-access-log:export', 3, 4, 1078, '', '', '', 0, '', '2021-02-26 01:32:59', '', '2021-02-26 02:23:22', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1083, 'API 日志', '', 2, 3, 2, 'log', 'log', NULL, 0, '', '2021-02-26 02:18:24', '', '2021-02-26 02:20:17', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1084, '错误日志', 'infra:api-error-log:query', 2, 2, 1083, 'api-error-log', 'log', 'infra/apiErrorLog/index', 0, '', '2021-02-26 07:53:20', '', '2021-02-26 07:54:40', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1085, '日志处理', 'infra:api-error-log:update-status', 3, 1, 1084, '', '', '', 0, '', '2021-02-26 07:53:20', '', '2021-02-26 07:53:20', b'0');
|
|
|
|
|
INSERT INTO `sys_menu` VALUES (1086, '日志导出', 'infra:api-error-log:export', 3, 4, 1084, '', '', '', 0, '', '2021-02-26 07:53:20', '', '2021-02-26 07:53:20', b'0');
|
2021-01-22 19:07:30 +08:00
|
|
|
|
COMMIT;
|
|
|
|
|
|
2021-01-10 00:09:38 +08:00
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Table structure for sys_notice
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
DROP TABLE IF EXISTS `sys_notice`;
|
|
|
|
|
CREATE TABLE `sys_notice` (
|
2021-01-14 21:27:45 +08:00
|
|
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '公告ID',
|
|
|
|
|
`title` varchar(50) NOT NULL COMMENT '公告标题',
|
|
|
|
|
`content` text NOT NULL COMMENT '公告内容',
|
|
|
|
|
`notice_type` tinyint(4) NOT NULL COMMENT '公告类型(1通知 2公告)',
|
|
|
|
|
`status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '公告状态(0正常 1关闭)',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`creator` varchar(64) DEFAULT '' COMMENT '创建者',
|
2021-01-14 21:27:45 +08:00
|
|
|
|
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`updater` varchar(64) DEFAULT '' COMMENT '更新者',
|
2021-01-14 21:27:45 +08:00
|
|
|
|
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
|
|
|
|
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COMMENT='通知公告表';
|
2021-01-10 00:09:38 +08:00
|
|
|
|
|
2021-01-22 19:07:30 +08:00
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Records of sys_notice
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
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');
|
|
|
|
|
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');
|
|
|
|
|
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');
|
|
|
|
|
COMMIT;
|
|
|
|
|
|
2021-01-10 00:09:38 +08:00
|
|
|
|
-- ----------------------------
|
2021-01-17 01:21:54 +08:00
|
|
|
|
-- Table structure for sys_operate_log
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
DROP TABLE IF EXISTS `sys_operate_log`;
|
|
|
|
|
CREATE TABLE `sys_operate_log` (
|
|
|
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '日志主键',
|
|
|
|
|
`trace_id` varchar(64) NOT NULL DEFAULT '' COMMENT '链路追踪编号',
|
|
|
|
|
`user_id` bigint(20) NOT NULL COMMENT '用户编号',
|
|
|
|
|
`module` varchar(50) NOT NULL COMMENT '模块标题',
|
|
|
|
|
`name` varchar(50) NOT NULL COMMENT '操作名',
|
|
|
|
|
`operate_type` bigint(4) NOT NULL DEFAULT '0' COMMENT '操作分类',
|
|
|
|
|
`content` varchar(2000) NOT NULL DEFAULT '' COMMENT '操作内容',
|
|
|
|
|
`exts` varchar(512) NOT NULL DEFAULT '' COMMENT '拓展字段',
|
|
|
|
|
`request_method` varchar(16) DEFAULT '' COMMENT '请求方法名',
|
|
|
|
|
`request_url` varchar(255) DEFAULT '' COMMENT '请求地址',
|
|
|
|
|
`user_ip` varchar(50) DEFAULT NULL COMMENT '用户 IP',
|
2021-01-22 19:07:30 +08:00
|
|
|
|
`user_agent` varchar(200) DEFAULT NULL COMMENT '浏览器 UA',
|
2021-01-17 01:21:54 +08:00
|
|
|
|
`java_method` varchar(512) NOT NULL DEFAULT '' COMMENT 'Java 方法名',
|
|
|
|
|
`java_method_args` varchar(8000) DEFAULT '' COMMENT 'Java 方法的参数',
|
|
|
|
|
`start_time` datetime NOT NULL COMMENT '操作时间',
|
|
|
|
|
`duration` int(11) NOT NULL COMMENT '执行时长',
|
|
|
|
|
`result_code` int(11) NOT NULL DEFAULT '0' COMMENT '结果码',
|
|
|
|
|
`result_msg` varchar(512) DEFAULT '' COMMENT '结果提示',
|
|
|
|
|
`result_data` varchar(4000) DEFAULT '' COMMENT '结果数据',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`creator` varchar(64) DEFAULT '' COMMENT '创建者',
|
2021-01-17 01:21:54 +08:00
|
|
|
|
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`updater` varchar(64) DEFAULT '' COMMENT '更新者',
|
2021-01-17 01:21:54 +08:00
|
|
|
|
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
|
|
|
|
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
2021-03-09 20:41:29 +08:00
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='操作日志记录';
|
2021-01-22 19:07:30 +08:00
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Records of sys_operate_log
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
BEGIN;
|
|
|
|
|
COMMIT;
|
2021-01-10 00:09:38 +08:00
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Table structure for sys_post
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
DROP TABLE IF EXISTS `sys_post`;
|
|
|
|
|
CREATE TABLE `sys_post` (
|
2021-01-14 21:27:45 +08:00
|
|
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '岗位ID',
|
|
|
|
|
`code` varchar(64) NOT NULL COMMENT '岗位编码',
|
|
|
|
|
`name` varchar(50) NOT NULL COMMENT '岗位名称',
|
|
|
|
|
`sort` int(4) NOT NULL COMMENT '显示顺序',
|
|
|
|
|
`status` tinyint(4) NOT NULL COMMENT '状态(0正常 1停用)',
|
|
|
|
|
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`creator` varchar(64) DEFAULT '' COMMENT '创建者',
|
2021-01-14 21:27:45 +08:00
|
|
|
|
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`updater` varchar(64) DEFAULT '' COMMENT '更新者',
|
2021-01-14 21:27:45 +08:00
|
|
|
|
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
|
|
|
|
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COMMENT='岗位信息表';
|
2021-01-10 00:09:38 +08:00
|
|
|
|
|
2021-01-22 19:07:30 +08:00
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Records of sys_post
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
BEGIN;
|
|
|
|
|
INSERT INTO `sys_post` VALUES (1, 'ceo', '董事长', 1, 0, '', 'admin', '2021-01-05 17:03:48', '', '2021-01-05 17:03:48', b'0');
|
|
|
|
|
INSERT INTO `sys_post` VALUES (2, 'se', '项目经理', 2, 0, '', 'admin', '2021-01-05 17:03:48', '', '2021-01-05 17:03:48', b'0');
|
|
|
|
|
INSERT INTO `sys_post` VALUES (3, 'hr', '人力资源', 3, 0, '', 'admin', '2021-01-05 17:03:48', '', '2021-01-05 17:03:48', b'0');
|
|
|
|
|
INSERT INTO `sys_post` VALUES (4, 'user', '普通员工', 4, 0, '', 'admin', '2021-01-05 17:03:48', '', '2021-01-05 17:03:48', b'0');
|
|
|
|
|
INSERT INTO `sys_post` VALUES (5, 'test', '测试岗位', 0, 1, '132', '', '2021-01-07 15:07:44', '', '2021-01-07 15:10:35', b'1');
|
|
|
|
|
COMMIT;
|
|
|
|
|
|
2021-01-10 00:09:38 +08:00
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Table structure for sys_role
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
DROP TABLE IF EXISTS `sys_role`;
|
|
|
|
|
CREATE TABLE `sys_role` (
|
|
|
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '角色ID',
|
|
|
|
|
`name` varchar(30) NOT NULL COMMENT '角色名称',
|
|
|
|
|
`code` varchar(100) NOT NULL COMMENT '角色权限字符串',
|
|
|
|
|
`sort` int(4) NOT NULL COMMENT '显示顺序',
|
|
|
|
|
`data_scope` tinyint(4) NOT NULL DEFAULT '1' COMMENT '数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限)',
|
|
|
|
|
`data_scope_dept_ids` varchar(500) NOT NULL DEFAULT '' COMMENT '数据范围(指定部门数组)',
|
|
|
|
|
`status` tinyint(4) NOT NULL COMMENT '角色状态(0正常 1停用)',
|
|
|
|
|
`type` tinyint(4) NOT NULL COMMENT '角色类型',
|
|
|
|
|
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`creator` varchar(64) DEFAULT '' COMMENT '创建者',
|
2021-01-10 00:09:38 +08:00
|
|
|
|
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`updater` varchar(64) DEFAULT '' COMMENT '更新者',
|
2021-01-10 00:09:38 +08:00
|
|
|
|
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
|
|
|
|
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=102 DEFAULT CHARSET=utf8mb4 COMMENT='角色信息表';
|
|
|
|
|
|
2021-01-22 19:07:30 +08:00
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Records of sys_role
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
BEGIN;
|
|
|
|
|
INSERT INTO `sys_role` VALUES (1, '超级管理员', 'admin', 1, 1, '', 0, 1, '超级管理员', 'admin', '2021-01-05 17:03:48', '', '2021-01-06 12:40:20', 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');
|
2021-01-28 01:34:49 +08:00
|
|
|
|
INSERT INTO `sys_role` VALUES (101, '测试账号', 'test', 0, 2, '[104]', 0, 2, '132', '', '2021-01-06 13:49:35', '', '2021-01-21 02:15:26', b'0');
|
2021-01-22 19:07:30 +08:00
|
|
|
|
COMMIT;
|
|
|
|
|
|
2021-01-10 00:09:38 +08:00
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Table structure for sys_role_menu
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
DROP TABLE IF EXISTS `sys_role_menu`;
|
|
|
|
|
CREATE TABLE `sys_role_menu` (
|
|
|
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '自增编号',
|
|
|
|
|
`role_id` bigint(20) NOT NULL COMMENT '角色ID',
|
|
|
|
|
`menu_id` bigint(20) NOT NULL COMMENT '菜单ID',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`creator` varchar(64) DEFAULT '' COMMENT '创建者',
|
2021-01-10 00:09:38 +08:00
|
|
|
|
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`updater` varchar(64) DEFAULT '' COMMENT '更新者',
|
2021-01-10 00:09:38 +08:00
|
|
|
|
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
|
|
|
|
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
2021-01-28 01:34:49 +08:00
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=239 DEFAULT CHARSET=utf8mb4 COMMENT='角色和菜单关联表';
|
2021-01-10 00:09:38 +08:00
|
|
|
|
|
2021-01-22 19:07:30 +08:00
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Records of sys_role_menu
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
BEGIN;
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (1, 2, 1, '', '2021-01-06 17:28:04', '', '2021-01-06 17:48:51', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (2, 2, 2, '', '2021-01-06 17:28:04', '', '2021-01-06 17:48:51', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (3, 2, 3, '', '2021-01-06 17:28:04', '', '2021-01-06 17:48:51', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (4, 2, 4, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (5, 2, 100, '', '2021-01-06 17:28:04', '', '2021-01-06 17:48:51', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (6, 2, 101, '', '2021-01-06 17:28:04', '', '2021-01-06 17:48:51', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (7, 2, 102, '', '2021-01-06 17:28:04', '', '2021-01-06 17:48:51', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (8, 2, 103, '', '2021-01-06 17:28:04', '', '2021-01-06 17:48:51', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (9, 2, 104, '', '2021-01-06 17:28:04', '', '2021-01-06 17:48:51', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (10, 2, 105, '', '2021-01-06 17:28:04', '', '2021-01-06 17:48:51', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (11, 2, 106, '', '2021-01-06 17:28:04', '', '2021-01-06 17:48:51', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (12, 2, 107, '', '2021-01-06 17:28:04', '', '2021-01-06 17:48:51', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (13, 2, 108, '', '2021-01-06 17:28:04', '', '2021-01-06 17:48:51', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (14, 2, 109, '', '2021-01-06 17:28:04', '', '2021-01-06 17:48:51', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (15, 2, 110, '', '2021-01-06 17:28:04', '', '2021-01-06 17:48:51', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (16, 2, 111, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (17, 2, 112, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (18, 2, 113, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (19, 2, 114, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (20, 2, 115, '', '2021-01-06 17:28:04', '', '2021-01-06 17:48:51', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (21, 2, 116, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (22, 2, 500, '', '2021-01-06 17:28:04', '', '2021-01-06 17:48:51', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (23, 2, 501, '', '2021-01-06 17:28:04', '', '2021-01-06 17:48:51', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (24, 2, 1000, '', '2021-01-06 17:28:04', '', '2021-01-06 17:48:51', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (25, 2, 1001, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (26, 2, 1002, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (27, 2, 1003, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (28, 2, 1004, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (29, 2, 1005, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (30, 2, 1006, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (31, 2, 1007, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (32, 2, 1008, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (33, 2, 1009, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (34, 2, 1010, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (35, 2, 1011, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (36, 2, 1012, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (37, 2, 1013, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (38, 2, 1014, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (39, 2, 1015, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (40, 2, 1016, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (41, 2, 1017, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (42, 2, 1018, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (43, 2, 1019, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (44, 2, 1020, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (45, 2, 1021, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (46, 2, 1022, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (47, 2, 1023, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (48, 2, 1024, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (49, 2, 1025, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (50, 2, 1026, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (51, 2, 1027, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (52, 2, 1028, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (53, 2, 1029, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (54, 2, 1030, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (55, 2, 1031, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (56, 2, 1032, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (57, 2, 1033, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (58, 2, 1034, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (59, 2, 1035, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (60, 2, 1036, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (61, 2, 1037, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (62, 2, 1038, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (63, 2, 1039, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (64, 2, 1040, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (65, 2, 1041, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (66, 2, 1042, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (67, 2, 1043, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (68, 2, 1044, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (69, 2, 1045, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (70, 2, 1046, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (71, 2, 1047, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (72, 2, 1048, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (73, 2, 1049, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (74, 2, 1050, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (75, 2, 1051, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (76, 2, 1052, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (77, 2, 1053, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (78, 2, 1054, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (79, 2, 1055, '', '2021-01-06 17:28:04', '', '2021-01-06 17:48:51', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (80, 2, 1056, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (81, 2, 1057, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (82, 2, 1058, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (83, 2, 1059, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (84, 2, 1060, '', '2021-01-06 17:28:04', '', '2021-01-06 17:28:04', b'0');
|
2021-01-28 01:34:49 +08:00
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (169, 101, 1001, '', '2021-01-21 02:15:01', '', '2021-01-21 03:04:50', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (170, 101, 1, '', '2021-01-21 02:39:45', '', '2021-01-21 03:13:11', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (171, 101, 100, '', '2021-01-21 02:39:45', '', '2021-01-21 03:13:11', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (172, 101, 1024, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (173, 101, 1025, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (174, 101, 1026, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (175, 101, 1027, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (176, 101, 1028, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (177, 101, 1029, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (178, 101, 1030, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (179, 101, 1036, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (180, 101, 1037, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (181, 101, 1038, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (182, 101, 1039, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (183, 101, 1040, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (184, 101, 1042, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (185, 101, 1043, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (186, 101, 1045, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (187, 101, 1063, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (188, 101, 1064, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (189, 101, 1065, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (190, 101, 1007, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (191, 101, 1008, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (192, 101, 1009, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (193, 101, 1010, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (194, 101, 1011, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (195, 101, 1012, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (196, 101, 1013, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (197, 101, 1014, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (198, 101, 1015, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (199, 101, 1016, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (200, 101, 1017, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (201, 101, 1018, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (202, 101, 1019, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (203, 101, 1020, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (204, 101, 1021, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (205, 101, 1022, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (206, 101, 1023, '', '2021-01-21 03:04:50', '', '2021-01-21 03:07:43', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (207, 101, 1001, '', '2021-01-21 03:07:43', '', '2021-01-21 03:13:11', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (208, 101, 1002, '', '2021-01-21 03:07:43', '', '2021-01-21 03:10:08', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (209, 101, 1002, '', '2021-01-21 03:11:17', '', '2021-01-21 03:13:11', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (210, 101, 1, '', '2021-01-21 03:13:21', '', '2021-01-21 03:13:21', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (211, 101, 1001, '', '2021-01-21 03:13:21', '', '2021-01-21 03:13:40', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (212, 101, 100, '', '2021-01-21 03:13:21', '', '2021-01-21 03:13:40', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (213, 101, 1008, '', '2021-01-21 03:13:40', '', '2021-01-21 03:23:14', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (214, 101, 1009, '', '2021-01-21 03:13:40', '', '2021-01-21 03:23:14', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (215, 101, 1010, '', '2021-01-21 03:13:40', '', '2021-01-21 03:23:14', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (216, 101, 1011, '', '2021-01-21 03:13:40', '', '2021-01-21 03:23:14', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (217, 101, 1012, '', '2021-01-21 03:13:40', '', '2021-01-21 03:23:14', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (218, 101, 101, '', '2021-01-21 03:13:40', '', '2021-01-21 03:23:14', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (219, 101, 1063, '', '2021-01-21 03:13:40', '', '2021-01-21 03:23:14', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (220, 101, 1064, '', '2021-01-21 03:13:40', '', '2021-01-21 03:23:14', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (221, 101, 1065, '', '2021-01-21 03:13:40', '', '2021-01-21 03:23:14', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (222, 101, 100, '', '2021-01-21 03:23:14', '', '2021-01-21 03:23:27', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (223, 101, 1001, '', '2021-01-21 03:23:14', '', '2021-01-21 03:23:27', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (224, 101, 1002, '', '2021-01-21 03:23:14', '', '2021-01-21 03:23:27', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (225, 101, 1003, '', '2021-01-21 03:23:14', '', '2021-01-21 03:23:27', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (226, 101, 1004, '', '2021-01-21 03:23:14', '', '2021-01-21 03:23:27', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (227, 101, 1005, '', '2021-01-21 03:23:14', '', '2021-01-21 03:23:27', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (228, 101, 1006, '', '2021-01-21 03:23:14', '', '2021-01-21 03:23:27', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (229, 101, 1007, '', '2021-01-21 03:23:14', '', '2021-01-21 03:23:27', b'1');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (230, 101, 1008, '', '2021-01-21 03:23:27', '', '2021-01-21 03:23:27', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (231, 101, 1009, '', '2021-01-21 03:23:27', '', '2021-01-21 03:23:27', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (232, 101, 1010, '', '2021-01-21 03:23:27', '', '2021-01-21 03:23:27', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (233, 101, 1011, '', '2021-01-21 03:23:27', '', '2021-01-21 03:23:27', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (234, 101, 1012, '', '2021-01-21 03:23:27', '', '2021-01-21 03:23:27', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (235, 101, 101, '', '2021-01-21 03:23:27', '', '2021-01-21 03:23:27', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (236, 101, 1063, '', '2021-01-21 03:23:27', '', '2021-01-21 03:23:27', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (237, 101, 1064, '', '2021-01-21 03:23:27', '', '2021-01-21 03:23:27', b'0');
|
|
|
|
|
INSERT INTO `sys_role_menu` VALUES (238, 101, 1065, '', '2021-01-21 03:23:27', '', '2021-01-21 03:23:27', b'0');
|
2021-01-22 19:07:30 +08:00
|
|
|
|
COMMIT;
|
|
|
|
|
|
2021-01-10 00:09:38 +08:00
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Table structure for sys_user
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
DROP TABLE IF EXISTS `sys_user`;
|
|
|
|
|
CREATE TABLE `sys_user` (
|
|
|
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '用户ID',
|
|
|
|
|
`username` varchar(30) NOT NULL COMMENT '用户账号',
|
|
|
|
|
`password` varchar(100) NOT NULL DEFAULT '' COMMENT '密码',
|
|
|
|
|
`nickname` varchar(30) NOT NULL COMMENT '用户昵称',
|
|
|
|
|
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
|
|
|
|
|
`dept_id` bigint(20) DEFAULT NULL COMMENT '部门ID',
|
|
|
|
|
`post_ids` varchar(255) DEFAULT NULL COMMENT '岗位编号数组',
|
|
|
|
|
`email` varchar(50) DEFAULT '' COMMENT '用户邮箱',
|
|
|
|
|
`mobile` varchar(11) DEFAULT '' COMMENT '手机号码',
|
|
|
|
|
`sex` tinyint(4) DEFAULT '0' COMMENT '用户性别',
|
|
|
|
|
`avatar` varchar(100) DEFAULT '' COMMENT '头像地址',
|
|
|
|
|
`status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '帐号状态(0正常 1停用)',
|
|
|
|
|
`login_ip` varchar(50) DEFAULT '' COMMENT '最后登录IP',
|
|
|
|
|
`login_date` datetime DEFAULT NULL COMMENT '最后登录时间',
|
2021-03-09 20:41:29 +08:00
|
|
|
|
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
|
2021-01-10 00:09:38 +08:00
|
|
|
|
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
2021-03-09 20:41:29 +08:00
|
|
|
|
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
|
2021-01-10 00:09:38 +08:00
|
|
|
|
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
|
|
|
|
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
2021-01-28 01:34:49 +08:00
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=105 DEFAULT CHARSET=utf8mb4 COMMENT='用户信息表';
|
2021-01-10 00:09:38 +08:00
|
|
|
|
|
2021-01-22 19:07:30 +08:00
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Records of sys_user
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
BEGIN;
|
|
|
|
|
INSERT INTO `sys_user` VALUES (1, 'admin', '$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2', '若依', '管理员', 103, '[1]', 'ry@163.com', '15888888888', 1, 'http://127.0.0.1:8080/api/system/file/get/add5ec1891a7d97d2cc1d60847e16294.jpg', 0, '127.0.0.1', '2021-01-05 17:03:47', 'admin', '2021-01-05 17:03:47', '', '2021-01-13 17:51:06', b'0');
|
|
|
|
|
INSERT INTO `sys_user` VALUES (2, 'ry', '$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2', '若依', '测试员', 105, '[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-01-05 17:03:47', b'0');
|
|
|
|
|
INSERT INTO `sys_user` VALUES (100, 'yudao', '$2a$10$11U48RhyJ5pSBYWSn12AD./ld671.ycSzJHbyrtpeoMeYiw31eo8a', '芋道', '不要吓我', 100, '[1]', 'yudao@iocoder.cn', '15601691300', 1, '', 1, '', NULL, '', '2021-01-07 09:07:17', '', '2021-01-13 23:53:12', b'0');
|
|
|
|
|
INSERT INTO `sys_user` VALUES (103, 'yuanma', '', '源码', NULL, 100, NULL, 'yuanma@iocoder.cn', '15601701300', 0, '', 0, '', NULL, '', '2021-01-13 23:50:35', '', '2021-01-13 23:50:35', b'0');
|
2021-01-28 01:34:49 +08:00
|
|
|
|
INSERT INTO `sys_user` VALUES (104, 'test', '$2a$10$wTJ.1LVmhxcujss2NR2SMeBo8AaFsjkoDfDafHYsdHmitAiwmnvce', '测试号', NULL, 100, '[]', '', '15601691200', 1, '', 0, '', NULL, '', '2021-01-21 02:13:53', '', '2021-01-21 02:14:13', b'0');
|
2021-01-22 19:07:30 +08:00
|
|
|
|
COMMIT;
|
|
|
|
|
|
2021-01-10 00:09:38 +08:00
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Table structure for sys_user_role
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
DROP TABLE IF EXISTS `sys_user_role`;
|
|
|
|
|
CREATE TABLE `sys_user_role` (
|
|
|
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '自增编号',
|
|
|
|
|
`user_id` bigint(20) NOT NULL COMMENT '用户ID',
|
|
|
|
|
`role_id` bigint(20) NOT NULL COMMENT '角色ID',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`creator` varchar(64) DEFAULT '' COMMENT '创建者',
|
2021-01-10 00:09:38 +08:00
|
|
|
|
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`updater` varchar(64) DEFAULT '' COMMENT '更新者',
|
2021-01-10 00:09:38 +08:00
|
|
|
|
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
|
|
|
|
|
`deleted` bit(1) DEFAULT b'0' COMMENT '是否删除',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
2021-01-28 01:34:49 +08:00
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COMMENT='用户和角色关联表';
|
2021-01-10 00:09:38 +08:00
|
|
|
|
|
2021-01-22 19:07:30 +08:00
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Records of sys_user_role
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
BEGIN;
|
|
|
|
|
INSERT INTO `sys_user_role` VALUES (1, 1, 1, '', NULL, '', NULL, b'0');
|
|
|
|
|
INSERT INTO `sys_user_role` VALUES (2, 2, 2, '', NULL, '', NULL, b'0');
|
|
|
|
|
INSERT INTO `sys_user_role` VALUES (3, 100, 1, '', NULL, '', NULL, b'1');
|
|
|
|
|
INSERT INTO `sys_user_role` VALUES (4, 100, 101, '', NULL, '', NULL, b'0');
|
|
|
|
|
INSERT INTO `sys_user_role` VALUES (5, 100, 1, '', NULL, '', NULL, b'0');
|
|
|
|
|
INSERT INTO `sys_user_role` VALUES (6, 100, 2, '', NULL, '', NULL, b'0');
|
2021-01-28 01:34:49 +08:00
|
|
|
|
INSERT INTO `sys_user_role` VALUES (7, 104, 101, '', NULL, '', NULL, b'0');
|
2021-01-22 19:07:30 +08:00
|
|
|
|
COMMIT;
|
|
|
|
|
|
2021-02-02 22:54:53 +08:00
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Table structure for sys_user_session
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
DROP TABLE IF EXISTS `sys_user_session`;
|
|
|
|
|
CREATE TABLE `sys_user_session` (
|
|
|
|
|
`id` varchar(32) NOT NULL COMMENT '会话编号',
|
|
|
|
|
`user_id` bigint(20) NOT NULL COMMENT '用户编号',
|
2021-03-09 20:41:29 +08:00
|
|
|
|
`session_timeout` datetime NOT NULL COMMENT '会话超时时间',
|
|
|
|
|
`username` varchar(30) NOT NULL COMMENT '用户账号',
|
2021-02-02 22:54:53 +08:00
|
|
|
|
`user_ip` varchar(50) NOT NULL COMMENT '用户 IP',
|
2021-02-21 13:11:27 +08:00
|
|
|
|
`user_agent` varchar(512) NOT NULL COMMENT '浏览器 UA',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`creator` varchar(64) DEFAULT '' COMMENT '创建者',
|
2021-02-02 22:54:53 +08:00
|
|
|
|
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`updater` varchar(64) DEFAULT '' COMMENT '更新者',
|
2021-02-02 22:54:53 +08:00
|
|
|
|
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
|
|
|
|
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户在线 Session';
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Records of sys_user_session
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
BEGIN;
|
2021-02-13 11:00:03 +08:00
|
|
|
|
COMMIT;
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Table structure for tool_codegen_column
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
DROP TABLE IF EXISTS `tool_codegen_column`;
|
|
|
|
|
CREATE TABLE `tool_codegen_column` (
|
|
|
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '编号',
|
|
|
|
|
`table_id` bigint(20) NOT NULL COMMENT '表编号',
|
|
|
|
|
`column_name` varchar(200) NOT NULL COMMENT '字段名',
|
|
|
|
|
`column_type` varchar(100) NOT NULL COMMENT '字段类型',
|
|
|
|
|
`column_comment` varchar(500) NOT NULL COMMENT '字段描述',
|
|
|
|
|
`nullable` bit(1) NOT NULL COMMENT '是否允许为空',
|
|
|
|
|
`primary_key` bit(1) NOT NULL COMMENT '是否主键',
|
|
|
|
|
`auto_Increment` char(1) NOT NULL COMMENT '是否自增',
|
|
|
|
|
`ordinal_position` int(11) NOT NULL COMMENT '排序',
|
|
|
|
|
`java_type` varchar(32) NOT NULL COMMENT 'Java 属性类型',
|
|
|
|
|
`java_field` varchar(64) NOT NULL COMMENT 'Java 属性名',
|
|
|
|
|
`dict_type` varchar(200) DEFAULT '' COMMENT '字典类型',
|
|
|
|
|
`example` varchar(64) DEFAULT NULL COMMENT '数据示例',
|
|
|
|
|
`create_operation` bit(1) NOT NULL COMMENT '是否为 Create 创建操作的字段',
|
|
|
|
|
`update_operation` bit(1) NOT NULL COMMENT '是否为 Update 更新操作的字段',
|
|
|
|
|
`list_operation` bit(1) NOT NULL COMMENT '是否为 List 查询操作的字段',
|
|
|
|
|
`list_operation_condition` varchar(32) NOT NULL DEFAULT '=' COMMENT 'List 查询操作的条件类型',
|
|
|
|
|
`list_operation_result` bit(1) NOT NULL COMMENT '是否为 List 查询操作的返回字段',
|
|
|
|
|
`html_type` varchar(32) NOT NULL COMMENT '显示类型',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`creator` varchar(64) DEFAULT '' COMMENT '创建者',
|
2021-02-13 11:00:03 +08:00
|
|
|
|
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`updater` varchar(64) DEFAULT '' COMMENT '更新者',
|
2021-02-13 11:00:03 +08:00
|
|
|
|
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
|
|
|
|
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
2021-03-08 00:50:59 +08:00
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=381 DEFAULT CHARSET=utf8mb4 COMMENT='代码生成表字段定义';
|
2021-02-13 11:00:03 +08:00
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Records of tool_codegen_column
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
BEGIN;
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (232, 20, 'id', 'bigint(20)', '编号', b'0', b'1', '1', 1, 'Long', 'id', '', '1', b'0', b'1', b'0', '=', b'1', 'input', '', '2021-02-06 01:33:25', '', '2021-02-06 03:25:57', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (233, 20, 'name', 'varchar(100)', '名字', b'0', b'0', '0', 2, 'String', 'name', '', '芋道', b'1', b'1', b'1', 'LIKE', b'1', 'input', '', '2021-02-06 01:33:25', '', '2021-02-06 13:10:34', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (234, 20, 'status', 'tinyint(4)', '状态', b'0', b'0', '0', 3, 'Integer', 'status', 'sys_common_status', '1', b'1', b'1', b'1', '=', b'1', 'radio', '', '2021-02-06 01:33:25', '', '2021-02-06 03:26:01', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (235, 20, 'type', 'tinyint(4)', '类型', b'0', b'0', '0', 4, 'Integer', 'type', 'sys_operate_type', '2', b'1', b'1', b'1', '=', b'1', 'select', '', '2021-02-06 01:33:25', '', '2021-02-06 03:26:05', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (236, 20, 'category', 'tinyint(4)', '分类', b'0', b'0', '0', 5, 'Integer', 'category', 'inf_redis_timeout_type', '3', b'1', b'1', b'1', '=', b'1', 'radio', '', '2021-02-06 01:33:25', '', '2021-02-06 13:17:53', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (237, 20, 'remark', 'varchar(500)', '备注', b'1', b'0', '0', 6, 'String', 'remark', '', '我是备注', b'1', b'1', b'1', '=', b'1', 'input', '', '2021-02-06 01:33:25', '', '2021-02-06 03:26:08', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (238, 20, 'create_by', 'varchar(64)', '创建者', b'1', b'0', '0', 7, 'String', 'createBy', '', NULL, b'0', b'0', b'0', '=', b'0', 'input', '', '2021-02-06 01:33:25', '', '2021-02-06 03:26:09', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (239, 20, 'create_time', 'datetime', '创建时间', b'0', b'0', '0', 8, 'Date', 'createTime', '', NULL, b'0', b'0', b'1', 'BETWEEN', b'1', 'datetime', '', '2021-02-06 01:33:25', '', '2021-02-06 07:50:41', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (240, 20, 'update_by', 'varchar(64)', '更新者', b'1', b'0', '0', 9, 'String', 'updateBy', '', NULL, b'0', b'0', b'0', '=', b'0', 'input', '', '2021-02-06 01:33:25', '', '2021-02-06 03:26:13', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (241, 20, 'update_time', 'datetime', '更新时间', b'0', b'0', '0', 10, 'Date', 'updateTime', '', NULL, b'0', b'0', b'0', '=', b'0', 'datetime', '', '2021-02-06 01:33:25', '', '2021-02-06 08:02:20', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (242, 20, 'deleted', 'bit(1)', '是否删除', b'0', b'0', '0', 11, 'Boolean', 'deleted', '', NULL, b'0', b'0', b'1', '=', b'0', 'radio', '', '2021-02-06 01:33:25', '', '2021-02-06 07:52:14', b'0');
|
2021-02-13 13:40:29 +08:00
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (243, 21, 'id', 'int(5)', '参数主键', b'0', b'1', '1', 1, 'Integer', 'id', '', NULL, b'0', b'1', b'0', '=', b'1', 'input', '', '2021-02-06 19:51:35', '', '2021-02-06 19:51:35', b'0');
|
2021-03-07 00:47:55 +08:00
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (244, 21, 'group', 'varchar(50)', '参数分组', b'0', b'0', '0', 2, 'String', 'group', '', NULL, b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-06 19:51:35', '', '2021-03-06 02:20:02', b'0');
|
2021-02-13 13:40:29 +08:00
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (245, 21, 'type', 'tinyint(4)', '参数类型', b'0', b'0', '0', 3, 'Integer', 'type', '', NULL, b'1', b'1', b'1', '=', b'1', 'select', '', '2021-02-06 19:51:35', '', '2021-02-06 19:51:35', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (246, 21, 'name', 'varchar(100)', '参数名称', b'0', b'0', '0', 4, 'String', 'name', '', NULL, b'1', b'1', b'1', 'LIKE', b'1', 'input', '', '2021-02-06 19:51:35', '', '2021-02-06 19:51:35', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (247, 21, 'key', 'varchar(100)', '参数键名', b'0', b'0', '0', 5, 'String', 'key', '', NULL, b'1', b'1', b'1', '=', b'1', 'input', '', '2021-02-06 19:51:35', '', '2021-02-06 19:51:35', b'0');
|
2021-03-07 00:47:55 +08:00
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (248, 21, 'value', 'varchar(500)', '参数键值', b'0', b'0', '0', 6, 'String', 'value', '', NULL, b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-06 19:51:35', '', '2021-03-06 02:20:02', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (249, 21, 'sensitive', 'bit(1)', '是否敏感', b'0', b'0', '0', 7, 'Boolean', 'sensitive', '', NULL, b'1', b'1', b'0', '=', b'1', 'radio', '', '2021-02-06 19:51:35', '', '2021-03-06 02:20:02', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (250, 21, 'remark', 'varchar(500)', '备注', b'1', b'0', '0', 8, 'String', 'remark', '', NULL, b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-06 19:51:35', '', '2021-03-06 02:20:02', b'0');
|
2021-02-13 13:40:29 +08:00
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (251, 21, 'create_by', 'varchar(64)', '创建者', b'1', b'0', '0', 9, 'String', 'createBy', '', NULL, b'0', b'0', b'0', '=', b'0', 'input', '', '2021-02-06 19:51:35', '', '2021-02-06 19:51:35', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (252, 21, 'create_time', 'datetime', '创建时间', b'0', b'0', '0', 10, 'Date', 'createTime', '', NULL, b'0', b'0', b'1', 'BETWEEN', b'1', 'datetime', '', '2021-02-06 19:51:35', '', '2021-02-06 19:51:35', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (253, 21, 'update_by', 'varchar(64)', '更新者', b'1', b'0', '0', 11, 'String', 'updateBy', '', NULL, b'0', b'0', b'0', '=', b'0', 'input', '', '2021-02-06 19:51:35', '', '2021-02-06 19:51:35', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (254, 21, 'update_time', 'datetime', '更新时间', b'0', b'0', '0', 12, 'Date', 'updateTime', '', NULL, b'0', b'0', b'0', 'BETWEEN', b'0', 'datetime', '', '2021-02-06 19:51:35', '', '2021-02-06 19:51:35', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (255, 21, 'deleted', 'bit(1)', '是否删除', b'0', b'0', '0', 13, 'Boolean', 'deleted', '', NULL, b'0', b'0', b'0', '=', b'0', 'radio', '', '2021-02-06 19:51:35', '', '2021-02-06 19:51:35', b'0');
|
2021-02-14 23:01:21 +08:00
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (256, 23, 'job_id', 'bigint(20)', '任务ID', b'0', b'1', '1', 1, 'Long', 'jobId', '', NULL, b'0', b'1', b'0', '=', b'1', 'input', '', '2021-02-06 20:29:26', '', '2021-02-07 06:38:51', b'1');
|
2021-02-13 13:40:29 +08:00
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (257, 23, 'job_name', 'varchar(64)', '任务名称', b'0', b'0', '0', 2, 'String', 'jobName', '', NULL, b'1', b'1', b'1', 'LIKE', b'1', 'input', '', '2021-02-06 20:29:26', '', '2021-02-06 20:47:14', b'1');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (258, 23, 'job_group', 'varchar(64)', '任务组名', b'0', b'0', '0', 3, 'String', 'jobGroup', '', NULL, b'1', b'1', b'1', '=', b'1', 'input', '', '2021-02-06 20:29:26', '', '2021-02-06 20:47:14', b'1');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (259, 23, 'invoke_target', 'varchar(500)', '调用目标字符串', b'0', b'0', '0', 4, 'String', 'invokeTarget', '', NULL, b'1', b'1', b'1', '=', b'1', 'input', '', '2021-02-06 20:29:26', '', '2021-02-06 20:47:14', b'1');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (260, 23, 'cron_expression', 'varchar(255)', 'cron执行表达式', b'1', b'0', '0', 5, 'String', 'cronExpression', '', NULL, b'1', b'1', b'1', '=', b'1', 'input', '', '2021-02-06 20:29:26', '', '2021-02-06 20:47:14', b'1');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (261, 23, 'misfire_policy', 'varchar(20)', '计划执行错误策略(1立即执行 2执行一次 3放弃执行)', b'1', b'0', '0', 6, 'String', 'misfirePolicy', '', NULL, b'1', b'1', b'1', '=', b'1', 'input', '', '2021-02-06 20:29:26', '', '2021-02-06 20:47:14', b'1');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (262, 23, 'concurrent', 'char(1)', '是否并发执行(0允许 1禁止)', b'1', b'0', '0', 7, 'String', 'concurrent', '', NULL, b'1', b'1', b'1', '=', b'1', 'input', '', '2021-02-06 20:29:26', '', '2021-02-06 20:47:14', b'1');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (263, 23, 'status', 'char(1)', '状态(0正常 1暂停)', b'1', b'0', '0', 8, 'String', 'status', '', NULL, b'1', b'1', b'1', '=', b'1', 'radio', '', '2021-02-06 20:29:26', '', '2021-02-06 20:46:49', b'1');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (264, 23, 'create_by', 'varchar(64)', '创建者', b'1', b'0', '0', 9, 'String', 'createBy', '', NULL, b'0', b'0', b'0', '=', b'0', 'input', '', '2021-02-06 20:29:26', '', '2021-02-06 20:46:49', b'1');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (265, 23, 'create_time', 'datetime', '创建时间', b'0', b'0', '0', 10, 'Date', 'createTime', '', NULL, b'0', b'0', b'1', 'BETWEEN', b'1', 'datetime', '', '2021-02-06 20:29:26', '', '2021-02-06 20:46:49', b'1');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (266, 23, 'update_by', 'varchar(64)', '更新者', b'1', b'0', '0', 11, 'String', 'updateBy', '', NULL, b'0', b'0', b'0', '=', b'0', 'input', '', '2021-02-06 20:29:26', '', '2021-02-06 20:46:49', b'1');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (267, 23, 'update_time', 'datetime', '更新时间', b'1', b'0', '0', 12, 'Date', 'updateTime', '', NULL, b'0', b'0', b'0', 'BETWEEN', b'0', 'datetime', '', '2021-02-06 20:29:26', '', '2021-02-06 20:47:14', b'1');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (268, 23, 'remark', 'varchar(500)', '备注信息', b'1', b'0', '0', 13, 'String', 'remark', '', NULL, b'1', b'1', b'1', '=', b'1', 'input', '', '2021-02-06 20:29:26', '', '2021-02-06 20:47:14', b'1');
|
2021-02-14 23:01:21 +08:00
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (269, 24, 'id', 'bigint(20)', '任务编号', b'0', b'1', '1', 1, 'Long', 'id', '', '1024', b'0', b'1', b'0', '=', b'1', 'input', '', '2021-02-07 06:39:34', '', '2021-02-07 06:44:19', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (270, 24, 'name', 'varchar(32)', '任务名称', b'0', b'0', '0', 2, 'String', 'name', '', '测试任务', b'1', b'1', b'1', 'LIKE', b'1', 'input', '', '2021-02-07 06:39:34', '', '2021-02-07 06:44:19', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (271, 24, 'status', 'tinyint(4)', '任务状态', b'0', b'0', '0', 3, 'Integer', 'status', 'inf_job_status', '1', b'0', b'0', b'1', '=', b'1', 'radio', '', '2021-02-07 06:39:34', '', '2021-02-07 07:55:17', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (272, 24, 'handler_name', 'varchar(64)', '处理器的名字', b'0', b'0', '0', 4, 'String', 'handlerName', '', 'sysUserSessionTimeoutJob', b'1', b'1', b'1', 'LIKE', b'1', 'input', '', '2021-02-07 06:39:34', '', '2021-02-07 06:44:19', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (273, 24, 'handler_param', 'varchar(255)', '处理器的参数', b'1', b'0', '0', 5, 'String', 'handlerParam', '', 'yudao', b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-07 06:39:34', '', '2021-02-07 06:44:19', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (274, 24, 'cron_expression', 'varchar(32)', 'CRON 表达式', b'0', b'0', '0', 6, 'String', 'cronExpression', '', '0/10 * * * * ? *', b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-07 06:39:34', '', '2021-02-07 06:44:19', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (275, 24, 'execute_begin_time', 'datetime', '最后一次执行的开始时间', b'1', b'0', '0', 7, 'Date', 'executeBeginTime', '', NULL, b'0', b'0', b'0', 'BETWEEN', b'1', 'datetime', '', '2021-02-07 06:39:34', '', '2021-02-07 07:53:27', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (276, 24, 'execute_end_time', 'datetime', '最后一次执行的结束时间', b'1', b'0', '0', 8, 'Date', 'executeEndTime', '', NULL, b'0', b'0', b'0', 'BETWEEN', b'1', 'datetime', '', '2021-02-07 06:39:34', '', '2021-02-07 07:53:27', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (277, 24, 'fire_prev_time', 'datetime', '上一次触发时间', b'1', b'0', '0', 9, 'Date', 'firePrevTime', '', NULL, b'0', b'0', b'0', 'BETWEEN', b'1', 'datetime', '', '2021-02-07 06:39:34', '', '2021-02-07 07:53:27', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (278, 24, 'fire_next_time', 'datetime', '下一次触发时间', b'1', b'0', '0', 10, 'Date', 'fireNextTime', '', NULL, b'0', b'0', b'0', 'BETWEEN', b'1', 'datetime', '', '2021-02-07 06:39:34', '', '2021-02-07 07:53:27', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (279, 24, 'monitor_timeout', 'int(11)', '监控超时时间', b'1', b'0', '0', 11, 'Integer', 'monitorTimeout', '', '1000', b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-07 06:39:34', '', '2021-02-07 06:44:19', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (280, 24, 'create_by', 'varchar(64)', '创建者', b'1', b'0', '0', 12, 'String', 'createBy', '', NULL, b'0', b'0', b'0', '=', b'0', 'input', '', '2021-02-07 06:39:34', '', '2021-02-07 06:39:34', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (281, 24, 'create_time', 'datetime', '创建时间', b'0', b'0', '0', 13, 'Date', 'createTime', '', NULL, b'0', b'0', b'0', 'BETWEEN', b'1', 'datetime', '', '2021-02-07 06:39:34', '', '2021-02-07 06:44:19', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (282, 24, 'update_by', 'varchar(64)', '更新者', b'1', b'0', '0', 14, 'String', 'updateBy', '', NULL, b'0', b'0', b'0', '=', b'0', 'input', '', '2021-02-07 06:39:34', '', '2021-02-07 06:39:34', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (283, 24, 'update_time', 'datetime', '更新时间', b'0', b'0', '0', 15, 'Date', 'updateTime', '', NULL, b'0', b'0', b'0', 'BETWEEN', b'0', 'datetime', '', '2021-02-07 06:39:34', '', '2021-02-07 06:39:34', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (284, 24, 'deleted', 'bit(1)', '是否删除', b'0', b'0', '0', 16, 'Boolean', 'deleted', '', NULL, b'0', b'0', b'0', '=', b'0', 'radio', '', '2021-02-07 06:39:34', '', '2021-02-07 06:39:34', b'0');
|
2021-02-21 13:11:27 +08:00
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (285, 24, 'retry_count', 'int(11)', '重试次数', b'0', b'0', '0', 11, 'Integer', 'retryCount', '', NULL, b'1', b'1', b'1', '=', b'1', 'input', '', '2021-02-08 04:17:27', '', '2021-02-08 04:17:27', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (286, 24, 'retry_interval', 'int(11)', '重试间隔', b'0', b'0', '0', 12, 'Integer', 'retryInterval', '', NULL, b'1', b'1', b'1', '=', b'1', 'input', '', '2021-02-08 04:17:27', '', '2021-02-08 04:17:27', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (287, 25, 'id', 'bigint(20)', '日志编号', b'0', b'1', '1', 1, 'Long', 'id', '', NULL, b'0', b'1', b'0', '=', b'1', 'input', '', '2021-02-08 04:58:41', '', '2021-02-08 04:58:41', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (288, 25, 'job_id', 'bigint(20)', '任务编号', b'0', b'0', '0', 2, 'Long', 'jobId', '', NULL, b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-08 04:58:41', '', '2021-02-08 05:06:07', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (289, 25, 'handler_name', 'varchar(64)', '处理器的名字', b'0', b'0', '0', 3, 'String', 'handlerName', '', NULL, b'1', b'1', b'1', 'LIKE', b'1', 'input', '', '2021-02-08 04:58:41', '', '2021-02-08 04:58:41', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (290, 25, 'handler_param', 'varchar(255)', '处理器的参数', b'1', b'0', '0', 4, 'String', 'handlerParam', '', NULL, b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-08 04:58:41', '', '2021-02-08 05:06:07', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (291, 25, 'execute_index', 'tinyint(4)', '第几次执行', b'0', b'0', '0', 5, 'Integer', 'executeIndex', '', NULL, b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-08 04:58:41', '', '2021-02-08 05:06:07', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (292, 25, 'begin_time', 'datetime', '开始执行时间', b'0', b'0', '0', 6, 'Date', 'beginTime', '', NULL, b'1', b'1', b'1', '>=', b'1', 'datetime', '', '2021-02-08 04:58:41', '', '2021-02-08 05:06:07', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (293, 25, 'end_time', 'datetime', '结束执行时间', b'1', b'0', '0', 7, 'Date', 'endTime', '', NULL, b'1', b'1', b'1', '<=', b'1', 'datetime', '', '2021-02-08 04:58:41', '', '2021-02-08 05:06:07', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (294, 25, 'duration', 'int(11)', '执行时长', b'1', b'0', '0', 8, 'Integer', 'duration', '', NULL, b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-08 04:58:41', '', '2021-02-08 05:06:07', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (295, 25, 'status', 'tinyint(4)', '任务状态', b'0', b'0', '0', 9, 'Integer', 'status', 'inf_job_log_status', NULL, b'1', b'1', b'1', '=', b'1', 'radio', '', '2021-02-08 04:58:41', '', '2021-02-08 10:21:07', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (296, 25, 'result', 'varchar(4000)', '结果数据', b'1', b'0', '0', 10, 'String', 'result', '', NULL, b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-08 04:58:41', '', '2021-02-08 05:06:07', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (297, 25, 'create_by', 'varchar(64)', '创建者', b'1', b'0', '0', 11, 'String', 'createBy', '', NULL, b'0', b'0', b'0', '=', b'0', 'input', '', '2021-02-08 04:58:41', '', '2021-02-08 04:58:41', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (298, 25, 'create_time', 'datetime', '创建时间', b'0', b'0', '0', 12, 'Date', 'createTime', '', NULL, b'0', b'0', b'0', 'BETWEEN', b'1', 'datetime', '', '2021-02-08 04:58:41', '', '2021-02-08 05:06:07', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (299, 25, 'update_by', 'varchar(64)', '更新者', b'1', b'0', '0', 13, 'String', 'updateBy', '', NULL, b'0', b'0', b'0', '=', b'0', 'input', '', '2021-02-08 04:58:41', '', '2021-02-08 04:58:41', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (300, 25, 'update_time', 'datetime', '更新时间', b'0', b'0', '0', 14, 'Date', 'updateTime', '', NULL, b'0', b'0', b'0', 'BETWEEN', b'0', 'datetime', '', '2021-02-08 04:58:41', '', '2021-02-08 04:58:41', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (301, 25, 'deleted', 'bit(1)', '是否删除', b'0', b'0', '0', 15, 'Boolean', 'deleted', '', NULL, b'0', b'0', b'0', '=', b'0', 'radio', '', '2021-02-08 04:58:41', '', '2021-02-08 04:58:41', b'0');
|
2021-02-28 02:02:24 +08:00
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (302, 26, 'id', 'bigint(20)', '日志主键', b'0', b'1', '1', 1, 'Long', 'id', '', '1024', b'0', b'1', b'0', '=', b'1', 'input', '', '2021-02-26 00:13:35', '', '2021-02-26 00:18:03', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (303, 26, 'trace_id', 'varchar(64)', '链路追踪编号', b'0', b'0', '0', 2, 'String', 'traceId', '', '66600cb6-7852-11eb-9439-0242ac130002', b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-26 00:13:35', '', '2021-02-26 00:29:12', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (304, 26, 'user_id', 'bigint(20)', '用户编号', b'0', b'0', '0', 3, 'Long', 'userId', '', '666', b'1', b'1', b'1', '=', b'1', 'input', '', '2021-02-26 00:13:35', '', '2021-02-26 00:29:12', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (305, 26, 'user_type', 'tinyint(4)', '用户类型', b'0', b'0', '0', 4, 'Integer', 'userType', 'user_type', '2', b'1', b'1', b'1', '=', b'1', 'select', '', '2021-02-26 00:13:35', '', '2021-02-26 00:29:12', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (306, 26, 'application_name', 'varchar(50)', '应用名', b'0', b'0', '0', 5, 'String', 'applicationName', '', 'dashboard', b'1', b'1', b'1', '=', b'1', 'input', '', '2021-02-26 00:13:35', '', '2021-02-26 00:29:12', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (308, 26, 'request_method', 'varchar(16)', '请求方法名', b'0', b'0', '0', 7, 'String', 'requestMethod', '', 'GET', b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-26 00:13:35', '', '2021-02-26 00:43:18', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (309, 26, 'request_url', 'varchar(255)', '请求地址', b'0', b'0', '0', 8, 'String', 'requestUrl', '', '/xxx/yyy', b'1', b'1', b'1', 'LIKE', b'1', 'input', '', '2021-02-26 00:13:35', '', '2021-02-26 00:29:12', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (310, 26, 'request_params', 'varchar(8000)', 'Java 方法的参数', b'1', b'0', '0', 9, 'String', 'requestParams', '', '', b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-26 00:13:35', '', '2021-02-26 00:29:12', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (311, 26, 'user_ip', 'varchar(50)', '用户 IP', b'0', b'0', '0', 10, 'String', 'userIp', '', '127.0.0.1', b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-26 00:13:35', '', '2021-02-26 00:29:39', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (312, 26, 'user_agent', 'varchar(200)', '浏览器 UA', b'0', b'0', '0', 11, 'String', 'userAgent', '', 'Mozilla/5.0', b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-26 00:13:35', '', '2021-02-26 00:33:02', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (313, 26, 'begin_time', 'datetime', '开始请求时间', b'0', b'0', '0', 12, 'Date', 'beginTime', '', NULL, b'1', b'1', b'1', 'BETWEEN', b'1', 'datetime', '', '2021-02-26 00:13:35', '', '2021-02-26 00:13:35', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (314, 26, 'end_time', 'datetime', '结束请求时间', b'0', b'0', '0', 13, 'Date', 'endTime', '', NULL, b'1', b'1', b'0', 'BETWEEN', b'1', 'datetime', '', '2021-02-26 00:13:35', '', '2021-02-26 00:29:12', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (315, 26, 'duration', 'int(11)', '执行时长', b'0', b'0', '0', 14, 'Integer', 'duration', '', '100', b'1', b'1', b'1', '>=', b'1', 'input', '', '2021-02-26 00:13:35', '', '2021-02-26 00:29:12', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (316, 26, 'result_code', 'int(11)', '结果码', b'0', b'0', '0', 15, 'Integer', 'resultCode', '', '0', b'1', b'1', b'1', '=', b'1', 'input', '', '2021-02-26 00:13:35', '', '2021-02-26 00:29:12', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (317, 26, 'result_msg', 'varchar(512)', '结果提示', b'1', b'0', '0', 16, 'String', 'resultMsg', '', '芋道源码,牛逼!', b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-26 00:13:35', '', '2021-02-26 00:30:58', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (318, 26, 'create_by', 'varchar(64)', '创建者', b'1', b'0', '0', 17, 'String', 'createBy', '', NULL, b'0', b'0', b'0', '=', b'0', 'input', '', '2021-02-26 00:13:35', '', '2021-02-26 00:13:35', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (319, 26, 'create_time', 'datetime', '创建时间', b'0', b'0', '0', 18, 'Date', 'createTime', '', NULL, b'0', b'0', b'0', 'BETWEEN', b'1', 'datetime', '', '2021-02-26 00:13:35', '', '2021-02-26 00:33:02', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (320, 26, 'update_by', 'varchar(64)', '更新者', b'1', b'0', '0', 19, 'String', 'updateBy', '', NULL, b'0', b'0', b'0', '=', b'0', 'input', '', '2021-02-26 00:13:35', '', '2021-02-26 00:13:35', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (321, 26, 'update_time', 'datetime', '更新时间', b'0', b'0', '0', 20, 'Date', 'updateTime', '', NULL, b'0', b'0', b'0', 'BETWEEN', b'0', 'datetime', '', '2021-02-26 00:13:35', '', '2021-02-26 00:13:35', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (322, 26, 'deleted', 'bit(1)', '是否删除', b'0', b'0', '0', 21, 'Boolean', 'deleted', '', NULL, b'0', b'0', b'0', '=', b'0', 'radio', '', '2021-02-26 00:13:35', '', '2021-02-26 00:13:35', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (323, 27, 'id', 'int(11)', '编号', b'0', b'1', '1', 1, 'Integer', 'id', '', '1024', b'0', b'1', b'0', '=', b'1', 'input', '', '2021-02-26 06:54:49', '', '2021-02-26 06:58:23', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (324, 27, 'trace_id', 'varchar(64)', '链路追踪编号', b'0', b'0', '0', 2, 'String', 'traceId', '', '66600cb6-7852-11eb-9439-0242ac130002', b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-26 06:54:49', '', '2021-02-26 07:10:19', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (325, 27, 'user_id', 'int(11)', '用户编号', b'0', b'0', '0', 3, 'Integer', 'userId', '', '666', b'1', b'1', b'1', '=', b'1', 'input', '', '2021-02-26 06:54:49', '', '2021-02-26 06:58:23', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (326, 27, 'user_type', 'tinyint(4)', '用户类型', b'0', b'0', '0', 4, 'Integer', 'userType', 'user_type', '1', b'1', b'1', b'1', '=', b'1', 'select', '', '2021-02-26 06:54:49', '', '2021-02-26 06:58:23', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (327, 27, 'application_name', 'varchar(50)', '应用名', b'0', b'0', '0', 5, 'String', 'applicationName', '', 'dashboard', b'1', b'1', b'1', '=', b'1', 'input', '', '2021-02-26 06:54:49', '', '2021-02-26 07:10:19', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (328, 27, 'request_method', 'varchar(16)', '请求方法名', b'0', b'0', '0', 6, 'String', 'requestMethod', '', 'GET', b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-26 06:54:49', '', '2021-02-26 06:58:23', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (329, 27, 'request_url', 'varchar(255)', '请求地址', b'0', b'0', '0', 7, 'String', 'requestUrl', '', '/xx/yy', b'1', b'1', b'1', 'LIKE', b'1', 'input', '', '2021-02-26 06:54:49', '', '2021-02-26 06:58:23', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (330, 27, 'request_params', 'varchar(8000)', '请求参数', b'0', b'0', '0', 8, 'String', 'requestParams', '', NULL, b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-26 06:54:49', '', '2021-02-26 06:56:14', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (331, 27, 'user_ip', 'varchar(50)', '用户 IP', b'0', b'0', '0', 9, 'String', 'userIp', '', '127.0.0.1', b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-26 06:54:49', '', '2021-02-26 06:58:23', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (332, 27, 'user_agent', 'varchar(512)', '浏览器 UA', b'0', b'0', '0', 10, 'String', 'userAgent', '', 'Mozilla/5.0', b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-26 06:54:49', '', '2021-02-26 06:58:23', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (333, 27, 'exception_time', 'datetime', '异常发生时间', b'0', b'0', '0', 11, 'Date', 'exceptionTime', '', NULL, b'1', b'1', b'1', 'BETWEEN', b'1', 'datetime', '', '2021-02-26 06:54:49', '', '2021-02-26 06:54:49', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (334, 27, 'exception_name', 'varchar(128)', '异常名', b'0', b'0', '0', 12, 'String', 'exceptionName', '', NULL, b'1', b'1', b'0', 'LIKE', b'1', 'input', '', '2021-02-26 06:54:49', '', '2021-02-26 07:10:19', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (335, 27, 'exception_message', 'text', '异常导致的消息', b'0', b'0', '0', 13, 'String', 'exceptionMessage', '', NULL, b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-26 06:54:49', '', '2021-02-26 07:10:19', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (336, 27, 'exception_root_cause_message', 'text', '异常导致的根消息', b'0', b'0', '0', 14, 'String', 'exceptionRootCauseMessage', '', NULL, b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-26 06:54:49', '', '2021-02-26 07:10:19', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (337, 27, 'exception_stack_trace', 'text', '异常的栈轨迹', b'0', b'0', '0', 15, 'String', 'exceptionStackTrace', '', NULL, b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-26 06:54:49', '', '2021-02-26 07:10:19', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (338, 27, 'exception_class_name', 'varchar(512)', '异常发生的类全名', b'0', b'0', '0', 16, 'String', 'exceptionClassName', '', NULL, b'1', b'1', b'0', 'LIKE', b'1', 'input', '', '2021-02-26 06:54:49', '', '2021-02-26 07:10:19', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (339, 27, 'exception_file_name', 'varchar(512)', '异常发生的类文件', b'0', b'0', '0', 17, 'String', 'exceptionFileName', '', NULL, b'1', b'1', b'0', 'LIKE', b'1', 'input', '', '2021-02-26 06:54:49', '', '2021-02-26 07:10:19', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (340, 27, 'exception_method_name', 'varchar(512)', '异常发生的方法名', b'0', b'0', '0', 18, 'String', 'exceptionMethodName', '', NULL, b'1', b'1', b'0', 'LIKE', b'1', 'input', '', '2021-02-26 06:54:49', '', '2021-02-26 07:10:19', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (341, 27, 'exception_line_number', 'int(11)', '异常发生的方法所在行', b'0', b'0', '0', 19, 'Integer', 'exceptionLineNumber', '', NULL, b'1', b'1', b'0', '=', b'1', 'input', '', '2021-02-26 06:54:49', '', '2021-02-26 07:10:19', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (342, 27, 'create_time', 'datetime', '创建时间', b'0', b'0', '0', 20, 'Date', 'createTime', '', NULL, b'0', b'0', b'0', 'BETWEEN', b'1', 'datetime', '', '2021-02-26 06:54:49', '', '2021-02-26 06:56:14', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (343, 27, 'update_by', 'varchar(64)', '更新者', b'0', b'0', '0', 21, 'String', 'updateBy', '', NULL, b'0', b'0', b'0', '=', b'0', 'input', '', '2021-02-26 06:54:49', '', '2021-02-26 06:56:14', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (344, 27, 'update_time', 'datetime', '更新时间', b'0', b'0', '0', 22, 'Date', 'updateTime', '', NULL, b'0', b'0', b'0', 'BETWEEN', b'0', 'datetime', '', '2021-02-26 06:54:49', '', '2021-02-26 06:54:49', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (345, 27, 'deleted', 'bit(1)', '是否删除', b'0', b'0', '0', 23, 'Boolean', 'deleted', '', NULL, b'0', b'0', b'0', '=', b'0', 'radio', '', '2021-02-26 06:54:49', '', '2021-02-26 06:54:49', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (346, 27, 'process_status', 'tinyint(4)', '处理状态', b'0', b'0', '0', 20, 'Integer', 'processStatus', 'inf_api_error_log_process_status', '0', b'1', b'1', b'1', '=', b'1', 'radio', '', '2021-02-26 07:01:49', '', '2021-02-26 07:11:29', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (347, 27, 'process_time', 'datetime', '处理时间', b'0', b'0', '0', 21, 'Date', 'processTime', '', NULL, b'0', b'0', b'0', 'BETWEEN', b'1', 'datetime', '', '2021-02-26 07:01:49', '', '2021-02-26 07:08:15', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (348, 27, 'process_user_id', 'int(11)', '处理用户编号', b'1', b'0', '0', 22, 'Integer', 'processUserId', '', '233', b'0', b'0', b'0', '=', b'1', 'input', '', '2021-02-26 07:01:49', '', '2021-02-26 07:12:52', b'0');
|
2021-03-07 00:47:55 +08:00
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (349, 28, 'id', 'bigint(20)', '字典主键', b'0', b'1', '1', 1, 'Long', 'id', '', NULL, b'0', b'1', b'0', '=', b'1', 'input', '', '2021-03-06 03:45:55', '', '2021-03-06 03:51:02', b'1');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (350, 28, 'name', 'varchar(100)', '字典名称', b'0', b'0', '0', 2, 'String', 'name', '', NULL, b'1', b'1', b'1', 'LIKE', b'1', 'input', '', '2021-03-06 03:45:55', '', '2021-03-06 03:51:02', b'1');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (351, 28, 'dict_type', 'varchar(100)', '字典类型', b'0', b'0', '0', 3, 'String', 'dictType', '', NULL, b'1', b'1', b'1', '=', b'1', 'select', '', '2021-03-06 03:45:55', '', '2021-03-06 03:51:02', b'1');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (352, 28, 'status', 'tinyint(4)', '状态(0正常 1停用)', b'0', b'0', '0', 4, 'Integer', 'status', '', NULL, b'1', b'1', b'1', '=', b'1', 'radio', '', '2021-03-06 03:45:55', '', '2021-03-06 03:51:02', b'1');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (353, 28, 'remark', 'varchar(500)', '备注', b'1', b'0', '0', 5, 'String', 'remark', '', NULL, b'1', b'1', b'1', '=', b'1', 'input', '', '2021-03-06 03:45:55', '', '2021-03-06 03:51:02', b'1');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (354, 28, 'create_by', 'varchar(64)', '创建者', b'1', b'0', '0', 6, 'String', 'createBy', '', NULL, b'0', b'0', b'0', '=', b'0', 'input', '', '2021-03-06 03:45:55', '', '2021-03-06 03:51:02', b'1');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (355, 28, 'create_time', 'datetime', '创建时间', b'0', b'0', '0', 7, 'Date', 'createTime', '', NULL, b'0', b'0', b'1', 'BETWEEN', b'1', 'datetime', '', '2021-03-06 03:45:55', '', '2021-03-06 03:51:02', b'1');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (356, 28, 'update_by', 'varchar(64)', '更新者', b'1', b'0', '0', 8, 'String', 'updateBy', '', NULL, b'0', b'0', b'0', '=', b'0', 'input', '', '2021-03-06 03:45:55', '', '2021-03-06 03:51:02', b'1');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (357, 28, 'update_time', 'datetime', '更新时间', b'0', b'0', '0', 9, 'Date', 'updateTime', '', NULL, b'0', b'0', b'0', 'BETWEEN', b'0', 'datetime', '', '2021-03-06 03:45:55', '', '2021-03-06 03:51:02', b'1');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (358, 28, 'deleted', 'bit(1)', '是否删除', b'0', b'0', '0', 10, 'Boolean', 'deleted', '', NULL, b'0', b'0', b'0', '=', b'0', 'radio', '', '2021-03-06 03:45:55', '', '2021-03-06 03:51:02', b'1');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (359, 29, 'id', 'bigint(20)', '字典主键', b'0', b'1', '1', 1, 'Long', 'id', '', NULL, b'0', b'1', b'0', '=', b'1', 'input', '', '2021-03-06 03:52:57', '', '2021-03-06 03:52:57', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (360, 29, 'name', 'varchar(100)', '字典名称', b'0', b'0', '0', 2, 'String', 'name', '', NULL, b'1', b'1', b'1', 'LIKE', b'1', 'input', '', '2021-03-06 03:52:57', '', '2021-03-06 03:52:57', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (361, 29, 'type', 'varchar(100)', '字典类型', b'0', b'0', '0', 3, 'String', 'type', '', NULL, b'1', b'1', b'1', 'LIKE', b'1', 'select', '', '2021-03-06 03:52:57', '', '2021-03-06 03:54:48', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (362, 29, 'status', 'tinyint(4)', '状态(0正常 1停用)', b'0', b'0', '0', 4, 'Integer', 'status', '', NULL, b'1', b'1', b'1', '=', b'1', 'radio', '', '2021-03-06 03:52:57', '', '2021-03-06 03:52:57', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (363, 29, 'remark', 'varchar(500)', '备注', b'1', b'0', '0', 5, 'String', 'remark', '', NULL, b'1', b'1', b'0', '=', b'1', 'input', '', '2021-03-06 03:52:57', '', '2021-03-06 03:54:48', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (364, 29, 'create_by', 'varchar(64)', '创建者', b'1', b'0', '0', 6, 'String', 'createBy', '', NULL, b'0', b'0', b'0', '=', b'0', 'input', '', '2021-03-06 03:52:57', '', '2021-03-06 03:52:57', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (365, 29, 'create_time', 'datetime', '创建时间', b'0', b'0', '0', 7, 'Date', 'createTime', '', NULL, b'0', b'0', b'1', 'BETWEEN', b'1', 'datetime', '', '2021-03-06 03:52:57', '', '2021-03-06 03:52:57', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (366, 29, 'update_by', 'varchar(64)', '更新者', b'1', b'0', '0', 8, 'String', 'updateBy', '', NULL, b'0', b'0', b'0', '=', b'0', 'input', '', '2021-03-06 03:52:57', '', '2021-03-06 03:52:57', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (367, 29, 'update_time', 'datetime', '更新时间', b'0', b'0', '0', 9, 'Date', 'updateTime', '', NULL, b'0', b'0', b'0', 'BETWEEN', b'0', 'datetime', '', '2021-03-06 03:52:57', '', '2021-03-06 03:52:57', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (368, 29, 'deleted', 'bit(1)', '是否删除', b'0', b'0', '0', 10, 'Boolean', 'deleted', '', NULL, b'0', b'0', b'0', '=', b'0', 'radio', '', '2021-03-06 03:52:57', '', '2021-03-06 03:52:57', b'0');
|
2021-03-08 00:50:59 +08:00
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (369, 30, 'id', 'bigint(20)', '字典编码', b'0', b'1', '1', 1, 'Long', 'id', '', NULL, b'0', b'1', b'0', '=', b'1', 'input', '', '2021-03-06 06:48:28', '', '2021-03-06 06:48:28', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (370, 30, 'sort', 'int(4)', '字典排序', b'0', b'0', '0', 2, 'Integer', 'sort', '', NULL, b'1', b'1', b'0', '=', b'1', 'input', '', '2021-03-06 06:48:28', '', '2021-03-06 06:50:38', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (371, 30, 'label', 'varchar(100)', '字典标签', b'0', b'0', '0', 3, 'String', 'label', '', NULL, b'1', b'1', b'1', 'LIKE', b'1', 'input', '', '2021-03-06 06:48:28', '', '2021-03-06 06:50:38', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (372, 30, 'value', 'varchar(100)', '字典键值', b'0', b'0', '0', 4, 'String', 'value', '', NULL, b'1', b'1', b'0', '=', b'1', 'input', '', '2021-03-06 06:48:28', '', '2021-03-06 06:50:38', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (373, 30, 'dict_type', 'varchar(100)', '字典类型', b'0', b'0', '0', 5, 'String', 'dictType', '', NULL, b'1', b'1', b'1', 'LIKE', b'1', 'select', '', '2021-03-06 06:48:28', '', '2021-03-06 06:50:38', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (374, 30, 'status', 'tinyint(4)', '状态(0正常 1停用)', b'0', b'0', '0', 6, 'Integer', 'status', '', NULL, b'1', b'1', b'1', 'LIKE', b'1', 'radio', '', '2021-03-06 06:48:28', '', '2021-03-06 06:50:38', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (375, 30, 'remark', 'varchar(500)', '备注', b'1', b'0', '0', 7, 'String', 'remark', '', NULL, b'1', b'1', b'0', '=', b'1', 'input', '', '2021-03-06 06:48:28', '', '2021-03-06 06:50:38', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (376, 30, 'create_by', 'varchar(64)', '创建者', b'1', b'0', '0', 8, 'String', 'createBy', '', NULL, b'0', b'0', b'0', '=', b'0', 'input', '', '2021-03-06 06:48:28', '', '2021-03-06 06:48:28', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (377, 30, 'create_time', 'datetime', '创建时间', b'0', b'0', '0', 9, 'Date', 'createTime', '', NULL, b'0', b'0', b'1', 'BETWEEN', b'1', 'datetime', '', '2021-03-06 06:48:28', '', '2021-03-06 06:48:28', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (378, 30, 'update_by', 'varchar(64)', '更新者', b'1', b'0', '0', 10, 'String', 'updateBy', '', NULL, b'0', b'0', b'0', '=', b'0', 'input', '', '2021-03-06 06:48:28', '', '2021-03-06 06:48:28', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (379, 30, 'update_time', 'datetime', '更新时间', b'0', b'0', '0', 11, 'Date', 'updateTime', '', NULL, b'0', b'0', b'0', 'BETWEEN', b'0', 'datetime', '', '2021-03-06 06:48:28', '', '2021-03-06 06:48:28', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_column` VALUES (380, 30, 'deleted', 'bit(1)', '是否删除', b'0', b'0', '0', 12, 'Boolean', 'deleted', '', NULL, b'0', b'0', b'0', '=', b'0', 'radio', '', '2021-03-06 06:48:28', '', '2021-03-06 06:48:28', b'0');
|
2021-02-02 22:54:53 +08:00
|
|
|
|
COMMIT;
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Table structure for tool_codegen_table
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
DROP TABLE IF EXISTS `tool_codegen_table`;
|
|
|
|
|
CREATE TABLE `tool_codegen_table` (
|
|
|
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '编号',
|
2021-02-13 13:40:29 +08:00
|
|
|
|
`import_type` tinyint(4) NOT NULL DEFAULT '1' COMMENT '导入类型',
|
2021-02-02 22:54:53 +08:00
|
|
|
|
`table_name` varchar(200) NOT NULL DEFAULT '' COMMENT '表名称',
|
|
|
|
|
`table_comment` varchar(500) NOT NULL DEFAULT '' COMMENT '表描述',
|
|
|
|
|
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
|
2021-02-13 11:00:03 +08:00
|
|
|
|
`module_name` varchar(30) NOT NULL COMMENT '模块名',
|
|
|
|
|
`business_name` varchar(30) NOT NULL COMMENT '业务名',
|
|
|
|
|
`class_name` varchar(100) NOT NULL DEFAULT '' COMMENT '类名称',
|
|
|
|
|
`class_comment` varchar(50) NOT NULL COMMENT '类描述',
|
|
|
|
|
`author` varchar(50) NOT NULL COMMENT '作者',
|
2021-02-13 13:40:29 +08:00
|
|
|
|
`template_type` tinyint(4) NOT NULL DEFAULT '1' COMMENT '模板类型',
|
2021-02-13 11:00:03 +08:00
|
|
|
|
`parent_menu_id` bigint(20) DEFAULT NULL COMMENT '父菜单编号',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`creator` varchar(64) DEFAULT '' COMMENT '创建者',
|
2021-02-02 22:54:53 +08:00
|
|
|
|
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
2021-03-09 17:54:53 +08:00
|
|
|
|
`updater` varchar(64) DEFAULT '' COMMENT '更新者',
|
2021-02-02 22:54:53 +08:00
|
|
|
|
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
|
|
|
|
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
2021-03-08 00:50:59 +08:00
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8mb4 COMMENT='代码生成表定义';
|
2021-02-02 22:54:53 +08:00
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Records of tool_codegen_table
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
BEGIN;
|
2021-02-13 13:40:29 +08:00
|
|
|
|
INSERT INTO `tool_codegen_table` VALUES (20, 1, 'tool_test_demo', '测试示例表', NULL, 'tool', 'test', 'ToolTestDemo', '测试示例', '芋艿', 1, 3, '', '2021-02-06 01:33:25', '', '2021-02-06 12:34:17', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_table` VALUES (21, 1, 'inf_config', '参数配置表', NULL, 'infra', 'config', 'InfConfig', '参数配置', '芋艿', 1, NULL, '', '2021-02-06 19:51:35', '', '2021-02-06 19:51:35', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_table` VALUES (22, 2, 'sys_file', '文件表\n', NULL, 'system', 'file', 'SysFile', '文件', '芋艿', 1, NULL, '', '2021-02-06 20:28:34', '', '2021-02-06 20:28:34', b'0');
|
2021-02-14 23:01:21 +08:00
|
|
|
|
INSERT INTO `tool_codegen_table` VALUES (23, 2, 'sys_job', '定时任务调度表', NULL, 'system', 'job', 'SysJob', '定时任务调度', '芋艿', 1, NULL, '', '2021-02-06 20:29:26', '', '2021-02-07 06:38:51', b'1');
|
|
|
|
|
INSERT INTO `tool_codegen_table` VALUES (24, 1, 'inf_job', '定时任务表', NULL, 'infra', 'job', 'InfJob', '定时任务', '芋道源码', 1, NULL, '', '2021-02-07 06:39:34', '', '2021-02-07 06:46:56', b'0');
|
2021-02-21 13:11:27 +08:00
|
|
|
|
INSERT INTO `tool_codegen_table` VALUES (25, 1, 'inf_job_log', '定时任务日志表', NULL, 'infra', 'jobLog', 'InfJobLog', '定时任务', '芋艿', 1, NULL, '', '2021-02-08 04:58:41', '', '2021-02-08 10:09:52', b'0');
|
2021-02-28 02:02:24 +08:00
|
|
|
|
INSERT INTO `tool_codegen_table` VALUES (26, 1, 'inf_api_access_log', 'API 访问日志表', NULL, 'system', 'logger', 'InfApiAccessLog', 'API 访问日志', '芋道源码', 1, 108, '', '2021-02-26 00:13:35', '', '2021-02-26 06:55:14', b'0');
|
|
|
|
|
INSERT INTO `tool_codegen_table` VALUES (27, 1, 'inf_api_error_log', 'API 错误日志', NULL, 'infra', 'apiErrorLog', 'InfApiErrorLog', 'API 错误日志', '芋道源码', 1, 1083, '', '2021-02-26 06:54:49', '', '2021-02-26 07:53:03', b'0');
|
2021-03-07 00:47:55 +08:00
|
|
|
|
INSERT INTO `tool_codegen_table` VALUES (28, 1, 'sys_dict_type', '字典类型表', NULL, 'system', 'dictType', 'SysDictType', '字典类型', '芋艿', 1, NULL, '', '2021-03-06 03:45:55', '', '2021-03-06 03:51:02', b'1');
|
|
|
|
|
INSERT INTO `tool_codegen_table` VALUES (29, 1, 'sys_dict_type', '字典类型表', NULL, 'system', 'dict', 'SysDictType', '字典类型', '芋艿', 1, NULL, '', '2021-03-06 03:52:57', '', '2021-03-06 04:03:52', b'0');
|
2021-03-08 00:50:59 +08:00
|
|
|
|
INSERT INTO `tool_codegen_table` VALUES (30, 1, 'sys_dict_data', '字典数据表', NULL, 'system', 'type', 'SysDictData', '字典数据', '芋道源码', 1, NULL, '', '2021-03-06 06:48:28', '', '2021-03-06 06:50:47', b'0');
|
2021-02-02 22:54:53 +08:00
|
|
|
|
COMMIT;
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
2021-02-13 11:00:03 +08:00
|
|
|
|
-- Table structure for tool_test_demo
|
2021-02-02 22:54:53 +08:00
|
|
|
|
-- ----------------------------
|
2021-02-13 11:00:03 +08:00
|
|
|
|
DROP TABLE IF EXISTS `tool_test_demo`;
|
|
|
|
|
CREATE TABLE `tool_test_demo` (
|
2021-02-02 22:54:53 +08:00
|
|
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '编号',
|
2021-02-13 11:00:03 +08:00
|
|
|
|
`name` varchar(100) NOT NULL DEFAULT '' COMMENT '名字',
|
|
|
|
|
`status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态',
|
|
|
|
|
`type` tinyint(4) NOT NULL COMMENT '类型',
|
|
|
|
|
`category` tinyint(4) NOT NULL COMMENT '分类',
|
|
|
|
|
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
|
2021-03-09 20:41:29 +08:00
|
|
|
|
`create_by` varchar(64) DEFAULT '' COMMENT '创建者',
|
2021-02-02 22:54:53 +08:00
|
|
|
|
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
2021-03-09 20:41:29 +08:00
|
|
|
|
`update_by` varchar(64) DEFAULT '' COMMENT '更新者',
|
2021-02-02 22:54:53 +08:00
|
|
|
|
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
|
|
|
|
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
2021-02-13 11:00:03 +08:00
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=108 DEFAULT CHARSET=utf8mb4 COMMENT='字典类型表';
|
2021-02-02 22:54:53 +08:00
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
2021-02-13 11:00:03 +08:00
|
|
|
|
-- Records of tool_test_demo
|
2021-02-02 22:54:53 +08:00
|
|
|
|
-- ----------------------------
|
|
|
|
|
BEGIN;
|
2021-02-13 11:00:03 +08:00
|
|
|
|
INSERT INTO `tool_test_demo` VALUES (106, '老五1', 0, 1, 1, '牛逼哈2', '', '2021-02-06 13:25:00', '', '2021-02-06 14:00:37', b'1');
|
|
|
|
|
INSERT INTO `tool_test_demo` VALUES (107, '哈哈哈哈', 1, 0, 1, 'biubiubui', '', '2021-02-06 14:00:54', '', '2021-02-06 14:00:54', b'0');
|
2021-02-02 22:54:53 +08:00
|
|
|
|
COMMIT;
|
|
|
|
|
|
2021-01-10 00:09:38 +08:00
|
|
|
|
SET FOREIGN_KEY_CHECKS = 1;
|