/*
 Navicat Premium Data Transfer

 Source Server         : localhost_3306
 Source Server Type    : MySQL
 Source Server Version : 80028
 Source Host           : localhost:3306
 Source Schema         : company_project

 Target Server Type    : MySQL
 Target Server Version : 80028
 File Encoding         : 65001

 Date: 25/03/2025 09:59:27
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for auto_table_execute_sql_log
-- ----------------------------
DROP TABLE IF EXISTS `auto_table_execute_sql_log`;
CREATE TABLE `auto_table_execute_sql_log`  (
  `table_schema` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `table_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `sql_statement` varchar(5000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `version` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `execution_time` bigint(0) NULL DEFAULT NULL,
  `execution_end_time` bigint(0) NULL DEFAULT NULL
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of auto_table_execute_sql_log
-- ----------------------------
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_dict_detail', 'ALTER TABLE `sys_dict_detail` MODIFY COLUMN `id` bigint    NOT NULL  AUTO_INCREMENT  ,MODIFY COLUMN `label` varchar(255)    NULL    ,MODIFY COLUMN `value` varchar(255)    NULL    ,MODIFY COLUMN `sort` int    NULL    ,MODIFY COLUMN `dict_id` bigint    NULL    ,MODIFY COLUMN `create_time` datetime    NULL    ;', NULL, 1742787107221, 1742787107358);
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_user_role', 'ALTER TABLE `sys_user_role` MODIFY COLUMN `id` bigint    NOT NULL  AUTO_INCREMENT  ,MODIFY COLUMN `user_id` bigint    NULL    ,MODIFY COLUMN `role_id` bigint    NULL    ,MODIFY COLUMN `create_time` datetime    NULL    ;', NULL, 1742787107450, 1742787107528);
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_role_permission', 'ALTER TABLE `sys_role_permission` MODIFY COLUMN `id` bigint    NOT NULL  AUTO_INCREMENT  ,MODIFY COLUMN `role_id` bigint    NULL    ,MODIFY COLUMN `permission_id` bigint    NULL    ,MODIFY COLUMN `create_time` datetime    NULL    ;', NULL, 1742787107597, 1742787107687);
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_dept', 'ALTER TABLE `sys_dept` MODIFY COLUMN `id` bigint    NOT NULL  AUTO_INCREMENT  ,MODIFY COLUMN `dept_no` varchar(255)    NULL    ,MODIFY COLUMN `name` varchar(255)    NULL    ,MODIFY COLUMN `pid` bigint    NULL    ,MODIFY COLUMN `status` int    NULL    ,MODIFY COLUMN `relation_code` varchar(255)    NULL    ,MODIFY COLUMN `dept_manager_id` varchar(255)    NULL    ,MODIFY COLUMN `manager_name` varchar(255)    NULL    ,MODIFY COLUMN `phone` varchar(255)    NULL    ,MODIFY COLUMN `create_time` datetime    NULL    ,MODIFY COLUMN `update_time` datetime    NULL    ,MODIFY COLUMN `deleted` int    NULL DEFAULT 0   ;', NULL, 1742787107780, 1742787107885);
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_user', 'ALTER TABLE `sys_user` MODIFY COLUMN `id` bigint    NOT NULL  AUTO_INCREMENT  ,MODIFY COLUMN `username` varchar(255)    NULL    ,MODIFY COLUMN `salt` varchar(255)    NULL    ,MODIFY COLUMN `password` varchar(255)    NULL    ,MODIFY COLUMN `phone` varchar(255)    NULL    ,MODIFY COLUMN `dept_id` bigint    NULL    ,MODIFY COLUMN `real_name` varchar(255)    NULL    ,MODIFY COLUMN `nick_name` varchar(255)    NULL    ,MODIFY COLUMN `email` varchar(255)    NULL    ,MODIFY COLUMN `status` int    NULL    ,MODIFY COLUMN `sex` int    NULL    ,MODIFY COLUMN `deleted` int    NULL DEFAULT 0   ,MODIFY COLUMN `create_id` varchar(255)    NULL    ,MODIFY COLUMN `update_id` varchar(255)    NULL    ,MODIFY COLUMN `create_where` int    NULL    ,MODIFY COLUMN `create_time` datetime    NULL    ;', NULL, 1742787107936, 1742787108041);
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_files', 'ALTER TABLE `sys_files` MODIFY COLUMN `id` bigint    NOT NULL  AUTO_INCREMENT  ,MODIFY COLUMN `url` varchar(255)    NULL    ,ADD COLUMN `file_size` bigint    NULL    AFTER `url`,MODIFY COLUMN `create_date` datetime    NULL    ,MODIFY COLUMN `file_name` varchar(255)    NULL    ;', NULL, 1742787108094, 1742787108181);
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_content', 'ALTER TABLE `sys_content` MODIFY COLUMN `id` bigint    NOT NULL  AUTO_INCREMENT  ,MODIFY COLUMN `title` varchar(255)    NULL    ,MODIFY COLUMN `content` varchar(255)    NULL    AFTER `title`,MODIFY COLUMN `one_img` varchar(255)    NULL    ,MODIFY COLUMN `multiple_img` varchar(255)    NULL    ,MODIFY COLUMN `keywords` varchar(255)    NULL    ,MODIFY COLUMN `type` varchar(255)    NULL    ,MODIFY COLUMN `create_id` varchar(255)    NULL    AFTER `type`,MODIFY COLUMN `create_time` datetime    NULL    ;', NULL, 1742787108208, 1742787108255);
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_role', 'ALTER TABLE `sys_role` MODIFY COLUMN `id` bigint    NOT NULL  AUTO_INCREMENT  ,MODIFY COLUMN `name` varchar(255)    NULL    ,MODIFY COLUMN `description` varchar(255)    NULL    ,MODIFY COLUMN `status` int    NULL    ,MODIFY COLUMN `data_scope` int    NULL    AFTER `status`,MODIFY COLUMN `create_time` datetime    NULL    ,MODIFY COLUMN `update_time` datetime    NULL    ,MODIFY COLUMN `deleted` int    NULL DEFAULT 0   ;', NULL, 1742787108308, 1742787108362);
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_role_dept', 'ALTER TABLE `sys_role_dept` MODIFY COLUMN `id` bigint    NOT NULL  AUTO_INCREMENT  ,MODIFY COLUMN `role_id` bigint    NULL    ,MODIFY COLUMN `dept_id` bigint    NULL    ,MODIFY COLUMN `create_time` datetime    NULL    ;', NULL, 1742787108391, 1742787108440);
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_log', 'ALTER TABLE `sys_log` MODIFY COLUMN `id` bigint    NOT NULL  AUTO_INCREMENT  ,MODIFY COLUMN `user_id` varchar(255)    NULL    ,MODIFY COLUMN `username` varchar(255)    NULL    ,MODIFY COLUMN `operation` varchar(255)    NULL    ,MODIFY COLUMN `time` int    NULL    ,MODIFY COLUMN `method` varchar(255)    NULL    ,MODIFY COLUMN `params` varchar(255)    NULL    ,MODIFY COLUMN `ip` varchar(255)    NULL    ,MODIFY COLUMN `create_time` datetime    NULL    ;', NULL, 1742787108465, 1742787108516);
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_dict', 'ALTER TABLE `sys_dict` MODIFY COLUMN `id` bigint    NOT NULL  AUTO_INCREMENT  ,MODIFY COLUMN `name` varchar(255)    NULL    ,MODIFY COLUMN `remark` varchar(255)    NULL    ,MODIFY COLUMN `create_time` datetime    NULL    ;', NULL, 1742787108545, 1742787108607);
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_permission', 'ALTER TABLE `sys_permission` MODIFY COLUMN `id` bigint    NOT NULL  AUTO_INCREMENT  ,MODIFY COLUMN `name` varchar(255)    NULL    ,MODIFY COLUMN `perms` varchar(255)    NULL    ,MODIFY COLUMN `url` varchar(255)    NULL    AFTER `perms`,MODIFY COLUMN `icon` varchar(255)    NULL    ,MODIFY COLUMN `target` varchar(255)    NULL    ,MODIFY COLUMN `pid` bigint    NULL    ,MODIFY COLUMN `order_num` int    NULL    ,MODIFY COLUMN `type` int    NULL    ,MODIFY COLUMN `status` int    NULL    ,MODIFY COLUMN `create_time` datetime    NULL    ,MODIFY COLUMN `update_time` datetime    NULL    ,MODIFY COLUMN `deleted` int    NULL DEFAULT 0   ;', NULL, 1742787108673, 1742787108746);
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_user', 'ALTER TABLE `sys_user` MODIFY COLUMN `create_id` bigint    NULL    ,MODIFY COLUMN `update_id` bigint    NULL    ;', NULL, 1742788217700, 1742788217808);
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_content', 'ALTER TABLE `sys_content` MODIFY COLUMN `create_id` bigint    NULL    ;', NULL, 1742788217953, 1742788218030);
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_log', 'ALTER TABLE `sys_log` MODIFY COLUMN `user_id` bigint    NULL    ;', NULL, 1742788218217, 1742788218323);
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_dict', 'ALTER TABLE `sys_dict` COMMENT = \'字典管理\';', NULL, 1742864309981, 1742864310014);
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_dict_detail', 'ALTER TABLE `sys_dict_detail` COMMENT = \'字典明细\';', NULL, 1742864310283, 1742864310306);
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_content', 'ALTER TABLE `sys_content` COMMENT = \'内容管理\';', NULL, 1742864310423, 1742864310455);
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_user_role', 'ALTER TABLE `sys_user_role` COMMENT = \'用户角色\';', NULL, 1742864310567, 1742864310594);
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_generator', 'ALTER TABLE `sys_generator` COMMENT = \'代码生成\';', NULL, 1742864310697, 1742864310725);
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_dept', 'ALTER TABLE `sys_dept` COMMENT = \'部门\';', NULL, 1742864310809, 1742864310836);
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_role', 'ALTER TABLE `sys_role` COMMENT = \'角色\';', NULL, 1742864310942, 1742864310964);
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_role_permission', 'ALTER TABLE `sys_role_permission` COMMENT = \'角色权限\';', NULL, 1742864311045, 1742864311065);
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_permission', 'ALTER TABLE `sys_permission` COMMENT = \'权限菜单\';', NULL, 1742864311140, 1742864311157);
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_log', 'ALTER TABLE `sys_log` COMMENT = \'操作日志\';', NULL, 1742864311249, 1742864311269);
INSERT INTO `auto_table_execute_sql_log` VALUES ('', 'sys_plugs', 'ALTER TABLE `sys_plugs` COMMENT = \'系统插件\';', NULL, 1742864311344, 1742864311359);

-- ----------------------------
-- Table structure for sys_content
-- ----------------------------
DROP TABLE IF EXISTS `sys_content`;
CREATE TABLE `sys_content`  (
  `id` bigint(0) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
  `content` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
  `one_img` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
  `multiple_img` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
  `keywords` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
  `type` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
  `create_id` bigint(0) NULL DEFAULT NULL,
  `create_time` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '内容管理' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of sys_content
-- ----------------------------

-- ----------------------------
-- Table structure for sys_dept
-- ----------------------------
DROP TABLE IF EXISTS `sys_dept`;
CREATE TABLE `sys_dept`  (
  `id` bigint(0) NOT NULL AUTO_INCREMENT,
  `dept_no` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `pid` bigint(0) NULL DEFAULT NULL,
  `status` int(0) NULL DEFAULT NULL,
  `relation_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `dept_manager_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `manager_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `phone` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `create_time` datetime(0) NULL DEFAULT NULL,
  `update_time` datetime(0) NULL DEFAULT NULL,
  `deleted` int(0) NULL DEFAULT 0,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '部门' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_dept
-- ----------------------------
INSERT INTO `sys_dept` VALUES (1, 'D000001', '总公司', 0, 1, 'D000001', NULL, '小李', '13888888888', NULL, NULL, 0);

-- ----------------------------
-- Table structure for sys_dict
-- ----------------------------
DROP TABLE IF EXISTS `sys_dict`;
CREATE TABLE `sys_dict`  (
  `id` bigint(0) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `create_time` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '字典管理' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of sys_dict
-- ----------------------------
INSERT INTO `sys_dict` VALUES (1255790029680242690, 'sex', '性别', '2020-04-30 17:24:09');
INSERT INTO `sys_dict` VALUES (1255790029680242691, 'content_keyword', '关键字', '2020-04-30 17:24:09');
INSERT INTO `sys_dict` VALUES (1282504369620430849, 'content_type', '文章类型略略略', '2020-07-13 10:37:24');

-- ----------------------------
-- Table structure for sys_dict_detail
-- ----------------------------
DROP TABLE IF EXISTS `sys_dict_detail`;
CREATE TABLE `sys_dict_detail`  (
  `id` bigint(0) NOT NULL AUTO_INCREMENT,
  `label` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `value` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `sort` int(0) NULL DEFAULT NULL,
  `dict_id` bigint(0) NULL DEFAULT NULL,
  `create_time` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '字典明细' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of sys_dict_detail
-- ----------------------------
INSERT INTO `sys_dict_detail` VALUES (1255790073535885314, '男', '1', 1, 1255790029680242690, '2020-04-30 17:24:19');
INSERT INTO `sys_dict_detail` VALUES (1255790100115189761, '女', '2', 2, 1255790029680242690, '2020-04-30 17:24:25');
INSERT INTO `sys_dict_detail` VALUES (1282504475715350530, '诗词', '1', 1, 1282504369620430849, '2020-07-13 10:37:49');
INSERT INTO `sys_dict_detail` VALUES (1282504651729317889, '散文', '2', 2, 1282504369620430849, '2020-07-13 10:38:31');
INSERT INTO `sys_dict_detail` VALUES (1282846022950842369, '剧本', '3', 3, 1282504369620430849, '2020-07-14 09:15:01');
INSERT INTO `sys_dict_detail` VALUES (1282846022950842370, 'java', '1', 1, 1255790029680242691, '2020-07-14 09:15:01');
INSERT INTO `sys_dict_detail` VALUES (1282846022950842371, 'mysql', '2', 2, 1255790029680242691, '2020-07-14 09:15:01');

-- ----------------------------
-- Table structure for sys_files
-- ----------------------------
DROP TABLE IF EXISTS `sys_files`;
CREATE TABLE `sys_files`  (
  `id` bigint(0) NOT NULL AUTO_INCREMENT,
  `url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `file_size` bigint(0) NULL DEFAULT NULL,
  `create_date` datetime(0) NULL DEFAULT NULL,
  `file_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `file_path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '文件上传' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of sys_files
-- ----------------------------
INSERT INTO `sys_files` VALUES (1, '/files/sysPlugJars/d61fe1a18078439297683724281c85b8.jar', 4399209, '2025-03-25 09:01:01', 'cms.jar', 'D:/files/sysPlugJars/d61fe1a18078439297683724281c85b8.jar');

-- ----------------------------
-- Table structure for sys_generator
-- ----------------------------
DROP TABLE IF EXISTS `sys_generator`;
CREATE TABLE `sys_generator`  (
  `table_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `create_time` datetime(0) NULL DEFAULT NULL,
  `table_comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '代码生成' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_generator
-- ----------------------------

-- ----------------------------
-- Table structure for sys_log
-- ----------------------------
DROP TABLE IF EXISTS `sys_log`;
CREATE TABLE `sys_log`  (
  `id` bigint(0) NOT NULL AUTO_INCREMENT,
  `user_id` bigint(0) NULL DEFAULT NULL,
  `username` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `operation` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `time` int(0) NULL DEFAULT NULL,
  `method` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `params` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `ip` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `create_time` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '操作日志' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_log
-- ----------------------------
INSERT INTO `sys_log` VALUES (1, 1, '', '菜单权限管理-获取所有菜单权限', 204, 'vip.fuck.sm.controller.PermissionController.getAllMenusPermission()', '{\"params\":[{\"key\":\"_\",\"values\":[\"1742788222215\"]}]}', NULL, '2025-03-24 11:50:22');
INSERT INTO `sys_log` VALUES (2, 1, '', '角色管理-分页获取角色信息', 81, 'vip.fuck.sm.controller.RoleController.pageInfo()', '{\"body\":{\"page\":1,\"limit\":10},\"params\":[]}', NULL, '2025-03-24 11:50:23');
INSERT INTO `sys_log` VALUES (3, 1, '', '机构管理-树型组织列表', 12, 'vip.fuck.sm.controller.DeptController.getTree()', '{\"params\":[{\"key\":\"_\",\"values\":[\"1742788223877\"]}]}', NULL, '2025-03-24 11:50:24');
INSERT INTO `sys_log` VALUES (4, 1, '', '用户管理-分页获取用户列表', 33, 'vip.fuck.sm.controller.UserController.pageInfo()', '{\"body\":{\"page\":1,\"limit\":10},\"params\":[]}', NULL, '2025-03-24 11:50:24');
INSERT INTO `sys_log` VALUES (5, 1, '', '系统操作日志管理-分页查询系统操作日志', 21, 'vip.fuck.sm.controller.SysLogController.pageInfo()', '{\"body\":{\"page\":1,\"limit\":10},\"params\":[]}', NULL, '2025-03-24 11:50:29');
INSERT INTO `sys_log` VALUES (6, 1, 'admin', '系统操作日志管理-分页查询系统操作日志', 73, 'vip.fuck.sm.controller.SysLogController.pageInfo()', '{\"body\":{\"page\":1,\"limit\":10},\"params\":[]}', NULL, '2025-03-24 12:01:47');
INSERT INTO `sys_log` VALUES (7, 1, 'admin', '系统操作日志管理-分页查询系统操作日志', 12, 'vip.fuck.sm.controller.SysLogController.pageInfo()', '{\"body\":{\"page\":1,\"limit\":10,\"username\":\"\",\"operation\":\"\",\"createTimeBegin\":\"\",\"createTimeEnd\":\"\"},\"params\":[]}', NULL, '2025-03-24 12:01:49');
INSERT INTO `sys_log` VALUES (8, 1, 'admin', '系统操作日志管理-分页查询系统操作日志', 18, 'vip.fuck.sm.controller.SysLogController.pageInfo()', '{\"body\":{\"page\":1,\"limit\":10,\"username\":\"\",\"operation\":\"\",\"createTimeBegin\":\"\",\"createTimeEnd\":\"\"},\"params\":[]}', NULL, '2025-03-24 12:01:50');
INSERT INTO `sys_log` VALUES (9, 1, 'admin', '系统操作日志管理-分页查询系统操作日志', 17, 'vip.fuck.sm.controller.SysLogController.pageInfo()', '{\"body\":{\"page\":1,\"limit\":10,\"username\":\"\",\"operation\":\"\",\"createTimeBegin\":\"\",\"createTimeEnd\":\"\"},\"params\":[]}', NULL, '2025-03-24 12:01:50');
INSERT INTO `sys_log` VALUES (10, 1, NULL, '-上传插件', 124, 'vip.fuck.sm.controller.SysPlugsController.upload()', '{\"params\":[]}', NULL, '2025-03-25 09:01:01');
INSERT INTO `sys_log` VALUES (11, 1, NULL, '-启动插件', 23, 'vip.fuck.sm.controller.SysPlugsController.startPlugin()', '{\"params\":[{\"key\":\"_\",\"values\":[\"1742864446188\"]},{\"key\":\"qn\",\"values\":[\"fuckcms\"]}]}', NULL, '2025-03-25 09:01:04');
INSERT INTO `sys_log` VALUES (12, 1, NULL, '-启动插件', 43833, 'vip.fuck.sm.controller.SysPlugsController.startPlugin()', '{\"params\":[{\"key\":\"_\",\"values\":[\"1742864446189\"]},{\"key\":\"qn\",\"values\":[\"fuckcms\"]}]}', NULL, '2025-03-25 09:03:30');
INSERT INTO `sys_log` VALUES (13, 1, NULL, '-启动插件', 224, 'vip.fuck.sm.controller.SysPlugsController.startPlugin()', '{\"params\":[{\"key\":\"_\",\"values\":[\"1742864446190\"]},{\"key\":\"qn\",\"values\":[\"fuckcms\"]}]}', NULL, '2025-03-25 09:04:44');
INSERT INTO `sys_log` VALUES (14, 1, NULL, '-启动插件', 67860, 'vip.fuck.sm.controller.SysPlugsController.startPlugin()', '{\"params\":[{\"key\":\"_\",\"values\":[\"1742864446191\"]},{\"key\":\"qn\",\"values\":[\"fuckcms\"]}]}', NULL, '2025-03-25 09:06:26');
INSERT INTO `sys_log` VALUES (15, 1, NULL, '-启动插件', 27375, 'vip.fuck.sm.controller.SysPlugsController.startPlugin()', '{\"params\":[{\"key\":\"_\",\"values\":[\"1742864446192\"]},{\"key\":\"qn\",\"values\":[\"fuckcms\"]}]}', NULL, '2025-03-25 09:09:15');

-- ----------------------------
-- Table structure for sys_permission
-- ----------------------------
DROP TABLE IF EXISTS `sys_permission`;
CREATE TABLE `sys_permission`  (
  `id` bigint(0) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `perms` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `icon` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `target` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `pid` bigint(0) NULL DEFAULT NULL,
  `order_num` int(0) NULL DEFAULT NULL,
  `type` int(0) NULL DEFAULT NULL,
  `status` int(0) NULL DEFAULT NULL,
  `create_time` datetime(0) NULL DEFAULT NULL,
  `update_time` datetime(0) NULL DEFAULT NULL,
  `deleted` int(0) NULL DEFAULT 0,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '权限菜单' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of sys_permission
-- ----------------------------
INSERT INTO `sys_permission` VALUES (1, '删除', 'sysGenerator:delete', 'sysGenerator/delete', NULL, NULL, 15, 1, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (2, 'SQL 监控', '', 'druid/sql.html', '', '_self', 21, 98, 2, 1, '2020-03-19 13:29:40', '2020-05-07 13:36:59', 0);
INSERT INTO `sys_permission` VALUES (3, '新增', 'sys:role:add', 'sys/role', NULL, NULL, 53, 0, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (4, '添加', 'sysGenerator:add', 'sysGenerator/add', NULL, NULL, 15, 1, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (5, '删除', 'sys:dept:deleted', 'sys/dept/*', NULL, NULL, 41, 100, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (6, '接口管理', '', 'doc.html', '', '_blank', 21, 100, 2, 1, '2020-03-19 13:29:40', '2020-05-07 13:36:02', 0);
INSERT INTO `sys_permission` VALUES (7, '列表', 'sys:log:list', 'sys/logs', NULL, NULL, 8, 100, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (8, '日志管理', NULL, 'index/logs', NULL, '_self', 54, 97, 2, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (9, '新增', 'sys:dept:add', 'sys/dept', NULL, NULL, 41, 100, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (10, '赋予角色', 'sys:user:role:update', 'sys/user/roles/*', NULL, NULL, 24, 100, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (11, '菜单权限管理', NULL, 'index/menus', NULL, '_self', 51, 98, 2, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (12, '列表', 'sys:dept:list', 'sys/depts', NULL, NULL, 41, 100, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (13, '删除', 'sys:role:deleted', 'sys/role/*', NULL, NULL, 53, 100, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (15, '代码生成', NULL, 'index/sysGenerator', NULL, '_self', 54, 1, 2, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (16, '列表', 'sysGenerator:list', 'sysGenerator/listByPage', NULL, NULL, 15, 1, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (17, '详情', 'sys:permission:detail', 'sys/permission/*', NULL, NULL, 11, 100, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (19, '列表', 'sys:role:list', 'sys/roles', NULL, NULL, 53, 0, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (20, '修改', 'sysGenerator:update', 'sysGenerator/update', NULL, NULL, 15, 1, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (21, '其他', NULL, NULL, 'layui-icon-list', NULL, 0, 200, 1, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (22, '详情', 'sys:dept:detail', 'sys/dept/*', NULL, NULL, 41, 100, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (23, '列表', 'sys:user:list', 'sys/users', NULL, NULL, 24, 100, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (24, '用户管理', NULL, 'index/users', NULL, '_self', 51, 100, 2, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (25, '详情', 'sys:user:detail', 'sys/user/*', NULL, NULL, 24, 100, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (26, '删除', 'sys:permission:deleted', 'sys/permission/*', NULL, NULL, 11, 100, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (27, '文件管理', '', 'index/sysFiles', '', '_self', 54, 10, 2, 1, NULL, '2020-06-15 16:00:29', 0);
INSERT INTO `sys_permission` VALUES (28, '列表', 'sysFiles:list', 'sysFiles/listByPage', NULL, NULL, 27, 0, 3, 1, NULL, NULL, 0);
INSERT INTO `sys_permission` VALUES (29, '新增', 'sysFiles:add', 'sysFiles/add', NULL, NULL, 27, 0, 3, 1, NULL, NULL, 0);
INSERT INTO `sys_permission` VALUES (30, '删除', 'sysFiles:delete', 'sysFiles/delete', NULL, NULL, 27, 0, 3, 1, NULL, NULL, 0);
INSERT INTO `sys_permission` VALUES (31, '文章管理', NULL, 'index/sysContent', NULL, '_self', 54, 10, 2, 1, NULL, NULL, 0);
INSERT INTO `sys_permission` VALUES (32, '列表', 'sysContent:list', 'sysContent/listByPage', NULL, NULL, 31, 0, 3, 1, NULL, NULL, 0);
INSERT INTO `sys_permission` VALUES (33, '新增', 'sysContent:add', 'sysContent/add', NULL, NULL, 31, 0, 3, 1, NULL, NULL, 0);
INSERT INTO `sys_permission` VALUES (34, '修改', 'sysContent:update', 'sysContent/update', NULL, NULL, 31, 0, 3, 1, NULL, NULL, 0);
INSERT INTO `sys_permission` VALUES (35, '删除', 'sysContent:delete', 'sysContent/delete', NULL, NULL, 31, 0, 3, 1, NULL, NULL, 0);
INSERT INTO `sys_permission` VALUES (36, '更新', 'sys:role:update', 'sys/role', NULL, NULL, 53, 0, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (38, '更新', 'sys:dept:update', 'sys/dept', NULL, NULL, 41, 100, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (39, '详情', 'sys:role:detail', 'sys/role/*', NULL, NULL, 53, 100, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (40, '编辑', 'sys:permission:update', 'sys/permission', NULL, NULL, 11, 100, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (41, '部门管理', NULL, 'index/depts', NULL, '_self', 51, 100, 2, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (42, '新增', 'sys:user:add', 'sys/user', NULL, NULL, 24, 100, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (43, '列表', 'sys:permission:list', 'sys/permissions', NULL, NULL, 11, 100, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (44, '新增', 'sys:permission:add', 'sys/permission', NULL, NULL, 11, 100, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (45, '字典管理', NULL, 'index/sysDict', '', NULL, 54, 10, 2, 1, NULL, NULL, 0);
INSERT INTO `sys_permission` VALUES (46, '列表', 'sysDict:list', 'sysDict/listByPage', NULL, NULL, 45, 0, 3, 1, NULL, NULL, 0);
INSERT INTO `sys_permission` VALUES (47, '新增', 'sysDict:add', 'sysDict/add', NULL, NULL, 45, 0, 3, 1, NULL, NULL, 0);
INSERT INTO `sys_permission` VALUES (48, '修改', 'sysDict:update', 'sysDict/update', NULL, NULL, 45, 0, 3, 1, NULL, NULL, 0);
INSERT INTO `sys_permission` VALUES (49, '删除', 'sysDict:delete', 'sysDict/delete', NULL, NULL, 45, 0, 3, 1, NULL, NULL, 0);
INSERT INTO `sys_permission` VALUES (50, '表单构建', '', 'index/build', '', '_self', 21, 1, 2, 1, '2020-04-22 13:09:41', '2020-05-07 13:36:47', 0);
INSERT INTO `sys_permission` VALUES (51, '组织管理', NULL, NULL, 'layui-icon-user', NULL, 0, 1, 1, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (52, '拥有角色', 'sys:user:role:detail', 'sys/user/roles/*', NULL, NULL, 24, 100, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (53, '角色管理', NULL, 'index/roles', NULL, '_self', 51, 99, 2, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (54, '系统管理', NULL, NULL, 'layui-icon-set-fill', NULL, 0, 98, 1, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (56, '更新', 'sys:user:update', 'sys/user', NULL, NULL, 24, 100, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (57, '删除', 'sys:user:deleted', 'sys/user', NULL, NULL, 24, 100, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (58, '删除', 'sys:log:deleted', 'sys/logs', NULL, NULL, 8, 100, 3, 1, '2020-03-19 13:29:40', '2020-03-19 13:29:40', 0);
INSERT INTO `sys_permission` VALUES (1311115974068449281, '数据权限', 'sys:role:bindDept', 'sys/role/bindDept', '', '_self', 53, 5, 3, 1, '2020-09-30 09:29:42', NULL, 0);
INSERT INTO `sys_permission` VALUES (1904337365087801346, '系统插件', NULL, 'index/sysPlugs', NULL, '_self', 21, 10, 2, 1, NULL, NULL, 0);
INSERT INTO `sys_permission` VALUES (1904337365087801347, '新增', 'sysPlugs:add', 'sysPlugs/add', NULL, NULL, 1904337365087801346, NULL, 3, 1, NULL, NULL, 0);
INSERT INTO `sys_permission` VALUES (1904337365087801348, '修改', 'sysPlugs:update', 'sysPlugs/update', NULL, NULL, 1904337365087801346, NULL, 3, 1, NULL, NULL, 0);
INSERT INTO `sys_permission` VALUES (1904337365087801349, '删除', 'sysPlugs:delete', 'sysPlugs/delete', NULL, NULL, 1904337365087801346, NULL, 3, 1, NULL, NULL, 0);
INSERT INTO `sys_permission` VALUES (1904337365087801350, '列表', 'sysPlugs:list', 'sysPlugs/listByPage', NULL, NULL, 1904337365087801346, NULL, 3, 1, NULL, NULL, 0);

-- ----------------------------
-- Table structure for sys_plugs
-- ----------------------------
DROP TABLE IF EXISTS `sys_plugs`;
CREATE TABLE `sys_plugs`  (
  `qualified_version` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `author` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `site_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `doc_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `version` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `jar_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `jar_size` bigint(0) NULL DEFAULT NULL,
  `status` int(0) NULL DEFAULT NULL,
  `upload_time` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`qualified_version`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统插件' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_plugs
-- ----------------------------
INSERT INTO `sys_plugs` VALUES ('fuckcms', 'xian.zi.ming@qq.com', 'http://fuck.vip', 'http://fuck.vip', 'content manager system', '1.0', 'D:/files/sysPlugJars/d61fe1a18078439297683724281c85b8.jar', 4399209, 0, NULL);

-- ----------------------------
-- Table structure for sys_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_role`;
CREATE TABLE `sys_role`  (
  `id` bigint(0) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `status` int(0) NULL DEFAULT NULL,
  `data_scope` int(0) NULL DEFAULT NULL,
  `create_time` datetime(0) NULL DEFAULT NULL,
  `update_time` datetime(0) NULL DEFAULT NULL,
  `deleted` int(0) NULL DEFAULT 0,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_role
-- ----------------------------
INSERT INTO `sys_role` VALUES (1, '超级管理员', '拥有所有权限-不能删除', 1, NULL, '2019-11-01 19:26:29', '2020-03-19 13:29:51', 0);

-- ----------------------------
-- Table structure for sys_role_dept
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_dept`;
CREATE TABLE `sys_role_dept`  (
  `id` bigint(0) NOT NULL AUTO_INCREMENT,
  `role_id` bigint(0) NULL DEFAULT NULL,
  `dept_id` bigint(0) NULL DEFAULT NULL,
  `create_time` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色部门' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of sys_role_dept
-- ----------------------------

-- ----------------------------
-- Table structure for sys_role_permission
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_permission`;
CREATE TABLE `sys_role_permission`  (
  `id` bigint(0) NOT NULL AUTO_INCREMENT,
  `role_id` bigint(0) NULL DEFAULT NULL,
  `permission_id` bigint(0) NULL DEFAULT NULL,
  `create_time` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色权限' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_role_permission
-- ----------------------------
INSERT INTO `sys_role_permission` VALUES (1, 1, 1, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (2, 1, 2, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (3, 1, 3, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (4, 1, 4, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (5, 1, 5, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (6, 1, 6, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (7, 1, 7, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (8, 1, 8, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (9, 1, 9, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (10, 1, 10, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (11, 1, 11, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (12, 1, 12, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (13, 1, 13, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (14, 1, 14, '2020-05-26 17:04:21');
INSERT INTO `sys_role_permission` VALUES (15, 1, 15, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (16, 1, 16, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (17, 1, 17, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (18, 1, 18, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (19, 1, 19, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (20, 1, 20, '2020-05-26 17:04:21');
INSERT INTO `sys_role_permission` VALUES (21, 1, 21, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (22, 1, 22, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (23, 1, 23, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (24, 1, 24, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (25, 1, 25, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (26, 1, 26, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (27, 1, 27, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (28, 1, 28, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (29, 1, 29, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (30, 1, 30, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (31, 1, 31, '2020-05-26 17:04:21');
INSERT INTO `sys_role_permission` VALUES (32, 1, 32, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (33, 1, 33, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (34, 1, 34, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (35, 1, 35, '2020-05-26 17:04:21');
INSERT INTO `sys_role_permission` VALUES (36, 1, 36, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (38, 1, 38, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (39, 1, 39, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (40, 1, 40, '2020-06-15 15:21:17');
INSERT INTO `sys_role_permission` VALUES (41, 1, 41, '2020-06-15 15:21:17');
INSERT INTO `sys_role_permission` VALUES (42, 1, 42, '2020-06-15 15:21:17');
INSERT INTO `sys_role_permission` VALUES (43, 1, 43, '2020-06-15 15:21:17');
INSERT INTO `sys_role_permission` VALUES (44, 1, 44, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (45, 1, 45, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (46, 1, 46, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (47, 1, 47, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (48, 1, 48, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (49, 1, 49, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (50, 1, 50, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (51, 1, 51, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (52, 1, 52, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (53, 1, 53, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (54, 1, 54, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (55, 1, 55, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (56, 1, 56, '2020-05-26 17:04:21');
INSERT INTO `sys_role_permission` VALUES (57, 1, 57, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (58, 1, 58, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (60, 1, 60, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (61, 1, 61, '2020-05-26 14:21:56');
INSERT INTO `sys_role_permission` VALUES (62, 1, 62, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (63, 1, 63, '2020-04-22 15:48:47');
INSERT INTO `sys_role_permission` VALUES (1311116066716430339, 1, 1311115974068449281, '2020-09-30 09:30:04');
INSERT INTO `sys_role_permission` VALUES (1904337365087801351, 1, 1904337365087801346, NULL);
INSERT INTO `sys_role_permission` VALUES (1904337365087801352, 1, 1904337365087801347, NULL);
INSERT INTO `sys_role_permission` VALUES (1904337365087801353, 1, 1904337365087801348, NULL);
INSERT INTO `sys_role_permission` VALUES (1904337365087801354, 1, 1904337365087801349, NULL);
INSERT INTO `sys_role_permission` VALUES (1904337365087801355, 1, 1904337365087801350, NULL);

-- ----------------------------
-- Table structure for sys_user
-- ----------------------------
DROP TABLE IF EXISTS `sys_user`;
CREATE TABLE `sys_user`  (
  `id` bigint(0) NOT NULL AUTO_INCREMENT,
  `username` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `salt` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `password` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `phone` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `dept_id` bigint(0) NULL DEFAULT NULL,
  `real_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `nick_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `email` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `status` int(0) NULL DEFAULT NULL,
  `sex` int(0) NULL DEFAULT NULL,
  `deleted` int(0) NULL DEFAULT 0,
  `create_id` bigint(0) NULL DEFAULT NULL,
  `update_id` bigint(0) NULL DEFAULT NULL,
  `create_where` int(0) NULL DEFAULT NULL,
  `create_time` datetime(0) NULL DEFAULT NULL,
  `update_time` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '系统用户' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_user
-- ----------------------------
INSERT INTO `sys_user` VALUES (1, 'admin', '324ce32d86224b00a02b', '2102b59a75ab87616b62d0b9432569d0', '13888888888', 1, '爱糖宝', '爱糖宝', 'xxxxxx@163.com', 1, 2, 0, 1, 1, 3, '2019-09-22 19:38:05', '2020-03-18 09:15:22');

-- ----------------------------
-- Table structure for sys_user_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_role`;
CREATE TABLE `sys_user_role`  (
  `id` bigint(0) NOT NULL AUTO_INCREMENT,
  `user_id` bigint(0) NULL DEFAULT NULL,
  `role_id` bigint(0) NULL DEFAULT NULL,
  `create_time` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户角色' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_user_role
-- ----------------------------
INSERT INTO `sys_user_role` VALUES (1, 1, 1, '2020-03-19 02:23:13');

SET FOREIGN_KEY_CHECKS = 1;
