diff --git a/README.md b/README.md index 4cd43db..c5aa935 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ Ruoyi-Flex秉承“写的更少、性能更好、出错更低、交流通畅、

工作量

+除了那些复杂的遗留项目中的统计报表,在绝大部分情况下 Ruoyi-Flex 不需要手写 SQL 语句。 ### (2)性能更好 除了集成的JDK21、SpringBootV3.2、MyBatis-Flex的性能提升,系统“代码生成”模块生成的代码,凡是涉及到后台数据库的多表查询,没有采用数据库的LeftJoin、InnerJoin等SQL方式,而是使用WithRelation编程装配来取代数据库LeftJoin SQL关联查询,数据库不用维护表间外键关系,将多表关联SQL语句拆分为对各个单表的主键查询,关联无 SQL,性能提高10倍。 @@ -27,9 +28,8 @@ Ruoyi-Flex秉承“写的更少、性能更好、出错更低、交流通畅、 ### (4)交流通畅 “非我族类,其心必异”。Ruoyi-Flex集成了一大波国产开源软件:MyBatis-Flex、Sa-Token、Hutool、PowerJob、Element-Plus等,同根同源,交流自然顺畅,开发中遇到问题可联系作者快速得到解决。例如,同一个领域的安全框架,一个中国人只需半天就可学会Sa-Token干活,如果是学Spring Security的话,七天也不一定能学会。 -### (5)快速入门 -Ruoyi-Flex已集成各种开源开发框架,扫平了技术障碍,可直接上手干活。使用者只需要设计好数据库表结构,系统能可视化生成前后端代码本地,单表、树表、主子表任你选,10分钟就能开发一个模块,快速入门,开发高效。 - +### (5)入门快速 +Ruoyi-Flex已集成各种开源开发框架,扫平了技术障碍,可直接上手干活。使用者只需要设计好数据库表结构,系统能可视化生成前后端本地代码,单表、树表、主子表任你选,10分钟就能开发一个模块,快速入门,开发高效。 ## 3、前端项目 Ruoyi-Flex实行前后端分离仓库,本项目是java后端部分,前端项目是flex-elementplus-ui,前端项目地址: [flex-elementplus-ui](https://gitee.com/dataprince/flex-elementplus-ui) @@ -87,14 +87,14 @@ Ruoyi-Flex实行前后端分离仓库,本项目是java后端部分,前端项 ## 7、Ruoyi-Flex交流群 -本软件完全开源,作者很忙,如果您在使用过程中遇到问题,请付点小费(扫码支付199元)后申请加入QQ群或者微信群寻求帮助: +本软件完全开源,作者很忙,如果您在使用过程中遇到问题,请付点小费(扫码微信支付199元)后申请加入微信群寻求帮助: - + - +
1、QQ交流群:1、免费QQ交流群: 762217712[交流1群]
2、微信交流群:2、付费微信交流群:
diff --git a/doc/Ruoyi-Flex-Guide.docx b/doc/Ruoyi-Flex-Guide.docx index 58d0c9c..3f81f21 100644 Binary files a/doc/Ruoyi-Flex-Guide.docx and b/doc/Ruoyi-Flex-Guide.docx differ diff --git a/ruoyi-admin/src/main/resources/application-dev.yml b/ruoyi-admin/src/main/resources/application-dev.yml index b55bd50..ae4cc11 100644 --- a/ruoyi-admin/src/main/resources/application-dev.yml +++ b/ruoyi-admin/src/main/resources/application-dev.yml @@ -38,7 +38,7 @@ mybatis-flex: # 指定为HikariDataSource type: com.zaxxer.hikari.HikariDataSource driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true + url: jdbc:mysql://localhost:3306/ruoyi-flex?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true username: root123 password: Root@369---0000 diff --git a/ruoyi-admin/src/main/resources/application-prod.yml b/ruoyi-admin/src/main/resources/application-prod.yml index c413982..0b45080 100644 --- a/ruoyi-admin/src/main/resources/application-prod.yml +++ b/ruoyi-admin/src/main/resources/application-prod.yml @@ -44,7 +44,7 @@ mybatis-flex: # 指定为HikariDataSource type: com.zaxxer.hikari.HikariDataSource driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true + url: jdbc:mysql://localhost:3306/ruoyi-flex?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true username: root123 password: Root@369---0000 diff --git a/ruoyi-extra/ruoyi-powerjob-server/src/main/resources/application-dev.properties b/ruoyi-extra/ruoyi-powerjob-server/src/main/resources/application-dev.properties index 5c33798..7fa66a7 100644 --- a/ruoyi-extra/ruoyi-powerjob-server/src/main/resources/application-dev.properties +++ b/ruoyi-extra/ruoyi-powerjob-server/src/main/resources/application-dev.properties @@ -2,7 +2,7 @@ oms.env=dev ####### Database properties(Configure according to the the environment) ####### spring.datasource.core.driver-class-name=com.mysql.cj.jdbc.Driver -spring.datasource.core.jdbc-url=jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true +spring.datasource.core.jdbc-url=jdbc:mysql://localhost:3306/ruoyi-flex?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true spring.datasource.core.username=root spring.datasource.core.password=Root@369 spring.datasource.core.maximum-pool-size=20 diff --git a/ruoyi-extra/ruoyi-powerjob-server/src/main/resources/application-prod.properties b/ruoyi-extra/ruoyi-powerjob-server/src/main/resources/application-prod.properties index 7d6a1cc..2a2109d 100644 --- a/ruoyi-extra/ruoyi-powerjob-server/src/main/resources/application-prod.properties +++ b/ruoyi-extra/ruoyi-powerjob-server/src/main/resources/application-prod.properties @@ -2,7 +2,7 @@ oms.env=prod ####### Database properties(Configure according to the the environment) ####### spring.datasource.core.driver-class-name=com.mysql.cj.jdbc.Driver -spring.datasource.core.jdbc-url=jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true +spring.datasource.core.jdbc-url=jdbc:mysql://localhost:3306/ruoyi-flex?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true spring.datasource.core.username=root spring.datasource.core.password=Root@369 spring.datasource.core.maximum-pool-size=20 diff --git a/sql/mysql/mysql-ruoyiflex.sql b/sql/mysql/mysql-ruoyiflex.sql new file mode 100644 index 0000000..3c88455 --- /dev/null +++ b/sql/mysql/mysql-ruoyiflex.sql @@ -0,0 +1,2054 @@ +-- -------------------------------------------------------- +-- 主机: 127.0.0.1 +-- 服务器版本: 8.0.27 - MySQL Community Server - GPL +-- 服务器操作系统: Win64 +-- HeidiSQL 版本: 12.4.0.6670 +-- -------------------------------------------------------- + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET NAMES utf8 */; +/*!50503 SET NAMES utf8mb4 */; +/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; +/*!40103 SET TIME_ZONE='+00:00' */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; +/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; + + +-- 导出 ruoyi-flex 的数据库结构 +CREATE DATABASE IF NOT EXISTS `ruoyi-flex` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_bin */ /*!80016 DEFAULT ENCRYPTION='N' */; +USE `ruoyi-flex`; + +-- 导出 表 ruoyi-flex.demo_customer 结构 +CREATE TABLE IF NOT EXISTS `demo_customer` ( + `customer_id` bigint NOT NULL AUTO_INCREMENT COMMENT '客户id', + `customer_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '客户姓名', + `phonenumber` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '手机号码', + `sex` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '客户性别', + `birthday` datetime DEFAULT NULL COMMENT '客户生日', + `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '客户描述', + PRIMARY KEY (`customer_id`) +) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='客户主表'; + +-- 正在导出表 ruoyi-flex.demo_customer 的数据:~2 rows (大约) +INSERT INTO `demo_customer` (`customer_id`, `customer_name`, `phonenumber`, `sex`, `birthday`, `remark`) VALUES + (1, '哪吒三太子', '188888888', '0', '2023-07-06 00:00:00', '托塔李天王李靖三子啊'), + (4, '李天', '1898989898', '1', '2023-07-03 00:00:00', '总裁'); + +-- 导出 表 ruoyi-flex.demo_goods 结构 +CREATE TABLE IF NOT EXISTS `demo_goods` ( + `goods_id` bigint NOT NULL AUTO_INCREMENT COMMENT '商品id', + `customer_id` bigint NOT NULL COMMENT '客户id', + `name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '商品名称', + `weight` int DEFAULT NULL COMMENT '商品重量', + `price` decimal(6,2) DEFAULT NULL COMMENT '商品价格', + `date` datetime DEFAULT NULL COMMENT '商品时间', + `type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '商品种类', + PRIMARY KEY (`goods_id`) +) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='商品子表'; + +-- 正在导出表 ruoyi-flex.demo_goods 的数据:~4 rows (大约) +INSERT INTO `demo_goods` (`goods_id`, `customer_id`, `name`, `weight`, `price`, `date`, `type`) VALUES + (1, 1, '乾坤圈', 22, 8000.00, '2023-07-04 00:00:00', '1'), + (2, 1, '风火轮', 10, 90.00, '2023-07-10 00:00:00', '2'), + (4, 4, '华为电脑', 8, 9000.00, '2023-07-03 00:00:00', '1'), + (5, 1, '红缨枪', 10, 60.50, '2023-09-04 00:00:00', '3'); + +-- 导出 表 ruoyi-flex.demo_product 结构 +CREATE TABLE IF NOT EXISTS `demo_product` ( + `product_id` bigint NOT NULL AUTO_INCREMENT COMMENT '产品id', + `parent_id` bigint DEFAULT '0' COMMENT '父产品id', + `product_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '产品名称', + `order_num` int DEFAULT '0' COMMENT '显示顺序', + `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '0' COMMENT '产品状态(0正常 1停用)', + PRIMARY KEY (`product_id`) +) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='产品表'; + +-- 正在导出表 ruoyi-flex.demo_product 的数据:~7 rows (大约) +INSERT INTO `demo_product` (`product_id`, `parent_id`, `product_name`, `order_num`, `status`) VALUES + (1, 0, '计算机', 1, '0'), + (2, 1, '台式机', 1, '0'), + (3, 1, '笔记本', 2, '0'), + (5, 0, '图书', 5, '0'), + (6, 5, '小说', 2, '0'), + (8, 5, '小人书', 3, '0'), + (10, 1, '平板电脑', 3, '0'); + +-- 导出 表 ruoyi-flex.demo_student 结构 +CREATE TABLE IF NOT EXISTS `demo_student` ( + `student_id` int NOT NULL AUTO_INCREMENT COMMENT '编号', + `student_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '学生名称', + `student_age` int DEFAULT NULL COMMENT '年龄', + `student_hobby` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '爱好(0代码 1音乐 2电影)', + `student_sex` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '1' COMMENT '性别(1男 2女 3未知)', + `student_status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '0' COMMENT '状态(0正常 1停用)', + `student_birthday` datetime DEFAULT NULL COMMENT '生日', + PRIMARY KEY (`student_id`) +) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='学生信息单表'; + +-- 正在导出表 ruoyi-flex.demo_student 的数据:~2 rows (大约) +INSERT INTO `demo_student` (`student_id`, `student_name`, `student_age`, `student_hobby`, `student_sex`, `student_status`, `student_birthday`) VALUES + (1, '陈长安', 19, '2', '1', '1', '2023-07-06 00:00:00'), + (2, '李白', 28, '0', '0', '0', '2023-07-01 00:00:00'), + (5, '白居易', 0, '2', '0', '0', '2023-09-12 00:00:00'); + +-- 导出 表 ruoyi-flex.gen_table 结构 +CREATE TABLE IF NOT EXISTS `gen_table` ( + `table_id` bigint NOT NULL AUTO_INCREMENT COMMENT '编号', + `table_name` varchar(200) COLLATE utf8mb4_bin DEFAULT '' COMMENT '表名称', + `table_comment` varchar(500) COLLATE utf8mb4_bin DEFAULT '' COMMENT '表描述', + `sub_table_name` varchar(64) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '关联子表的表名', + `sub_table_fk_name` varchar(64) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '子表关联的外键名', + `class_name` varchar(100) COLLATE utf8mb4_bin DEFAULT '' COMMENT '实体类名称', + `tpl_category` varchar(200) COLLATE utf8mb4_bin DEFAULT 'crud' COMMENT '使用的模板(crud单表操作 tree树表操作)', + `package_name` varchar(100) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '生成包路径', + `module_name` varchar(30) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '生成模块名', + `business_name` varchar(30) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '生成业务名', + `function_name` varchar(50) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '生成功能名', + `function_author` varchar(50) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '生成功能作者', + `gen_type` char(1) COLLATE utf8mb4_bin DEFAULT '0' COMMENT '生成代码方式(0zip压缩包 1自定义路径)', + `gen_path` varchar(200) COLLATE utf8mb4_bin DEFAULT '/' COMMENT '生成路径(不填默认项目路径)', + `options` varchar(1000) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '其它生成选项', + `create_by` bigint NOT NULL DEFAULT '0' COMMENT '创建者', + `create_time` datetime DEFAULT NULL COMMENT '创建时间', + `update_by` bigint NOT NULL DEFAULT '0' COMMENT '更新者', + `update_time` datetime DEFAULT NULL COMMENT '更新时间', + `remark` varchar(500) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '备注', + PRIMARY KEY (`table_id`) +) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='代码生成业务表'; + +-- 正在导出表 ruoyi-flex.gen_table 的数据:~8 rows (大约) +INSERT INTO `gen_table` (`table_id`, `table_name`, `table_comment`, `sub_table_name`, `sub_table_fk_name`, `class_name`, `tpl_category`, `package_name`, `module_name`, `business_name`, `function_name`, `function_author`, `gen_type`, `gen_path`, `options`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES + (13, 'mf_student', '学生信息单表', NULL, NULL, 'Student', 'crud', 'com.ruoyi.mf', 'mf', 'student', '学生信息表', '数据小王子', '0', '/', '{"parentMenuId":"2018"}', 1, '2023-11-17 14:12:07', 0, '2023-12-04 15:59:36', 'mybatis-flex版本的学生信息单表演示'), + (15, 'mf_product', '产品树表', '', '', 'MfProduct', 'tree', 'com.ruoyi.mf', 'mf', 'product', '产品树', '数据小王子', '0', '/', '{"treeCode":"product_id","treeName":"product_name","treeParentCode":"parent_id","parentMenuId":"2018"}', 1, '2023-11-22 22:44:33', 0, '2023-11-23 10:57:43', 'mybatis-flex版本的产品树表演示'), + (16, 'mf_customer', '客户主表', 'mf_goods', 'customer_id', 'Customer', 'sub', 'com.ruoyi.mf', 'mf', 'customer', '客户主表', '数据小王子', '0', '/', '{"parentMenuId":"2018"}', 1, '2023-12-04 22:19:16', 0, '2023-12-05 09:41:57', 'mybatis-flex格式的主子表测试'), + (17, 'mf_goods', '商品子表', NULL, NULL, 'Goods', 'crud', 'com.ruoyi.demo', 'demo', 'goods', '商品子表', '数据小王子', '0', '/', '{}', 1, '2023-12-04 22:22:22', 0, '2023-12-05 10:50:30', NULL); + +-- 导出 表 ruoyi-flex.gen_table_column 结构 +CREATE TABLE IF NOT EXISTS `gen_table_column` ( + `column_id` bigint NOT NULL AUTO_INCREMENT COMMENT '编号', + `table_id` bigint NOT NULL COMMENT '归属表编号', + `column_name` varchar(200) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '列名称', + `column_comment` varchar(500) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '列描述', + `column_type` varchar(100) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '列类型', + `java_type` varchar(500) COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'JAVA类型', + `java_field` varchar(200) COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'JAVA字段名', + `is_pk` char(1) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '是否主键(1是)', + `is_increment` char(1) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '是否自增(1是)', + `is_required` char(1) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '是否必填(1是)', + `is_insert` char(1) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '是否为插入字段(1是)', + `is_edit` char(1) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '是否编辑字段(1是)', + `is_list` char(1) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '是否列表字段(1是)', + `is_query` char(1) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '是否查询字段(1是)', + `query_type` varchar(200) COLLATE utf8mb4_bin DEFAULT 'EQ' COMMENT '查询方式(等于、不等于、大于、小于、范围)', + `html_type` varchar(200) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '显示类型(文本框、文本域、下拉框、复选框、单选框、日期控件)', + `dict_type` varchar(200) COLLATE utf8mb4_bin DEFAULT '' COMMENT '字典类型', + `sort` int DEFAULT NULL COMMENT '排序', + `create_by` bigint NOT NULL DEFAULT '0' COMMENT '创建者', + `create_time` datetime DEFAULT NULL COMMENT '创建时间', + `update_by` bigint NOT NULL DEFAULT '0' COMMENT '更新者', + `update_time` datetime DEFAULT NULL COMMENT '更新时间', + PRIMARY KEY (`column_id`) +) ENGINE=InnoDB AUTO_INCREMENT=124 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='代码生成业务表字段'; + +-- 正在导出表 ruoyi-flex.gen_table_column 的数据:~66 rows (大约) +INSERT INTO `gen_table_column` (`column_id`, `table_id`, `column_name`, `column_comment`, `column_type`, `java_type`, `java_field`, `is_pk`, `is_increment`, `is_required`, `is_insert`, `is_edit`, `is_list`, `is_query`, `query_type`, `html_type`, `dict_type`, `sort`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES + (74, 13, 'student_id', '编号', 'bigint', 'Long', 'studentId', '1', '0', NULL, NULL, '1', NULL, NULL, 'EQ', 'input', '', 1, 1, '2023-11-17 14:12:07', 0, '2023-12-04 15:59:36'), + (75, 13, 'student_name', '学生名称', 'varchar(30)', 'String', 'studentName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 2, 1, '2023-11-17 14:12:07', 0, '2023-12-04 15:59:36'), + (76, 13, 'student_age', '年龄', 'int', 'Long', 'studentAge', '0', '0', '1', '1', '1', '1', '0', 'EQ', 'input', '', 3, 1, '2023-11-17 14:12:07', 0, '2023-12-04 15:59:36'), + (77, 13, 'student_hobby', '爱好(0代码 1音乐 2电影)', 'varchar(30)', 'String', 'studentHobby', '0', '0', '1', '1', '1', '1', '0', 'EQ', 'select', 'sys_student_hobby', 4, 1, '2023-11-17 14:12:07', 0, '2023-12-04 15:59:36'), + (78, 13, 'student_gender', '性别(1男 2女 3未知)', 'char(1)', 'String', 'studentGender', '0', '0', '1', '1', '1', '1', '0', 'EQ', 'radio', 'sys_user_gender', 5, 1, '2023-11-17 14:12:07', 0, '2023-12-04 15:59:36'), + (79, 13, 'student_status', '状态(0正常 1停用)', 'char(1)', 'String', 'studentStatus', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'select', 'sys_student_status', 6, 1, '2023-11-17 14:12:07', 0, '2023-12-04 15:59:36'), + (80, 13, 'student_birthday', '生日', 'datetime', 'Date', 'studentBirthday', '0', '0', '1', '1', '1', '1', '0', 'EQ', 'datetime', '', 7, 1, '2023-11-17 14:12:07', 0, '2023-12-04 15:59:36'), + (81, 13, 'create_by', '创建者', 'bigint', 'Long', 'createBy', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 8, 0, '2023-11-22 21:03:59', 0, '2023-12-04 15:59:36'), + (82, 13, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 9, 0, '2023-11-22 21:03:59', 0, '2023-12-04 15:59:36'), + (83, 13, 'update_by', '更新者', 'bigint', 'Long', 'updateBy', '0', '0', '0', '0', '0', NULL, NULL, 'EQ', 'input', '', 10, 0, '2023-11-22 21:03:59', 0, '2023-12-04 15:59:36'), + (84, 13, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '0', '0', NULL, NULL, 'EQ', 'datetime', '', 11, 0, '2023-11-22 21:03:59', 0, '2023-12-04 15:59:36'), + (94, 15, 'product_id', '产品id', 'bigint', 'Long', 'productId', '1', '0', NULL, NULL, '1', NULL, NULL, 'EQ', 'input', '', 1, 1, '2023-11-22 22:44:33', 0, '2023-11-23 10:57:43'), + (95, 15, 'parent_id', '父产品id', 'bigint', 'Long', 'parentId', '0', '0', '1', '1', '1', '0', '0', 'EQ', 'input', '', 2, 1, '2023-11-22 22:44:33', 0, '2023-11-23 10:57:43'), + (96, 15, 'product_name', '产品名称', 'varchar(30)', 'String', 'productName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 3, 1, '2023-11-22 22:44:33', 0, '2023-11-23 10:57:43'), + (97, 15, 'order_num', '显示顺序', 'int', 'Long', 'orderNum', '0', '0', '1', '1', '1', '1', '0', 'EQ', 'input', '', 4, 1, '2023-11-22 22:44:33', 0, '2023-11-23 10:57:43'), + (98, 15, 'status', '产品状态(0正常 1停用)', 'char(1)', 'String', 'status', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'radio', 'sys_student_status', 5, 1, '2023-11-22 22:44:33', 0, '2023-11-23 10:57:43'), + (99, 15, 'create_by', '创建者', 'bigint', 'Long', 'createBy', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 6, 1, '2023-11-22 22:44:33', 0, '2023-11-23 10:57:43'), + (100, 15, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 7, 1, '2023-11-22 22:44:33', 0, '2023-11-23 10:57:43'), + (101, 15, 'update_by', '更新者', 'bigint', 'Long', 'updateBy', '0', '0', '0', '0', '0', NULL, NULL, 'EQ', 'input', '', 8, 1, '2023-11-22 22:44:33', 0, '2023-11-23 10:57:43'), + (102, 15, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '0', '0', NULL, NULL, 'EQ', 'datetime', '', 9, 1, '2023-11-22 22:44:33', 0, '2023-11-23 10:57:43'), + (103, 16, 'customer_id', '客户id', 'bigint', 'Long', 'customerId', '1', '0', NULL, NULL, '1', NULL, NULL, 'EQ', 'input', '', 1, 1, '2023-12-04 22:19:16', 0, '2023-12-05 09:41:57'), + (104, 16, 'customer_name', '客户姓名', 'varchar(30)', 'String', 'customerName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 2, 1, '2023-12-04 22:19:16', 0, '2023-12-05 09:41:57'), + (105, 16, 'phonenumber', '手机号码', 'varchar(11)', 'String', 'phonenumber', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 3, 1, '2023-12-04 22:19:16', 0, '2023-12-05 09:41:57'), + (106, 16, 'gender', '客户性别', 'varchar(20)', 'String', 'gender', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'select', 'sys_user_gender', 4, 1, '2023-12-04 22:19:16', 0, '2023-12-05 09:41:57'), + (107, 16, 'birthday', '客户生日', 'datetime', 'Date', 'birthday', '0', '0', NULL, '1', '1', '1', '0', 'EQ', 'datetime', '', 5, 1, '2023-12-04 22:19:16', 0, '2023-12-05 09:41:57'), + (108, 16, 'remark', '客户描述', 'varchar(500)', 'String', 'remark', '0', '0', NULL, '1', '1', '0', NULL, 'EQ', 'textarea', '', 6, 1, '2023-12-04 22:19:16', 0, '2023-12-05 09:41:57'), + (109, 16, 'create_by', '创建者', 'bigint', 'Long', 'createBy', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 7, 1, '2023-12-04 22:19:16', 0, '2023-12-05 09:41:57'), + (110, 16, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 8, 1, '2023-12-04 22:19:16', 0, '2023-12-05 09:41:57'), + (111, 16, 'update_by', '更新者', 'bigint', 'Long', 'updateBy', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 9, 1, '2023-12-04 22:19:16', 0, '2023-12-05 09:41:57'), + (112, 16, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 10, 1, '2023-12-04 22:19:16', 0, '2023-12-05 09:41:57'), + (113, 17, 'goods_id', '商品id', 'bigint', 'Long', 'goodsId', '1', '0', NULL, NULL, '1', NULL, NULL, 'EQ', 'input', '', 1, 1, '2023-12-04 22:22:22', 0, '2023-12-05 10:50:30'), + (114, 17, 'customer_id', '客户id', 'bigint', 'Long', 'customerId', '0', '0', '1', '1', '1', '1', '0', 'EQ', 'input', '', 2, 1, '2023-12-04 22:22:22', 0, '2023-12-05 10:50:30'), + (115, 17, 'name', '商品名称', 'varchar(30)', 'String', 'name', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 3, 1, '2023-12-04 22:22:22', 0, '2023-12-05 10:50:30'), + (116, 17, 'weight', '商品重量', 'int', 'Long', 'weight', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 4, 1, '2023-12-04 22:22:22', 0, '2023-12-05 10:50:30'), + (117, 17, 'price', '商品价格', 'decimal(6,2)', 'BigDecimal', 'price', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 5, 1, '2023-12-04 22:22:22', 0, '2023-12-05 10:50:30'), + (118, 17, 'date', '商品时间', 'datetime', 'Date', 'date', '0', '0', NULL, '1', '1', '1', '0', 'EQ', 'datetime', '', 6, 1, '2023-12-04 22:22:22', 0, '2023-12-05 10:50:30'), + (119, 17, 'type', '商品种类', 'char(1)', 'String', 'type', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'select', 'sys_goods_type', 7, 1, '2023-12-04 22:22:22', 0, '2023-12-05 10:50:30'), + (120, 17, 'create_by', '创建者', 'bigint', 'Long', 'createBy', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 8, 1, '2023-12-04 22:22:22', 0, '2023-12-05 10:50:30'), + (121, 17, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 9, 1, '2023-12-04 22:22:22', 0, '2023-12-05 10:50:30'), + (122, 17, 'update_by', '更新者', 'bigint', 'Long', 'updateBy', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 10, 1, '2023-12-04 22:22:22', 0, '2023-12-05 10:50:30'), + (123, 17, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 11, 1, '2023-12-04 22:22:22', 0, '2023-12-05 10:50:30'); + +-- 导出 表 ruoyi-flex.mf_customer 结构 +CREATE TABLE IF NOT EXISTS `mf_customer` ( + `customer_id` bigint NOT NULL COMMENT '客户id', + `customer_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '客户姓名', + `phonenumber` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '手机号码', + `gender` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '客户性别', + `birthday` datetime DEFAULT NULL COMMENT '客户生日', + `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '客户描述', + `create_by` bigint NOT NULL DEFAULT '0' COMMENT '创建者', + `create_time` datetime DEFAULT NULL COMMENT '创建时间', + `update_by` bigint NOT NULL DEFAULT '0' COMMENT '更新者', + `update_time` datetime DEFAULT NULL COMMENT '更新时间', + PRIMARY KEY (`customer_id`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='客户主表'; + +-- 正在导出表 ruoyi-flex.mf_customer 的数据:~1 rows (大约) +INSERT INTO `mf_customer` (`customer_id`, `customer_name`, `phonenumber`, `gender`, `birthday`, `remark`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES + (89658722841817088, '杨六郎', '1356667890', '2', '2021-02-10 00:00:00', '杨家将军', 1, '2023-12-05 22:52:45', 1, '2023-12-05 22:59:50'), + (90186460908589056, '红星公司王总', '16666666666', '0', '2023-12-06 00:00:00', '红星总裁', 1, '2023-12-07 09:49:48', 1, '2023-12-07 09:49:48'); + +-- 导出 表 ruoyi-flex.mf_goods 结构 +CREATE TABLE IF NOT EXISTS `mf_goods` ( + `goods_id` bigint NOT NULL COMMENT '商品id', + `customer_id` bigint NOT NULL COMMENT '客户id', + `name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '商品名称', + `weight` int DEFAULT NULL COMMENT '商品重量', + `price` decimal(6,2) DEFAULT NULL COMMENT '商品价格', + `date` datetime DEFAULT NULL COMMENT '商品时间', + `type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '商品种类', + `create_by` bigint NOT NULL DEFAULT '0' COMMENT '创建者', + `create_time` datetime DEFAULT NULL COMMENT '创建时间', + `update_by` bigint NOT NULL DEFAULT '0' COMMENT '更新者', + `update_time` datetime DEFAULT NULL COMMENT '更新时间', + PRIMARY KEY (`goods_id`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='商品子表'; + +-- 正在导出表 ruoyi-flex.mf_goods 的数据:~3 rows (大约) +INSERT INTO `mf_goods` (`goods_id`, `customer_id`, `name`, `weight`, `price`, `date`, `type`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES + (89659653381713920, 89658722841817088, 'mate70', 500, 8900.99, '2023-12-01 00:00:00', '1', 1, '2023-12-05 22:56:27', 1, '2023-12-05 22:56:27'), + (89659653381713921, 89658722841817088, 'matebook', 1000, 6500.00, '2023-12-20 00:00:00', '4', 1, '2023-12-05 22:56:27', 1, '2023-12-05 22:56:27'), + (89660505517486080, 89658722841817088, '帽子', 260, 150.50, '2023-11-28 00:00:00', '3', 1, '2023-12-05 22:59:50', 1, '2023-12-05 22:59:50'), + (90186460988280832, 90186460908589056, '笔记本电脑', 200, 9000.00, '2023-12-05 00:00:00', '1', 1, '2023-12-07 09:49:48', 1, '2023-12-07 09:49:48'); + +-- 导出 表 ruoyi-flex.mf_product 结构 +CREATE TABLE IF NOT EXISTS `mf_product` ( + `product_id` bigint NOT NULL COMMENT '产品id', + `parent_id` bigint DEFAULT '0' COMMENT '父产品id', + `product_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '产品名称', + `order_num` int DEFAULT '0' COMMENT '显示顺序', + `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '0' COMMENT '产品状态(0正常 1停用)', + `create_by` bigint NOT NULL DEFAULT '0' COMMENT '创建者', + `create_time` datetime DEFAULT NULL COMMENT '创建时间', + `update_by` bigint NOT NULL DEFAULT '0' COMMENT '更新者', + `update_time` datetime DEFAULT NULL COMMENT '更新时间', + PRIMARY KEY (`product_id`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='产品树表'; + +-- 正在导出表 ruoyi-flex.mf_product 的数据:~8 rows (大约) +INSERT INTO `mf_product` (`product_id`, `parent_id`, `product_name`, `order_num`, `status`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES + (85129367654518784, 0, '电子产品', 1, '0', 1, '2023-11-23 10:54:43', 1, '2023-11-23 10:54:43'), + (85129420259479552, 85129367654518784, '电视机', 1, '0', 1, '2023-11-23 10:54:55', 1, '2023-11-23 10:54:55'), + (85129484625268736, 85129420259479552, '液晶电视', 2, '0', 1, '2023-11-23 10:55:11', 1, '2023-11-23 10:55:11'), + (85129528472522752, 85129420259479552, 'CRT电视', 3, '0', 1, '2023-11-23 10:55:21', 1, '2023-11-23 10:55:21'), + (85129594927075328, 85129367654518784, '计算机', 2, '0', 1, '2023-11-23 10:55:37', 1, '2023-11-23 10:55:37'), + (85129658609192960, 85129594927075328, '手机', 3, '1', 1, '2023-11-23 10:55:52', 1, '2023-11-23 10:56:19'), + (85129753568235520, 85129594927075328, '笔记本', 5, '0', 1, '2023-11-23 10:56:15', 1, '2023-11-23 10:56:15'); + +-- 导出 表 ruoyi-flex.mf_student 结构 +CREATE TABLE IF NOT EXISTS `mf_student` ( + `student_id` bigint NOT NULL COMMENT '编号', + `student_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '学生名称', + `student_age` int DEFAULT NULL COMMENT '年龄', + `student_hobby` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '爱好(0代码 1音乐 2电影)', + `student_gender` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '1' COMMENT '性别(1男 2女 3未知)', + `student_status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '0' COMMENT '状态(0正常 1停用)', + `student_birthday` datetime DEFAULT NULL COMMENT '生日', + `create_by` bigint NOT NULL DEFAULT '0' COMMENT '创建者', + `create_time` datetime DEFAULT NULL COMMENT '创建时间', + `update_by` bigint NOT NULL DEFAULT '0' COMMENT '更新者', + `update_time` datetime DEFAULT NULL COMMENT '更新时间', + PRIMARY KEY (`student_id`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='学生信息单表'; + +-- 正在导出表 ruoyi-flex.mf_student 的数据:~2 rows (大约) +INSERT INTO `mf_student` (`student_id`, `student_name`, `student_age`, `student_hobby`, `student_gender`, `student_status`, `student_birthday`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES + (84904305550712832, '复制东', 18, '2', '1', '0', '2020-11-08 00:00:00', 1, '2023-11-22 20:00:24', 1, '2023-11-22 20:00:24'), + (84938319879843840, '王芳', 28, '1', '1', '0', '2021-02-09 00:00:00', 1, '2023-11-22 22:15:34', 1, '2023-11-22 22:15:34'); + +-- 导出 表 ruoyi-flex.pj_app_info 结构 +CREATE TABLE IF NOT EXISTS `pj_app_info` ( + `id` bigint NOT NULL AUTO_INCREMENT, + `app_name` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `current_server` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `gmt_create` datetime(6) DEFAULT NULL, + `gmt_modified` datetime(6) DEFAULT NULL, + `password` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE, + UNIQUE KEY `uidx01_app_info` (`app_name`) USING BTREE +) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC; + +-- 正在导出表 ruoyi-flex.pj_app_info 的数据:~2 rows (大约) +INSERT INTO `pj_app_info` (`id`, `app_name`, `current_server`, `gmt_create`, `gmt_modified`, `password`) VALUES + (1, 'ruoyi-worker', '192.168.8.32:10010', '2023-06-13 16:32:59.263000', '2023-09-01 09:15:38.535000', '123456'); + +-- 导出 表 ruoyi-flex.pj_container_info 结构 +CREATE TABLE IF NOT EXISTS `pj_container_info` ( + `id` bigint NOT NULL AUTO_INCREMENT, + `app_id` bigint DEFAULT NULL, + `container_name` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `gmt_create` datetime(6) DEFAULT NULL, + `gmt_modified` datetime(6) DEFAULT NULL, + `last_deploy_time` datetime(6) DEFAULT NULL, + `source_info` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `source_type` int DEFAULT NULL, + `status` int DEFAULT NULL, + `version` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE, + KEY `idx01_container_info` (`app_id`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC; + +-- 正在导出表 ruoyi-flex.pj_container_info 的数据:~0 rows (大约) + +-- 导出 表 ruoyi-flex.pj_instance_info 结构 +CREATE TABLE IF NOT EXISTS `pj_instance_info` ( + `id` bigint NOT NULL AUTO_INCREMENT, + `actual_trigger_time` bigint DEFAULT NULL, + `app_id` bigint DEFAULT NULL, + `expected_trigger_time` bigint DEFAULT NULL, + `finished_time` bigint DEFAULT NULL, + `gmt_create` datetime(6) DEFAULT NULL, + `gmt_modified` datetime(6) DEFAULT NULL, + `instance_id` bigint DEFAULT NULL, + `instance_params` longtext COLLATE utf8mb4_bin, + `job_id` bigint DEFAULT NULL, + `job_params` longtext COLLATE utf8mb4_bin, + `last_report_time` bigint DEFAULT NULL, + `result` longtext COLLATE utf8mb4_bin, + `running_times` bigint DEFAULT NULL, + `status` int DEFAULT NULL, + `task_tracker_address` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `type` int DEFAULT NULL, + `wf_instance_id` bigint DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE, + KEY `idx01_instance_info` (`job_id`,`status`) USING BTREE, + KEY `idx02_instance_info` (`app_id`,`status`) USING BTREE, + KEY `idx03_instance_info` (`instance_id`,`status`) USING BTREE +) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC; + +-- 正在导出表 ruoyi-flex.pj_instance_info 的数据:~0 rows (大约) + +-- 导出 表 ruoyi-flex.pj_job_info 结构 +CREATE TABLE IF NOT EXISTS `pj_job_info` ( + `id` bigint NOT NULL AUTO_INCREMENT, + `alarm_config` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `app_id` bigint DEFAULT NULL, + `concurrency` int DEFAULT NULL, + `designated_workers` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `dispatch_strategy` int DEFAULT NULL, + `execute_type` int DEFAULT NULL, + `extra` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `gmt_create` datetime(6) DEFAULT NULL, + `gmt_modified` datetime(6) DEFAULT NULL, + `instance_retry_num` int DEFAULT NULL, + `instance_time_limit` bigint DEFAULT NULL, + `job_description` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `job_name` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `job_params` longtext COLLATE utf8mb4_bin, + `lifecycle` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `log_config` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `max_instance_num` int DEFAULT NULL, + `max_worker_count` int DEFAULT NULL, + `min_cpu_cores` double NOT NULL, + `min_disk_space` double NOT NULL, + `min_memory_space` double NOT NULL, + `next_trigger_time` bigint DEFAULT NULL, + `notify_user_ids` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `processor_info` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `processor_type` int DEFAULT NULL, + `status` int DEFAULT NULL, + `tag` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `task_retry_num` int DEFAULT NULL, + `time_expression` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `time_expression_type` int DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE, + KEY `idx01_job_info` (`app_id`,`status`,`time_expression_type`,`next_trigger_time`) USING BTREE +) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC; + +-- 正在导出表 ruoyi-flex.pj_job_info 的数据:~4 rows (大约) +INSERT INTO `pj_job_info` (`id`, `alarm_config`, `app_id`, `concurrency`, `designated_workers`, `dispatch_strategy`, `execute_type`, `extra`, `gmt_create`, `gmt_modified`, `instance_retry_num`, `instance_time_limit`, `job_description`, `job_name`, `job_params`, `lifecycle`, `log_config`, `max_instance_num`, `max_worker_count`, `min_cpu_cores`, `min_disk_space`, `min_memory_space`, `next_trigger_time`, `notify_user_ids`, `processor_info`, `processor_type`, `status`, `tag`, `task_retry_num`, `time_expression`, `time_expression_type`) VALUES + (1, '{"alertThreshold":0,"silenceWindowLen":0,"statisticWindowLen":0}', 1, 5, '', 2, 1, NULL, '2023-06-02 15:01:27.717000', '2023-07-04 17:22:12.374000', 1, 0, '', '单机处理器执行测试', NULL, '{}', '{"type":1}', 0, 0, 0, 0, 0, NULL, NULL, 'org.dromara.job.processors.StandaloneProcessorDemo', 1, 2, NULL, 1, '30000', 3), + (2, '{"alertThreshold":0,"silenceWindowLen":0,"statisticWindowLen":0}', 1, 5, '', 1, 2, NULL, '2023-06-02 15:04:45.342000', '2023-07-04 17:22:12.816000', 0, 0, NULL, '广播处理器测试', NULL, '{}', '{"type":1}', 0, 0, 0, 0, 0, NULL, NULL, 'org.dromara.job.processors.BroadcastProcessorDemo', 1, 2, NULL, 1, '30000', 3), + (3, '{"alertThreshold":0,"silenceWindowLen":0,"statisticWindowLen":0}', 1, 5, '', 1, 4, NULL, '2023-06-02 15:13:23.519000', '2023-06-02 16:03:22.421000', 0, 0, NULL, 'Map处理器测试', NULL, '{}', '{"type":1}', 0, 0, 0, 0, 0, NULL, NULL, 'org.dromara.job.processors.MapProcessorDemo', 1, 2, NULL, 1, '1000', 3), + (4, '{"alertThreshold":0,"silenceWindowLen":0,"statisticWindowLen":0}', 1, 5, '', 1, 3, NULL, '2023-06-02 15:45:25.896000', '2023-06-02 16:03:23.125000', 0, 0, NULL, 'MapReduce处理器测试', NULL, '{}', '{"type":1}', 0, 0, 0, 0, 0, NULL, NULL, 'org.dromara.job.processors.MapReduceProcessorDemo', 1, 2, NULL, 1, '1000', 3); + +-- 导出 表 ruoyi-flex.pj_oms_lock 结构 +CREATE TABLE IF NOT EXISTS `pj_oms_lock` ( + `id` bigint NOT NULL AUTO_INCREMENT, + `gmt_create` datetime(6) DEFAULT NULL, + `gmt_modified` datetime(6) DEFAULT NULL, + `lock_name` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `max_lock_time` bigint DEFAULT NULL, + `ownerip` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE, + UNIQUE KEY `uidx01_oms_lock` (`lock_name`) USING BTREE +) ENGINE=InnoDB AUTO_INCREMENT=68 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC; + +-- 正在导出表 ruoyi-flex.pj_oms_lock 的数据:~0 rows (大约) + +-- 导出 表 ruoyi-flex.pj_server_info 结构 +CREATE TABLE IF NOT EXISTS `pj_server_info` ( + `id` bigint NOT NULL AUTO_INCREMENT, + `gmt_create` datetime(6) DEFAULT NULL, + `gmt_modified` datetime(6) DEFAULT NULL, + `ip` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE, + UNIQUE KEY `uidx01_server_info` (`ip`) USING BTREE, + KEY `idx01_server_info` (`gmt_modified`) USING BTREE +) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC; + +-- 正在导出表 ruoyi-flex.pj_server_info 的数据:~1 rows (大约) +INSERT INTO `pj_server_info` (`id`, `gmt_create`, `gmt_modified`, `ip`) VALUES + (2, '2023-08-25 21:36:44.658000', '2023-12-08 20:48:49.381000', '192.168.8.32'); + +-- 导出 表 ruoyi-flex.pj_user_info 结构 +CREATE TABLE IF NOT EXISTS `pj_user_info` ( + `id` bigint NOT NULL AUTO_INCREMENT, + `email` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `extra` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `gmt_create` datetime(6) DEFAULT NULL, + `gmt_modified` datetime(6) DEFAULT NULL, + `password` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `phone` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `username` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `web_hook` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE, + KEY `uidx01_user_info` (`username`) USING BTREE, + KEY `uidx02_user_info` (`email`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC; + +-- 正在导出表 ruoyi-flex.pj_user_info 的数据:~0 rows (大约) + +-- 导出 表 ruoyi-flex.pj_workflow_info 结构 +CREATE TABLE IF NOT EXISTS `pj_workflow_info` ( + `id` bigint NOT NULL AUTO_INCREMENT, + `app_id` bigint DEFAULT NULL, + `extra` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `gmt_create` datetime(6) DEFAULT NULL, + `gmt_modified` datetime(6) DEFAULT NULL, + `lifecycle` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `max_wf_instance_num` int DEFAULT NULL, + `next_trigger_time` bigint DEFAULT NULL, + `notify_user_ids` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `pedag` longtext COLLATE utf8mb4_bin, + `status` int DEFAULT NULL, + `time_expression` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `time_expression_type` int DEFAULT NULL, + `wf_description` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `wf_name` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE, + KEY `idx01_workflow_info` (`app_id`,`status`,`time_expression_type`,`next_trigger_time`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC; + +-- 正在导出表 ruoyi-flex.pj_workflow_info 的数据:~0 rows (大约) + +-- 导出 表 ruoyi-flex.pj_workflow_instance_info 结构 +CREATE TABLE IF NOT EXISTS `pj_workflow_instance_info` ( + `id` bigint NOT NULL AUTO_INCREMENT, + `actual_trigger_time` bigint DEFAULT NULL, + `app_id` bigint DEFAULT NULL, + `dag` longtext COLLATE utf8mb4_bin, + `expected_trigger_time` bigint DEFAULT NULL, + `finished_time` bigint DEFAULT NULL, + `gmt_create` datetime(6) DEFAULT NULL, + `gmt_modified` datetime(6) DEFAULT NULL, + `parent_wf_instance_id` bigint DEFAULT NULL, + `result` longtext COLLATE utf8mb4_bin, + `status` int DEFAULT NULL, + `wf_context` longtext COLLATE utf8mb4_bin, + `wf_init_params` longtext COLLATE utf8mb4_bin, + `wf_instance_id` bigint DEFAULT NULL, + `workflow_id` bigint DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE, + UNIQUE KEY `uidx01_wf_instance` (`wf_instance_id`) USING BTREE, + KEY `idx01_wf_instance` (`workflow_id`,`status`,`app_id`,`expected_trigger_time`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC; + +-- 正在导出表 ruoyi-flex.pj_workflow_instance_info 的数据:~0 rows (大约) + +-- 导出 表 ruoyi-flex.pj_workflow_node_info 结构 +CREATE TABLE IF NOT EXISTS `pj_workflow_node_info` ( + `id` bigint NOT NULL AUTO_INCREMENT, + `app_id` bigint NOT NULL, + `enable` bit(1) NOT NULL, + `extra` longtext COLLATE utf8mb4_bin, + `gmt_create` datetime(6) DEFAULT NULL, + `gmt_modified` datetime(6) DEFAULT NULL, + `job_id` bigint DEFAULT NULL, + `node_name` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL, + `node_params` longtext COLLATE utf8mb4_bin, + `skip_when_failed` bit(1) NOT NULL, + `type` int DEFAULT NULL, + `workflow_id` bigint DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE, + KEY `idx01_workflow_node_info` (`workflow_id`,`gmt_create`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC; + +-- 正在导出表 ruoyi-flex.pj_workflow_node_info 的数据:~0 rows (大约) + +-- 导出 表 ruoyi-flex.sys_client 结构 +CREATE TABLE IF NOT EXISTS `sys_client` ( + `id` bigint NOT NULL COMMENT 'id', + `client_id` varchar(64) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '客户端id', + `client_key` varchar(32) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '客户端key', + `client_secret` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '客户端秘钥', + `grant_type` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '授权类型', + `device_type` varchar(32) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '设备类型', + `active_timeout` int DEFAULT '1800' COMMENT 'token活跃超时时间', + `timeout` int DEFAULT '604800' COMMENT 'token固定超时', + `status` char(1) COLLATE utf8mb4_bin DEFAULT '0' COMMENT '状态(0正常 1停用)', + `del_flag` char(1) COLLATE utf8mb4_bin DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)', + `create_dept` bigint DEFAULT NULL COMMENT '创建部门', + `create_by` bigint DEFAULT NULL COMMENT '创建者', + `create_time` datetime DEFAULT NULL COMMENT '创建时间', + `update_by` bigint DEFAULT NULL COMMENT '更新者', + `update_time` datetime DEFAULT NULL COMMENT '更新时间', + `remark` varchar(250) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '备注', + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='系统授权表'; + +-- 正在导出表 ruoyi-flex.sys_client 的数据:~2 rows (大约) +INSERT INTO `sys_client` (`id`, `client_id`, `client_key`, `client_secret`, `grant_type`, `device_type`, `active_timeout`, `timeout`, `status`, `del_flag`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES + (1, 'e5cd7e4891bf95d1d19206ce24a7b32e', 'pc', 'pc123', 'password,social', 'pc', 1800, 604800, '0', '0', 103, 1, '2023-08-10 17:01:52', 1, '2023-08-10 17:01:52', NULL), + (2, '428a8310cd442757ae699df5d894f051', 'app', 'app123', 'password,sms,social', 'android', 1800, 604800, '0', '0', 103, 1, '2023-08-10 17:01:52', 1, '2023-08-10 17:01:52', NULL); + +-- 导出 表 ruoyi-flex.sys_config 结构 +CREATE TABLE IF NOT EXISTS `sys_config` ( + `config_id` bigint NOT NULL COMMENT '参数主键', + `config_name` varchar(100) COLLATE utf8mb4_bin DEFAULT '' COMMENT '参数名称', + `config_key` varchar(100) COLLATE utf8mb4_bin DEFAULT '' COMMENT '参数键名', + `config_value` varchar(500) COLLATE utf8mb4_bin DEFAULT '' COMMENT '参数键值', + `config_type` char(1) COLLATE utf8mb4_bin DEFAULT 'N' COMMENT '系统内置(Y是 N否)', + `create_by` bigint NOT NULL DEFAULT '0' COMMENT '创建者', + `create_time` datetime DEFAULT NULL COMMENT '创建时间', + `update_by` bigint NOT NULL DEFAULT '0' COMMENT '更新者', + `update_time` datetime DEFAULT NULL COMMENT '更新时间', + `remark` varchar(500) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '备注', + PRIMARY KEY (`config_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='参数配置表'; + +-- 正在导出表 ruoyi-flex.sys_config 的数据:~13 rows (大约) +INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES + (1, '主框架页-默认皮肤样式', 'sys.index.skinName', 'skin-blue', 'Y', 1, '2023-06-03 21:32:30', 1, '2023-09-12 17:56:29', '蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow'), + (2, '用户管理-账号初始密码', 'sys.user.initPassword', '12345678', 'Y', 1, '2023-06-03 21:32:30', 1, '2023-10-16 16:42:05', '初始化密码 12345678'), + (3, '主框架页-侧边栏主题', 'sys.index.sideTheme', 'theme-dark', 'Y', 1, '2023-06-03 21:32:30', 1, NULL, '深色主题theme-dark,浅色主题theme-light'), + (4, '账号自助-验证码开关', 'sys.account.captchaEnabled', 'true', 'Y', 1, '2023-06-03 21:32:30', 1, '2023-09-13 16:49:39', '是否开启验证码功能(true开启,false关闭)'), + (5, '账号自助-是否开启用户注册功能', 'sys.account.registerUser', 'false', 'N', 1, '2023-06-03 21:32:30', 1, '2023-09-13 17:16:25', '是否开启注册用户功能(true开启,false关闭)'), + (6, '用户登录-黑名单列表', 'sys.login.blackIPList', '', 'Y', 1, '2023-06-03 21:32:30', 1, NULL, '设置登录IP黑名单限制,多个匹配项以;分隔,支持匹配(*通配、网段)'), + (7, '测试参数名称3', 'test-key2', 'test-value2', 'Y', 1, '2023-09-14 11:15:50', 1, '2023-09-14 21:31:00', '测试2'), + (8, '测试参数名称1', 'test-key1', 'test-value1', 'N', 1, '2023-09-14 20:51:25', 1, '2023-09-14 21:32:13', '测试1'), + (9, '测试参数3', 'test-key3', 'test-value3', 'Y', 1, '2023-09-14 21:39:44', 1, '2023-09-14 21:39:44', 'test3'), + (10, '测试参数名称4', 'test-key4', 'test-value4', 'Y', 1, '2023-09-14 21:42:58', 1, '2023-09-14 21:42:58', 'test4'), + (11, '测试参数名称5', 'test-key5', 'test-value5', 'Y', 1, '2023-09-14 21:59:22', 1, '2023-09-14 21:59:22', 'test5'), + (20, 'OSS预览列表资源开关', 'sys.oss.previewListResource', 'true', 'Y', 1, '2023-09-30 21:55:15', 1, '2023-12-10 19:49:53', 'true:开启, false:关闭'), + (65726650083479552, '系统名称', 'appName', 'Ruoyi-Flex多租户快速开发平台', 'Y', 1, '2023-09-30 21:55:15', 1, '2023-09-30 21:55:15', ''); + +-- 导出 表 ruoyi-flex.sys_dept 结构 +CREATE TABLE IF NOT EXISTS `sys_dept` ( + `dept_id` bigint NOT NULL COMMENT '部门id', + `parent_id` bigint DEFAULT '0' COMMENT '父部门id', + `ancestors` varchar(760) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '祖级列表', + `dept_name` varchar(30) COLLATE utf8mb4_bin DEFAULT '' COMMENT '部门名称', + `order_num` int DEFAULT '0' COMMENT '显示顺序', + `leader` varchar(20) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '负责人', + `phone` varchar(11) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '联系电话', + `email` varchar(50) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '邮箱', + `status` char(1) COLLATE utf8mb4_bin DEFAULT '0' COMMENT '部门状态(0正常 1停用)', + `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '0' COMMENT '删除标志(0代表存在 1代表删除)', + `create_by` bigint NOT NULL DEFAULT '0' COMMENT '创建者', + `create_time` datetime DEFAULT NULL COMMENT '创建时间', + `update_by` bigint NOT NULL DEFAULT '0' COMMENT '更新者', + `update_time` datetime DEFAULT NULL COMMENT '更新时间', + PRIMARY KEY (`dept_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='部门表'; + +-- 正在导出表 ruoyi-flex.sys_dept 的数据:~19 rows (大约) +INSERT INTO `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES + (100, 0, '0', '若依科技', 0, '若依', '15888888888', 'ry@qq.com', '0', '0', 1, '2023-06-03 21:32:28', 1, '2023-09-25 20:21:11'), + (101, 100, '0,100', '深圳分公司', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 1, '2023-06-03 21:32:28', 1, '2023-09-02 16:19:08'), + (102, 100, '0,100', '长沙分公司', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 1, '2023-06-03 21:32:28', 1, NULL), + (103, 201, '0,100,201', '研发部门', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 1, '2023-06-03 21:32:28', 1, '2023-09-25 20:12:00'), + (104, 101, '0,100,101', '市场部门', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 1, '2023-06-03 21:32:28', 1, NULL), + (105, 101, '0,100,101', '测试部门', 3, '若依', '15888888888', 'ry@qq.com', '0', '0', 1, '2023-06-03 21:32:28', 1, NULL), + (106, 101, '0,100,101', '财务部门', 4, '若依', '15888888888', 'ry@qq.com', '0', '0', 1, '2023-06-03 21:32:28', 1, NULL), + (107, 101, '0,100,101', '运维部门', 5, '若依', '15888888888', 'ry@qq.com', '0', '0', 1, '2023-06-03 21:32:28', 1, NULL), + (108, 201, '0,100,201', '市场部门', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 1, '2023-06-03 21:32:28', 1, '2023-09-25 20:21:11'), + (109, 102, '0,100,102', '财务部门', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 1, '2023-06-03 21:32:28', 1, NULL), + (200, 102, '0,100,102', '行政部', 4, NULL, NULL, NULL, '0', '0', 1, '2023-07-13 15:41:50', 1, NULL), + (201, 100, '0,100', '武汉分公司', 3, NULL, NULL, NULL, '0', '0', 1, '2023-09-02 16:19:34', 1, '2023-09-25 20:21:11'), + (202, 108, '0,100,201,108', '市场一部', 1, NULL, NULL, NULL, '0', '0', 1, '2023-09-24 20:44:43', 1, '2023-09-25 20:21:11'), + (203, 108, '0,100,201,108', '市场二部', 2, NULL, NULL, NULL, '0', '0', 1, '2023-09-24 20:57:17', 1, '2023-09-25 20:21:11'), + (204, 201, '0,100,201', '技术', 0, NULL, NULL, NULL, '0', '1', 1, '2023-09-25 20:22:02', 1, '2023-09-25 20:28:26'), + (205, 204, '0,100,201,204', '技术一部', 1, NULL, NULL, NULL, '0', '1', 1, '2023-09-25 20:23:07', 1, '2023-09-25 20:27:13'), + (65929080159150080, 100, '0,100', '山东分公司', 0, NULL, NULL, NULL, '0', '0', 1, '2023-10-01 11:19:38', 1, '2023-10-01 11:19:38'), + (65929267321577472, 65929080159150080, '0,100,65929080159150080', '研发部', 0, NULL, NULL, NULL, '0', '0', 1, '2023-10-01 11:20:22', 1, '2023-10-01 11:20:22'), + (65929460884512768, 65929080159150080, '0,100,65929080159150080', '售后部', 1, NULL, NULL, NULL, '0', '0', 1, '2023-10-01 11:21:08', 1, '2023-10-01 11:21:08'); + +-- 导出 表 ruoyi-flex.sys_dict_data 结构 +CREATE TABLE IF NOT EXISTS `sys_dict_data` ( + `dict_code` bigint NOT NULL COMMENT '字典编码', + `dict_sort` int DEFAULT '0' COMMENT '字典排序', + `dict_label` varchar(100) COLLATE utf8mb4_bin DEFAULT '' COMMENT '字典标签', + `dict_value` varchar(100) COLLATE utf8mb4_bin DEFAULT '' COMMENT '字典键值', + `dict_type` varchar(100) COLLATE utf8mb4_bin DEFAULT '' COMMENT '字典类型', + `css_class` varchar(100) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '样式属性(其他样式扩展)', + `list_class` varchar(100) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '表格回显样式', + `is_default` char(1) COLLATE utf8mb4_bin DEFAULT 'N' COMMENT '是否默认(Y是 N否)', + `create_by` bigint NOT NULL DEFAULT '0' COMMENT '创建者', + `create_time` datetime DEFAULT NULL COMMENT '创建时间', + `update_by` bigint NOT NULL DEFAULT '0' COMMENT '更新者', + `update_time` datetime DEFAULT NULL COMMENT '更新时间', + `remark` varchar(500) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '备注', + PRIMARY KEY (`dict_code`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='字典数据表'; + +-- 正在导出表 ruoyi-flex.sys_dict_data 的数据:~47 rows (大约) +INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES + (1, 1, '男', '0', 'sys_user_gender', '', '', 'Y', 1, '2023-06-03 21:32:30', 1, '2023-09-20 09:53:27', '性别男'), + (2, 2, '女', '1', 'sys_user_gender', '', '', 'N', 1, '2023-06-03 21:32:30', 1, '2023-09-20 09:53:27', '性别女'), + (3, 3, '未知', '2', 'sys_user_gender', '', '', 'N', 1, '2023-06-03 21:32:30', 1, '2023-09-20 09:53:27', '性别未知'), + (4, 1, '显示', '0', 'sys_show_hide', '', 'primary', 'Y', 1, '2023-06-03 21:32:30', 1, NULL, '显示菜单'), + (5, 2, '隐藏', '1', 'sys_show_hide', '', 'danger', 'N', 1, '2023-06-03 21:32:30', 1, NULL, '隐藏菜单'), + (6, 1, '正常', '0', 'sys_normal_disable', '', 'primary', 'Y', 1, '2023-06-03 21:32:30', 1, NULL, '正常状态'), + (7, 2, '停用', '1', 'sys_normal_disable', '', 'danger', 'N', 1, '2023-06-03 21:32:30', 1, NULL, '停用状态'), + (8, 1, '正常', '0', 'sys_job_status', '', 'primary', 'Y', 1, '2023-06-03 21:32:30', 1, NULL, '正常状态'), + (9, 2, '暂停', '1', 'sys_job_status', '', 'danger', 'N', 1, '2023-06-03 21:32:30', 1, NULL, '停用状态'), + (10, 1, '默认', 'DEFAULT', 'sys_job_group', '', '', 'Y', 1, '2023-06-03 21:32:30', 1, NULL, '默认分组'), + (11, 2, '系统', 'SYSTEM', 'sys_job_group', '', '', 'N', 1, '2023-06-03 21:32:30', 1, NULL, '系统分组'), + (12, 1, '是', 'Y', 'sys_yes_no', '', 'primary', 'Y', 1, '2023-06-03 21:32:30', 1, NULL, '系统默认是'), + (13, 2, '否', 'N', 'sys_yes_no', '', 'danger', 'N', 1, '2023-06-03 21:32:30', 1, NULL, '系统默认否'), + (14, 1, '通知', '1', 'sys_notice_type', '', 'warning', 'Y', 1, '2023-06-03 21:32:30', 1, NULL, '通知'), + (15, 2, '公告', '2', 'sys_notice_type', '', 'success', 'N', 1, '2023-06-03 21:32:30', 1, NULL, '公告'), + (16, 1, '正常', '0', 'sys_notice_status', '', 'primary', 'Y', 1, '2023-06-03 21:32:30', 1, NULL, '正常状态'), + (17, 2, '关闭', '1', 'sys_notice_status', '', 'danger', 'N', 1, '2023-06-03 21:32:30', 1, NULL, '关闭状态'), + (18, 99, '其他', '0', 'sys_oper_type', '', 'info', 'N', 1, '2023-06-03 21:32:30', 1, NULL, '其他操作'), + (19, 1, '新增', '1', 'sys_oper_type', '', 'info', 'N', 1, '2023-06-03 21:32:30', 1, NULL, '新增操作'), + (20, 2, '修改', '2', 'sys_oper_type', '', 'info', 'N', 1, '2023-06-03 21:32:30', 1, NULL, '修改操作'), + (21, 3, '删除', '3', 'sys_oper_type', '', 'danger', 'N', 1, '2023-06-03 21:32:30', 1, NULL, '删除操作'), + (22, 4, '授权', '4', 'sys_oper_type', '', 'primary', 'N', 1, '2023-06-03 21:32:30', 1, NULL, '授权操作'), + (23, 5, '导出', '5', 'sys_oper_type', '', 'warning', 'N', 1, '2023-06-03 21:32:30', 1, NULL, '导出操作'), + (24, 6, '导入', '6', 'sys_oper_type', '', 'warning', 'N', 1, '2023-06-03 21:32:30', 1, NULL, '导入操作'), + (25, 7, '强退', '7', 'sys_oper_type', '', 'danger', 'N', 1, '2023-06-03 21:32:30', 1, NULL, '强退操作'), + (26, 8, '生成代码', '8', 'sys_oper_type', '', 'warning', 'N', 1, '2023-06-03 21:32:30', 1, NULL, '生成操作'), + (27, 9, '清空数据', '9', 'sys_oper_type', '', 'danger', 'N', 1, '2023-06-03 21:32:30', 1, NULL, '清空操作'), + (28, 1, '成功', '0', 'sys_common_status', '', 'primary', 'N', 1, '2023-06-03 21:32:30', 1, NULL, '正常状态'), + (29, 2, '失败', '1', 'sys_common_status', '', 'danger', 'N', 1, '2023-06-03 21:32:30', 1, NULL, '停用状态'), + (30, 1, '密码认证', 'password', 'sys_grant_type', 'el-check-tag', 'default', 'N', 1, '2023-10-21 11:10:51', 1, '2023-10-21 11:10:51', '密码认证'), + (31, 2, '短信认证', 'sms', 'sys_grant_type', 'el-check-tag', 'default', 'N', 1, '2023-10-21 11:10:51', 1, '2023-10-21 11:10:51', '短信认证'), + (32, 3, '邮件认证', 'email', 'sys_grant_type', 'el-check-tag', 'default', 'N', 1, '2023-10-21 11:10:51', 1, '2023-10-21 11:10:51', '邮件认证'), + (33, 4, '小程序认证', 'xcx', 'sys_grant_type', 'el-check-tag', 'default', 'N', 1, '2023-10-21 11:10:51', 1, '2023-10-21 11:10:51', '小程序认证'), + (34, 5, '三方登录认证', 'social', 'sys_grant_type', 'el-check-tag', 'default', 'N', 1, '2023-10-21 11:10:51', 1, '2023-10-21 11:10:51', '三方登录认证'), + (35, 1, 'PC', 'pc', 'sys_device_type', '', 'default', 'N', 1, '2023-10-21 11:41:10', 1, '2023-10-21 11:41:10', 'PC'), + (36, 2, '安卓', 'android', 'sys_device_type', '', 'default', 'N', 1, '2023-10-21 11:41:10', 1, '2023-10-21 11:41:10', '安卓'), + (37, 3, 'iOS', 'ios', 'sys_device_type', '', 'default', 'N', 1, '2023-10-21 11:41:10', 1, '2023-10-21 11:41:10', 'iOS'), + (38, 4, '小程序', 'xcx', 'sys_device_type', '', 'default', 'N', 1, '2023-10-21 11:41:10', 1, '2023-10-21 11:41:10', '小程序'), + (100, 0, '正常', '0', 'sys_student_status', NULL, 'primary', 'N', 1, '2023-06-03 21:53:50', 1, '2023-06-03 21:55:24', NULL), + (101, 0, '停用', '1', 'sys_student_status', NULL, 'danger', 'N', 1, '2023-06-03 21:54:11', 1, '2023-06-03 21:55:31', NULL), + (102, 0, '代码', '0', 'sys_student_hobby', NULL, 'primary', 'N', 1, '2023-06-04 16:40:02', 1, NULL, NULL), + (103, 0, '音乐', '1', 'sys_student_hobby', NULL, 'success', 'N', 1, '2023-06-04 16:40:24', 1, NULL, NULL), + (104, 0, '电影', '2', 'sys_student_hobby', NULL, 'warning', 'N', 1, '2023-06-04 16:40:40', 1, '2023-06-04 16:40:49', NULL), + (105, 0, '计算机', '1', 'sys_goods_type', NULL, 'primary', 'N', 1, '2023-06-05 07:23:48', 1, NULL, NULL), + (106, 0, '打印设备', '2', 'sys_goods_type', NULL, 'success', 'N', 1, '2023-06-05 07:24:14', 1, NULL, NULL), + (107, 3, '衣服', '3', 'sys_goods_type', NULL, 'info', 'N', 1, '2023-06-05 07:24:35', 1, NULL, NULL), + (111, 4, '网络设备', '4', 'sys_goods_type', NULL, 'default', NULL, 1, '2023-09-19 17:31:46', 1, '2023-09-19 17:31:46', NULL), + (65923231885905920, 1, '桌面微机', 'PC', 'sys_app_type', NULL, 'default', 'N', 1, '2023-10-01 10:56:23', 1, '2023-10-01 10:56:23', NULL), + (65923379802230784, 2, '平板', 'pad', 'sys_app_type', NULL, 'default', 'N', 1, '2023-10-01 10:56:59', 1, '2023-10-01 10:56:59', NULL), + (65923470604718080, 3, '手机', 'phone', 'sys_app_type', NULL, 'default', 'N', 1, '2023-10-01 10:57:20', 1, '2023-10-01 10:57:20', NULL); + +-- 导出 表 ruoyi-flex.sys_dict_type 结构 +CREATE TABLE IF NOT EXISTS `sys_dict_type` ( + `dict_id` bigint NOT NULL COMMENT '字典主键', + `dict_name` varchar(100) COLLATE utf8mb4_bin DEFAULT '' COMMENT '字典名称', + `dict_type` varchar(100) COLLATE utf8mb4_bin DEFAULT '' COMMENT '字典类型', + `create_by` bigint NOT NULL DEFAULT '0' COMMENT '创建者', + `create_time` datetime DEFAULT NULL COMMENT '创建时间', + `update_by` bigint NOT NULL DEFAULT '0' COMMENT '更新者', + `update_time` datetime DEFAULT NULL COMMENT '更新时间', + `remark` varchar(500) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '备注', + PRIMARY KEY (`dict_id`), + UNIQUE KEY `dict_type` (`dict_type`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='字典类型表'; + +-- 正在导出表 ruoyi-flex.sys_dict_type 的数据:~13 rows (大约) +INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES + (1, '用户性别', 'sys_user_gender', 1, '2023-06-03 21:32:30', 1, '2023-09-20 09:53:27', '用户性别列表'), + (2, '菜单状态', 'sys_show_hide', 1, '2023-06-03 21:32:30', 1, NULL, '菜单状态列表'), + (3, '系统开关', 'sys_normal_disable', 1, '2023-06-03 21:32:30', 1, NULL, '系统开关列表'), + (4, '任务状态', 'sys_job_status', 1, '2023-06-03 21:32:30', 1, NULL, '任务状态列表'), + (5, '任务分组', 'sys_job_group', 1, '2023-06-03 21:32:30', 1, NULL, '任务分组列表'), + (6, '系统是否', 'sys_yes_no', 1, '2023-06-03 21:32:30', 1, NULL, '系统是否列表'), + (7, '通知类型', 'sys_notice_type', 1, '2023-06-03 21:32:30', 1, NULL, '通知类型列表'), + (8, '通知状态', 'sys_notice_status', 1, '2023-06-03 21:32:30', 1, NULL, '通知状态列表'), + (9, '操作类型', 'sys_oper_type', 1, '2023-06-03 21:32:30', 1, NULL, '操作类型列表'), + (10, '系统状态', 'sys_common_status', 1, '2023-06-03 21:32:30', 1, NULL, '登录状态列表'), + (11, '授权类型', 'sys_grant_type', 1, '2023-10-21 11:06:33', 1, '2023-10-21 11:06:33', '认证授权类型'), + (12, '设备类型', 'sys_device_type', 1, '2023-10-21 11:38:41', 1, '2023-10-21 11:38:41', '客户端设备类型'), + (100, '学生状态', 'sys_student_status', 1, '2023-06-03 21:52:47', 1, '2023-06-03 21:53:09', NULL), + (101, '爱好', 'sys_student_hobby', 1, '2023-06-04 16:39:16', 1, NULL, NULL), + (102, '商品种类', 'sys_goods_type', 1, '2023-06-05 07:23:20', 1, NULL, NULL), + (65922863223361536, '系统类型', 'sys_app_type', 1, '2023-10-01 10:54:55', 1, '2023-10-01 10:54:55', '系统类型列表'); + +-- 导出 表 ruoyi-flex.sys_job 结构 +CREATE TABLE IF NOT EXISTS `sys_job` ( + `job_id` bigint NOT NULL AUTO_INCREMENT COMMENT '任务ID', + `job_name` varchar(64) COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '任务名称', + `job_group` varchar(64) COLLATE utf8mb4_bin NOT NULL DEFAULT 'DEFAULT' COMMENT '任务组名', + `invoke_target` varchar(500) COLLATE utf8mb4_bin NOT NULL COMMENT '调用目标字符串', + `cron_expression` varchar(255) COLLATE utf8mb4_bin DEFAULT '' COMMENT 'cron执行表达式', + `misfire_policy` varchar(20) COLLATE utf8mb4_bin DEFAULT '3' COMMENT '计划执行错误策略(1立即执行 2执行一次 3放弃执行)', + `concurrent` char(1) COLLATE utf8mb4_bin DEFAULT '1' COMMENT '是否并发执行(0允许 1禁止)', + `status` char(1) COLLATE utf8mb4_bin DEFAULT '0' COMMENT '状态(0正常 1暂停)', + `create_by` bigint NOT NULL DEFAULT '0' COMMENT '创建者', + `create_time` datetime DEFAULT NULL COMMENT '创建时间', + `update_by` bigint NOT NULL DEFAULT '0' COMMENT '更新者', + `update_time` datetime DEFAULT NULL COMMENT '更新时间', + `remark` varchar(500) COLLATE utf8mb4_bin DEFAULT '' COMMENT '备注信息', + PRIMARY KEY (`job_id`,`job_name`,`job_group`) +) ENGINE=InnoDB AUTO_INCREMENT=100 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='定时任务调度表'; + +-- 正在导出表 ruoyi-flex.sys_job 的数据:~3 rows (大约) +INSERT INTO `sys_job` (`job_id`, `job_name`, `job_group`, `invoke_target`, `cron_expression`, `misfire_policy`, `concurrent`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES + (1, '系统默认(无参)', 'DEFAULT', 'ryTask.ryNoParams', '0/10 * * * * ?', '3', '1', '1', 1, '2023-06-03 21:32:31', 1, NULL, ''), + (2, '系统默认(有参)', 'DEFAULT', 'ryTask.ryParams(\'ry\')', '0/15 * * * * ?', '3', '1', '1', 1, '2023-06-03 21:32:31', 1, NULL, ''), + (3, '系统默认(多参)', 'DEFAULT', 'ryTask.ryMultipleParams(\'ry\', true, 2000L, 316.50D, 100)', '0/20 * * * * ?', '3', '1', '1', 1, '2023-06-03 21:32:31', 1, NULL, ''); + +-- 导出 表 ruoyi-flex.sys_job_log 结构 +CREATE TABLE IF NOT EXISTS `sys_job_log` ( + `job_log_id` bigint NOT NULL AUTO_INCREMENT COMMENT '任务日志ID', + `job_name` varchar(64) COLLATE utf8mb4_bin NOT NULL COMMENT '任务名称', + `job_group` varchar(64) COLLATE utf8mb4_bin NOT NULL COMMENT '任务组名', + `invoke_target` varchar(500) COLLATE utf8mb4_bin NOT NULL COMMENT '调用目标字符串', + `job_message` varchar(500) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '日志信息', + `status` char(1) COLLATE utf8mb4_bin DEFAULT '0' COMMENT '执行状态(0正常 1失败)', + `exception_info` varchar(2000) COLLATE utf8mb4_bin DEFAULT '' COMMENT '异常信息', + `create_time` datetime DEFAULT NULL COMMENT '创建时间', + PRIMARY KEY (`job_log_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='定时任务调度日志表'; + +-- 正在导出表 ruoyi-flex.sys_job_log 的数据:~0 rows (大约) + +-- 导出 表 ruoyi-flex.sys_logininfor 结构 +CREATE TABLE IF NOT EXISTS `sys_logininfor` ( + `info_id` bigint NOT NULL COMMENT '访问ID', + `user_name` varchar(50) COLLATE utf8mb4_bin DEFAULT '' COMMENT '用户账号', + `ipaddr` varchar(128) COLLATE utf8mb4_bin DEFAULT '' COMMENT '登录IP地址', + `login_location` varchar(255) COLLATE utf8mb4_bin DEFAULT '' COMMENT '登录地点', + `browser` varchar(50) COLLATE utf8mb4_bin DEFAULT '' COMMENT '浏览器类型', + `os` varchar(50) COLLATE utf8mb4_bin DEFAULT '' COMMENT '操作系统', + `status` char(1) COLLATE utf8mb4_bin DEFAULT '0' COMMENT '登录状态(0成功 1失败)', + `msg` varchar(255) COLLATE utf8mb4_bin DEFAULT '' COMMENT '提示消息', + `login_time` datetime DEFAULT NULL COMMENT '访问时间', + PRIMARY KEY (`info_id`), + KEY `idx_sys_logininfor_s` (`status`), + KEY `idx_sys_logininfor_lt` (`login_time`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='系统访问记录'; + +-- 正在导出表 ruoyi-flex.sys_logininfor 的数据:~264 rows (大约) +INSERT INTO `sys_logininfor` (`info_id`, `user_name`, `ipaddr`, `login_location`, `browser`, `os`, `status`, `msg`, `login_time`) VALUES + (72594837412528128, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-10-19 20:46:58'), + (72594879208767488, 'javaTest', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '1', '密码输入错误1次', '2023-10-19 20:47:08'), + (72594906463354880, 'javaTest', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '1', '密码输入错误2次', '2023-10-19 20:47:14'), + (72594922988912640, 'javaTest', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '1', '密码输入错误3次', '2023-10-19 20:47:18'), + (72594940747595776, 'javaTest', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '1', '密码输入错误4次', '2023-10-19 20:47:23'), + (72594958187511808, 'javaTest', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '1', '密码输入错误5次,帐户锁定10分钟', '2023-10-19 20:47:27'), + (72595017645965312, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-19 20:47:41'), + (72595057747705856, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-10-19 20:47:51'), + (72595113238347776, 'javaTest', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '1', '密码输入错误5次,帐户锁定10分钟', '2023-10-19 20:48:04'), + (72595160239718400, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '1', '密码输入错误1次', '2023-10-19 20:48:15'), + (72595179760009216, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '1', '密码输入错误2次', '2023-10-19 20:48:20'), + (72595194867892224, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '1', '密码输入错误3次', '2023-10-19 20:48:23'), + (72595255429447680, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-19 20:48:38'), + (72595396085432320, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-10-19 20:49:11'), + (72595447985750016, 'javaTest', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-19 20:49:24'), + (72874327606935552, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-20 15:17:34'), + (72880586804428800, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-10-20 15:42:26'), + (72880619469668352, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-20 15:42:34'), + (72885333733175296, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-10-20 16:01:18'), + (72885355124125696, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-20 16:01:23'), + (72889972096528384, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-10-20 16:19:44'), + (72890002127745024, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-20 16:19:51'), + (72892916376301568, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-10-20 16:31:26'), + (72893061683769344, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-20 16:32:00'), + (72941725521309696, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-20 19:45:23'), + (72953643023773696, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-20 20:32:44'), + (73142195900764160, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-21 09:01:58'), + (73231095855935488, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-21 14:55:14'), + (73232107522060288, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-10-21 14:59:15'), + (73232122852241408, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-21 14:59:19'), + (73233559141314560, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-10-21 15:05:01'), + (73233671536078848, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-21 15:05:28'), + (73266180634210304, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-21 17:14:39'), + (73266449963053056, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-21 17:15:43'), + (73343713409003520, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-21 22:22:44'), + (73501592409632768, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-22 08:50:05'), + (73514480708907008, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-22 09:41:18'), + (73518411170213888, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-10-22 09:56:55'), + (73518537842388992, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-22 09:57:25'), + (73518834706837504, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-10-22 09:58:36'), + (73519927285280768, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-22 10:02:57'), + (73527189227728896, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-22 10:31:48'), + (73530219784335360, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-10-22 10:43:51'), + (74961148075581440, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-26 09:29:50'), + (74979525066235904, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-26 10:42:52'), + (74983901688238080, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-10-26 11:00:15'), + (74983919421755392, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-26 11:00:20'), + (74984007300812800, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '1', '密码输入错误1次', '2023-10-26 11:00:40'), + (74984016800911360, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '1', '密码输入错误2次', '2023-10-26 11:00:43'), + (74984019996971008, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '1', '验证码错误', '2023-10-26 11:00:44'), + (74984021477560320, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '1', '验证码错误', '2023-10-26 11:00:44'), + (74984022488387584, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '1', '验证码错误', '2023-10-26 11:00:44'), + (74984023335636992, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '1', '验证码错误', '2023-10-26 11:00:44'), + (74984024455516160, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '1', '密码输入错误3次', '2023-10-26 11:00:45'), + (74984025550229504, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '1', '验证码错误', '2023-10-26 11:00:45'), + (74984026259066880, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '1', '验证码错误', '2023-10-26 11:00:45'), + (74984027362168832, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '1', '密码输入错误4次', '2023-10-26 11:00:45'), + (74984028423327744, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '1', '验证码错误', '2023-10-26 11:00:46'), + (74984029044084736, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '1', '验证码错误', '2023-10-26 11:00:46'), + (74984029761310720, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '1', '验证码错误', '2023-10-26 11:00:46'), + (74984030512091136, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '1', '验证码错误', '2023-10-26 11:00:46'), + (74984031313203200, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '1', '验证码错误', '2023-10-26 11:00:46'), + (74984034194690048, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '1', '验证码错误', '2023-10-26 11:00:47'), + (74984035406843904, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '1', '密码输入错误5次,帐户锁定10分钟', '2023-10-26 11:00:47'), + (74984036577054720, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '1', '验证码错误', '2023-10-26 11:00:47'), + (74984037369778176, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '1', '验证码错误', '2023-10-26 11:00:48'), + (74984038959419392, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '1', '验证码错误', '2023-10-26 11:00:48'), + (74984039718588416, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '1', '密码输入错误5次,帐户锁定10分钟', '2023-10-26 11:00:48'), + (74984040704249856, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '1', '验证码错误', '2023-10-26 11:00:48'), + (75065062288560128, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-26 16:22:45'), + (75066512808873984, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-10-26 16:28:31'), + (75066565363503104, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-26 16:28:44'), + (75077359748837376, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-10-26 17:11:37'), + (75077405881987072, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-26 17:11:48'), + (75125590058913792, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-26 20:23:16'), + (75481865250689024, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-27 19:58:59'), + (75482743961649152, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-10-27 20:02:29'), + (75482800945463296, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-27 20:02:42'), + (75484042279092224, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-10-27 20:07:38'), + (75484091503443968, 'vue3-li', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-27 20:07:50'), + (75484156041199616, 'vue3-li', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-10-27 20:08:05'), + (75484183442587648, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-27 20:08:12'), + (75484281819987968, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-10-27 20:08:35'), + (75484328557117440, 'vue3-li', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-27 20:08:46'), + (75494687439437824, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-27 20:49:56'), + (75494949310808064, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-10-27 20:50:59'), + (75495002729463808, 'vue3-li', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-27 20:51:11'), + (75497719501729792, 'vue3-li', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-10-27 21:01:59'), + (75497806781001728, 'vue3-li', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-27 21:02:20'), + (75520566781607936, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-27 22:32:46'), + (75520613292244992, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-10-27 22:32:57'), + (75520665024790528, 'vue3-li', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-10-27 22:33:10'), + (81956989374058496, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '1', '验证码错误', '2023-11-14 16:48:49'), + (81957007107575808, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-14 16:48:53'), + (81966225088860160, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-14 17:25:31'), + (81966276615884800, 'flex', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '1', '密码输入错误1次', '2023-11-14 17:25:43'), + (81966290889101312, 'flex', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '1', '密码输入错误2次', '2023-11-14 17:25:47'), + (81966372673835008, 'flex', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '1', '密码输入错误3次', '2023-11-14 17:26:06'), + (81966411601170432, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '1', '验证码错误', '2023-11-14 17:26:15'), + (81966424054059008, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-14 17:26:18'), + (81966573253840896, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-14 17:26:54'), + (81966630132797440, 'flex', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '1', '验证码错误', '2023-11-14 17:27:07'), + (81966649174937600, 'flex', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-14 17:27:12'), + (82240472143122432, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-15 11:35:17'), + (82314072883810304, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-15 16:27:44'), + (82315640093888512, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-15 16:33:58'), + (82315712168808448, 'flex', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-15 16:34:15'), + (82317532651933696, 'flex', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-15 16:41:29'), + (82317762969554944, 'flex', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-15 16:42:24'), + (82317803947905024, 'flex', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '1', '密码输入错误1次', '2023-11-15 16:42:34'), + (82317825313689600, 'flex', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '1', '验证码错误', '2023-11-15 16:42:39'), + (82317840245411840, 'flex', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-15 16:42:43'), + (82318123830693888, 'flex', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-15 16:43:50'), + (82318144688967680, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-15 16:43:55'), + (82324174953025536, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-15 17:07:53'), + (82324196708880384, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-15 17:07:58'), + (82566513856385024, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-16 09:10:51'), + (82597575856787456, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-16 11:14:17'), + (82641698995343360, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-16 14:09:36'), + (82690770817028096, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-16 17:24:36'), + (82931402345058304, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '1', '验证码错误', '2023-11-17 09:20:47'), + (82931417012539392, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-17 09:20:51'), + (82932642533642240, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-17 09:25:43'), + (82932769432309760, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-17 09:26:13'), + (82943775512498176, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-17 10:09:57'), + (82963604713885696, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-17 11:28:45'), + (83003433627537408, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-17 14:07:01'), + (83016135448055808, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-17 14:57:29'), + (83054963999121408, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-17 17:31:47'), + (83108488686870528, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-17 21:04:28'), + (83114999115010048, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-17 21:30:20'), + (83115106052984832, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-17 21:30:45'), + (83296281040113664, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-18 09:30:41'), + (83405672552714240, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-18 16:45:22'), + (83665077684785152, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-19 09:56:09'), + (83829084739719168, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-19 20:47:51'), + (83829800371867648, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-19 20:50:42'), + (83837674091302912, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-19 21:21:59'), + (84132236625993728, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-20 16:52:28'), + (84132261947006976, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-20 16:52:34'), + (84132286303330304, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-20 16:52:40'), + (84132366498422784, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-20 16:52:59'), + (84132395372011520, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-20 16:53:06'), + (84132661123112960, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-20 16:54:10'), + (84133948141101056, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-20 16:59:16'), + (84134026356482048, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-20 16:59:35'), + (84135378885304320, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-20 17:04:57'), + (84136552799690752, 'admin', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-20 17:09:37'), + (84137048956493824, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-20 17:11:36'), + (84137904066027520, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-20 17:15:00'), + (84140369201094656, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-20 17:24:47'), + (84179559720706048, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-20 20:00:31'), + (84183716041089024, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-20 20:17:02'), + (84189788491505664, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-20 20:41:10'), + (84219066356621312, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-20 22:37:30'), + (84373437363019776, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 08:50:55'), + (84374805041668096, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 08:56:21'), + (84380263244640256, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-21 09:18:02'), + (84380677981605888, 'java', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 09:19:41'), + (84386394285285376, 'java', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-21 09:42:24'), + (84386438799433728, 'java', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 09:42:35'), + (84397349543092224, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 10:25:56'), + (84418951181770752, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 11:51:46'), + (84474339860242432, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 15:31:52'), + (84475431234953216, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-21 15:36:12'), + (84475455121514496, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 15:36:18'), + (84476985560129536, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-21 15:42:23'), + (84477053453328384, 'java', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 15:42:39'), + (84477564860620800, 'java', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-21 15:44:41'), + (84477585718894592, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 15:44:46'), + (84477874777743360, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-21 15:45:55'), + (84477920042672128, 'java', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '1', '密码输入错误1次', '2023-11-21 15:46:06'), + (84477934139727872, 'java', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '1', '密码输入错误2次', '2023-11-21 15:46:09'), + (84477951747416064, 'java', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '1', '密码输入错误3次', '2023-11-21 15:46:13'), + (84477986195234816, 'java', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '1', '密码输入错误4次', '2023-11-21 15:46:21'), + (84478036782735360, 'java', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '1', '密码输入错误5次,帐户锁定10分钟', '2023-11-21 15:46:33'), + (84478094982897664, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '1', '验证码错误', '2023-11-21 15:46:47'), + (84478119175643136, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 15:46:53'), + (84478340446150656, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-21 15:47:46'), + (84478363464491008, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 15:47:51'), + (84478381307060224, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-21 15:47:56'), + (84478428623003648, 'java', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 15:48:07'), + (84479911187832832, 'java', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-21 15:54:00'), + (84479928610971648, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 15:54:05'), + (84480908693987328, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-21 15:57:58'), + (84480960002908160, 'java', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 15:58:10'), + (84482306491932672, 'java', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-21 16:03:31'), + (84482323218817024, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 16:03:35'), + (84483312323780608, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-21 16:07:31'), + (84483359396454400, 'java', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 16:07:43'), + (84483408813744128, 'java', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-21 16:07:54'), + (84483423720300544, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 16:07:58'), + (84483487909928960, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-21 16:08:13'), + (84483535636914176, 'java', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 16:08:25'), + (84485053245153280, 'java', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-21 16:14:26'), + (84485073147125760, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 16:14:31'), + (84485429147066368, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-21 16:15:56'), + (84485478430138368, 'java', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 16:16:08'), + (84501303216160768, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 17:19:01'), + (84501328071606272, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-21 17:19:07'), + (84501370689929216, 'java', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 17:19:17'), + (84533889124655104, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 19:28:30'), + (84533918304428032, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-21 19:28:37'), + (84533967793020928, 'java', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 19:28:48'), + (84553909259067392, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 20:48:03'), + (84555041326882816, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-21 20:52:33'), + (84555058250899456, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 20:52:37'), + (84569971350319104, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-21 21:51:52'), + (84569991734636544, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-21 21:51:57'), + (84743723270807552, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-22 09:22:18'), + (84768442405642240, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-22 11:00:32'), + (84777824875048960, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-22 11:37:49'), + (84826584892051456, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-22 14:51:34'), + (84839678754283520, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-22 15:43:36'), + (84862046503460864, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-22 17:12:29'), + (84866745516503040, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-22 17:31:09'), + (84866761287086080, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-22 17:31:13'), + (84901112267780096, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-22 19:47:43'), + (84917405167411200, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-22 20:52:27'), + (84919807278866432, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-22 21:02:00'), + (84923725476130816, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-22 21:17:34'), + (84923803037200384, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-22 21:17:52'), + (84931157602422784, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-22 21:47:06'), + (84931185469378560, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-22 21:47:13'), + (85103555136004096, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-23 09:12:09'), + (85105070194106368, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-23 09:18:10'), + (85105251555811328, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-23 09:18:53'), + (85127348130689024, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-23 10:46:41'), + (85129070626492416, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-23 10:53:32'), + (85129206379335680, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-23 10:54:04'), + (85141525486436352, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-23 11:43:02'), + (85141557715468288, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-23 11:43:09'), + (85142277026021376, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-23 11:46:01'), + (85142299104837632, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-23 11:46:06'), + (85142348262080512, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-23 11:46:18'), + (85144039992655872, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-11-23 11:53:01'), + (85144096984858624, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-23 11:53:15'), + (85188357105188864, 'admin', '127.0.0.1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-11-23 14:49:07'), + (88723130218000384, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-03 08:55:03'), + (88730641536987136, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-12-03 09:24:53'), + (88730662491729920, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-03 09:24:58'), + (88730784755691520, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-12-03 09:25:28'), + (88730803613282304, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-03 09:25:32'), + (88739479203901440, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-12-03 10:00:01'), + (88739514918400000, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-03 10:00:09'), + (88750563025502208, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-12-03 10:44:03'), + (88750585846710272, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-03 10:44:09'), + (88752798518226944, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-12-03 10:52:56'), + (88752834660544512, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-03 10:53:05'), + (88779932855001088, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-03 12:40:45'), + (88803833324593152, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-03 14:15:44'), + (89192087521714176, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-04 15:58:31'), + (89210758075801600, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-04 17:12:42'), + (89277167275368448, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-04 21:36:35'), + (89287862117228544, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-04 22:19:05'), + (89456293571489792, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-05 09:28:22'), + (89487474501382144, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-05 11:32:17'), + (89535422392201216, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-05 14:42:48'), + (89547442504101888, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-05 15:30:34'), + (89558940353843200, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-12-05 16:16:15'), + (89562916025626624, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-05 16:32:03'), + (89563462484717568, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-12-05 16:34:13'), + (89563694215819264, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-05 16:35:09'), + (89569658063069184, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-05 16:58:51'), + (89648773839495168, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-05 22:13:13'), + (89836939456311296, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-06 10:40:55'), + (89992488911151104, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-06 20:59:01'), + (90016541046837248, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-06 22:34:36'), + (90185574098505728, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-07 09:46:16'), + (90254551986225152, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '1', '验证码错误', '2023-12-07 14:20:22'), + (90254569631662080, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-07 14:20:26'), + (90256984976146432, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-07 14:30:02'), + (90257799451262976, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-12-07 14:33:16'), + (90257819604893696, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-07 14:33:21'), + (90264399796781056, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-12-07 14:59:30'), + (90264455719436288, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-07 14:59:43'), + (90266172158656512, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-12-07 15:06:33'), + (90266184716402688, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-07 15:06:36'), + (90281929915506688, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '退出成功', '2023-12-07 16:09:09'), + (90281945413459968, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-07 16:09:13'), + (90650877571948544, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-08 16:35:13'), + (91016119032221696, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-09 16:46:34'), + (91321772510547968, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-10 13:01:07'), + (91375565130436608, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-10 16:34:52'), + (91423957034500096, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Firefox', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-10 19:47:10'), + (91740974673330176, 'admin', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2023-12-11 16:46:53'); + +-- 导出 表 ruoyi-flex.sys_menu 结构 +CREATE TABLE IF NOT EXISTS `sys_menu` ( + `menu_id` bigint NOT NULL AUTO_INCREMENT COMMENT '菜单ID', + `menu_name` varchar(50) COLLATE utf8mb4_bin NOT NULL COMMENT '菜单名称', + `parent_id` bigint DEFAULT '0' COMMENT '父菜单ID', + `order_num` int DEFAULT '0' COMMENT '显示顺序', + `path` varchar(200) COLLATE utf8mb4_bin DEFAULT '' COMMENT '路由地址', + `component` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '组件路径', + `query` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '路由参数', + `is_frame` int DEFAULT '1' COMMENT '是否为外链(0是 1否)', + `is_cache` int DEFAULT '0' COMMENT '是否缓存(0缓存 1不缓存)', + `menu_type` char(1) COLLATE utf8mb4_bin DEFAULT '' COMMENT '菜单类型(M目录 C菜单 F按钮)', + `visible` char(1) COLLATE utf8mb4_bin DEFAULT '0' COMMENT '菜单状态(0显示 1隐藏)', + `status` char(1) COLLATE utf8mb4_bin DEFAULT '0' COMMENT '菜单状态(0正常 1停用)', + `perms` varchar(100) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '权限标识', + `icon` varchar(100) COLLATE utf8mb4_bin DEFAULT '#' COMMENT '菜单图标', + `create_by` bigint NOT NULL DEFAULT '0' COMMENT '创建者', + `create_time` datetime DEFAULT NULL COMMENT '创建时间', + `update_by` bigint NOT NULL DEFAULT '0' COMMENT '更新者', + `update_time` datetime DEFAULT NULL COMMENT '更新时间', + `remark` varchar(500) COLLATE utf8mb4_bin DEFAULT '' COMMENT '备注', + PRIMARY KEY (`menu_id`) +) ENGINE=InnoDB AUTO_INCREMENT=2091 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='菜单权限表'; + +-- 正在导出表 ruoyi-flex.sys_menu 的数据:~113 rows (大约) +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES + (1, '系统管理', 0, 1, 'system', NULL, '', 1, 0, 'M', '0', '0', '', 'system', 1, '2023-06-03 21:32:28', 1, NULL, '系统管理目录'), + (2, '系统监控', 0, 2, 'monitor', NULL, '', 1, 0, 'M', '0', '0', '', 'monitor', 1, '2023-06-03 21:32:28', 1, NULL, '系统监控目录'), + (3, '系统工具', 0, 3, 'tool', NULL, '', 1, 0, 'M', '0', '0', '', 'tool', 1, '2023-06-03 21:32:28', 1, NULL, '系统工具目录'), + (4, '若依官网', 0, 4, 'http://ruoyi.vip', NULL, '', 0, 0, 'M', '0', '0', '', 'guide', 1, '2023-06-03 21:32:28', 1, NULL, '若依官网地址'), + (100, '用户管理', 1, 1, 'user', 'system/user/index', '', 1, 0, 'C', '0', '0', 'system:user:list', 'user', 1, '2023-06-03 21:32:28', 1, NULL, '用户管理菜单'), + (101, '角色管理', 1, 2, 'role', 'system/role/index', '', 1, 0, 'C', '0', '0', 'system:role:list', 'peoples', 1, '2023-06-03 21:32:28', 1, NULL, '角色管理菜单'), + (102, '菜单管理', 1, 3, 'menu', 'system/menu/index', '', 1, 0, 'C', '0', '0', 'system:menu:list', 'tree-table', 1, '2023-06-03 21:32:28', 1, NULL, '菜单管理菜单'), + (103, '部门管理', 1, 4, 'dept', 'system/dept/index', '', 1, 0, 'C', '0', '0', 'system:dept:list', 'tree', 1, '2023-06-03 21:32:28', 1, NULL, '部门管理菜单'), + (104, '岗位管理', 1, 5, 'post', 'system/post/index', '', 1, 0, 'C', '0', '0', 'system:post:list', 'post', 1, '2023-06-03 21:32:28', 1, NULL, '岗位管理菜单'), + (105, '字典管理', 1, 6, 'dict', 'system/dict/index', '', 1, 0, 'C', '0', '0', 'system:dict:list', 'dict', 1, '2023-06-03 21:32:28', 1, NULL, '字典管理菜单'), + (106, '参数设置', 1, 7, 'config', 'system/config/index', '', 1, 0, 'C', '0', '0', 'system:config:list', 'edit', 1, '2023-06-03 21:32:28', 1, NULL, '参数设置菜单'), + (107, '通知公告', 1, 8, 'notice', 'system/notice/index', '', 1, 0, 'C', '0', '0', 'system:notice:list', 'message', 1, '2023-06-03 21:32:28', 1, NULL, '通知公告菜单'), + (108, '日志管理', 1, 9, 'log', '', '', 1, 0, 'M', '0', '0', '', 'log', 1, '2023-06-03 21:32:28', 1, NULL, '日志管理菜单'), + (109, '在线用户', 2, 1, 'online', 'monitor/online/index', '', 1, 0, 'C', '0', '0', 'monitor:online:list', 'online', 1, '2023-06-03 21:32:28', 1, NULL, '在线用户菜单'), + (110, '任务调度', 2, 2, 'powerjob', 'monitor/powerjob/index', '', 1, 0, 'C', '0', '0', 'monitor:powerjob:list', 'job', 1, '2023-06-03 21:32:28', 1, NULL, '定时任务菜单'), + (112, '服务监控', 2, 4, 'admin', 'monitor/admin/index', '', 1, 0, 'C', '0', '0', 'monitor:admin:list', 'server', 1, '2023-06-03 21:32:28', 1, NULL, '服务监控菜单'), + (113, '缓存监控', 2, 5, 'cache', 'monitor/cache/index', '', 1, 0, 'C', '0', '0', 'monitor:cache:list', 'redis', 1, '2023-06-03 21:32:28', 1, NULL, '缓存监控菜单'), + (115, '表单构建', 3, 1, 'build', 'tool/build/index', '', 1, 0, 'C', '0', '0', 'tool:build:list', 'build', 1, '2023-06-03 21:32:28', 1, NULL, '表单构建菜单'), + (116, '代码生成', 3, 2, 'gen', 'tool/gen/index', '', 1, 0, 'C', '0', '0', 'tool:gen:list', 'code', 1, '2023-06-03 21:32:28', 1, NULL, '代码生成菜单'), + (117, '系统接口', 3, 3, 'http://localhost:8080/swagger-ui/index.html', '', '', 0, 0, 'M', '0', '0', 'tool:swagger:list', 'swagger', 1, '2023-06-03 21:32:29', 1, '2023-07-28 21:09:07', '系统接口菜单'), + (118, '文件管理', 1, 10, 'oss', 'system/oss/index', '', 1, 0, 'C', '0', '0', 'system:oss:list', 'upload', 1, '2023-12-03 08:46:11', 1, '2023-12-03 08:46:11', '文件管理菜单'), + (500, '操作日志', 108, 1, 'operlog', 'monitor/operlog/index', '', 1, 0, 'C', '0', '0', 'monitor:operlog:list', 'form', 1, '2023-06-03 21:32:29', 1, NULL, '操作日志菜单'), + (501, '登录日志', 108, 2, 'logininfor', 'monitor/logininfor/index', '', 1, 0, 'C', '0', '0', 'monitor:logininfor:list', 'logininfor', 1, '2023-06-03 21:32:29', 1, NULL, '登录日志菜单'), + (1000, '用户查询', 100, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:user:query', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1001, '用户新增', 100, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:user:add', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1002, '用户修改', 100, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:user:edit', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1003, '用户删除', 100, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:user:remove', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1004, '用户导出', 100, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:user:export', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1005, '用户导入', 100, 6, '', '', '', 1, 0, 'F', '0', '0', 'system:user:import', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1006, '重置密码', 100, 7, '', '', '', 1, 0, 'F', '0', '0', 'system:user:resetPwd', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1007, '角色查询', 101, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:role:query', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1008, '角色新增', 101, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:role:add', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1009, '角色修改', 101, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:role:edit', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1010, '角色删除', 101, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:role:remove', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1011, '角色导出', 101, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:role:export', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1012, '菜单查询', 102, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:query', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1013, '菜单新增', 102, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:add', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1014, '菜单修改', 102, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:edit', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1015, '菜单删除', 102, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:remove', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1016, '部门查询', 103, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:query', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1017, '部门新增', 103, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:add', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1018, '部门修改', 103, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:edit', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1019, '部门删除', 103, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:remove', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1020, '岗位查询', 104, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:post:query', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1021, '岗位新增', 104, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:post:add', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1022, '岗位修改', 104, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:post:edit', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1023, '岗位删除', 104, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:post:remove', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1024, '岗位导出', 104, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:post:export', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1025, '字典查询', 105, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:query', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1026, '字典新增', 105, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:add', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1027, '字典修改', 105, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:edit', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1028, '字典删除', 105, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:remove', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1029, '字典导出', 105, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:export', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1030, '参数查询', 106, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:query', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1031, '参数新增', 106, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:add', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1032, '参数修改', 106, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:edit', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1033, '参数删除', 106, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:remove', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1034, '参数导出', 106, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:export', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1035, '公告查询', 107, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:query', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1036, '公告新增', 107, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:add', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1037, '公告修改', 107, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:edit', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1038, '公告删除', 107, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:remove', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1039, '操作查询', 500, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:operlog:query', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1040, '操作删除', 500, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:operlog:remove', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1041, '日志导出', 500, 3, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:operlog:export', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1042, '登录查询', 501, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:query', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1043, '登录删除', 501, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:remove', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1044, '日志导出', 501, 3, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:export', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1045, '账户解锁', 501, 4, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:unlock', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1046, '在线查询', 109, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:query', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1047, '批量强退', 109, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:batchLogout', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1048, '单条强退', 109, 3, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:forceLogout', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1049, '任务查询', 110, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:query', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1050, '任务新增', 110, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:add', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1051, '任务修改', 110, 3, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:edit', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1052, '任务删除', 110, 4, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:remove', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1053, '状态修改', 110, 5, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:changeStatus', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1054, '任务导出', 110, 6, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:export', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1055, '生成查询', 116, 1, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:query', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1056, '生成修改', 116, 2, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:edit', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1057, '生成删除', 116, 3, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:remove', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1058, '导入代码', 116, 4, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:import', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1059, '预览代码', 116, 5, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:preview', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (1060, '生成代码', 116, 6, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:code', '#', 1, '2023-06-03 21:32:29', 1, NULL, ''), + (2018, '演示模块', 0, 99, 'demo', NULL, NULL, 1, 0, 'M', '0', '0', '', 'people', 1, '2023-07-04 11:08:44', 1, '2023-09-02 20:09:55', ''), + (2050, '学生信息单表(mb)', 2018, 1, 'student', 'demo/student/index', NULL, 1, 0, 'C', '0', '0', 'demo:student:list', 'component', 1, '2023-07-09 12:17:40', 1, '2023-11-17 09:21:30', '学生信息单表(mb)菜单'), + (2051, '学生信息单表(mb)查询', 2050, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'demo:student:query', '#', 1, '2023-07-09 12:17:40', 1, NULL, ''), + (2052, '学生信息单表(mb)新增', 2050, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'demo:student:add', '#', 1, '2023-07-09 12:17:40', 1, NULL, ''), + (2053, '学生信息单表(mb)修改', 2050, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'demo:student:edit', '#', 1, '2023-07-09 12:17:40', 1, NULL, ''), + (2054, '学生信息单表(mb)删除', 2050, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'demo:student:remove', '#', 1, '2023-07-09 12:17:40', 1, NULL, ''), + (2055, '学生信息单表(mb)导出', 2050, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'demo:student:export', '#', 1, '2023-07-09 12:17:40', 1, NULL, ''), + (2056, '产品树表(mb)', 2018, 1, 'product', 'demo/product/index', NULL, 1, 0, 'C', '0', '0', 'demo:product:list', '#', 1, '2023-07-09 20:59:25', 1, NULL, '产品树表(mb)菜单'), + (2057, '产品树表(mb)查询', 2056, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'demo:product:query', '#', 1, '2023-07-09 20:59:25', 1, NULL, ''), + (2058, '产品树表(mb)新增', 2056, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'demo:product:add', '#', 1, '2023-07-09 20:59:25', 1, NULL, ''), + (2059, '产品树表(mb)修改', 2056, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'demo:product:edit', '#', 1, '2023-07-09 20:59:25', 1, NULL, ''), + (2060, '产品树表(mb)删除', 2056, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'demo:product:remove', '#', 1, '2023-07-09 20:59:25', 1, NULL, ''), + (2061, '产品树表(mb)导出', 2056, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'demo:product:export', '#', 1, '2023-07-09 20:59:25', 1, NULL, ''), + (2062, '客户主表(mb)', 2018, 1, 'customer', 'demo/customer/index', NULL, 1, 0, 'C', '0', '0', 'demo:customer:list', '#', 1, '2023-07-11 16:06:23', 1, NULL, '客户主表(mb)菜单'), + (2063, '客户主表(mb)查询', 2062, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'demo:customer:query', '#', 1, '2023-07-11 16:06:23', 1, NULL, ''), + (2064, '客户主表(mb)新增', 2062, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'demo:customer:add', '#', 1, '2023-07-11 16:06:23', 1, NULL, ''), + (2065, '客户主表(mb)修改', 2062, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'demo:customer:edit', '#', 1, '2023-07-11 16:06:23', 1, NULL, ''), + (2066, '客户主表(mb)删除', 2062, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'demo:customer:remove', '#', 1, '2023-07-11 16:06:23', 1, NULL, ''), + (2067, '客户主表(mb)导出', 2062, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'demo:customer:export', '#', 1, '2023-07-11 16:06:23', 1, NULL, ''), + (2071, '学生信息表', 2018, 1, 'mfstudent', 'mf/student/index', NULL, 1, 0, 'C', '0', '0', 'mf:student:list', '#', 1, '2023-11-22 17:30:46', 1, '2023-12-07 14:35:16', '学生信息表菜单'), + (2072, '学生信息表查询', 2071, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'mf:student:query', '#', 1, '2023-11-22 17:30:46', 1, NULL, ''), + (2073, '学生信息表新增', 2071, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'mf:student:add', '#', 1, '2023-11-22 17:30:46', 1, NULL, ''), + (2074, '学生信息表修改', 2071, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'mf:student:edit', '#', 1, '2023-11-22 17:30:46', 1, NULL, ''), + (2075, '学生信息表删除', 2071, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'mf:student:remove', '#', 1, '2023-11-22 17:30:46', 1, NULL, ''), + (2076, '学生信息表导出', 2071, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'mf:student:export', '#', 1, '2023-11-22 17:30:46', 1, NULL, ''), + (2077, '产品树表', 2018, 1, 'mfproduct', 'mf/product/index', NULL, 1, 0, 'C', '0', '0', 'mf:product:list', '#', 1, '2023-11-23 10:53:54', 1, '2023-12-07 14:35:12', '产品树菜单'), + (2078, '产品树查询', 2077, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'mf:product:query', '#', 1, '2023-11-23 10:53:54', 1, NULL, ''), + (2079, '产品树新增', 2077, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'mf:product:add', '#', 1, '2023-11-23 10:53:54', 1, NULL, ''), + (2080, '产品树修改', 2077, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'mf:product:edit', '#', 1, '2023-11-23 10:53:54', 1, NULL, ''), + (2081, '产品树删除', 2077, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'mf:product:remove', '#', 1, '2023-11-23 10:53:54', 1, NULL, ''), + (2082, '产品树导出', 2077, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'mf:product:export', '#', 1, '2023-11-23 10:53:54', 1, NULL, ''), + (2085, '客户主表', 2018, 1, 'mfcustomer', 'mf/customer/index', NULL, 1, 0, 'C', '0', '0', 'mf:customer:list', '#', 1, '2023-12-05 15:37:16', 1, '2023-12-07 14:35:03', '客户主表菜单'), + (2086, '客户主表查询', 2085, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'mf:customer:query', '#', 1, '2023-12-05 15:37:17', 1, NULL, ''), + (2087, '客户主表新增', 2085, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'mf:customer:add', '#', 1, '2023-12-05 15:37:17', 1, NULL, ''), + (2088, '客户主表修改', 2085, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'mf:customer:edit', '#', 1, '2023-12-05 15:37:17', 1, NULL, ''), + (2089, '客户主表删除', 2085, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'mf:customer:remove', '#', 1, '2023-12-05 15:37:17', 1, NULL, ''), + (2090, '客户主表导出', 2085, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'mf:customer:export', '#', 1, '2023-12-05 15:37:17', 1, NULL, ''); + +-- 导出 表 ruoyi-flex.sys_notice 结构 +CREATE TABLE IF NOT EXISTS `sys_notice` ( + `notice_id` bigint NOT NULL COMMENT '公告ID', + `notice_title` varchar(50) COLLATE utf8mb4_bin NOT NULL COMMENT '公告标题', + `notice_type` char(1) COLLATE utf8mb4_bin NOT NULL COMMENT '公告类型(1通知 2公告)', + `notice_content` longblob COMMENT '公告内容', + `status` char(1) COLLATE utf8mb4_bin DEFAULT '0' COMMENT '公告状态(0正常 1关闭)', + `create_by` bigint NOT NULL DEFAULT '0' COMMENT '创建者', + `create_time` datetime DEFAULT NULL COMMENT '创建时间', + `update_by` bigint NOT NULL DEFAULT '0' COMMENT '更新者', + `update_time` datetime DEFAULT NULL COMMENT '更新时间', + `remark` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '备注', + PRIMARY KEY (`notice_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='通知公告表'; + +-- 正在导出表 ruoyi-flex.sys_notice 的数据:~2 rows (大约) +INSERT INTO `sys_notice` (`notice_id`, `notice_title`, `notice_type`, `notice_content`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES + (1, '温馨提醒:2023-07-04 RuoYi-Flex新版本v4发布啦', '2', _binary 0x3c703e3c7370616e20636c6173733d22716c2d73697a652d6c6172676522207374796c653d22636f6c6f723a20726762283233302c20302c2030293b223e52756f59692d466c65783c2f7370616e3e3c7370616e20636c6173733d22716c2d73697a652d6c61726765223ee696b0e78988e69cace58685e5aeb9e5a682e4b88befbc9a3c2f7370616e3e3c2f703e3c703e3c7370616e20636c6173733d22716c2d73697a652d6c61726765223e2031e38081e59fbae4ba8e52756f59692d5675652d76332e382e36e3808172756f692d7675652d706c7573efbc8ce591bde5908de4b8ba52756f59692d466c6578efbc8ce78988e69cace58fb7e4b8ba3c2f7370616e3e3c7370616e20636c6173733d22716c2d73697a652d6c6172676522207374796c653d22636f6c6f723a2072676228302c203133382c2030293b223e56342e302e303c2f7370616e3e3c2f703e3c703e3c7370616e20636c6173733d22716c2d73697a652d6c61726765223e2032e38081e5bc95e585a56d7962617469732d666c657856312e342e35efbc8ce4b88e6d796261746973e5928ce5b9b3e585b1e5a4843c2f7370616e3e3c2f703e3c703e3c7370616e20636c6173733d22716c2d73697a652d6c61726765223e2033e380816d6176656ee4bb93e5ba93e4bb8ee998bfe9878ce58887e68da2e588b0e58d8ee4b8ba3c2f7370616e3e3c2f703e, '0', 1, '2023-06-03 21:32:31', 1, '2023-09-02 11:00:33', '管理员'), + (2, '维护通知:2018-07-01 若依系统凌晨维护', '1', _binary 0xe7bbb4e68aa4e58685e5aeb9, '0', 1, '2023-06-03 21:32:31', 1, NULL, '管理员'), + (65910205589770240, 'ruoyi-flex 4.1.8准备发布了', '2', _binary 0x72756f79692d666c657820342e312e38e58786e5a487e58f91e5b883e4ba86efbc8ce697a5e69c9fe98089e59ca83130e69c88e4bbbd, '0', 1, '2023-10-01 10:04:38', 1, '2023-10-01 10:04:38', NULL); + +-- 导出 表 ruoyi-flex.sys_oper_log 结构 +CREATE TABLE IF NOT EXISTS `sys_oper_log` ( + `oper_id` bigint NOT NULL COMMENT '日志主键', + `title` varchar(50) COLLATE utf8mb4_bin DEFAULT '' COMMENT '模块标题', + `business_type` int DEFAULT '0' COMMENT '业务类型(0其它 1新增 2修改 3删除)', + `method` varchar(100) COLLATE utf8mb4_bin DEFAULT '' COMMENT '方法名称', + `request_method` varchar(10) COLLATE utf8mb4_bin DEFAULT '' COMMENT '请求方式', + `operator_type` int DEFAULT '0' COMMENT '操作类别(0其它 1后台用户 2手机端用户)', + `oper_name` varchar(50) COLLATE utf8mb4_bin DEFAULT '' COMMENT '操作人员', + `dept_name` varchar(50) COLLATE utf8mb4_bin DEFAULT '' COMMENT '部门名称', + `oper_url` varchar(255) COLLATE utf8mb4_bin DEFAULT '' COMMENT '请求URL', + `oper_ip` varchar(128) COLLATE utf8mb4_bin DEFAULT '' COMMENT '主机地址', + `oper_location` varchar(255) COLLATE utf8mb4_bin DEFAULT '' COMMENT '操作地点', + `oper_param` varchar(2000) COLLATE utf8mb4_bin DEFAULT '' COMMENT '请求参数', + `json_result` varchar(2000) COLLATE utf8mb4_bin DEFAULT '' COMMENT '返回参数', + `status` int DEFAULT '0' COMMENT '操作状态(0正常 1异常)', + `error_msg` varchar(2000) COLLATE utf8mb4_bin DEFAULT '' COMMENT '错误消息', + `oper_time` datetime DEFAULT NULL COMMENT '操作时间', + `cost_time` bigint DEFAULT '0' COMMENT '消耗时间', + PRIMARY KEY (`oper_id`), + KEY `idx_sys_oper_log_bt` (`business_type`), + KEY `idx_sys_oper_log_s` (`status`), + KEY `idx_sys_oper_log_ot` (`oper_time`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='操作日志记录'; + +-- 正在导出表 ruoyi-flex.sys_oper_log 的数据:~94 rows (大约) +INSERT INTO `sys_oper_log` (`oper_id`, `title`, `business_type`, `method`, `request_method`, `operator_type`, `oper_name`, `dept_name`, `oper_url`, `oper_ip`, `oper_location`, `oper_param`, `json_result`, `status`, `error_msg`, `oper_time`, `cost_time`) VALUES + (72958106061025280, '操作日志', 9, 'com.ruoyi.system.controller.monitor.SysOperlogController.clean()', 'DELETE', 1, 'admin', '', '/monitor/operlog/clean', '127.0.0.1', '内网IP', '{}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-10-20 20:50:28', 73), + (75066600788594688, '用户管理', 5, 'com.ruoyi.system.controller.system.SysUserController.export()', 'POST', 1, 'admin', '', '/system/user/export', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"userId":null,"deptId":null,"deptName":null,"userName":null,"nickName":null,"userType":null,"email":null,"phonenumber":null,"gender":null,"status":null,"remark":null,"loginIp":null,"loginDate":null,"roleIds":null,"postIds":null,"roleId":null,"superAdmin":false}', '', 0, '', '2023-10-26 16:28:52', 1080), + (75068023257436160, '用户管理', 6, 'com.ruoyi.system.controller.system.SysUserController.importData()', 'POST', 1, 'admin', '', '/system/user/importData', '127.0.0.1', '内网IP', 'false', '', 1, '很抱歉,导入失败!共 6 条数据格式不正确,错误如下:
1、账号
2、账号 tian 导入失败:Cannot invoke "com.ruoyi.system.domain.vo.SysUserVo.getUserName()" because "sysUser" is null
3、账号
4、账号 yong 导入失败:Cannot invoke "com.ruoyi.system.domain.vo.SysUserVo.getUserName()" because "sysUser" is null
5、账号
6、账号 li 导入失败:Cannot invoke "com.ruoyi.system.domain.vo.SysUserVo.getUserName()" because "sysUser" is null', '2023-10-26 16:34:31', 283), + (75073465069088768, '用户管理', 6, 'com.ruoyi.system.controller.system.SysUserController.importData()', 'POST', 1, 'admin', '', '/system/user/importData', '127.0.0.1', '内网IP', 'true', '', 1, '很抱歉,导入失败!共 4 条数据格式不正确,错误如下:
1、账号 tian 的部门名称 “).append(userVo.getDeptName()).append(” 在部门表中不存在,无法导入
2、账号 yong 的部门名称 “).append(userVo.getDeptName()).append(” 存在两条以上部门记录,无法导入
3、账号 li 导入失败:Cannot read the array length because "" is null
4、账号 javaTest 导入失败:Cannot read the array length because "" is null', '2023-10-26 16:56:09', 1266), + (75077526321426432, '用户管理', 6, 'com.ruoyi.system.controller.system.SysUserController.importData()', 'POST', 1, 'admin', '', '/system/user/importData', '127.0.0.1', '内网IP', 'true', '', 1, '很抱歉,导入失败!共 2 条数据格式不正确,错误如下:
1、账号 tian 的部门名称 技术一部 在部门表中不存在,无法导入
2、账号 yong 的部门名称 市场部门 存在两条以上部门记录,无法导入', '2023-10-26 17:12:17', 912), + (75081101021859840, '用户管理', 6, 'com.ruoyi.system.controller.system.SysUserController.importData()', 'POST', 1, 'admin', '', '/system/user/importData', '127.0.0.1', '内网IP', 'true', '{"code":200,"msg":"恭喜您,数据已全部导入成功!共 1 条,数据如下:
1、账号 vue3-li 导入成功","data":null}', 0, '', '2023-10-26 17:26:29', 911), + (75483155187990528, '角色管理', 2, 'com.ruoyi.system.controller.system.SysRoleController.edit()', 'PUT', 1, 'admin', '', '/system/role', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":"2023-09-30 10:31:25","updateBy":null,"updateTime":null,"roleId":107,"roleName":"部门主管角色","roleKey":"deptAdmin","roleSort":10,"dataScope":"1","menuCheckStrictly":true,"deptCheckStrictly":true,"status":"0","remark":"部门备注","menuIds":[3,115,116,1055,1056,1057,1058,1059,1060,117,2018,2050,2051,2052,2053,2054,2055,2056,2057,2058,2059,2060,2061,2062,2063,2064,2065,2066,2067],"deptIds":null,"superAdmin":false}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-10-27 20:04:07', 93), + (75483471174270976, '角色管理', 2, 'com.ruoyi.system.controller.system.SysRoleController.edit()', 'PUT', 1, 'admin', '', '/system/role', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":"2023-09-30 16:26:40","updateBy":null,"updateTime":null,"roleId":"65643961968087040","roleName":"本人角色","roleKey":"OnlyMe","roleSort":14,"dataScope":"5","menuCheckStrictly":true,"deptCheckStrictly":true,"status":"0","remark":null,"menuIds":[2018,2050,2051,2052,2053,2054,2055,2056,2057,2058,2059,2060,2061,2062,2063,2064,2065,2066,2067],"deptIds":null,"superAdmin":false}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-10-27 20:05:22', 57), + (75483509308882944, '角色管理', 2, 'com.ruoyi.system.controller.system.SysRoleController.dataScope()', 'PUT', 1, 'admin', '', '/system/role/dataScope', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":"2023-09-30 16:26:40","updateBy":null,"updateTime":null,"roleId":"65643961968087040","roleName":"本人角色","roleKey":"OnlyMe","roleSort":14,"dataScope":"5","menuCheckStrictly":true,"deptCheckStrictly":true,"status":"0","remark":null,"menuIds":null,"deptIds":[],"superAdmin":false}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-10-27 20:05:31', 33), + (75483769397673984, '用户管理', 2, 'com.ruoyi.system.controller.system.SysUserController.edit()', 'PUT', 1, 'admin', '', '/system/user', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":"2023-10-26 17:26:29","updateBy":null,"updateTime":null,"userId":"75081100715675648","deptId":"65929080159150080","deptName":null,"userName":"vue3-li","nickName":"vue3-li","userType":"sys_user","email":"vue3-li@qq.com","phonenumber":"13566666666","gender":"1","status":"0","remark":null,"loginIp":"","loginDate":null,"roleIds":["65643961968087040"],"postIds":[4],"roleId":null,"superAdmin":false}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-10-27 20:06:33', 59), + (75484255970492416, '角色管理', 2, 'com.ruoyi.system.controller.system.SysRoleController.edit()', 'PUT', 1, 'admin', '', '/system/role', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":"2023-09-30 16:26:40","updateBy":null,"updateTime":null,"roleId":"65643961968087040","roleName":"本人角色","roleKey":"OnlyMe","roleSort":14,"dataScope":"5","menuCheckStrictly":true,"deptCheckStrictly":true,"status":"0","remark":null,"menuIds":[1,100,1000,1001,1002,1003,1004,1005,1006,101,1007,1008,1009,1010,1011,102,1012,1013,1014,1015,103,1016,1017,1018,1019,104,1020,1021,1022,1023,1024,105,1025,1026,1027,1028,1029,106,1030,1031,1032,1033,1034,107,1035,1036,1037,1038,108,500,1039,1040,1041,501,1042,1043,1044,1045,2018,2050,2051,2052,2053,2054,2055,2056,2057,2058,2059,2060,2061,2062,2063,2064,2065,2066,2067],"deptIds":null,"superAdmin":false}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-10-27 20:08:29', 66), + (82317660599177216, '个人信息', 2, 'com.ruoyi.system.controller.system.SysProfileController.updatePwd()', 'PUT', 1, 'flex', '', '/system/user/profile/updatePwd', '127.0.0.1', '内网IP', '{}', '{"code":500,"msg":"修改密码失败,旧密码错误","data":null}', 0, '', '2023-11-15 16:42:00', 105), + (82317701632053248, '个人信息', 2, 'com.ruoyi.system.controller.system.SysProfileController.updatePwd()', 'PUT', 1, 'flex', '', '/system/user/profile/updatePwd', '127.0.0.1', '内网IP', '{}', '{"code":500,"msg":"新密码不能与旧密码相同","data":null}', 0, '', '2023-11-15 16:42:09', 166), + (82317740601331712, '个人信息', 2, 'com.ruoyi.system.controller.system.SysProfileController.updatePwd()', 'PUT', 1, 'flex', '', '/system/user/profile/updatePwd', '127.0.0.1', '内网IP', '{}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-15 16:42:19', 260), + (82317947607011328, '个人信息', 2, 'com.ruoyi.system.controller.system.SysProfileController.updatePwd()', 'PUT', 1, 'flex', '', '/system/user/profile/updatePwd', '127.0.0.1', '内网IP', '{}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-15 16:43:08', 284), + (82318449325461504, '个人信息', 2, 'com.ruoyi.system.controller.system.SysProfileController.updateProfile()', 'PUT', 1, 'flex', '', '/system/user/profile', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":"2023-07-06 16:49:17","updateBy":null,"updateTime":null,"userId":100,"nickName":"flex昵称","email":"flex8888@163.com","phonenumber":"18808928888","sex":null}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-15 16:45:08', 78), + (82327921766731776, '角色管理', 4, 'com.ruoyi.system.controller.system.SysRoleController.selectAuthUserAll()', 'PUT', 1, 'admin', '', '/system/role/authUser/selectAll', '127.0.0.1', '内网IP', '{"roleId":"15649521177000164","userIds":"100"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-15 17:22:46', 61), + (82581667969011712, '用户管理', 4, 'com.ruoyi.system.controller.system.SysUserController.insertAuthRole()', 'PUT', 1, 'admin', '', '/system/user/authRole', '127.0.0.1', '内网IP', '{"roleIds":"2,101,107","userId":"2"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-16 10:11:04', 63), + (82583703259222016, '用户管理', 4, 'com.ruoyi.system.controller.system.SysUserController.insertAuthRole()', 'PUT', 1, 'admin', '', '/system/user/authRole', '127.0.0.1', '内网IP', '{"roleIds":"2,101","userId":"2"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-16 10:19:09', 23), + (82931582746267648, '菜单管理', 2, 'com.ruoyi.system.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', '', '/system/menu', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":"2023-07-09 12:17:40","updateBy":null,"updateTime":null,"menuId":2050,"parentId":2018,"menuName":"学生信息单表(mb)","orderNum":1,"path":"student","component":"demo/student/index","query":null,"isFrame":"1","isCache":"0","menuType":"C","visible":"0","status":"0","perms":"demo:student:list","icon":"component","remark":"学生信息单表(mb)菜单"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-17 09:21:30', 57), + (84380177936691200, '用户管理', 4, 'com.ruoyi.system.controller.system.SysUserController.insertAuthRole()', 'PUT', 1, 'admin', '', '/system/user/authRole', '127.0.0.1', '内网IP', '{"roleIds":"15649521177000164","userId":"71449897878007808"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-21 09:17:42', 41), + (84380247083986944, '角色管理', 2, 'com.ruoyi.system.controller.system.SysRoleController.edit()', 'PUT', 1, 'admin', '', '/system/role', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":"2023-09-30 16:06:21","updateBy":null,"updateTime":null,"roleId":"15649521177000164","roleName":"本部门角色","roleKey":"OnlyDept","roleSort":13,"dataScope":"3","menuCheckStrictly":true,"deptCheckStrictly":true,"status":"0","remark":"本部门可见","menuIds":[1,100,1000,1001,1002,1003,1004,1005,1006,101,1007,1008,1009,1010,1011,102,1012,1013,1014,1015,103,1016,1017,1018,1019,104,1020,1021,1022,1023,1024,105,1025,1026,1027,1028,1029,106,1030,1031,1032,1033,1034,107,1035,1036,1037,1038,108,500,1039,1040,1041,501,1042,1043,1044,1045,2,109,1046,1047,1048,110,1049,1050,1051,1052,1053,1054,112,113,3,115,116,1055,1056,1057,1058,1059,1060,117,4,2018,2050,2051,2052,2053,2054,2055,2056,2057,2058,2059,2060,2061,2062,2063,2064,2065,2066,2067],"deptIds":null,"superAdmin":false}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-21 09:17:59', 85), + (84384758720659456, '用户管理', 2, 'com.ruoyi.system.controller.system.SysUserController.edit()', 'PUT', 1, 'java', '', '/system/user', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":"2023-10-16 20:20:12","updateBy":null,"updateTime":null,"userId":"71500938010955776","deptId":"65929267321577472","deptName":null,"userName":"javaTest","nickName":"java测试","userType":"sys_user","email":"test@163.com","phonenumber":"13366666666","gender":"0","status":"0","remark":null,"loginIp":"127.0.0.1","loginDate":"2023-10-19 20:49:24","roleIds":[2],"postIds":[],"roleId":null,"superAdmin":false}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-21 09:35:54', 100), + (84476864239886336, '角色管理', 2, 'com.ruoyi.system.controller.system.SysRoleController.dataScope()', 'PUT', 1, 'admin', '', '/system/role/dataScope', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":"2023-09-30 17:00:13","updateBy":null,"updateTime":null,"roleId":"65652406490345472","roleName":"自定义角色","roleKey":"customRole","roleSort":20,"dataScope":"2","menuCheckStrictly":true,"deptCheckStrictly":true,"status":"0","remark":"自定义","menuIds":null,"deptIds":[100,201,103,108,202,203],"superAdmin":false}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-21 15:41:54', 107), + (84476927204777984, '角色管理', 4, 'com.ruoyi.system.controller.system.SysRoleController.selectAuthUserAll()', 'PUT', 1, 'admin', '', '/system/role/authUser/selectAll', '127.0.0.1', '内网IP', '{"roleId":"65652406490345472","userIds":"71449897878007808"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-21 15:42:09', 42), + (84477763997786112, '用户管理', 2, 'com.ruoyi.system.controller.system.SysUserController.edit()', 'PUT', 1, 'admin', '', '/system/user', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":"2023-10-16 16:57:23","updateBy":null,"updateTime":null,"userId":"71449897878007808","deptId":"65929267321577472","deptName":null,"userName":"java","nickName":"java","userType":"sys_user","email":"javaisgood@qq.com","phonenumber":"18966666666","gender":"0","status":"0","remark":"java用户","loginIp":"127.0.0.1","loginDate":"2023-11-21 15:42:39","roleIds":["65652406490345472"],"postIds":[4,"65917508166729728"],"roleId":null,"superAdmin":false}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-21 15:45:28', 35), + (84478210280120320, '账户解锁', 0, 'com.ruoyi.system.controller.monitor.SysLogininforController.unlock()', 'GET', 1, 'admin', '', '/monitor/logininfor/unlock/java', '127.0.0.1', '内网IP', '{}', '{"msg":"操作成功","code":200}', 0, '', '2023-11-21 15:47:15', 6), + (84480800866820096, '用户管理', 4, 'com.ruoyi.system.controller.system.SysUserController.insertAuthRole()', 'PUT', 1, 'admin', '', '/system/user/authRole', '127.0.0.1', '内网IP', '{"roleIds":"15649521177000164","userId":"71449897878007808"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-21 15:57:33', 44), + (84482567130177536, '角色管理', 2, 'com.ruoyi.system.controller.system.SysRoleController.edit()', 'PUT', 1, 'admin', '', '/system/role', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":"2023-09-30 10:31:25","updateBy":null,"updateTime":null,"roleId":107,"roleName":"本部门及以下角色","roleKey":"deptAdmin","roleSort":10,"dataScope":"1","menuCheckStrictly":true,"deptCheckStrictly":true,"status":"0","remark":"部门备注","menuIds":[3,115,116,1055,1056,1057,1058,1059,1060,117,2018,2050,2051,2052,2053,2054,2055,2056,2057,2058,2059,2060,2061,2062,2063,2064,2065,2066,2067],"deptIds":null,"superAdmin":false}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-21 16:04:34', 66), + (84482644020158464, '角色管理', 2, 'com.ruoyi.system.controller.system.SysRoleController.dataScope()', 'PUT', 1, 'admin', '', '/system/role/dataScope', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":"2023-09-30 10:31:25","updateBy":null,"updateTime":null,"roleId":107,"roleName":"本部门及以下角色","roleKey":"deptAdmin","roleSort":10,"dataScope":"4","menuCheckStrictly":true,"deptCheckStrictly":true,"status":"0","remark":"部门备注","menuIds":null,"deptIds":[],"superAdmin":false}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-21 16:04:52', 9), + (84482716598394880, '角色管理', 4, 'com.ruoyi.system.controller.system.SysRoleController.selectAuthUserAll()', 'PUT', 1, 'admin', '', '/system/role/authUser/selectAll', '127.0.0.1', '内网IP', '{"roleId":"107","userIds":"71449897878007808"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-21 16:05:09', 23), + (84482877215072256, '角色管理', 4, 'com.ruoyi.system.controller.system.SysRoleController.cancelAuthUser()', 'PUT', 1, 'admin', '', '/system/role/authUser/cancel', '127.0.0.1', '内网IP', '{"userId":"71449897878007808","roleId":"15649521177000164"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-21 16:05:48', 40), + (84483142303473664, '用户管理', 2, 'com.ruoyi.system.controller.system.SysUserController.edit()', 'PUT', 1, 'admin', '', '/system/user', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":"2023-10-16 16:57:23","updateBy":null,"updateTime":null,"userId":"71449897878007808","deptId":"65929080159150080","deptName":null,"userName":"java","nickName":"java","userType":"sys_user","email":"javaisgood@qq.com","phonenumber":"18966666666","gender":"0","status":"0","remark":"java用户","loginIp":"127.0.0.1","loginDate":"2023-11-21 15:58:10","roleIds":[107],"postIds":[4,"65917508166729728"],"roleId":null,"superAdmin":false}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-21 16:06:51', 44), + (84483244996812800, '用户管理', 2, 'com.ruoyi.system.controller.system.SysUserController.edit()', 'PUT', 1, 'admin', '', '/system/user', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":"2023-10-26 17:12:17","updateBy":null,"updateTime":null,"userId":"75077525943939072","deptId":"65929460884512768","deptName":null,"userName":"li","nickName":"li","userType":"sys_user","email":"li@qq.com","phonenumber":"13666666666","gender":"0","status":"0","remark":null,"loginIp":"","loginDate":null,"roleIds":[2],"postIds":[],"roleId":null,"superAdmin":false}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-21 16:07:15', 51), + (84483468993617920, '角色管理', 2, 'com.ruoyi.system.controller.system.SysRoleController.edit()', 'PUT', 1, 'admin', '', '/system/role', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":"2023-09-30 10:31:25","updateBy":null,"updateTime":null,"roleId":107,"roleName":"本部门及以下角色","roleKey":"deptAdmin","roleSort":10,"dataScope":"4","menuCheckStrictly":true,"deptCheckStrictly":true,"status":"0","remark":"部门备注","menuIds":[1,100,1000,1001,1002,1003,1004,1005,1006,101,1007,1008,1009,1010,1011,102,1012,1013,1014,1015,103,1016,1017,1018,1019,104,1020,1021,1022,1023,1024,105,1025,1026,1027,1028,1029,106,1030,1031,1032,1033,1034,107,1035,1036,1037,1038,108,500,1039,1040,1041,501,1042,1043,1044,1045,3,115,116,1055,1056,1057,1058,1059,1060,117,2018,2050,2051,2052,2053,2054,2055,2056,2057,2058,2059,2060,2061,2062,2063,2064,2065,2066,2067],"deptIds":null,"superAdmin":false}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-21 16:08:09', 75), + (84485199190155264, '角色管理', 4, 'com.ruoyi.system.controller.system.SysRoleController.selectAuthUserAll()', 'PUT', 1, 'admin', '', '/system/role/authUser/selectAll', '127.0.0.1', '内网IP', '{"roleId":"65643961968087040","userIds":"71449897878007808"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-21 16:15:01', 23), + (84485268240982016, '角色管理', 4, 'com.ruoyi.system.controller.system.SysRoleController.cancelAuthUser()', 'PUT', 1, 'admin', '', '/system/role/authUser/cancel', '127.0.0.1', '内网IP', '{"userId":"71449897878007808","roleId":107}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-21 16:15:18', 22), + (84486201272295424, '用户管理', 4, 'com.ruoyi.system.controller.system.SysUserController.insertAuthRole()', 'PUT', 1, 'java', '', '/system/user/authRole', '127.0.0.1', '内网IP', '{"roleIds":"15649521177000164,65643961968087040","userId":"71449897878007808"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-21 16:19:00', 16), + (84487296203743232, '用户管理', 4, 'com.ruoyi.system.controller.system.SysUserController.insertAuthRole()', 'PUT', 1, 'java', '', '/system/user/authRole', '127.0.0.1', '内网IP', '{"roleIds":"15649521177000164,65643961968087040,107","userId":"71449897878007808"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-21 16:23:21', 45), + (84487820114255872, '用户管理', 4, 'com.ruoyi.system.controller.system.SysUserController.insertAuthRole()', 'PUT', 1, 'java', '', '/system/user/authRole', '127.0.0.1', '内网IP', '{"roleIds":"107,15649521177000164,65643961968087040,65652406490345472","userId":"71449897878007808"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-21 16:25:26', 41), + (84488033465917440, '用户管理', 2, 'com.ruoyi.system.controller.system.SysUserController.edit()', 'PUT', 1, 'java', '', '/system/user', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":"2023-10-26 17:26:29","updateBy":null,"updateTime":null,"userId":"75081100715675648","deptId":203,"deptName":null,"userName":"vue3-li","nickName":"vue3-li","userType":"sys_user","email":"vue3-li@qq.com","phonenumber":"13566666666","gender":"1","status":"0","remark":null,"loginIp":"127.0.0.1","loginDate":"2023-10-27 22:33:10","roleIds":["65643961968087040"],"postIds":[4],"roleId":null,"superAdmin":false}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-21 16:26:17', 50), + (84501994701701120, '角色管理', 4, 'com.ruoyi.system.controller.system.SysRoleController.cancelAuthUser()', 'PUT', 1, 'java', '', '/system/role/authUser/cancel', '127.0.0.1', '内网IP', '{"userId":"71449897878007808","roleId":"65643961968087040"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-21 17:21:46', 39), + (84902252166275072, '学生信息表', 1, 'com.ruoyi.mf.controller.MfStudentController.add()', 'POST', 1, 'admin', '', '/mf/student', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"studentName":"复制东","studentAge":18,"studentHobby":"2","studentGender":"1","studentStatus":"0","studentBirthday":"2020-11-08"}', '', 1, '\r\n### Error updating database. Cause: java.sql.SQLSyntaxErrorException: Unknown column \'create_by\' in \'field list\'\r\n### The error may exist in com/ruoyi/mf/mapper/MfStudentMapper.java (best guess)\r\n### The error may involve com.ruoyi.mf.mapper.MfStudentMapper.insert\r\n### The error occurred while executing an update\r\n### SQL: INSERT INTO `mf_student`(`student_id`, `student_name`, `student_age`, `student_hobby`, `student_gender`, `student_status`, `student_birthday`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)\r\n### Cause: java.sql.SQLSyntaxErrorException: Unknown column \'create_by\' in \'field list\'\n; bad SQL grammar []', '2023-11-22 19:52:14', 200), + (84904305722679296, '学生信息表', 1, 'com.ruoyi.mf.controller.MfStudentController.add()', 'POST', 1, 'admin', '', '/mf/student', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"studentName":"复制东","studentAge":18,"studentHobby":"2","studentGender":"1","studentStatus":"0","studentBirthday":"2020-11-08"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-22 20:00:24', 42), + (84938320387354624, '学生信息表', 1, 'com.ruoyi.mf.controller.MfStudentController.add()', 'POST', 1, 'admin', '', '/mf/student', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"studentId":null,"studentName":"王芳","studentAge":28,"studentHobby":"1","studentGender":"1","studentStatus":"0","studentBirthday":"2021-02-09"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-22 22:15:34', 130), + (84938468714721280, '学生信息表', 1, 'com.ruoyi.mf.controller.MfStudentController.add()', 'POST', 1, 'admin', '', '/mf/student', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"studentId":null,"studentName":"旺达","studentAge":99,"studentHobby":"0","studentGender":"2","studentStatus":"1","studentBirthday":"2023-11-22"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-22 22:16:09', 28), + (84938533726433280, '学生信息表', 2, 'com.ruoyi.mf.controller.MfStudentController.edit()', 'PUT', 1, 'admin', '', '/mf/student', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":1,"createTime":"2023-11-22 22:16:09","updateBy":1,"updateTime":"2023-11-22 22:16:09","studentId":"84938468597280768","studentName":"旺达","studentAge":99,"studentHobby":"0","studentGender":"2","studentStatus":"0","studentBirthday":"2023-11-22"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-22 22:16:25', 42), + (84938547177566208, '学生信息表', 3, 'com.ruoyi.mf.controller.MfStudentController.remove()', 'DELETE', 1, 'admin', '', '/mf/student/84938468597280768', '127.0.0.1', '内网IP', '{}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-22 22:16:28', 34), + (84938564227411968, '学生信息表', 5, 'com.ruoyi.mf.controller.MfStudentController.export()', 'POST', 1, 'admin', '', '/mf/student/export', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"studentId":null,"studentName":null,"studentAge":null,"studentHobby":null,"studentGender":null,"studentStatus":null,"studentBirthday":null}', '', 0, '', '2023-11-22 22:16:32', 1154), + (85129367956508672, '产品树', 1, 'com.ruoyi.mf.controller.MfProductController.add()', 'POST', 1, 'admin', '', '/mf/product', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"parentName":null,"parentId":0,"orderNum":1,"ancestors":null,"children":[],"productId":null,"productName":"电子产品","status":"0"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-23 10:54:43', 78), + (85129420427251712, '产品树', 1, 'com.ruoyi.mf.controller.MfProductController.add()', 'POST', 1, 'admin', '', '/mf/product', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"parentName":null,"parentId":"85129367654518784","orderNum":1,"ancestors":null,"children":[],"productId":null,"productName":"电视机","status":"0"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-23 10:54:55', 41), + (85129484730126336, '产品树', 1, 'com.ruoyi.mf.controller.MfProductController.add()', 'POST', 1, 'admin', '', '/mf/product', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"parentName":null,"parentId":"85129420259479552","orderNum":2,"ancestors":null,"children":[],"productId":null,"productName":"液晶电视","status":"0"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-23 10:55:11', 24), + (85129528573186048, '产品树', 1, 'com.ruoyi.mf.controller.MfProductController.add()', 'POST', 1, 'admin', '', '/mf/product', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"parentName":null,"parentId":"85129420259479552","orderNum":3,"ancestors":null,"children":[],"productId":null,"productName":"CRT电视","status":"0"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-23 10:55:21', 25), + (85129595027738624, '产品树', 1, 'com.ruoyi.mf.controller.MfProductController.add()', 'POST', 1, 'admin', '', '/mf/product', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"parentName":null,"parentId":"85129367654518784","orderNum":2,"ancestors":null,"children":[],"productId":null,"productName":"计算机","status":"0"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-23 10:55:37', 25), + (85129658672107520, '产品树', 1, 'com.ruoyi.mf.controller.MfProductController.add()', 'POST', 1, 'admin', '', '/mf/product', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"parentName":null,"parentId":"85129594927075328","orderNum":3,"ancestors":null,"children":[],"productId":null,"productName":"手机","status":"0"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-23 10:55:52', 15), + (85129700711616512, '产品树', 1, 'com.ruoyi.mf.controller.MfProductController.add()', 'POST', 1, 'admin', '', '/mf/product', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"parentName":null,"parentId":"85129594927075328","orderNum":4,"ancestors":null,"children":[],"productId":null,"productName":"pad","status":"0"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-23 10:56:02', 23), + (85129753635344384, '产品树', 1, 'com.ruoyi.mf.controller.MfProductController.add()', 'POST', 1, 'admin', '', '/mf/product', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"parentName":null,"parentId":"85129594927075328","orderNum":5,"ancestors":null,"children":[],"productId":null,"productName":"笔记本","status":"0"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-23 10:56:15', 17), + (85129772111253504, '产品树', 2, 'com.ruoyi.mf.controller.MfProductController.edit()', 'PUT', 1, 'admin', '', '/mf/product', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":1,"createTime":"2023-11-23 10:55:52","updateBy":1,"updateTime":"2023-11-23 10:55:52","parentName":null,"parentId":"85129594927075328","orderNum":3,"ancestors":null,"children":[],"productId":"85129658609192960","productName":"手机","status":"1"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-23 10:56:19', 41), + (85131085280727040, '产品树', 3, 'com.ruoyi.mf.controller.MfProductController.remove()', 'DELETE', 1, 'admin', '', '/mf/product/85129700615147520', '127.0.0.1', '内网IP', '{}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-23 11:01:32', 40), + (85133614588641280, '产品树', 5, 'com.ruoyi.mf.controller.MfProductController.export()', 'POST', 1, 'admin', '', '/mf/product/export', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"parentName":null,"parentId":null,"orderNum":null,"ancestors":null,"children":[],"productId":null,"productName":null,"status":null}', '', 0, '', '2023-11-23 11:11:35', 1145), + (85189419388174336, '菜单管理', 1, 'com.ruoyi.system.controller.system.SysMenuController.add()', 'POST', 1, 'admin', '', '/system/menu', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"menuId":null,"parentId":null,"menuName":"纪检管理","orderNum":0,"path":"jj","component":null,"query":null,"isFrame":"1","isCache":"0","menuType":"M","visible":"0","status":"0","icon":"peoples","remark":null}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-23 14:53:20', 57), + (85189953566343168, '菜单管理', 2, 'com.ruoyi.system.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', '', '/system/menu', '127.0.0.1', '内网IP', '{"createDept":null,"createBy":null,"createTime":"2023-11-23 14:53:20","updateBy":null,"updateTime":null,"menuId":2083,"parentId":null,"menuName":"纪检管理","orderNum":0,"path":"jjry","component":null,"query":null,"isFrame":"1","isCache":"0","menuType":"M","visible":"0","status":"0","icon":"peoples","remark":null}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-11-23 14:55:28', 296), + (88723762433830912, '对象存储配置', 2, 'com.ruoyi.system.controller.system.SysOssConfigController.edit()', 'PUT', 1, 'admin', '', '/resource/oss/config', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"ossConfigId":1,"configKey":"minio","accessKey":"ruoyi-flex","secretKey":"ruoyi-flex@369","bucketName":"ruoyi-flex","prefix":"","endpoint":"127.0.0.1:9000","domain":"","isHttps":"N","status":"0","region":"","ext1":"","remark":null,"accessPolicy":"1"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-03 08:57:33', 57), + (88723802581708800, '对象存储状态修改', 2, 'com.ruoyi.system.controller.system.SysOssConfigController.changeStatus()', 'PUT', 1, 'admin', '', '/resource/oss/config/changeStatus', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"ossConfigId":1,"configKey":"minio","accessKey":null,"secretKey":null,"bucketName":null,"prefix":null,"endpoint":null,"domain":null,"isHttps":null,"status":"1","region":null,"ext1":null,"remark":null,"accessPolicy":null}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-03 08:57:43', 60), + (88723823947493376, '对象存储状态修改', 2, 'com.ruoyi.system.controller.system.SysOssConfigController.changeStatus()', 'PUT', 1, 'admin', '', '/resource/oss/config/changeStatus', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"ossConfigId":1,"configKey":"minio","accessKey":null,"secretKey":null,"bucketName":null,"prefix":null,"endpoint":null,"domain":null,"isHttps":null,"status":"0","region":null,"ext1":null,"remark":null,"accessPolicy":null}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-03 08:57:48', 29), + (88723856986025984, '对象存储状态修改', 2, 'com.ruoyi.system.controller.system.SysOssConfigController.changeStatus()', 'PUT', 1, 'admin', '', '/resource/oss/config/changeStatus', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"ossConfigId":1,"configKey":"minio","accessKey":null,"secretKey":null,"bucketName":null,"prefix":null,"endpoint":null,"domain":null,"isHttps":null,"status":"0","region":null,"ext1":null,"remark":null,"accessPolicy":null}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-03 08:57:56', 46), + (88723984048271360, '对象存储状态修改', 2, 'com.ruoyi.system.controller.system.SysOssConfigController.changeStatus()', 'PUT', 1, 'admin', '', '/resource/oss/config/changeStatus', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"ossConfigId":1,"configKey":"minio","accessKey":null,"secretKey":null,"bucketName":null,"prefix":null,"endpoint":null,"domain":null,"isHttps":null,"status":"0","region":null,"ext1":null,"remark":null,"accessPolicy":null}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-03 08:58:26', 45), + (88724281588002816, '对象存储状态修改', 2, 'com.ruoyi.system.controller.system.SysOssConfigController.changeStatus()', 'PUT', 1, 'admin', '', '/resource/oss/config/changeStatus', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"ossConfigId":1,"configKey":"minio","accessKey":null,"secretKey":null,"bucketName":null,"prefix":null,"endpoint":null,"domain":null,"isHttps":null,"status":"0","region":null,"ext1":null,"remark":null,"accessPolicy":null}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-03 08:59:37', 61), + (88726159625367552, '对象存储状态修改', 2, 'com.ruoyi.system.controller.system.SysOssConfigController.changeStatus()', 'PUT', 1, 'admin', '', '/resource/oss/config/changeStatus', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"ossConfigId":1,"configKey":"minio","accessKey":null,"secretKey":null,"bucketName":null,"prefix":null,"endpoint":null,"domain":null,"isHttps":null,"status":"0","region":null,"ext1":null,"remark":null,"accessPolicy":null}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-03 09:07:05', 46), + (88726264856260608, '对象存储状态修改', 2, 'com.ruoyi.system.controller.system.SysOssConfigController.changeStatus()', 'PUT', 1, 'admin', '', '/resource/oss/config/changeStatus', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"ossConfigId":1,"configKey":"minio","accessKey":null,"secretKey":null,"bucketName":null,"prefix":null,"endpoint":null,"domain":null,"isHttps":null,"status":"1","region":null,"ext1":null,"remark":null,"accessPolicy":null}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-03 09:07:30', 43), + (88726314269356032, '对象存储状态修改', 2, 'com.ruoyi.system.controller.system.SysOssConfigController.changeStatus()', 'PUT', 1, 'admin', '', '/resource/oss/config/changeStatus', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"ossConfigId":1,"configKey":"minio","accessKey":null,"secretKey":null,"bucketName":null,"prefix":null,"endpoint":null,"domain":null,"isHttps":null,"status":"0","region":null,"ext1":null,"remark":null,"accessPolicy":null}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-03 09:07:42', 49), + (88726663419998208, 'OSS对象存储', 1, 'com.ruoyi.system.controller.system.SysOssController.upload()', 'POST', 1, 'admin', '', '/resource/oss/upload', '0:0:0:0:0:0:0:1', '内网IP', '', '{"code":200,"msg":"操作成功","data":{"url":"http://127.0.0.1:9000/ruoyi-flex/2023/12/03/d750c14c3d7043b7bc9314b07c56d4b2.xls","fileName":"税务纪检干部综合管理信息系统功能列表及优先级排序20231130-北海.xls","ossId":"88726663227060224"}}', 0, '', '2023-12-03 09:09:05', 1563), + (88727733630218240, 'OSS对象存储', 3, 'com.ruoyi.system.controller.system.SysOssController.remove()', 'DELETE', 1, 'admin', '', '/resource/oss/88726663227060224', '0:0:0:0:0:0:0:1', '内网IP', '{}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-03 09:13:20', 27), + (88727805898076160, 'OSS对象存储', 1, 'com.ruoyi.system.controller.system.SysOssController.upload()', 'POST', 1, 'admin', '', '/resource/oss/upload', '0:0:0:0:0:0:0:1', '内网IP', '', '{"code":200,"msg":"操作成功","data":{"url":"http://127.0.0.1:9000/ruoyi-flex/2023/12/03/84a8c4c8a4004a92b1c377f31f654b93.jpeg","fileName":"avator2.jpeg","ossId":"88727804786585600"}}', 0, '', '2023-12-03 09:13:37', 559), + (88727823967137792, 'OSS对象存储', 1, 'com.ruoyi.system.controller.system.SysOssController.upload()', 'POST', 1, 'admin', '', '/resource/oss/upload', '0:0:0:0:0:0:0:1', '内网IP', '', '{"code":200,"msg":"操作成功","data":{"url":"http://127.0.0.1:9000/ruoyi-flex/2023/12/03/31510e1f849841cb89f113d37e9154f5.jpeg","fileName":"avator.jpeg","ossId":"88727823782588416"}}', 0, '', '2023-12-03 09:13:42', 266), + (88727862181441536, '参数管理', 2, 'com.ruoyi.system.controller.system.SysConfigController.updateByKey()', 'PUT', 1, 'admin', '', '/system/config/updateByKey', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"configId":null,"configName":null,"configKey":"sys.oss.previewListResource","configValue":"true","configType":null,"remark":null}', '', 1, 'Cannot invoke "com.ruoyi.system.domain.SysConfig.setConfigValue(String)" because "sysConfig" is null', '2023-12-03 09:13:51', 37), + (88730439254093824, '参数管理', 2, 'com.ruoyi.system.controller.system.SysConfigController.updateByKey()', 'PUT', 1, 'admin', '', '/system/config/updateByKey', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"configId":null,"configName":null,"configKey":"sys.oss.previewListResource","configValue":"true","configType":null,"remark":null}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-03 09:24:05', 31), + (88730534825504768, 'OSS对象存储', 3, 'com.ruoyi.system.controller.system.SysOssController.remove()', 'DELETE', 1, 'admin', '', '/resource/oss/88727823782588416', '0:0:0:0:0:0:0:1', '内网IP', '{}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-03 09:24:28', 50), + (88730552416415744, 'OSS对象存储', 3, 'com.ruoyi.system.controller.system.SysOssController.remove()', 'DELETE', 1, 'admin', '', '/resource/oss/88727804786585600', '0:0:0:0:0:0:0:1', '内网IP', '{}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-03 09:24:32', 54), + (88730743232081920, '用户头像', 2, 'com.ruoyi.system.controller.system.SysProfileController.avatar()', 'POST', 1, 'admin', '', '/system/user/profile/avatar', '0:0:0:0:0:0:0:1', '内网IP', '', '{"code":200,"msg":"操作成功","data":{"imgUrl":"http://127.0.0.1:9000/ruoyi-flex/2023/12/03/414e8f1ed3d146abb1a669a3a2bd0430.jpeg"}}', 0, '', '2023-12-03 09:25:18', 46), + (88731027417149440, '菜单管理', 3, 'com.ruoyi.system.controller.system.SysMenuController.remove()', 'DELETE', 1, 'admin', '', '/system/menu/2083', '0:0:0:0:0:0:0:1', '内网IP', '{}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-03 09:26:25', 49), + (88783371647410176, '菜单管理', 1, 'com.ruoyi.system.controller.system.SysMenuController.add()', 'POST', 1, 'admin', '', '/system/menu', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"menuId":null,"parentId":0,"menuName":"业务管理","orderNum":99,"path":"biz","component":null,"query":null,"isFrame":"1","isCache":"0","menuType":"M","visible":"0","status":"0","icon":"build","remark":null}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-03 12:54:25', 62), + (88783500257353728, '菜单管理', 3, 'com.ruoyi.system.controller.system.SysMenuController.remove()', 'DELETE', 1, 'admin', '', '/system/menu/2084', '0:0:0:0:0:0:0:1', '内网IP', '{}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-03 12:54:56', 46), + (88804506485219328, '用户管理', 2, 'com.ruoyi.system.controller.system.SysUserController.edit()', 'PUT', 1, 'admin', '', '/system/user', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":"2023-06-03 21:32:28","updateBy":null,"updateTime":null,"userId":2,"deptId":"65929080159150080","deptName":null,"userName":"ry","nickName":"ruoyi-flex","userType":"sys_user","email":"ry@qq.com","phonenumber":"15666666666","gender":"1","status":"0","remark":"测试员","loginIp":"127.0.0.1","loginDate":"2023-06-03 21:32:28","roleIds":[2,101],"postIds":[2],"roleId":null,"superAdmin":false}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-03 14:18:24', 61), + (89658723345133568, '客户主表', 1, 'com.ruoyi.mf.controller.CustomerController.add()', 'POST', 1, 'admin', '', '/mf/customer', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"customerId":null,"customerName":"杨六郎","phonenumber":"1356667890","gender":"0","birthday":"2021-02-10","remark":"杨家将","goodsList":[]}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-05 22:52:45', 138), + (89659209708236800, '客户主表', 2, 'com.ruoyi.mf.controller.CustomerController.edit()', 'PUT', 1, 'admin', '', '/mf/customer', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":1,"createTime":"2023-12-05 22:52:45","updateBy":1,"updateTime":"2023-12-05 22:52:45","customerId":"89658722841817088","customerName":"杨六郎","phonenumber":"1356667890","gender":"0","birthday":"2021-02-10","remark":"杨家将","goodsList":[{"createDept":null,"createBy":1,"createTime":"2023-12-05 22:54:41","updateBy":1,"updateTime":"2023-12-05 22:54:41","goodsId":"89659209448189952","customerId":"89658722841817088","name":"mate70","weight":500,"price":"8900.99","date":"2023-12-01","type":"1"},{"createDept":null,"createBy":1,"createTime":"2023-12-05 22:54:41","updateBy":1,"updateTime":"2023-12-05 22:54:41","goodsId":"89659209448189953","customerId":"89658722841817088","name":"matebook","weight":1000,"price":"12000","date":"2023-12-20","type":"4"}]}', '', 1, '\r\n### Error updating database. Cause: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Out of range value for column \'price\' at row 2\r\n### The error may exist in com/ruoyi/mf/mapper/GoodsMapper.java (best guess)\r\n### The error may involve com.ruoyi.mf.mapper.GoodsMapper.insertBatch\r\n### The error occurred while executing an update\r\n### SQL: INSERT INTO `mf_goods`(`goods_id`, `customer_id`, `name`, `weight`, `price`, `date`, `type`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)\r\n### Cause: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Out of range value for column \'price\' at row 2\n; Data truncation: Out of range value for column \'price\' at row 2', '2023-12-05 22:54:41', 69), + (89659653570457600, '客户主表', 2, 'com.ruoyi.mf.controller.CustomerController.edit()', 'PUT', 1, 'admin', '', '/mf/customer', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":1,"createTime":"2023-12-05 22:52:45","updateBy":1,"updateTime":"2023-12-05 22:52:45","customerId":"89658722841817088","customerName":"杨六郎","phonenumber":"1356667890","gender":"0","birthday":"2021-02-10","remark":"杨家将","goodsList":[{"createDept":null,"createBy":1,"createTime":"2023-12-05 22:56:27","updateBy":1,"updateTime":"2023-12-05 22:56:27","goodsId":"89659653381713920","customerId":"89658722841817088","name":"mate70","weight":500,"price":"8900.99","date":"2023-12-01","type":"1"},{"createDept":null,"createBy":1,"createTime":"2023-12-05 22:56:27","updateBy":1,"updateTime":"2023-12-05 22:56:27","goodsId":"89659653381713921","customerId":"89658722841817088","name":"matebook","weight":1000,"price":"6500","date":"2023-12-20","type":"4"}]}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-05 22:56:27', 49), + (89660505622343680, '客户主表', 2, 'com.ruoyi.mf.controller.CustomerController.edit()', 'PUT', 1, 'admin', '', '/mf/customer', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":1,"createTime":"2023-12-05 22:52:45","updateBy":1,"updateTime":"2023-12-05 22:56:27","customerId":"89658722841817088","customerName":"杨六郎","phonenumber":"1356667890","gender":"2","birthday":"2021-02-10","remark":"杨家将军","goodsList":[{"createDept":null,"createBy":1,"createTime":"2023-12-05 22:56:27","updateBy":1,"updateTime":"2023-12-05 22:56:27","goodsId":"89659653381713920","customerId":"89658722841817088","name":"mate70","weight":500,"price":"8900.99","date":"2023-12-01","type":"1"},{"createDept":null,"createBy":1,"createTime":"2023-12-05 22:56:27","updateBy":1,"updateTime":"2023-12-05 22:56:27","goodsId":"89659653381713921","customerId":"89658722841817088","name":"matebook","weight":1000,"price":"6500.00","date":"2023-12-20","type":"4"},{"createDept":null,"createBy":1,"createTime":"2023-12-05 22:59:50","updateBy":1,"updateTime":"2023-12-05 22:59:50","goodsId":"89660505517486080","customerId":"89658722841817088","name":"帽子","weight":260,"price":"150.50","date":"2023-11-28","type":"3"}]}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-05 22:59:50', 30), + (89838811193831424, '客户主表', 1, 'com.ruoyi.mf.controller.CustomerController.add()', 'POST', 1, 'admin', '', '/mf/customer', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"customerId":null,"customerName":"花木兰","phonenumber":"18888888888","gender":"1","birthday":"2000-08-08","remark":"女中英豪","goodsList":[{"createDept":null,"createBy":1,"createTime":"2023-12-06 10:48:21","updateBy":1,"updateTime":"2023-12-06 10:48:21","goodsId":"89838811026059264","customerId":"89838811009282048","name":"梅花枪","weight":15,"price":"600","date":"2011-02-01","type":"3"},{"createDept":null,"createBy":1,"createTime":"2023-12-06 10:48:21","updateBy":1,"updateTime":"2023-12-06 10:48:21","goodsId":"89838811026059265","customerId":"89838811009282048","name":"","weight":null,"price":null,"date":null,"type":""}]}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-06 10:48:22', 46), + (89839123518484480, '客户主表', 2, 'com.ruoyi.mf.controller.CustomerController.edit()', 'PUT', 1, 'admin', '', '/mf/customer', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":1,"createTime":"2023-12-06 10:48:22","updateBy":1,"updateTime":"2023-12-06 10:48:22","customerId":"89838811009282048","customerName":"花木兰","phonenumber":"18888888888","gender":"1","birthday":"2000-08-08","remark":"女中英豪","goodsList":[{"createDept":null,"createBy":1,"createTime":"2023-12-06 10:48:22","updateBy":1,"updateTime":"2023-12-06 10:48:22","goodsId":"89838811026059264","customerId":"89838811009282048","name":"梅花枪","weight":15,"price":"600.00","date":"2011-02-01","type":"3"},{"createDept":null,"createBy":1,"createTime":"2023-12-06 10:49:36","updateBy":1,"updateTime":"2023-12-06 10:49:36","goodsId":"89839123413626880","customerId":"89838811009282048","name":"本图","weight":300,"price":"3000","date":"2021-06-08","type":"2"}]}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-06 10:49:36', 29), + (89843232803934208, '客户主表', 1, 'com.ruoyi.mf.controller.CustomerController.add()', 'POST', 1, 'admin', '', '/mf/customer', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"customerId":null,"customerName":"文天祥","phonenumber":"19999999999","gender":"2","birthday":"2022-02-02","remark":"抗金名将","goodsList":[{"createDept":null,"createBy":1,"createTime":"2023-12-06 11:05:55","updateBy":1,"updateTime":"2023-12-06 11:05:55","goodsId":"89843232602607616","customerId":"89843232283840512","name":"过零丁洋","weight":6,"price":"6000","date":"2021-06-06","type":"4"}]}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-06 11:05:56', 142), + (89843657179418624, '客户主表', 2, 'com.ruoyi.mf.controller.CustomerController.edit()', 'PUT', 1, 'admin', '', '/mf/customer', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":1,"createTime":"2023-12-06 11:05:56","updateBy":1,"updateTime":"2023-12-06 11:05:56","customerId":"89843232283840512","customerName":"文天祥","phonenumber":"19999999999","gender":"2","birthday":"2022-02-02","remark":"抗金名将","goodsList":[{"createDept":null,"createBy":1,"createTime":"2023-12-06 11:05:56","updateBy":1,"updateTime":"2023-12-06 11:05:56","goodsId":"89843232602607616","customerId":"89843232283840512","name":"过零丁洋","weight":6,"price":"6000.00","date":"2021-06-06","type":"4"},{"createDept":null,"createBy":1,"createTime":"2023-12-06 11:07:37","updateBy":1,"updateTime":"2023-12-06 11:07:37","goodsId":"89843657070366720","customerId":"89843232283840512","name":"冲锋衣","weight":450,"price":"900.56","date":"2022-12-16","type":"3"}]}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-06 11:07:37', 33), + (89844021580550144, '客户主表', 3, 'com.ruoyi.mf.controller.CustomerController.remove()', 'DELETE', 1, 'admin', '', '/mf/customer/89838811009282048,89843232283840512', '0:0:0:0:0:0:0:1', '内网IP', '{}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-06 11:09:04', 29), + (90186461244133376, '客户主表', 1, 'com.ruoyi.mf.controller.CustomerController.add()', 'POST', 1, 'admin', '研发部门', '/mf/customer', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"customerId":null,"customerName":"红星公司王总","phonenumber":"16666666666","gender":"0","birthday":"2023-12-06","remark":"红星总裁","goodsList":[{"createDept":null,"createBy":1,"createTime":"2023-12-07 09:49:47","updateBy":1,"updateTime":"2023-12-07 09:49:47","goodsId":"90186460988280832","customerId":"90186460908589056","name":"笔记本电脑","weight":200,"price":"9000","date":"2023-12-05","type":"1"}]}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-07 09:49:48', 93), + (90257751808163840, '菜单管理', 2, 'com.ruoyi.system.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/menu', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":"2023-11-23 10:53:54","updateBy":null,"updateTime":null,"menuId":2077,"parentId":2018,"menuName":"产品树表","orderNum":1,"path":"productMf","component":"mf/product/index","query":null,"isFrame":"1","isCache":"0","menuType":"C","visible":"0","status":"0","perms":"mf:product:list","icon":"#","remark":"产品树菜单"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-07 14:33:05', 39), + (90258124170084352, '菜单管理', 2, 'com.ruoyi.system.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/menu', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":"2023-11-22 17:30:46","updateBy":null,"updateTime":null,"menuId":2071,"parentId":2018,"menuName":"学生信息表","orderNum":1,"path":"studentMf","component":"mf/student/index","query":null,"isFrame":"1","isCache":"0","menuType":"C","visible":"0","status":"0","perms":"mf:student:list","icon":"#","remark":"学生信息表菜单"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-07 14:34:34', 49), + (90258248787050496, '菜单管理', 2, 'com.ruoyi.system.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/menu', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":"2023-12-05 15:37:16","updateBy":null,"updateTime":null,"menuId":2085,"parentId":2018,"menuName":"客户主表","orderNum":1,"path":"mfcustomer","component":"mf/customer/index","query":null,"isFrame":"1","isCache":"0","menuType":"C","visible":"0","status":"0","perms":"mf:customer:list","icon":"#","remark":"客户主表菜单"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-07 14:35:03', 47), + (90258286036664320, '菜单管理', 2, 'com.ruoyi.system.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/menu', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":"2023-11-23 10:53:54","updateBy":null,"updateTime":null,"menuId":2077,"parentId":2018,"menuName":"产品树表","orderNum":1,"path":"productMf","component":"mf/product/index","query":null,"isFrame":"1","isCache":"0","menuType":"C","visible":"0","status":"0","perms":"mf:product:list","icon":"#","remark":"产品树菜单"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-07 14:35:12', 41), + (90258302365089792, '菜单管理', 2, 'com.ruoyi.system.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/menu', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":"2023-11-22 17:30:46","updateBy":null,"updateTime":null,"menuId":2071,"parentId":2018,"menuName":"学生信息表","orderNum":1,"path":"studentMf","component":"mf/student/index","query":null,"isFrame":"1","isCache":"0","menuType":"C","visible":"0","status":"0","perms":"mf:student:list","icon":"#","remark":"学生信息表菜单"}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-07 14:35:16', 40), + (91380889069563904, '参数管理', 2, 'com.ruoyi.system.controller.system.SysConfigController.updateByKey()', 'PUT', 1, 'admin', '研发部门', '/system/config/updateByKey', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"configId":null,"configName":null,"configKey":"sys.oss.previewListResource","configValue":"true","configType":null,"remark":null}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-10 16:56:02', 161), + (91380978244661248, 'OSS对象存储', 1, 'com.ruoyi.system.controller.system.SysOssController.upload()', 'POST', 1, 'admin', '研发部门', '/resource/oss/upload', '0:0:0:0:0:0:0:1', '内网IP', '', '{"code":200,"msg":"操作成功","data":{"url":"http://127.0.0.1:9000/ruoyi-flex/2023/12/10/ae432cf738fe4facb11831304ace1867.jpeg","fileName":"avator.jpeg","ossId":"91380978089472000"}}', 0, '', '2023-12-10 16:56:23', 165), + (91382062296084480, '参数管理', 2, 'com.ruoyi.system.controller.system.SysConfigController.updateByKey()', 'PUT', 1, 'admin', '研发部门', '/system/config/updateByKey', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"configId":null,"configName":null,"configKey":"sys.oss.previewListResource","configValue":"true","configType":null,"remark":null}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-10 17:00:41', 21), + (91385550279290880, '参数管理', 2, 'com.ruoyi.system.controller.system.SysConfigController.updateByKey()', 'PUT', 1, 'admin', '研发部门', '/system/config/updateByKey', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"configId":null,"configName":null,"configKey":"sys.oss.previewListResource","configValue":"false","configType":null,"remark":null}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-10 17:14:33', 8), + (91385668957122560, '参数管理', 2, 'com.ruoyi.system.controller.system.SysConfigController.updateByKey()', 'PUT', 1, 'admin', '研发部门', '/system/config/updateByKey', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"configId":null,"configName":null,"configKey":"sys.oss.previewListResource","configValue":"false","configType":null,"remark":null}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-10 17:15:01', 6), + (91424064668729344, '参数管理', 2, 'com.ruoyi.system.controller.system.SysConfigController.updateByKey()', 'PUT', 1, 'admin', '研发部门', '/system/config/updateByKey', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"configId":null,"configName":null,"configKey":"sys.oss.previewListResource","configValue":"false","configType":null,"remark":null}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-10 19:47:36', 79), + (91424639682641920, '参数管理', 2, 'com.ruoyi.system.controller.system.SysConfigController.updateByKey()', 'PUT', 1, 'admin', '研发部门', '/system/config/updateByKey', '0:0:0:0:0:0:0:1', '内网IP', '{"createDept":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"configId":null,"configName":null,"configKey":"sys.oss.previewListResource","configValue":"true","configType":null,"remark":null}', '{"code":200,"msg":"操作成功","data":null}', 0, '', '2023-12-10 19:49:53', 31); + +-- 导出 表 ruoyi-flex.sys_oss 结构 +CREATE TABLE IF NOT EXISTS `sys_oss` ( + `oss_id` bigint NOT NULL COMMENT '对象存储主键', + `file_name` varchar(255) COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '文件名', + `original_name` varchar(255) COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '原名', + `file_suffix` varchar(10) COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '文件后缀名', + `url` varchar(500) COLLATE utf8mb4_bin NOT NULL COMMENT 'URL地址', + `service` varchar(20) COLLATE utf8mb4_bin NOT NULL DEFAULT 'minio' COMMENT '服务商', + `create_by` bigint DEFAULT NULL COMMENT '上传人', + `create_time` datetime DEFAULT NULL COMMENT '创建时间', + `update_by` bigint DEFAULT NULL COMMENT '更新人', + `update_time` datetime DEFAULT NULL COMMENT '更新时间', + PRIMARY KEY (`oss_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='OSS对象存储表'; + +-- 正在导出表 ruoyi-flex.sys_oss 的数据:~1 rows (大约) +INSERT INTO `sys_oss` (`oss_id`, `file_name`, `original_name`, `file_suffix`, `url`, `service`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES + (88730743081086976, '2023/12/03/414e8f1ed3d146abb1a669a3a2bd0430.jpeg', 'avator2.jpeg', '.jpeg', 'http://127.0.0.1:9000/ruoyi-flex/2023/12/03/414e8f1ed3d146abb1a669a3a2bd0430.jpeg', 'minio', 1, '2023-12-03 09:25:18', 1, '2023-12-03 09:25:18'), + (91380978089472000, '2023/12/10/ae432cf738fe4facb11831304ace1867.jpeg', 'avator.jpeg', '.jpeg', 'http://127.0.0.1:9000/ruoyi-flex/2023/12/10/ae432cf738fe4facb11831304ace1867.jpeg', 'minio', 1, '2023-12-10 16:56:23', 1, '2023-12-10 16:56:23'); + +-- 导出 表 ruoyi-flex.sys_oss_config 结构 +CREATE TABLE IF NOT EXISTS `sys_oss_config` ( + `oss_config_id` bigint NOT NULL COMMENT '主建', + `config_key` varchar(20) COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '配置key', + `access_key` varchar(255) COLLATE utf8mb4_bin DEFAULT '' COMMENT 'accessKey', + `secret_key` varchar(255) COLLATE utf8mb4_bin DEFAULT '' COMMENT '秘钥', + `bucket_name` varchar(255) COLLATE utf8mb4_bin DEFAULT '' COMMENT '桶名称', + `prefix` varchar(255) COLLATE utf8mb4_bin DEFAULT '' COMMENT '前缀', + `endpoint` varchar(255) COLLATE utf8mb4_bin DEFAULT '' COMMENT '访问站点', + `domain` varchar(255) COLLATE utf8mb4_bin DEFAULT '' COMMENT '自定义域名', + `is_https` char(1) COLLATE utf8mb4_bin DEFAULT 'N' COMMENT '是否https(Y=是,N=否)', + `region` varchar(255) COLLATE utf8mb4_bin DEFAULT '' COMMENT '域', + `access_policy` char(1) COLLATE utf8mb4_bin NOT NULL DEFAULT '1' COMMENT '桶权限类型(0=private 1=public 2=custom)', + `status` char(1) COLLATE utf8mb4_bin DEFAULT '1' COMMENT '是否默认(0=是,1=否)', + `ext1` varchar(255) COLLATE utf8mb4_bin DEFAULT '' COMMENT '扩展字段', + `create_by` bigint DEFAULT NULL COMMENT '创建者', + `create_time` datetime DEFAULT NULL COMMENT '创建时间', + `update_by` bigint DEFAULT NULL COMMENT '更新者', + `update_time` datetime DEFAULT NULL COMMENT '更新时间', + `remark` varchar(500) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '备注', + PRIMARY KEY (`oss_config_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='对象存储配置表'; + +-- 正在导出表 ruoyi-flex.sys_oss_config 的数据:~4 rows (大约) +INSERT INTO `sys_oss_config` (`oss_config_id`, `config_key`, `access_key`, `secret_key`, `bucket_name`, `prefix`, `endpoint`, `domain`, `is_https`, `region`, `access_policy`, `status`, `ext1`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES + (1, 'minio', 'ruoyi-flex', 'ruoyi-flex@369', 'ruoyi-flex', '', '127.0.0.1:9000', '', 'N', '', '1', '0', '', 1, '2023-11-30 11:54:13', 1, '2023-12-03 09:07:42', NULL), + (2, 'qiniu', 'XXXXXXXXXXXXXXX', 'XXXXXXXXXXXXXXX', 'ruoyi-flex', '', 's3-cn-north-1.qiniucs.com', '', 'N', '', '1', '1', '', 1, '2023-11-30 11:54:13', 1, '2023-12-01 14:25:43', NULL), + (3, 'aliyun', 'XXXXXXXXXXXXXXX', 'XXXXXXXXXXXXXXX', 'ruoyi-flex', '', 'oss-cn-beijing.aliyuncs.com', '', 'N', '', '1', '1', '', 1, '2023-11-30 11:54:13', 1, '2023-12-01 14:25:48', NULL), + (4, 'qcloud', 'XXXXXXXXXXXXXXX', 'XXXXXXXXXXXXXXX', 'ruoyi-flex', '', 'cos.ap-beijing.myqcloud.com', '', 'N', '', '1', '1', '', 1, '2023-11-30 11:54:13', 1, '2023-12-01 14:26:02', NULL); + +-- 导出 表 ruoyi-flex.sys_post 结构 +CREATE TABLE IF NOT EXISTS `sys_post` ( + `post_id` bigint NOT NULL COMMENT '岗位ID', + `post_code` varchar(64) COLLATE utf8mb4_bin NOT NULL COMMENT '岗位编码', + `post_name` varchar(50) COLLATE utf8mb4_bin NOT NULL COMMENT '岗位名称', + `post_sort` int NOT NULL COMMENT '显示顺序', + `status` char(1) COLLATE utf8mb4_bin NOT NULL COMMENT '状态(0正常 1停用)', + `create_by` bigint NOT NULL DEFAULT '0' COMMENT '创建者', + `create_time` datetime DEFAULT NULL COMMENT '创建时间', + `update_by` bigint NOT NULL DEFAULT '0' COMMENT '更新者', + `update_time` datetime DEFAULT NULL COMMENT '更新时间', + `remark` varchar(500) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '备注', + PRIMARY KEY (`post_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='岗位信息表'; + +-- 正在导出表 ruoyi-flex.sys_post 的数据:~4 rows (大约) +INSERT INTO `sys_post` (`post_id`, `post_code`, `post_name`, `post_sort`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES + (1, 'ceo', '董事长', 1, '0', 1, '2023-06-03 21:32:28', 1, '2023-09-02 15:43:55', ''), + (2, 'se', '项目经理', 2, '0', 1, '2023-06-03 21:32:28', 1, NULL, ''), + (3, 'hr', '人力资源', 3, '0', 1, '2023-06-03 21:32:28', 1, NULL, ''), + (4, 'users', '普通员工', 4, '0', 1, '2023-06-03 21:32:28', 1, '2023-07-13 21:30:24', ''), + (65917508166729728, 'deptLeader', '部门管理岗', 5, '0', 1, '2023-10-01 10:33:39', 1, '2023-10-01 10:33:39', '部门负责人岗位'); + +-- 导出 表 ruoyi-flex.sys_role 结构 +CREATE TABLE IF NOT EXISTS `sys_role` ( + `role_id` bigint NOT NULL COMMENT '角色ID', + `role_name` varchar(30) COLLATE utf8mb4_bin NOT NULL COMMENT '角色名称', + `role_key` varchar(100) COLLATE utf8mb4_bin NOT NULL COMMENT '角色权限字符串', + `role_sort` int NOT NULL COMMENT '显示顺序', + `data_scope` char(1) COLLATE utf8mb4_bin DEFAULT '1' COMMENT '数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限)', + `menu_check_strictly` tinyint(1) DEFAULT '1' COMMENT '菜单树选择项是否关联显示', + `dept_check_strictly` tinyint(1) DEFAULT '1' COMMENT '部门树选择项是否关联显示', + `status` char(1) COLLATE utf8mb4_bin NOT NULL COMMENT '角色状态(0正常 1停用)', + `del_flag` char(1) COLLATE utf8mb4_bin DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)', + `create_by` bigint NOT NULL DEFAULT '0' COMMENT '创建者', + `create_time` datetime DEFAULT NULL COMMENT '创建时间', + `update_by` bigint NOT NULL DEFAULT '0' COMMENT '更新者', + `update_time` datetime DEFAULT NULL COMMENT '更新时间', + `remark` varchar(500) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '备注', + PRIMARY KEY (`role_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='角色信息表'; + +-- 正在导出表 ruoyi-flex.sys_role 的数据:~6 rows (大约) +INSERT INTO `sys_role` (`role_id`, `role_name`, `role_key`, `role_sort`, `data_scope`, `menu_check_strictly`, `dept_check_strictly`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES + (1, '超级管理员角色', 'admin', 1, '1', 1, 1, '0', '0', 1, '2023-06-03 21:32:28', 1, NULL, '超级管理员'), + (2, '普通角色', 'common', 2, '2', 1, 1, '0', '0', 1, '2023-06-03 21:32:28', 1, '2023-07-09 12:16:09', '普通角色'), + (101, '测试角色名称', 'test', 9, '3', 1, 1, '0', '0', 1, '2023-09-03 11:12:24', 1, '2023-09-29 15:42:05', '备注'), + (107, '本部门及以下角色', 'deptAdmin', 10, '4', 1, 1, '0', '0', 1, '2023-09-30 10:31:25', 1, '2023-11-21 16:08:09', '部门备注'), + (15649521177000164, '本部门角色', 'OnlyDept', 13, '3', 1, 1, '0', '0', 1, '2023-09-30 16:06:21', 1, '2023-11-21 09:17:59', '本部门可见'), + (65643961968087040, '本人角色', 'OnlyMe', 14, '5', 1, 1, '0', '0', 1, '2023-09-30 16:26:40', 1, '2023-10-27 20:08:29', NULL), + (65652406490345472, '自定义角色', 'customRole', 20, '2', 1, 1, '0', '0', 1, '2023-09-30 17:00:13', 1, '2023-11-21 15:41:54', '自定义'); + +-- 导出 表 ruoyi-flex.sys_role_dept 结构 +CREATE TABLE IF NOT EXISTS `sys_role_dept` ( + `role_id` bigint NOT NULL COMMENT '角色ID', + `dept_id` bigint NOT NULL COMMENT '部门ID', + PRIMARY KEY (`role_id`,`dept_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='角色和部门关联表'; + +-- 正在导出表 ruoyi-flex.sys_role_dept 的数据:~9 rows (大约) +INSERT INTO `sys_role_dept` (`role_id`, `dept_id`) VALUES + (2, 100), + (2, 101), + (2, 105), + (65652406490345472, 100), + (65652406490345472, 103), + (65652406490345472, 108), + (65652406490345472, 201), + (65652406490345472, 202), + (65652406490345472, 203); + +-- 导出 表 ruoyi-flex.sys_role_menu 结构 +CREATE TABLE IF NOT EXISTS `sys_role_menu` ( + `role_id` bigint NOT NULL COMMENT '角色ID', + `menu_id` bigint NOT NULL COMMENT '菜单ID', + PRIMARY KEY (`role_id`,`menu_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='角色和菜单关联表'; + +-- 正在导出表 ruoyi-flex.sys_role_menu 的数据:~453 rows (大约) +INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES + (2, 1), + (2, 2), + (2, 3), + (2, 4), + (2, 100), + (2, 101), + (2, 102), + (2, 103), + (2, 104), + (2, 105), + (2, 106), + (2, 107), + (2, 108), + (2, 109), + (2, 110), + (2, 111), + (2, 112), + (2, 113), + (2, 114), + (2, 115), + (2, 116), + (2, 117), + (2, 500), + (2, 501), + (2, 1000), + (2, 1001), + (2, 1002), + (2, 1003), + (2, 1004), + (2, 1005), + (2, 1006), + (2, 1007), + (2, 1008), + (2, 1009), + (2, 1010), + (2, 1011), + (2, 1012), + (2, 1013), + (2, 1014), + (2, 1015), + (2, 1016), + (2, 1017), + (2, 1018), + (2, 1019), + (2, 1020), + (2, 1021), + (2, 1022), + (2, 1023), + (2, 1024), + (2, 1025), + (2, 1026), + (2, 1027), + (2, 1028), + (2, 1029), + (2, 1030), + (2, 1031), + (2, 1032), + (2, 1033), + (2, 1034), + (2, 1035), + (2, 1036), + (2, 1037), + (2, 1038), + (2, 1039), + (2, 1040), + (2, 1041), + (2, 1042), + (2, 1043), + (2, 1044), + (2, 1045), + (2, 1046), + (2, 1047), + (2, 1048), + (2, 1049), + (2, 1050), + (2, 1051), + (2, 1052), + (2, 1053), + (2, 1054), + (2, 1055), + (2, 1056), + (2, 1057), + (2, 1058), + (2, 1059), + (2, 1060), + (107, 1), + (107, 3), + (107, 100), + (107, 101), + (107, 102), + (107, 103), + (107, 104), + (107, 105), + (107, 106), + (107, 107), + (107, 108), + (107, 115), + (107, 116), + (107, 117), + (107, 500), + (107, 501), + (107, 1000), + (107, 1001), + (107, 1002), + (107, 1003), + (107, 1004), + (107, 1005), + (107, 1006), + (107, 1007), + (107, 1008), + (107, 1009), + (107, 1010), + (107, 1011), + (107, 1012), + (107, 1013), + (107, 1014), + (107, 1015), + (107, 1016), + (107, 1017), + (107, 1018), + (107, 1019), + (107, 1020), + (107, 1021), + (107, 1022), + (107, 1023), + (107, 1024), + (107, 1025), + (107, 1026), + (107, 1027), + (107, 1028), + (107, 1029), + (107, 1030), + (107, 1031), + (107, 1032), + (107, 1033), + (107, 1034), + (107, 1035), + (107, 1036), + (107, 1037), + (107, 1038), + (107, 1039), + (107, 1040), + (107, 1041), + (107, 1042), + (107, 1043), + (107, 1044), + (107, 1045), + (107, 1055), + (107, 1056), + (107, 1057), + (107, 1058), + (107, 1059), + (107, 1060), + (107, 2018), + (107, 2050), + (107, 2051), + (107, 2052), + (107, 2053), + (107, 2054), + (107, 2055), + (107, 2056), + (107, 2057), + (107, 2058), + (107, 2059), + (107, 2060), + (107, 2061), + (107, 2062), + (107, 2063), + (107, 2064), + (107, 2065), + (107, 2066), + (107, 2067), + (15649521177000164, 1), + (15649521177000164, 2), + (15649521177000164, 3), + (15649521177000164, 4), + (15649521177000164, 100), + (15649521177000164, 101), + (15649521177000164, 102), + (15649521177000164, 103), + (15649521177000164, 104), + (15649521177000164, 105), + (15649521177000164, 106), + (15649521177000164, 107), + (15649521177000164, 108), + (15649521177000164, 109), + (15649521177000164, 110), + (15649521177000164, 112), + (15649521177000164, 113), + (15649521177000164, 115), + (15649521177000164, 116), + (15649521177000164, 117), + (15649521177000164, 500), + (15649521177000164, 501), + (15649521177000164, 1000), + (15649521177000164, 1001), + (15649521177000164, 1002), + (15649521177000164, 1003), + (15649521177000164, 1004), + (15649521177000164, 1005), + (15649521177000164, 1006), + (15649521177000164, 1007), + (15649521177000164, 1008), + (15649521177000164, 1009), + (15649521177000164, 1010), + (15649521177000164, 1011), + (15649521177000164, 1012), + (15649521177000164, 1013), + (15649521177000164, 1014), + (15649521177000164, 1015), + (15649521177000164, 1016), + (15649521177000164, 1017), + (15649521177000164, 1018), + (15649521177000164, 1019), + (15649521177000164, 1020), + (15649521177000164, 1021), + (15649521177000164, 1022), + (15649521177000164, 1023), + (15649521177000164, 1024), + (15649521177000164, 1025), + (15649521177000164, 1026), + (15649521177000164, 1027), + (15649521177000164, 1028), + (15649521177000164, 1029), + (15649521177000164, 1030), + (15649521177000164, 1031), + (15649521177000164, 1032), + (15649521177000164, 1033), + (15649521177000164, 1034), + (15649521177000164, 1035), + (15649521177000164, 1036), + (15649521177000164, 1037), + (15649521177000164, 1038), + (15649521177000164, 1039), + (15649521177000164, 1040), + (15649521177000164, 1041), + (15649521177000164, 1042), + (15649521177000164, 1043), + (15649521177000164, 1044), + (15649521177000164, 1045), + (15649521177000164, 1046), + (15649521177000164, 1047), + (15649521177000164, 1048), + (15649521177000164, 1049), + (15649521177000164, 1050), + (15649521177000164, 1051), + (15649521177000164, 1052), + (15649521177000164, 1053), + (15649521177000164, 1054), + (15649521177000164, 1055), + (15649521177000164, 1056), + (15649521177000164, 1057), + (15649521177000164, 1058), + (15649521177000164, 1059), + (15649521177000164, 1060), + (15649521177000164, 2018), + (15649521177000164, 2050), + (15649521177000164, 2051), + (15649521177000164, 2052), + (15649521177000164, 2053), + (15649521177000164, 2054), + (15649521177000164, 2055), + (15649521177000164, 2056), + (15649521177000164, 2057), + (15649521177000164, 2058), + (15649521177000164, 2059), + (15649521177000164, 2060), + (15649521177000164, 2061), + (15649521177000164, 2062), + (15649521177000164, 2063), + (15649521177000164, 2064), + (15649521177000164, 2065), + (15649521177000164, 2066), + (15649521177000164, 2067), + (65643961968087040, 1), + (65643961968087040, 100), + (65643961968087040, 101), + (65643961968087040, 102), + (65643961968087040, 103), + (65643961968087040, 104), + (65643961968087040, 105), + (65643961968087040, 106), + (65643961968087040, 107), + (65643961968087040, 108), + (65643961968087040, 500), + (65643961968087040, 501), + (65643961968087040, 1000), + (65643961968087040, 1001), + (65643961968087040, 1002), + (65643961968087040, 1003), + (65643961968087040, 1004), + (65643961968087040, 1005), + (65643961968087040, 1006), + (65643961968087040, 1007), + (65643961968087040, 1008), + (65643961968087040, 1009), + (65643961968087040, 1010), + (65643961968087040, 1011), + (65643961968087040, 1012), + (65643961968087040, 1013), + (65643961968087040, 1014), + (65643961968087040, 1015), + (65643961968087040, 1016), + (65643961968087040, 1017), + (65643961968087040, 1018), + (65643961968087040, 1019), + (65643961968087040, 1020), + (65643961968087040, 1021), + (65643961968087040, 1022), + (65643961968087040, 1023), + (65643961968087040, 1024), + (65643961968087040, 1025), + (65643961968087040, 1026), + (65643961968087040, 1027), + (65643961968087040, 1028), + (65643961968087040, 1029), + (65643961968087040, 1030), + (65643961968087040, 1031), + (65643961968087040, 1032), + (65643961968087040, 1033), + (65643961968087040, 1034), + (65643961968087040, 1035), + (65643961968087040, 1036), + (65643961968087040, 1037), + (65643961968087040, 1038), + (65643961968087040, 1039), + (65643961968087040, 1040), + (65643961968087040, 1041), + (65643961968087040, 1042), + (65643961968087040, 1043), + (65643961968087040, 1044), + (65643961968087040, 1045), + (65643961968087040, 2018), + (65643961968087040, 2050), + (65643961968087040, 2051), + (65643961968087040, 2052), + (65643961968087040, 2053), + (65643961968087040, 2054), + (65643961968087040, 2055), + (65643961968087040, 2056), + (65643961968087040, 2057), + (65643961968087040, 2058), + (65643961968087040, 2059), + (65643961968087040, 2060), + (65643961968087040, 2061), + (65643961968087040, 2062), + (65643961968087040, 2063), + (65643961968087040, 2064), + (65643961968087040, 2065), + (65643961968087040, 2066), + (65643961968087040, 2067), + (65652406490345472, 1), + (65652406490345472, 2), + (65652406490345472, 3), + (65652406490345472, 4), + (65652406490345472, 100), + (65652406490345472, 101), + (65652406490345472, 102), + (65652406490345472, 103), + (65652406490345472, 104), + (65652406490345472, 105), + (65652406490345472, 106), + (65652406490345472, 107), + (65652406490345472, 108), + (65652406490345472, 109), + (65652406490345472, 110), + (65652406490345472, 112), + (65652406490345472, 113), + (65652406490345472, 115), + (65652406490345472, 116), + (65652406490345472, 117), + (65652406490345472, 500), + (65652406490345472, 501), + (65652406490345472, 1000), + (65652406490345472, 1001), + (65652406490345472, 1002), + (65652406490345472, 1003), + (65652406490345472, 1004), + (65652406490345472, 1005), + (65652406490345472, 1006), + (65652406490345472, 1007), + (65652406490345472, 1008), + (65652406490345472, 1009), + (65652406490345472, 1010), + (65652406490345472, 1011), + (65652406490345472, 1012), + (65652406490345472, 1013), + (65652406490345472, 1014), + (65652406490345472, 1015), + (65652406490345472, 1016), + (65652406490345472, 1017), + (65652406490345472, 1018), + (65652406490345472, 1019), + (65652406490345472, 1020), + (65652406490345472, 1021), + (65652406490345472, 1022), + (65652406490345472, 1023), + (65652406490345472, 1024), + (65652406490345472, 1025), + (65652406490345472, 1026), + (65652406490345472, 1027), + (65652406490345472, 1028), + (65652406490345472, 1029), + (65652406490345472, 1030), + (65652406490345472, 1031), + (65652406490345472, 1032), + (65652406490345472, 1033), + (65652406490345472, 1034), + (65652406490345472, 1035), + (65652406490345472, 1036), + (65652406490345472, 1037), + (65652406490345472, 1038), + (65652406490345472, 1039), + (65652406490345472, 1040), + (65652406490345472, 1041), + (65652406490345472, 1042), + (65652406490345472, 1043), + (65652406490345472, 1044), + (65652406490345472, 1045), + (65652406490345472, 1046), + (65652406490345472, 1047), + (65652406490345472, 1048), + (65652406490345472, 1049), + (65652406490345472, 1050), + (65652406490345472, 1051), + (65652406490345472, 1052), + (65652406490345472, 1053), + (65652406490345472, 1054), + (65652406490345472, 1055), + (65652406490345472, 1056), + (65652406490345472, 1057), + (65652406490345472, 1058), + (65652406490345472, 1059), + (65652406490345472, 1060), + (65652406490345472, 2018), + (65652406490345472, 2050), + (65652406490345472, 2051), + (65652406490345472, 2052), + (65652406490345472, 2053), + (65652406490345472, 2054), + (65652406490345472, 2055), + (65652406490345472, 2056), + (65652406490345472, 2057), + (65652406490345472, 2058), + (65652406490345472, 2059), + (65652406490345472, 2060), + (65652406490345472, 2061), + (65652406490345472, 2062), + (65652406490345472, 2063), + (65652406490345472, 2064), + (65652406490345472, 2065), + (65652406490345472, 2066), + (65652406490345472, 2067); + +-- 导出 表 ruoyi-flex.sys_tenant 结构 +CREATE TABLE IF NOT EXISTS `sys_tenant` ( + `id` bigint NOT NULL COMMENT 'id', + `tenant_id` bigint NOT NULL COMMENT '租户编号', + `contact_user_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '联系人', + `contact_phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '联系电话', + `company_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '企业名称', + `license_number` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '统一社会信用代码', + `address` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '地址', + `intro` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '企业简介', + `domain` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '域名', + `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '备注', + `package_id` bigint DEFAULT NULL COMMENT '租户套餐编号', + `expire_time` datetime DEFAULT NULL COMMENT '过期时间', + `account_count` int DEFAULT '-1' COMMENT '用户数量(-1不限制)', + `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '0' COMMENT '租户状态(0正常 1停用)', + `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)', + `create_dept` bigint DEFAULT NULL COMMENT '创建部门', + `create_by` bigint DEFAULT NULL COMMENT '创建者', + `create_time` datetime DEFAULT NULL COMMENT '创建时间', + `update_by` bigint DEFAULT NULL COMMENT '更新者', + `update_time` datetime DEFAULT NULL COMMENT '更新时间', + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='租户表'; + +-- 正在导出表 ruoyi-flex.sys_tenant 的数据:~0 rows (大约) +INSERT INTO `sys_tenant` (`id`, `tenant_id`, `contact_user_name`, `contact_phone`, `company_name`, `license_number`, `address`, `intro`, `domain`, `remark`, `package_id`, `expire_time`, `account_count`, `status`, `del_flag`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES + (1, 1, '租户管理组', '18888888888', 'XXX有限公司', NULL, NULL, 'RuoYi-Flex多租户通用后台管理管理系统', NULL, NULL, NULL, NULL, -1, '0', '0', 103, 1, '2023-08-13 08:08:08', NULL, NULL); + +-- 导出 表 ruoyi-flex.sys_user 结构 +CREATE TABLE IF NOT EXISTS `sys_user` ( + `user_id` bigint NOT NULL COMMENT '用户ID', + `tenant_id` bigint NOT NULL DEFAULT '0' COMMENT '租户主键', + `dept_id` bigint DEFAULT NULL COMMENT '部门ID', + `user_name` varchar(30) COLLATE utf8mb4_bin NOT NULL COMMENT '用户账号', + `nick_name` varchar(30) COLLATE utf8mb4_bin NOT NULL COMMENT '用户昵称', + `user_type` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT 'sys_user' COMMENT '用户类型(sys_user系统用户、app_user App用户)', + `email` varchar(50) COLLATE utf8mb4_bin DEFAULT '' COMMENT '用户邮箱', + `phonenumber` varchar(11) COLLATE utf8mb4_bin DEFAULT '' COMMENT '手机号码', + `gender` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '0' COMMENT '用户性别(0男 1女 2未知)', + `avatar` bigint DEFAULT NULL COMMENT '头像地址', + `password` varchar(100) COLLATE utf8mb4_bin DEFAULT '' COMMENT '密码', + `status` char(1) COLLATE utf8mb4_bin DEFAULT '0' COMMENT '帐号状态(0正常 1停用)', + `del_flag` char(1) COLLATE utf8mb4_bin DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)', + `login_ip` varchar(128) COLLATE utf8mb4_bin DEFAULT '' COMMENT '最后登录IP', + `login_date` datetime DEFAULT NULL COMMENT '最后登录时间', + `create_by` bigint NOT NULL DEFAULT '0' COMMENT '创建者', + `create_time` datetime DEFAULT NULL COMMENT '创建时间', + `update_by` bigint NOT NULL DEFAULT '0' COMMENT '更新者', + `update_time` datetime DEFAULT NULL COMMENT '更新时间', + `remark` varchar(500) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '备注', + PRIMARY KEY (`user_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='用户信息表'; + +-- 正在导出表 ruoyi-flex.sys_user 的数据:~9 rows (大约) +INSERT INTO `sys_user` (`user_id`, `tenant_id`, `dept_id`, `user_name`, `nick_name`, `user_type`, `email`, `phonenumber`, `gender`, `avatar`, `password`, `status`, `del_flag`, `login_ip`, `login_date`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES + (1, 1, 103, 'admin', '若依', 'sys_user', 'ry@163.com', '15888888888', '1', 88730743081086976, '$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2', '0', '0', '0:0:0:0:0:0:0:1', '2023-12-11 16:46:53', 1, '2023-06-03 21:32:28', 1, '2023-12-11 16:46:53', '管理员'), + (2, 1, 65929080159150080, 'ry', 'ruoyi-flex', 'sys_user', 'ry@qq.com', '15666666666', '1', NULL, '', '0', '0', '127.0.0.1', '2023-06-03 21:32:28', 1, '2023-06-03 21:32:28', 1, '2023-12-03 14:18:24', '测试员'), + (100, 1, 102, 'flex', 'flex昵称', 'sys_user', 'flex8888@163.com', '18808928888', '0', NULL, '$2a$10$jbN5LcYAQQ2E8g8MT.w7cu1YFNwKa/Nf4.A373DUc9fyRHLl9zwWO', '0', '0', '127.0.0.1', '2023-11-15 16:42:43', 1, '2023-07-06 16:49:17', 100, '2023-11-15 16:45:08', NULL), + (101, 0, 100, 'vue3', 'vue3用户名', 'sys_user', '', '', '0', NULL, '$2a$10$MEjgdOQgvs7obwu6yoVnLO/K3wGPMlV3CAQMxVIpqwebFZat22NUW', '1', '0', '', NULL, 1, '2023-09-12 11:53:15', 1, '2023-10-16 17:15:32', 'vue3新增测试用户'), + (71449897878007808, 0, 65929080159150080, 'java', 'java', 'sys_user', 'javaisgood@qq.com', '18966666666', '0', NULL, '$2a$10$fPvJrZBCZojxIauT/VERm.gX6jGVLfJLkKo5j5DGJstT6dO/AX4Dm', '0', '0', '127.0.0.1', '2023-11-21 19:28:48', 1, '2023-10-16 16:57:23', 71449897878007808, '2023-11-21 19:28:48', 'java用户'), + (71454850805735424, 0, 65929460884512768, 'java2', 'java2', 'sys_user', 'java2@1126.com', '18855556963', '1', NULL, '$2a$10$m2g/pdS9ciOBYfVAEH6FoOsC2.Ls7b86oQ/TM/4WowwvGGE1aSRLS', '0', '1', '', NULL, 1, '2023-10-16 17:17:04', 1, '2023-10-16 17:19:24', NULL), + (71500938010955776, 0, 65929267321577472, 'javaTest', 'java测试', 'sys_user', 'test@163.com', '13366666666', '0', NULL, '', '0', '0', '127.0.0.1', '2023-10-19 20:49:24', 1, '2023-10-16 20:20:12', 71449897878007808, '2023-11-21 09:35:54', NULL), + (75077525943939072, 0, 65929460884512768, 'li', 'li', 'sys_user', 'li@qq.com', '13666666666', '0', NULL, '', '0', '0', '', NULL, 1, '2023-10-26 17:12:17', 1, '2023-11-21 16:07:15', NULL), + (75081100715675648, 0, 203, 'vue3-li', 'vue3-li', 'sys_user', 'vue3-li@qq.com', '13566666666', '1', NULL, '', '0', '0', '127.0.0.1', '2023-10-27 22:33:10', 1, '2023-10-26 17:26:29', 71449897878007808, '2023-11-21 16:26:17', NULL); + +-- 导出 表 ruoyi-flex.sys_user_post 结构 +CREATE TABLE IF NOT EXISTS `sys_user_post` ( + `user_id` bigint NOT NULL COMMENT '用户ID', + `post_id` bigint NOT NULL COMMENT '岗位ID', + PRIMARY KEY (`user_id`,`post_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='用户与岗位关联表'; + +-- 正在导出表 ruoyi-flex.sys_user_post 的数据:~9 rows (大约) +INSERT INTO `sys_user_post` (`user_id`, `post_id`) VALUES + (1, 1), + (2, 2), + (100, 4), + (100, 65917508166729728), + (101, 3), + (101, 4), + (71449897878007808, 4), + (71449897878007808, 65917508166729728), + (75081100715675648, 4); + +-- 导出 表 ruoyi-flex.sys_user_role 结构 +CREATE TABLE IF NOT EXISTS `sys_user_role` ( + `user_id` bigint NOT NULL COMMENT '用户ID', + `role_id` bigint NOT NULL COMMENT '角色ID', + PRIMARY KEY (`user_id`,`role_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='用户和角色关联表'; + +-- 正在导出表 ruoyi-flex.sys_user_role 的数据:~16 rows (大约) +INSERT INTO `sys_user_role` (`user_id`, `role_id`) VALUES + (1, 1), + (2, 2), + (2, 101), + (100, 101), + (100, 107), + (100, 15649521177000164), + (101, 2), + (101, 101), + (65714406834679808, 65714406834679809), + (65714406838874112, 65714406838874113), + (71449897878007808, 107), + (71449897878007808, 15649521177000164), + (71449897878007808, 65652406490345472), + (71500938010955776, 2), + (75077525943939072, 2), + (75081100715675648, 65643961968087040); + +/*!40103 SET TIME_ZONE=IFNULL(@OLD_TIME_ZONE, 'system') */; +/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */; +/*!40014 SET FOREIGN_KEY_CHECKS=IFNULL(@OLD_FOREIGN_KEY_CHECKS, 1) */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40111 SET SQL_NOTES=IFNULL(@OLD_SQL_NOTES, 1) */; diff --git a/sql/ry_20230223.sql b/sql/ry_20230223.sql deleted file mode 100644 index 728fe0b..0000000 --- a/sql/ry_20230223.sql +++ /dev/null @@ -1,699 +0,0 @@ --- ---------------------------- --- 1、部门表 --- ---------------------------- -drop table if exists sys_dept; -create table sys_dept ( - dept_id bigint(20) not null auto_increment comment '部门id', - parent_id bigint(20) default 0 comment '父部门id', - ancestors varchar(50) default '' comment '祖级列表', - dept_name varchar(30) default '' comment '部门名称', - order_num int(4) default 0 comment '显示顺序', - leader varchar(20) default null comment '负责人', - phone varchar(11) default null comment '联系电话', - email varchar(50) default null comment '邮箱', - status char(1) default '0' comment '部门状态(0正常 1停用)', - del_flag char(1) default '0' comment '删除标志(0代表存在 2代表删除)', - create_by varchar(64) default '' comment '创建者', - create_time datetime comment '创建时间', - update_by varchar(64) default '' comment '更新者', - update_time datetime comment '更新时间', - primary key (dept_id) -) engine=innodb auto_increment=200 comment = '部门表'; - --- ---------------------------- --- 初始化-部门表数据 --- ---------------------------- -insert into sys_dept values(100, 0, '0', '若依科技', 0, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); -insert into sys_dept values(101, 100, '0,100', '深圳总公司', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); -insert into sys_dept values(102, 100, '0,100', '长沙分公司', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); -insert into sys_dept values(103, 101, '0,100,101', '研发部门', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); -insert into sys_dept values(104, 101, '0,100,101', '市场部门', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); -insert into sys_dept values(105, 101, '0,100,101', '测试部门', 3, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); -insert into sys_dept values(106, 101, '0,100,101', '财务部门', 4, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); -insert into sys_dept values(107, 101, '0,100,101', '运维部门', 5, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); -insert into sys_dept values(108, 102, '0,100,102', '市场部门', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); -insert into sys_dept values(109, 102, '0,100,102', '财务部门', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); - - --- ---------------------------- --- 2、用户信息表 --- ---------------------------- -drop table if exists sys_user; -create table sys_user ( - user_id bigint(20) not null auto_increment comment '用户ID', - dept_id bigint(20) default null comment '部门ID', - user_name varchar(30) not null comment '用户账号', - nick_name varchar(30) not null comment '用户昵称', - user_type varchar(2) default '00' comment '用户类型(00系统用户)', - email varchar(50) default '' comment '用户邮箱', - phonenumber varchar(11) default '' comment '手机号码', - sex char(1) default '0' comment '用户性别(0男 1女 2未知)', - avatar varchar(100) default '' comment '头像地址', - password varchar(100) default '' comment '密码', - status char(1) default '0' comment '帐号状态(0正常 1停用)', - del_flag char(1) default '0' comment '删除标志(0代表存在 2代表删除)', - login_ip varchar(128) default '' comment '最后登录IP', - login_date datetime comment '最后登录时间', - create_by varchar(64) default '' comment '创建者', - create_time datetime comment '创建时间', - update_by varchar(64) default '' comment '更新者', - update_time datetime comment '更新时间', - remark varchar(500) default null comment '备注', - primary key (user_id) -) engine=innodb auto_increment=100 comment = '用户信息表'; - --- ---------------------------- --- 初始化-用户信息表数据 --- ---------------------------- -insert into sys_user values(1, 103, 'admin', '若依', '00', 'ry@163.com', '15888888888', '1', '', '$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2', '0', '0', '127.0.0.1', sysdate(), 'admin', sysdate(), '', null, '管理员'); -insert into sys_user values(2, 105, 'ry', '若依', '00', 'ry@qq.com', '15666666666', '1', '', '$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2', '0', '0', '127.0.0.1', sysdate(), 'admin', sysdate(), '', null, '测试员'); - - --- ---------------------------- --- 3、岗位信息表 --- ---------------------------- -drop table if exists sys_post; -create table sys_post -( - post_id bigint(20) not null auto_increment comment '岗位ID', - post_code varchar(64) not null comment '岗位编码', - post_name varchar(50) not null comment '岗位名称', - post_sort int(4) not null comment '显示顺序', - status char(1) not null comment '状态(0正常 1停用)', - create_by varchar(64) default '' comment '创建者', - create_time datetime comment '创建时间', - update_by varchar(64) default '' comment '更新者', - update_time datetime comment '更新时间', - remark varchar(500) default null comment '备注', - primary key (post_id) -) engine=innodb comment = '岗位信息表'; - --- ---------------------------- --- 初始化-岗位信息表数据 --- ---------------------------- -insert into sys_post values(1, 'ceo', '董事长', 1, '0', 'admin', sysdate(), '', null, ''); -insert into sys_post values(2, 'se', '项目经理', 2, '0', 'admin', sysdate(), '', null, ''); -insert into sys_post values(3, 'hr', '人力资源', 3, '0', 'admin', sysdate(), '', null, ''); -insert into sys_post values(4, 'user', '普通员工', 4, '0', 'admin', sysdate(), '', null, ''); - - --- ---------------------------- --- 4、角色信息表 --- ---------------------------- -drop table if exists sys_role; -create table sys_role ( - role_id bigint(20) not null auto_increment comment '角色ID', - role_name varchar(30) not null comment '角色名称', - role_key varchar(100) not null comment '角色权限字符串', - role_sort int(4) not null comment '显示顺序', - data_scope char(1) default '1' comment '数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限)', - menu_check_strictly tinyint(1) default 1 comment '菜单树选择项是否关联显示', - dept_check_strictly tinyint(1) default 1 comment '部门树选择项是否关联显示', - status char(1) not null comment '角色状态(0正常 1停用)', - del_flag char(1) default '0' comment '删除标志(0代表存在 2代表删除)', - create_by varchar(64) default '' comment '创建者', - create_time datetime comment '创建时间', - update_by varchar(64) default '' comment '更新者', - update_time datetime comment '更新时间', - remark varchar(500) default null comment '备注', - primary key (role_id) -) engine=innodb auto_increment=100 comment = '角色信息表'; - --- ---------------------------- --- 初始化-角色信息表数据 --- ---------------------------- -insert into sys_role values('1', '超级管理员', 'admin', 1, 1, 1, 1, '0', '0', 'admin', sysdate(), '', null, '超级管理员'); -insert into sys_role values('2', '普通角色', 'common', 2, 2, 1, 1, '0', '0', 'admin', sysdate(), '', null, '普通角色'); - - --- ---------------------------- --- 5、菜单权限表 --- ---------------------------- -drop table if exists sys_menu; -create table sys_menu ( - menu_id bigint(20) not null auto_increment comment '菜单ID', - menu_name varchar(50) not null comment '菜单名称', - parent_id bigint(20) default 0 comment '父菜单ID', - order_num int(4) default 0 comment '显示顺序', - path varchar(200) default '' comment '路由地址', - component varchar(255) default null comment '组件路径', - query varchar(255) default null comment '路由参数', - is_frame int(1) default 1 comment '是否为外链(0是 1否)', - is_cache int(1) default 0 comment '是否缓存(0缓存 1不缓存)', - menu_type char(1) default '' comment '菜单类型(M目录 C菜单 F按钮)', - visible char(1) default 0 comment '菜单状态(0显示 1隐藏)', - status char(1) default 0 comment '菜单状态(0正常 1停用)', - perms varchar(100) default null comment '权限标识', - icon varchar(100) default '#' comment '菜单图标', - create_by varchar(64) default '' comment '创建者', - create_time datetime comment '创建时间', - update_by varchar(64) default '' comment '更新者', - update_time datetime comment '更新时间', - remark varchar(500) default '' comment '备注', - primary key (menu_id) -) engine=innodb auto_increment=2000 comment = '菜单权限表'; - --- ---------------------------- --- 初始化-菜单信息表数据 --- ---------------------------- --- 一级菜单 -insert into sys_menu values('1', '系统管理', '0', '1', 'system', null, '', 1, 0, 'M', '0', '0', '', 'system', 'admin', sysdate(), '', null, '系统管理目录'); -insert into sys_menu values('2', '系统监控', '0', '2', 'monitor', null, '', 1, 0, 'M', '0', '0', '', 'monitor', 'admin', sysdate(), '', null, '系统监控目录'); -insert into sys_menu values('3', '系统工具', '0', '3', 'tool', null, '', 1, 0, 'M', '0', '0', '', 'tool', 'admin', sysdate(), '', null, '系统工具目录'); -insert into sys_menu values('4', '若依官网', '0', '4', 'http://ruoyi.vip', null, '', 0, 0, 'M', '0', '0', '', 'guide', 'admin', sysdate(), '', null, '若依官网地址'); --- 二级菜单 -insert into sys_menu values('100', '用户管理', '1', '1', 'user', 'system/user/index', '', 1, 0, 'C', '0', '0', 'system:user:list', 'user', 'admin', sysdate(), '', null, '用户管理菜单'); -insert into sys_menu values('101', '角色管理', '1', '2', 'role', 'system/role/index', '', 1, 0, 'C', '0', '0', 'system:role:list', 'peoples', 'admin', sysdate(), '', null, '角色管理菜单'); -insert into sys_menu values('102', '菜单管理', '1', '3', 'menu', 'system/menu/index', '', 1, 0, 'C', '0', '0', 'system:menu:list', 'tree-table', 'admin', sysdate(), '', null, '菜单管理菜单'); -insert into sys_menu values('103', '部门管理', '1', '4', 'dept', 'system/dept/index', '', 1, 0, 'C', '0', '0', 'system:dept:list', 'tree', 'admin', sysdate(), '', null, '部门管理菜单'); -insert into sys_menu values('104', '岗位管理', '1', '5', 'post', 'system/post/index', '', 1, 0, 'C', '0', '0', 'system:post:list', 'post', 'admin', sysdate(), '', null, '岗位管理菜单'); -insert into sys_menu values('105', '字典管理', '1', '6', 'dict', 'system/dict/index', '', 1, 0, 'C', '0', '0', 'system:dict:list', 'dict', 'admin', sysdate(), '', null, '字典管理菜单'); -insert into sys_menu values('106', '参数设置', '1', '7', 'config', 'system/config/index', '', 1, 0, 'C', '0', '0', 'system:config:list', 'edit', 'admin', sysdate(), '', null, '参数设置菜单'); -insert into sys_menu values('107', '通知公告', '1', '8', 'notice', 'system/notice/index', '', 1, 0, 'C', '0', '0', 'system:notice:list', 'message', 'admin', sysdate(), '', null, '通知公告菜单'); -insert into sys_menu values('108', '日志管理', '1', '9', 'log', '', '', 1, 0, 'M', '0', '0', '', 'log', 'admin', sysdate(), '', null, '日志管理菜单'); -insert into sys_menu values('109', '在线用户', '2', '1', 'online', 'monitor/online/index', '', 1, 0, 'C', '0', '0', 'monitor:online:list', 'online', 'admin', sysdate(), '', null, '在线用户菜单'); -insert into sys_menu values('110', '定时任务', '2', '2', 'job', 'monitor/job/index', '', 1, 0, 'C', '0', '0', 'monitor:job:list', 'job', 'admin', sysdate(), '', null, '定时任务菜单'); -insert into sys_menu values('111', '数据监控', '2', '3', 'druid', 'monitor/druid/index', '', 1, 0, 'C', '0', '0', 'monitor:druid:list', 'druid', 'admin', sysdate(), '', null, '数据监控菜单'); -insert into sys_menu values('112', '服务监控', '2', '4', 'server', 'monitor/server/index', '', 1, 0, 'C', '0', '0', 'monitor:server:list', 'server', 'admin', sysdate(), '', null, '服务监控菜单'); -insert into sys_menu values('113', '缓存监控', '2', '5', 'cache', 'monitor/cache/index', '', 1, 0, 'C', '0', '0', 'monitor:cache:list', 'redis', 'admin', sysdate(), '', null, '缓存监控菜单'); -insert into sys_menu values('114', '缓存列表', '2', '6', 'cacheList', 'monitor/cache/list', '', 1, 0, 'C', '0', '0', 'monitor:cache:list', 'redis-list', 'admin', sysdate(), '', null, '缓存列表菜单'); -insert into sys_menu values('115', '表单构建', '3', '1', 'build', 'tool/build/index', '', 1, 0, 'C', '0', '0', 'tool:build:list', 'build', 'admin', sysdate(), '', null, '表单构建菜单'); -insert into sys_menu values('116', '代码生成', '3', '2', 'gen', 'tool/gen/index', '', 1, 0, 'C', '0', '0', 'tool:gen:list', 'code', 'admin', sysdate(), '', null, '代码生成菜单'); -insert into sys_menu values('117', '系统接口', '3', '3', 'swagger', 'tool/swagger/index', '', 1, 0, 'C', '0', '0', 'tool:swagger:list', 'swagger', 'admin', sysdate(), '', null, '系统接口菜单'); --- 三级菜单 -insert into sys_menu values('500', '操作日志', '108', '1', 'operlog', 'monitor/operlog/index', '', 1, 0, 'C', '0', '0', 'monitor:operlog:list', 'form', 'admin', sysdate(), '', null, '操作日志菜单'); -insert into sys_menu values('501', '登录日志', '108', '2', 'logininfor', 'monitor/logininfor/index', '', 1, 0, 'C', '0', '0', 'monitor:logininfor:list', 'logininfor', 'admin', sysdate(), '', null, '登录日志菜单'); --- 用户管理按钮 -insert into sys_menu values('1000', '用户查询', '100', '1', '', '', '', 1, 0, 'F', '0', '0', 'system:user:query', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1001', '用户新增', '100', '2', '', '', '', 1, 0, 'F', '0', '0', 'system:user:add', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1002', '用户修改', '100', '3', '', '', '', 1, 0, 'F', '0', '0', 'system:user:edit', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1003', '用户删除', '100', '4', '', '', '', 1, 0, 'F', '0', '0', 'system:user:remove', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1004', '用户导出', '100', '5', '', '', '', 1, 0, 'F', '0', '0', 'system:user:export', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1005', '用户导入', '100', '6', '', '', '', 1, 0, 'F', '0', '0', 'system:user:import', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1006', '重置密码', '100', '7', '', '', '', 1, 0, 'F', '0', '0', 'system:user:resetPwd', '#', 'admin', sysdate(), '', null, ''); --- 角色管理按钮 -insert into sys_menu values('1007', '角色查询', '101', '1', '', '', '', 1, 0, 'F', '0', '0', 'system:role:query', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1008', '角色新增', '101', '2', '', '', '', 1, 0, 'F', '0', '0', 'system:role:add', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1009', '角色修改', '101', '3', '', '', '', 1, 0, 'F', '0', '0', 'system:role:edit', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1010', '角色删除', '101', '4', '', '', '', 1, 0, 'F', '0', '0', 'system:role:remove', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1011', '角色导出', '101', '5', '', '', '', 1, 0, 'F', '0', '0', 'system:role:export', '#', 'admin', sysdate(), '', null, ''); --- 菜单管理按钮 -insert into sys_menu values('1012', '菜单查询', '102', '1', '', '', '', 1, 0, 'F', '0', '0', 'system:menu:query', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1013', '菜单新增', '102', '2', '', '', '', 1, 0, 'F', '0', '0', 'system:menu:add', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1014', '菜单修改', '102', '3', '', '', '', 1, 0, 'F', '0', '0', 'system:menu:edit', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1015', '菜单删除', '102', '4', '', '', '', 1, 0, 'F', '0', '0', 'system:menu:remove', '#', 'admin', sysdate(), '', null, ''); --- 部门管理按钮 -insert into sys_menu values('1016', '部门查询', '103', '1', '', '', '', 1, 0, 'F', '0', '0', 'system:dept:query', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1017', '部门新增', '103', '2', '', '', '', 1, 0, 'F', '0', '0', 'system:dept:add', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1018', '部门修改', '103', '3', '', '', '', 1, 0, 'F', '0', '0', 'system:dept:edit', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1019', '部门删除', '103', '4', '', '', '', 1, 0, 'F', '0', '0', 'system:dept:remove', '#', 'admin', sysdate(), '', null, ''); --- 岗位管理按钮 -insert into sys_menu values('1020', '岗位查询', '104', '1', '', '', '', 1, 0, 'F', '0', '0', 'system:post:query', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1021', '岗位新增', '104', '2', '', '', '', 1, 0, 'F', '0', '0', 'system:post:add', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1022', '岗位修改', '104', '3', '', '', '', 1, 0, 'F', '0', '0', 'system:post:edit', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1023', '岗位删除', '104', '4', '', '', '', 1, 0, 'F', '0', '0', 'system:post:remove', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1024', '岗位导出', '104', '5', '', '', '', 1, 0, 'F', '0', '0', 'system:post:export', '#', 'admin', sysdate(), '', null, ''); --- 字典管理按钮 -insert into sys_menu values('1025', '字典查询', '105', '1', '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:query', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1026', '字典新增', '105', '2', '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:add', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1027', '字典修改', '105', '3', '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:edit', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1028', '字典删除', '105', '4', '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:remove', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1029', '字典导出', '105', '5', '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:export', '#', 'admin', sysdate(), '', null, ''); --- 参数设置按钮 -insert into sys_menu values('1030', '参数查询', '106', '1', '#', '', '', 1, 0, 'F', '0', '0', 'system:config:query', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1031', '参数新增', '106', '2', '#', '', '', 1, 0, 'F', '0', '0', 'system:config:add', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1032', '参数修改', '106', '3', '#', '', '', 1, 0, 'F', '0', '0', 'system:config:edit', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1033', '参数删除', '106', '4', '#', '', '', 1, 0, 'F', '0', '0', 'system:config:remove', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1034', '参数导出', '106', '5', '#', '', '', 1, 0, 'F', '0', '0', 'system:config:export', '#', 'admin', sysdate(), '', null, ''); --- 通知公告按钮 -insert into sys_menu values('1035', '公告查询', '107', '1', '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:query', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1036', '公告新增', '107', '2', '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:add', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1037', '公告修改', '107', '3', '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:edit', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1038', '公告删除', '107', '4', '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:remove', '#', 'admin', sysdate(), '', null, ''); --- 操作日志按钮 -insert into sys_menu values('1039', '操作查询', '500', '1', '#', '', '', 1, 0, 'F', '0', '0', 'monitor:operlog:query', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1040', '操作删除', '500', '2', '#', '', '', 1, 0, 'F', '0', '0', 'monitor:operlog:remove', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1041', '日志导出', '500', '3', '#', '', '', 1, 0, 'F', '0', '0', 'monitor:operlog:export', '#', 'admin', sysdate(), '', null, ''); --- 登录日志按钮 -insert into sys_menu values('1042', '登录查询', '501', '1', '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:query', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1043', '登录删除', '501', '2', '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:remove', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1044', '日志导出', '501', '3', '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:export', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1045', '账户解锁', '501', '4', '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:unlock', '#', 'admin', sysdate(), '', null, ''); --- 在线用户按钮 -insert into sys_menu values('1046', '在线查询', '109', '1', '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:query', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1047', '批量强退', '109', '2', '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:batchLogout', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1048', '单条强退', '109', '3', '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:forceLogout', '#', 'admin', sysdate(), '', null, ''); --- 定时任务按钮 -insert into sys_menu values('1049', '任务查询', '110', '1', '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:query', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1050', '任务新增', '110', '2', '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:add', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1051', '任务修改', '110', '3', '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:edit', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1052', '任务删除', '110', '4', '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:remove', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1053', '状态修改', '110', '5', '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:changeStatus', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1054', '任务导出', '110', '6', '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:export', '#', 'admin', sysdate(), '', null, ''); --- 代码生成按钮 -insert into sys_menu values('1055', '生成查询', '116', '1', '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:query', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1056', '生成修改', '116', '2', '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:edit', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1057', '生成删除', '116', '3', '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:remove', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1058', '导入代码', '116', '4', '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:import', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1059', '预览代码', '116', '5', '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:preview', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu values('1060', '生成代码', '116', '6', '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:code', '#', 'admin', sysdate(), '', null, ''); - - --- ---------------------------- --- 6、用户和角色关联表 用户N-1角色 --- ---------------------------- -drop table if exists sys_user_role; -create table sys_user_role ( - user_id bigint(20) not null comment '用户ID', - role_id bigint(20) not null comment '角色ID', - primary key(user_id, role_id) -) engine=innodb comment = '用户和角色关联表'; - --- ---------------------------- --- 初始化-用户和角色关联表数据 --- ---------------------------- -insert into sys_user_role values ('1', '1'); -insert into sys_user_role values ('2', '2'); - - --- ---------------------------- --- 7、角色和菜单关联表 角色1-N菜单 --- ---------------------------- -drop table if exists sys_role_menu; -create table sys_role_menu ( - role_id bigint(20) not null comment '角色ID', - menu_id bigint(20) not null comment '菜单ID', - primary key(role_id, menu_id) -) engine=innodb comment = '角色和菜单关联表'; - --- ---------------------------- --- 初始化-角色和菜单关联表数据 --- ---------------------------- -insert into sys_role_menu values ('2', '1'); -insert into sys_role_menu values ('2', '2'); -insert into sys_role_menu values ('2', '3'); -insert into sys_role_menu values ('2', '4'); -insert into sys_role_menu values ('2', '100'); -insert into sys_role_menu values ('2', '101'); -insert into sys_role_menu values ('2', '102'); -insert into sys_role_menu values ('2', '103'); -insert into sys_role_menu values ('2', '104'); -insert into sys_role_menu values ('2', '105'); -insert into sys_role_menu values ('2', '106'); -insert into sys_role_menu values ('2', '107'); -insert into sys_role_menu values ('2', '108'); -insert into sys_role_menu values ('2', '109'); -insert into sys_role_menu values ('2', '110'); -insert into sys_role_menu values ('2', '111'); -insert into sys_role_menu values ('2', '112'); -insert into sys_role_menu values ('2', '113'); -insert into sys_role_menu values ('2', '114'); -insert into sys_role_menu values ('2', '115'); -insert into sys_role_menu values ('2', '116'); -insert into sys_role_menu values ('2', '117'); -insert into sys_role_menu values ('2', '500'); -insert into sys_role_menu values ('2', '501'); -insert into sys_role_menu values ('2', '1000'); -insert into sys_role_menu values ('2', '1001'); -insert into sys_role_menu values ('2', '1002'); -insert into sys_role_menu values ('2', '1003'); -insert into sys_role_menu values ('2', '1004'); -insert into sys_role_menu values ('2', '1005'); -insert into sys_role_menu values ('2', '1006'); -insert into sys_role_menu values ('2', '1007'); -insert into sys_role_menu values ('2', '1008'); -insert into sys_role_menu values ('2', '1009'); -insert into sys_role_menu values ('2', '1010'); -insert into sys_role_menu values ('2', '1011'); -insert into sys_role_menu values ('2', '1012'); -insert into sys_role_menu values ('2', '1013'); -insert into sys_role_menu values ('2', '1014'); -insert into sys_role_menu values ('2', '1015'); -insert into sys_role_menu values ('2', '1016'); -insert into sys_role_menu values ('2', '1017'); -insert into sys_role_menu values ('2', '1018'); -insert into sys_role_menu values ('2', '1019'); -insert into sys_role_menu values ('2', '1020'); -insert into sys_role_menu values ('2', '1021'); -insert into sys_role_menu values ('2', '1022'); -insert into sys_role_menu values ('2', '1023'); -insert into sys_role_menu values ('2', '1024'); -insert into sys_role_menu values ('2', '1025'); -insert into sys_role_menu values ('2', '1026'); -insert into sys_role_menu values ('2', '1027'); -insert into sys_role_menu values ('2', '1028'); -insert into sys_role_menu values ('2', '1029'); -insert into sys_role_menu values ('2', '1030'); -insert into sys_role_menu values ('2', '1031'); -insert into sys_role_menu values ('2', '1032'); -insert into sys_role_menu values ('2', '1033'); -insert into sys_role_menu values ('2', '1034'); -insert into sys_role_menu values ('2', '1035'); -insert into sys_role_menu values ('2', '1036'); -insert into sys_role_menu values ('2', '1037'); -insert into sys_role_menu values ('2', '1038'); -insert into sys_role_menu values ('2', '1039'); -insert into sys_role_menu values ('2', '1040'); -insert into sys_role_menu values ('2', '1041'); -insert into sys_role_menu values ('2', '1042'); -insert into sys_role_menu values ('2', '1043'); -insert into sys_role_menu values ('2', '1044'); -insert into sys_role_menu values ('2', '1045'); -insert into sys_role_menu values ('2', '1046'); -insert into sys_role_menu values ('2', '1047'); -insert into sys_role_menu values ('2', '1048'); -insert into sys_role_menu values ('2', '1049'); -insert into sys_role_menu values ('2', '1050'); -insert into sys_role_menu values ('2', '1051'); -insert into sys_role_menu values ('2', '1052'); -insert into sys_role_menu values ('2', '1053'); -insert into sys_role_menu values ('2', '1054'); -insert into sys_role_menu values ('2', '1055'); -insert into sys_role_menu values ('2', '1056'); -insert into sys_role_menu values ('2', '1057'); -insert into sys_role_menu values ('2', '1058'); -insert into sys_role_menu values ('2', '1059'); -insert into sys_role_menu values ('2', '1060'); - --- ---------------------------- --- 8、角色和部门关联表 角色1-N部门 --- ---------------------------- -drop table if exists sys_role_dept; -create table sys_role_dept ( - role_id bigint(20) not null comment '角色ID', - dept_id bigint(20) not null comment '部门ID', - primary key(role_id, dept_id) -) engine=innodb comment = '角色和部门关联表'; - --- ---------------------------- --- 初始化-角色和部门关联表数据 --- ---------------------------- -insert into sys_role_dept values ('2', '100'); -insert into sys_role_dept values ('2', '101'); -insert into sys_role_dept values ('2', '105'); - - --- ---------------------------- --- 9、用户与岗位关联表 用户1-N岗位 --- ---------------------------- -drop table if exists sys_user_post; -create table sys_user_post -( - user_id bigint(20) not null comment '用户ID', - post_id bigint(20) not null comment '岗位ID', - primary key (user_id, post_id) -) engine=innodb comment = '用户与岗位关联表'; - --- ---------------------------- --- 初始化-用户与岗位关联表数据 --- ---------------------------- -insert into sys_user_post values ('1', '1'); -insert into sys_user_post values ('2', '2'); - - --- ---------------------------- --- 10、操作日志记录 --- ---------------------------- -drop table if exists sys_oper_log; -create table sys_oper_log ( - oper_id bigint(20) not null auto_increment comment '日志主键', - title varchar(50) default '' comment '模块标题', - business_type int(2) default 0 comment '业务类型(0其它 1新增 2修改 3删除)', - method varchar(100) default '' comment '方法名称', - request_method varchar(10) default '' comment '请求方式', - operator_type int(1) default 0 comment '操作类别(0其它 1后台用户 2手机端用户)', - oper_name varchar(50) default '' comment '操作人员', - dept_name varchar(50) default '' comment '部门名称', - oper_url varchar(255) default '' comment '请求URL', - oper_ip varchar(128) default '' comment '主机地址', - oper_location varchar(255) default '' comment '操作地点', - oper_param varchar(2000) default '' comment '请求参数', - json_result varchar(2000) default '' comment '返回参数', - status int(1) default 0 comment '操作状态(0正常 1异常)', - error_msg varchar(2000) default '' comment '错误消息', - oper_time datetime comment '操作时间', - cost_time bigint(20) default 0 comment '消耗时间', - primary key (oper_id), - key idx_sys_oper_log_bt (business_type), - key idx_sys_oper_log_s (status), - key idx_sys_oper_log_ot (oper_time) -) engine=innodb auto_increment=100 comment = '操作日志记录'; - - --- ---------------------------- --- 11、字典类型表 --- ---------------------------- -drop table if exists sys_dict_type; -create table sys_dict_type -( - dict_id bigint(20) not null auto_increment comment '字典主键', - dict_name varchar(100) default '' comment '字典名称', - dict_type varchar(100) default '' comment '字典类型', - status char(1) default '0' comment '状态(0正常 1停用)', - create_by varchar(64) default '' comment '创建者', - create_time datetime comment '创建时间', - update_by varchar(64) default '' comment '更新者', - update_time datetime comment '更新时间', - remark varchar(500) default null comment '备注', - primary key (dict_id), - unique (dict_type) -) engine=innodb auto_increment=100 comment = '字典类型表'; - -insert into sys_dict_type values(1, '用户性别', 'sys_user_sex', '0', 'admin', sysdate(), '', null, '用户性别列表'); -insert into sys_dict_type values(2, '菜单状态', 'sys_show_hide', '0', 'admin', sysdate(), '', null, '菜单状态列表'); -insert into sys_dict_type values(3, '系统开关', 'sys_normal_disable', '0', 'admin', sysdate(), '', null, '系统开关列表'); -insert into sys_dict_type values(4, '任务状态', 'sys_job_status', '0', 'admin', sysdate(), '', null, '任务状态列表'); -insert into sys_dict_type values(5, '任务分组', 'sys_job_group', '0', 'admin', sysdate(), '', null, '任务分组列表'); -insert into sys_dict_type values(6, '系统是否', 'sys_yes_no', '0', 'admin', sysdate(), '', null, '系统是否列表'); -insert into sys_dict_type values(7, '通知类型', 'sys_notice_type', '0', 'admin', sysdate(), '', null, '通知类型列表'); -insert into sys_dict_type values(8, '通知状态', 'sys_notice_status', '0', 'admin', sysdate(), '', null, '通知状态列表'); -insert into sys_dict_type values(9, '操作类型', 'sys_oper_type', '0', 'admin', sysdate(), '', null, '操作类型列表'); -insert into sys_dict_type values(10, '系统状态', 'sys_common_status', '0', 'admin', sysdate(), '', null, '登录状态列表'); - - --- ---------------------------- --- 12、字典数据表 --- ---------------------------- -drop table if exists sys_dict_data; -create table sys_dict_data -( - dict_code bigint(20) not null auto_increment comment '字典编码', - dict_sort int(4) default 0 comment '字典排序', - dict_label varchar(100) default '' comment '字典标签', - dict_value varchar(100) default '' comment '字典键值', - dict_type varchar(100) default '' comment '字典类型', - css_class varchar(100) default null comment '样式属性(其他样式扩展)', - list_class varchar(100) default null comment '表格回显样式', - is_default char(1) default 'N' comment '是否默认(Y是 N否)', - status char(1) default '0' comment '状态(0正常 1停用)', - create_by varchar(64) default '' comment '创建者', - create_time datetime comment '创建时间', - update_by varchar(64) default '' comment '更新者', - update_time datetime comment '更新时间', - remark varchar(500) default null comment '备注', - primary key (dict_code) -) engine=innodb auto_increment=100 comment = '字典数据表'; - -insert into sys_dict_data values(1, 1, '男', '0', 'sys_user_sex', '', '', 'Y', '0', 'admin', sysdate(), '', null, '性别男'); -insert into sys_dict_data values(2, 2, '女', '1', 'sys_user_sex', '', '', 'N', '0', 'admin', sysdate(), '', null, '性别女'); -insert into sys_dict_data values(3, 3, '未知', '2', 'sys_user_sex', '', '', 'N', '0', 'admin', sysdate(), '', null, '性别未知'); -insert into sys_dict_data values(4, 1, '显示', '0', 'sys_show_hide', '', 'primary', 'Y', '0', 'admin', sysdate(), '', null, '显示菜单'); -insert into sys_dict_data values(5, 2, '隐藏', '1', 'sys_show_hide', '', 'danger', 'N', '0', 'admin', sysdate(), '', null, '隐藏菜单'); -insert into sys_dict_data values(6, 1, '正常', '0', 'sys_normal_disable', '', 'primary', 'Y', '0', 'admin', sysdate(), '', null, '正常状态'); -insert into sys_dict_data values(7, 2, '停用', '1', 'sys_normal_disable', '', 'danger', 'N', '0', 'admin', sysdate(), '', null, '停用状态'); -insert into sys_dict_data values(8, 1, '正常', '0', 'sys_job_status', '', 'primary', 'Y', '0', 'admin', sysdate(), '', null, '正常状态'); -insert into sys_dict_data values(9, 2, '暂停', '1', 'sys_job_status', '', 'danger', 'N', '0', 'admin', sysdate(), '', null, '停用状态'); -insert into sys_dict_data values(10, 1, '默认', 'DEFAULT', 'sys_job_group', '', '', 'Y', '0', 'admin', sysdate(), '', null, '默认分组'); -insert into sys_dict_data values(11, 2, '系统', 'SYSTEM', 'sys_job_group', '', '', 'N', '0', 'admin', sysdate(), '', null, '系统分组'); -insert into sys_dict_data values(12, 1, '是', 'Y', 'sys_yes_no', '', 'primary', 'Y', '0', 'admin', sysdate(), '', null, '系统默认是'); -insert into sys_dict_data values(13, 2, '否', 'N', 'sys_yes_no', '', 'danger', 'N', '0', 'admin', sysdate(), '', null, '系统默认否'); -insert into sys_dict_data values(14, 1, '通知', '1', 'sys_notice_type', '', 'warning', 'Y', '0', 'admin', sysdate(), '', null, '通知'); -insert into sys_dict_data values(15, 2, '公告', '2', 'sys_notice_type', '', 'success', 'N', '0', 'admin', sysdate(), '', null, '公告'); -insert into sys_dict_data values(16, 1, '正常', '0', 'sys_notice_status', '', 'primary', 'Y', '0', 'admin', sysdate(), '', null, '正常状态'); -insert into sys_dict_data values(17, 2, '关闭', '1', 'sys_notice_status', '', 'danger', 'N', '0', 'admin', sysdate(), '', null, '关闭状态'); -insert into sys_dict_data values(18, 99, '其他', '0', 'sys_oper_type', '', 'info', 'N', '0', 'admin', sysdate(), '', null, '其他操作'); -insert into sys_dict_data values(19, 1, '新增', '1', 'sys_oper_type', '', 'info', 'N', '0', 'admin', sysdate(), '', null, '新增操作'); -insert into sys_dict_data values(20, 2, '修改', '2', 'sys_oper_type', '', 'info', 'N', '0', 'admin', sysdate(), '', null, '修改操作'); -insert into sys_dict_data values(21, 3, '删除', '3', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', sysdate(), '', null, '删除操作'); -insert into sys_dict_data values(22, 4, '授权', '4', 'sys_oper_type', '', 'primary', 'N', '0', 'admin', sysdate(), '', null, '授权操作'); -insert into sys_dict_data values(23, 5, '导出', '5', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', sysdate(), '', null, '导出操作'); -insert into sys_dict_data values(24, 6, '导入', '6', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', sysdate(), '', null, '导入操作'); -insert into sys_dict_data values(25, 7, '强退', '7', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', sysdate(), '', null, '强退操作'); -insert into sys_dict_data values(26, 8, '生成代码', '8', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', sysdate(), '', null, '生成操作'); -insert into sys_dict_data values(27, 9, '清空数据', '9', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', sysdate(), '', null, '清空操作'); -insert into sys_dict_data values(28, 1, '成功', '0', 'sys_common_status', '', 'primary', 'N', '0', 'admin', sysdate(), '', null, '正常状态'); -insert into sys_dict_data values(29, 2, '失败', '1', 'sys_common_status', '', 'danger', 'N', '0', 'admin', sysdate(), '', null, '停用状态'); - - --- ---------------------------- --- 13、参数配置表 --- ---------------------------- -drop table if exists sys_config; -create table sys_config ( - config_id int(5) not null auto_increment comment '参数主键', - config_name varchar(100) default '' comment '参数名称', - config_key varchar(100) default '' comment '参数键名', - config_value varchar(500) default '' comment '参数键值', - config_type char(1) default 'N' comment '系统内置(Y是 N否)', - create_by varchar(64) default '' comment '创建者', - create_time datetime comment '创建时间', - update_by varchar(64) default '' comment '更新者', - update_time datetime comment '更新时间', - remark varchar(500) default null comment '备注', - primary key (config_id) -) engine=innodb auto_increment=100 comment = '参数配置表'; - -insert into sys_config values(1, '主框架页-默认皮肤样式名称', 'sys.index.skinName', 'skin-blue', 'Y', 'admin', sysdate(), '', null, '蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow' ); -insert into sys_config values(2, '用户管理-账号初始密码', 'sys.user.initPassword', '123456', 'Y', 'admin', sysdate(), '', null, '初始化密码 123456' ); -insert into sys_config values(3, '主框架页-侧边栏主题', 'sys.index.sideTheme', 'theme-dark', 'Y', 'admin', sysdate(), '', null, '深色主题theme-dark,浅色主题theme-light' ); -insert into sys_config values(4, '账号自助-验证码开关', 'sys.account.captchaEnabled', 'true', 'Y', 'admin', sysdate(), '', null, '是否开启验证码功能(true开启,false关闭)'); -insert into sys_config values(5, '账号自助-是否开启用户注册功能', 'sys.account.registerUser', 'false', 'Y', 'admin', sysdate(), '', null, '是否开启注册用户功能(true开启,false关闭)'); -insert into sys_config values(6, '用户登录-黑名单列表', 'sys.login.blackIPList', '', 'Y', 'admin', sysdate(), '', null, '设置登录IP黑名单限制,多个匹配项以;分隔,支持匹配(*通配、网段)'); - - --- ---------------------------- --- 14、系统访问记录 --- ---------------------------- -drop table if exists sys_logininfor; -create table sys_logininfor ( - info_id bigint(20) not null auto_increment comment '访问ID', - user_name varchar(50) default '' comment '用户账号', - ipaddr varchar(128) default '' comment '登录IP地址', - login_location varchar(255) default '' comment '登录地点', - browser varchar(50) default '' comment '浏览器类型', - os varchar(50) default '' comment '操作系统', - status char(1) default '0' comment '登录状态(0成功 1失败)', - msg varchar(255) default '' comment '提示消息', - login_time datetime comment '访问时间', - primary key (info_id), - key idx_sys_logininfor_s (status), - key idx_sys_logininfor_lt (login_time) -) engine=innodb auto_increment=100 comment = '系统访问记录'; - - --- ---------------------------- --- 15、定时任务调度表 --- ---------------------------- -drop table if exists sys_job; -create table sys_job ( - job_id bigint(20) not null auto_increment comment '任务ID', - job_name varchar(64) default '' comment '任务名称', - job_group varchar(64) default 'DEFAULT' comment '任务组名', - invoke_target varchar(500) not null comment '调用目标字符串', - cron_expression varchar(255) default '' comment 'cron执行表达式', - misfire_policy varchar(20) default '3' comment '计划执行错误策略(1立即执行 2执行一次 3放弃执行)', - concurrent char(1) default '1' comment '是否并发执行(0允许 1禁止)', - status char(1) default '0' comment '状态(0正常 1暂停)', - create_by varchar(64) default '' comment '创建者', - create_time datetime comment '创建时间', - update_by varchar(64) default '' comment '更新者', - update_time datetime comment '更新时间', - remark varchar(500) default '' comment '备注信息', - primary key (job_id, job_name, job_group) -) engine=innodb auto_increment=100 comment = '定时任务调度表'; - -insert into sys_job values(1, '系统默认(无参)', 'DEFAULT', 'ryTask.ryNoParams', '0/10 * * * * ?', '3', '1', '1', 'admin', sysdate(), '', null, ''); -insert into sys_job values(2, '系统默认(有参)', 'DEFAULT', 'ryTask.ryParams(\'ry\')', '0/15 * * * * ?', '3', '1', '1', 'admin', sysdate(), '', null, ''); -insert into sys_job values(3, '系统默认(多参)', 'DEFAULT', 'ryTask.ryMultipleParams(\'ry\', true, 2000L, 316.50D, 100)', '0/20 * * * * ?', '3', '1', '1', 'admin', sysdate(), '', null, ''); - - --- ---------------------------- --- 16、定时任务调度日志表 --- ---------------------------- -drop table if exists sys_job_log; -create table sys_job_log ( - job_log_id bigint(20) not null auto_increment comment '任务日志ID', - job_name varchar(64) not null comment '任务名称', - job_group varchar(64) not null comment '任务组名', - invoke_target varchar(500) not null comment '调用目标字符串', - job_message varchar(500) comment '日志信息', - status char(1) default '0' comment '执行状态(0正常 1失败)', - exception_info varchar(2000) default '' comment '异常信息', - create_time datetime comment '创建时间', - primary key (job_log_id) -) engine=innodb comment = '定时任务调度日志表'; - - --- ---------------------------- --- 17、通知公告表 --- ---------------------------- -drop table if exists sys_notice; -create table sys_notice ( - notice_id int(4) not null auto_increment comment '公告ID', - notice_title varchar(50) not null comment '公告标题', - notice_type char(1) not null comment '公告类型(1通知 2公告)', - notice_content longblob default null comment '公告内容', - status char(1) default '0' comment '公告状态(0正常 1关闭)', - create_by varchar(64) default '' comment '创建者', - create_time datetime comment '创建时间', - update_by varchar(64) default '' comment '更新者', - update_time datetime comment '更新时间', - remark varchar(255) default null comment '备注', - primary key (notice_id) -) engine=innodb auto_increment=10 comment = '通知公告表'; - --- ---------------------------- --- 初始化-公告信息表数据 --- ---------------------------- -insert into sys_notice values('1', '温馨提醒:2018-07-01 若依新版本发布啦', '2', '新版本内容', '0', 'admin', sysdate(), '', null, '管理员'); -insert into sys_notice values('2', '维护通知:2018-07-01 若依系统凌晨维护', '1', '维护内容', '0', 'admin', sysdate(), '', null, '管理员'); - - --- ---------------------------- --- 18、代码生成业务表 --- ---------------------------- -drop table if exists gen_table; -create table gen_table ( - table_id bigint(20) not null auto_increment comment '编号', - table_name varchar(200) default '' comment '表名称', - table_comment varchar(500) default '' comment '表描述', - sub_table_name varchar(64) default null comment '关联子表的表名', - sub_table_fk_name varchar(64) default null comment '子表关联的外键名', - class_name varchar(100) default '' comment '实体类名称', - tpl_category varchar(200) default 'crud' comment '使用的模板(crud单表操作 tree树表操作)', - package_name varchar(100) comment '生成包路径', - module_name varchar(30) comment '生成模块名', - business_name varchar(30) comment '生成业务名', - function_name varchar(50) comment '生成功能名', - function_author varchar(50) comment '生成功能作者', - gen_type char(1) default '0' comment '生成代码方式(0zip压缩包 1自定义路径)', - gen_path varchar(200) default '/' comment '生成路径(不填默认项目路径)', - options varchar(1000) comment '其它生成选项', - create_by varchar(64) default '' comment '创建者', - create_time datetime comment '创建时间', - update_by varchar(64) default '' comment '更新者', - update_time datetime comment '更新时间', - remark varchar(500) default null comment '备注', - primary key (table_id) -) engine=innodb auto_increment=1 comment = '代码生成业务表'; - - --- ---------------------------- --- 19、代码生成业务表字段 --- ---------------------------- -drop table if exists gen_table_column; -create table gen_table_column ( - column_id bigint(20) not null auto_increment comment '编号', - table_id varchar(64) comment '归属表编号', - column_name varchar(200) comment '列名称', - column_comment varchar(500) comment '列描述', - column_type varchar(100) comment '列类型', - java_type varchar(500) comment 'JAVA类型', - java_field varchar(200) comment 'JAVA字段名', - is_pk char(1) comment '是否主键(1是)', - is_increment char(1) comment '是否自增(1是)', - is_required char(1) comment '是否必填(1是)', - is_insert char(1) comment '是否为插入字段(1是)', - is_edit char(1) comment '是否编辑字段(1是)', - is_list char(1) comment '是否列表字段(1是)', - is_query char(1) comment '是否查询字段(1是)', - query_type varchar(200) default 'EQ' comment '查询方式(等于、不等于、大于、小于、范围)', - html_type varchar(200) comment '显示类型(文本框、文本域、下拉框、复选框、单选框、日期控件)', - dict_type varchar(200) default '' comment '字典类型', - sort int comment '排序', - create_by varchar(64) default '' comment '创建者', - create_time datetime comment '创建时间', - update_by varchar(64) default '' comment '更新者', - update_time datetime comment '更新时间', - primary key (column_id) -) engine=innodb auto_increment=1 comment = '代码生成业务表字段'; \ No newline at end of file diff --git a/sql/update.sql b/sql/update.sql deleted file mode 100644 index 5b16f48..0000000 --- a/sql/update.sql +++ /dev/null @@ -1,779 +0,0 @@ --- udate to Ruoyi-Flex V4.1.1: -ALTER TABLE `gen_table_column` - CHANGE COLUMN `table_id` `table_id` BIGINT NOT NULL COMMENT '归属表编号' AFTER `column_id`; - --- 测试菜单 SQL -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('测试菜单', '0', '99', 'test', null, 1, 0, 'M', '0', '0', null, 'people', 'admin', sysdate(), '', null, '测试菜单'); - --- 表 demo_student 结构定义 -CREATE TABLE IF NOT EXISTS `demo_student` ( - `student_id` int NOT NULL AUTO_INCREMENT COMMENT '编号', - `student_name` varchar(30) COLLATE utf8mb4_bin DEFAULT '' COMMENT '学生名称', - `student_age` int DEFAULT NULL COMMENT '年龄', - `student_hobby` varchar(30) COLLATE utf8mb4_bin DEFAULT '' COMMENT '爱好(0代码 1音乐 2电影)', - `student_sex` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '1' COMMENT '性别(1男 2女 3未知)', - `student_status` char(1) COLLATE utf8mb4_bin DEFAULT '0' COMMENT '状态(0正常 1停用)', - `student_birthday` datetime DEFAULT NULL COMMENT '生日', - PRIMARY KEY (`student_id`) - ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='学生信息单表'; - --- 学生信息单表 菜单 SQL -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('学生信息单表(mb)', '2018', '1', 'student', 'demo/student/index', 1, 0, 'C', '0', '0', 'demo:student:list', '#', 'admin', sysdate(), '', null, '学生信息单表(mb)菜单'); --- 按钮父菜单ID -SELECT @parentId := LAST_INSERT_ID(); --- 按钮 SQL -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('学生信息单表(mb)查询', @parentId, '1', '#', '', 1, 0, 'F', '0', '0', 'demo:student:query', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('学生信息单表(mb)新增', @parentId, '2', '#', '', 1, 0, 'F', '0', '0', 'demo:student:add', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('学生信息单表(mb)修改', @parentId, '3', '#', '', 1, 0, 'F', '0', '0', 'demo:student:edit', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('学生信息单表(mb)删除', @parentId, '4', '#', '', 1, 0, 'F', '0', '0', 'demo:student:remove', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('学生信息单表(mb)导出', @parentId, '5', '#', '', 1, 0, 'F', '0', '0', 'demo:student:export', '#', 'admin', sysdate(), '', null, ''); - --- 树表 demo_product 结构定义 -CREATE TABLE IF NOT EXISTS `demo_product` ( - `product_id` bigint NOT NULL AUTO_INCREMENT COMMENT '产品id', - `parent_id` bigint DEFAULT '0' COMMENT '父产品id', - `product_name` varchar(30) COLLATE utf8mb4_bin DEFAULT '' COMMENT '产品名称', - `order_num` int DEFAULT '0' COMMENT '显示顺序', - `status` char(1) COLLATE utf8mb4_bin DEFAULT '0' COMMENT '产品状态(0正常 1停用)', - PRIMARY KEY (`product_id`) - ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='产品表'; - --- 产品树表(mb)菜单 SQL -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('产品树表(mb)', '2018', '1', 'product', 'demo/product/index', 1, 0, 'C', '0', '0', 'demo:product:list', '#', 'admin', sysdate(), '', null, '产品树表(mb)菜单'); --- 按钮父菜单ID -SELECT @parentId := LAST_INSERT_ID(); --- 按钮 SQL -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('产品树表(mb)查询', @parentId, '1', '#', '', 1, 0, 'F', '0', '0', 'demo:product:query', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('产品树表(mb)新增', @parentId, '2', '#', '', 1, 0, 'F', '0', '0', 'demo:product:add', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('产品树表(mb)修改', @parentId, '3', '#', '', 1, 0, 'F', '0', '0', 'demo:product:edit', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('产品树表(mb)删除', @parentId, '4', '#', '', 1, 0, 'F', '0', '0', 'demo:product:remove', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('产品树表(mb)导出', @parentId, '5', '#', '', 1, 0, 'F', '0', '0', 'demo:product:export', '#', 'admin', sysdate(), '', null, ''); - --- 客户主表 demo_customer 结构定义 -CREATE TABLE IF NOT EXISTS `demo_customer` ( - `customer_id` bigint NOT NULL AUTO_INCREMENT COMMENT '客户id', - `customer_name` varchar(30) COLLATE utf8mb4_bin DEFAULT '' COMMENT '客户姓名', - `phonenumber` varchar(11) COLLATE utf8mb4_bin DEFAULT '' COMMENT '手机号码', - `sex` varchar(20) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '客户性别', - `birthday` datetime DEFAULT NULL COMMENT '客户生日', - `remark` varchar(500) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '客户描述', - PRIMARY KEY (`customer_id`) - ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='客户主表'; - --- 商品子表 demo_goods 结构定义 -CREATE TABLE IF NOT EXISTS `demo_goods` ( - `goods_id` bigint NOT NULL AUTO_INCREMENT COMMENT '商品id', - `customer_id` bigint NOT NULL COMMENT '客户id', - `name` varchar(30) COLLATE utf8mb4_bin DEFAULT '' COMMENT '商品名称', - `weight` int DEFAULT NULL COMMENT '商品重量', - `price` decimal(6,2) DEFAULT NULL COMMENT '商品价格', - `date` datetime DEFAULT NULL COMMENT '商品时间', - `type` char(1) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '商品种类', - PRIMARY KEY (`goods_id`) - ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='商品子表'; - --- 客户主表(mb)菜单 SQL -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('客户主表(mb)', '2018', '1', 'customer', 'demo/customer/index', 1, 0, 'C', '0', '0', 'demo:customer:list', '#', 'admin', sysdate(), '', null, '客户主表(mb)菜单'); --- 按钮父菜单ID -SELECT @parentId := LAST_INSERT_ID(); --- 按钮 SQL -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('客户主表(mb)查询', @parentId, '1', '#', '', 1, 0, 'F', '0', '0', 'demo:customer:query', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('客户主表(mb)新增', @parentId, '2', '#', '', 1, 0, 'F', '0', '0', 'demo:customer:add', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('客户主表(mb)修改', @parentId, '3', '#', '', 1, 0, 'F', '0', '0', 'demo:customer:edit', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('客户主表(mb)删除', @parentId, '4', '#', '', 1, 0, 'F', '0', '0', 'demo:customer:remove', '#', 'admin', sysdate(), '', null, ''); -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('客户主表(mb)导出', @parentId, '5', '#', '', 1, 0, 'F', '0', '0', 'demo:customer:export', '#', 'admin', sysdate(), '', null, ''); - --- 插入gen_table数据 -INSERT INTO `gen_table` (`table_id`, `table_name`, `table_comment`, `sub_table_name`, `sub_table_fk_name`, `class_name`, `tpl_category`, `package_name`, `module_name`, `business_name`, `function_name`, `function_author`, `gen_type`, `gen_path`, `options`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES - (1, 'demo_student', '学生信息表', NULL, NULL, 'DemoStudent', 'crud', 'com.ruoyi.demo', 'demo', 'student', '学生信息单表(mb)', '数据小王子', '0', '/', '{"parentMenuId":"2018"}', 'admin', '2023-06-03 21:44:19', '', '2023-07-09 12:14:53', '生成mybatis语法单表代码'), - (2, 'demo_product', '产品树表', '', '', 'DemoProduct', 'tree', 'com.ruoyi.demo', 'demo', 'product', '产品树表(mb)', '数据小王子', '0', '/', '{"treeCode":"product_id","treeName":"product_name","treeParentCode":"parent_id","parentMenuId":"2018"}', 'admin', '2023-06-04 21:22:27', '', '2023-07-09 20:56:08', '生成mybatis语法树表代码'), - (3, 'demo_customer', '客户主表', 'demo_goods', 'customer_id', 'DemoCustomer', 'sub', 'com.ruoyi.demo', 'demo', 'customer', '客户主表(mb)', '数据小王子', '0', '/', '{"parentMenuId":"2018"}', 'admin', '2023-06-04 21:43:20', '', '2023-07-11 15:49:51', '生成mybatis语法主子表代码'), - (12, 'demo_goods', '商品子表', NULL, NULL, 'DemoGoods', 'crud', 'com.ruoyi.demo', 'demo', 'goods', '商品子', '数据小王子', '0', '/', NULL, 'admin', '2023-07-11 15:52:15', '', NULL, NULL); - --- 插入gen_table_column数据 -INSERT INTO `gen_table_column` (`column_id`, `table_id`, `column_name`, `column_comment`, `column_type`, `java_type`, `java_field`, `is_pk`, `is_increment`, `is_required`, `is_insert`, `is_edit`, `is_list`, `is_query`, `query_type`, `html_type`, `dict_type`, `sort`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES - (1, 1, 'student_id', '编号', 'int', 'Long', 'studentId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2023-06-03 21:44:19', '', '2023-07-09 12:14:53'), - (2, 1, 'student_name', '学生名称', 'varchar(30)', 'String', 'studentName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 2, 'admin', '2023-06-03 21:44:19', '', '2023-07-09 12:14:53'), - (3, 1, 'student_age', '年龄', 'int', 'Long', 'studentAge', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 'admin', '2023-06-03 21:44:19', '', '2023-07-09 12:14:53'), - (4, 1, 'student_hobby', '爱好(0代码 1音乐 2电影)', 'varchar(30)', 'String', 'studentHobby', '0', '0', '1', '1', '1', '1', '0', 'EQ', 'select', 'sys_student_hobby', 4, 'admin', '2023-06-03 21:44:19', '', '2023-07-09 12:14:53'), - (5, 1, 'student_sex', '性别(1男 2女 3未知)', 'char(1)', 'String', 'studentSex', '0', '0', '1', '1', '1', '1', '0', 'EQ', 'select', 'sys_user_sex', 5, 'admin', '2023-06-03 21:44:19', '', '2023-07-09 12:14:53'), - (6, 1, 'student_status', '状态(0正常 1停用)', 'char(1)', 'String', 'studentStatus', '0', '0', '1', '1', '1', '1', '0', 'EQ', 'radio', 'sys_student_status', 6, 'admin', '2023-06-03 21:44:19', '', '2023-07-09 12:14:53'), - (7, 1, 'student_birthday', '生日', 'datetime', 'Date', 'studentBirthday', '0', '0', '1', '1', '1', '1', '0', 'EQ', 'datetime', '', 7, 'admin', '2023-06-03 21:44:19', '', '2023-07-09 12:14:53'), - (8, 2, 'product_id', '产品id', 'bigint', 'Long', 'productId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2023-06-04 21:22:27', '', '2023-07-09 20:56:08'), - (9, 2, 'parent_id', '父产品id', 'bigint', 'Long', 'parentId', '0', '0', NULL, '1', '1', '0', '0', 'EQ', 'input', '', 2, 'admin', '2023-06-04 21:22:27', '', '2023-07-09 20:56:08'), - (10, 2, 'product_name', '产品名称', 'varchar(30)', 'String', 'productName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 3, 'admin', '2023-06-04 21:22:27', '', '2023-07-09 20:56:08'), - (11, 2, 'order_num', '显示顺序', 'int', 'Long', 'orderNum', '0', '0', NULL, '1', '1', '0', '0', 'EQ', 'input', '', 4, 'admin', '2023-06-04 21:22:27', '', '2023-07-09 20:56:08'), - (12, 2, 'status', '产品状态(0正常 1停用)', 'char(1)', 'String', 'status', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'select', 'sys_common_status', 5, 'admin', '2023-06-04 21:22:27', '', '2023-07-09 20:56:08'), - (13, 3, 'customer_id', '客户id', 'bigint', 'Long', 'customerId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2023-06-04 21:43:20', '', '2023-07-11 15:49:51'), - (14, 3, 'customer_name', '客户姓名', 'varchar(30)', 'String', 'customerName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 2, 'admin', '2023-06-04 21:43:20', '', '2023-07-11 15:49:51'), - (15, 3, 'phonenumber', '手机号码', 'varchar(11)', 'String', 'phonenumber', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 3, 'admin', '2023-06-04 21:43:20', '', '2023-07-11 15:49:51'), - (16, 3, 'sex', '客户性别', 'varchar(20)', 'String', 'sex', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'select', 'sys_user_sex', 4, 'admin', '2023-06-04 21:43:20', '', '2023-07-11 15:49:51'), - (17, 3, 'birthday', '客户生日', 'datetime', 'Date', 'birthday', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 5, 'admin', '2023-06-04 21:43:20', '', '2023-07-11 15:49:51'), - (18, 3, 'remark', '客户描述', 'varchar(500)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'textarea', '', 6, 'admin', '2023-06-04 21:43:20', '', '2023-07-11 15:49:51'), - (67, 12, 'goods_id', '商品id', 'bigint', 'Long', 'goodsId', '1', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2023-07-11 15:52:15', '', NULL), - (68, 12, 'customer_id', '客户id', 'bigint', 'Long', 'customerId', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2023-07-11 15:52:15', '', NULL), - (69, 12, 'name', '商品名称', 'varchar(30)', 'String', 'name', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 3, 'admin', '2023-07-11 15:52:15', '', NULL), - (70, 12, 'weight', '商品重量', 'int', 'Long', 'weight', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2023-07-11 15:52:15', '', NULL), - (71, 12, 'price', '商品价格', 'decimal(6,2)', 'BigDecimal', 'price', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2023-07-11 15:52:15', '', NULL), - (72, 12, 'date', '商品时间', 'datetime', 'Date', 'date', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 6, 'admin', '2023-07-11 15:52:15', '', NULL), - (73, 12, 'type', '商品种类', 'char(1)', 'String', 'type', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'select', '', 7, 'admin', '2023-07-11 15:52:15', '', NULL); - --- udate to Ruoyi-Flex V4.1.2: 删除druid -delete FROM sys_menu where menu_id=111; - --- udate to Ruoyi-Flex V4.1.3: 将“系统接口”设置为外链 -update sys_menu SET path="http://localhost:8080/swagger-ui/index.html", component = "", is_frame = "0", menu_type = "M" where menu_id = 117; - --- udate to Ruoyi-Flex V4.1.4: 添加sys_client系统授权表 -drop table if exists sys_client; -create table sys_client ( - id bigint(20) not null comment 'id', - client_id varchar(64) default null comment '客户端id', - client_key varchar(32) default null comment '客户端key', - client_secret varchar(255) default null comment '客户端秘钥', - grant_type varchar(255) default null comment '授权类型', - device_type varchar(32) default null comment '设备类型', - active_timeout int(11) default 1800 comment 'token活跃超时时间', - timeout int(11) default 604800 comment 'token固定超时', - status char(1) default '0' comment '状态(0正常 1停用)', - del_flag char(1) default '0' comment '删除标志(0代表存在 2代表删除)', - create_dept bigint(20) default null comment '创建部门', - create_by bigint(20) default null comment '创建者', - create_time datetime default null comment '创建时间', - update_by bigint(20) default null comment '更新者', - update_time datetime default null comment '更新时间', - `remark` VARCHAR(250) NULL DEFAULT NULL COMMENT '备注' COLLATE 'utf8mb4_bin', - primary key (id) -) engine=innodb comment='系统授权表'; - -insert into sys_client values (1, 'e5cd7e4891bf95d1d19206ce24a7b32e', 'pc', 'pc123', 'password,social', 'pc', 1800, 604800, 0, 0, 103, 1, sysdate(), 1, sysdate(),''); -insert into sys_client values (2, '428a8310cd442757ae699df5d894f051', 'app', 'app123', 'password,sms,social', 'android', 1800, 604800, 0, 0, 103, 1, sysdate(), 1, sysdate(),''); - --- 删除status列 -ALTER TABLE `sys_dict_data` DROP COLUMN `status`; -ALTER TABLE `sys_dict_type` DROP COLUMN `status`; - -UPDATE sys_job SET create_by=1,update_by=1; - -ALTER TABLE `sys_job` - CHANGE COLUMN `create_by` `create_by` BIGINT NOT NULL DEFAULT '0' COMMENT '创建者' AFTER `status`, - CHANGE COLUMN `update_by` `update_by` BIGINT NOT NULL DEFAULT '0' COMMENT '更新者' AFTER `create_time`; - --- 表 sys_tenant 结构 -CREATE TABLE IF NOT EXISTS `sys_tenant` ( - `id` bigint NOT NULL COMMENT 'id', - `tenant_id` bigint NOT NULL COMMENT '租户编号', - `contact_user_name` varchar(20) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '联系人', - `contact_phone` varchar(20) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '联系电话', - `company_name` varchar(50) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '企业名称', - `license_number` varchar(30) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '统一社会信用代码', - `address` varchar(200) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '地址', - `intro` varchar(200) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '企业简介', - `domain` varchar(200) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '域名', - `remark` varchar(200) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '备注', - `package_id` bigint DEFAULT NULL COMMENT '租户套餐编号', - `expire_time` datetime DEFAULT NULL COMMENT '过期时间', - `account_count` int DEFAULT '-1' COMMENT '用户数量(-1不限制)', - `status` char(1) COLLATE utf8mb4_bin DEFAULT '0' COMMENT '租户状态(0正常 1停用)', - `del_flag` char(1) COLLATE utf8mb4_bin DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)', - `create_dept` bigint DEFAULT NULL COMMENT '创建部门', - `create_by` bigint DEFAULT NULL COMMENT '创建者', - `create_time` datetime DEFAULT NULL COMMENT '创建时间', - `update_by` bigint DEFAULT NULL COMMENT '更新者', - `update_time` datetime DEFAULT NULL COMMENT '更新时间', - PRIMARY KEY (`id`) - ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='租户表'; - --- 表sys_tenant 的数据 -INSERT INTO `sys_tenant` (`id`, `tenant_id`, `contact_user_name`, `contact_phone`, `company_name`, `license_number`, `address`, `intro`, `domain`, `remark`, `package_id`, `expire_time`, `account_count`, `status`, `del_flag`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES - (1, 1, '租户管理组', '18888888888', 'XXX有限公司', NULL, NULL, 'RuoYi-Flex多租户通用后台管理管理系统', NULL, NULL, NULL, NULL, -1, '0', '0', 103, 1, '2023-08-13 08:08:08', NULL, NULL); - -ALTER TABLE `sys_user` - ADD COLUMN `tenant_id` BIGINT(19) NOT NULL DEFAULT '0' COMMENT '租户主键' AFTER `user_id`; -UPDATE sys_user SET tenant_id=1; - -UPDATE sys_user SET create_by=1,update_by=1; -ALTER TABLE `sys_user` - CHANGE COLUMN `create_by` `create_by` BIGINT NOT NULL DEFAULT '0' COMMENT '创建者' AFTER `login_date`, - CHANGE COLUMN `update_by` `update_by` BIGINT NOT NULL DEFAULT '0' COMMENT '更新者' AFTER `create_time`; - -UPDATE sys_role SET create_by=1,update_by=1; -ALTER TABLE `sys_role` - CHANGE COLUMN `create_by` `create_by` BIGINT NOT NULL DEFAULT '0' COMMENT '创建者' AFTER `del_flag`, - CHANGE COLUMN `update_by` `update_by` BIGINT NOT NULL DEFAULT '0' COMMENT '更新者' AFTER `create_time`; - -UPDATE sys_post SET create_by=1,update_by=1; -ALTER TABLE `sys_post` - CHANGE COLUMN `create_by` `create_by` BIGINT NOT NULL DEFAULT '0' COMMENT '创建者' AFTER `status`, - CHANGE COLUMN `update_by` `update_by` BIGINT NOT NULL DEFAULT '0' COMMENT '更新者' AFTER `create_time`; - -UPDATE sys_notice SET create_by=1,update_by=1; -ALTER TABLE `sys_notice` - CHANGE COLUMN `create_by` `create_by` BIGINT NOT NULL DEFAULT '0' COMMENT '创建者' AFTER `status`, - CHANGE COLUMN `update_by` `update_by` BIGINT NOT NULL DEFAULT '0' COMMENT '更新者' AFTER `create_time`; - -UPDATE sys_menu SET create_by=1,update_by=1; -ALTER TABLE `sys_menu` - CHANGE COLUMN `create_by` `create_by` BIGINT NOT NULL DEFAULT '0' COMMENT '创建者' AFTER `icon`, - CHANGE COLUMN `update_by` `update_by` BIGINT NOT NULL DEFAULT '0' COMMENT '更新者' AFTER `create_time`; - -UPDATE sys_dict_type SET create_by=1,update_by=1; -ALTER TABLE `sys_dict_type` - CHANGE COLUMN `create_by` `create_by` BIGINT NOT NULL DEFAULT '0' COMMENT '创建者' AFTER `dict_type`, - CHANGE COLUMN `update_by` `update_by` BIGINT NOT NULL DEFAULT '0' COMMENT '更新者' AFTER `create_time`; - -UPDATE sys_dict_data SET create_by=1,update_by=1; -ALTER TABLE `sys_dict_data` - CHANGE COLUMN `create_by` `create_by` BIGINT NOT NULL DEFAULT '0' COMMENT '创建者' AFTER `is_default`, - CHANGE COLUMN `update_by` `update_by` BIGINT NOT NULL DEFAULT '0' COMMENT '更新者' AFTER `create_time`; - -UPDATE sys_dept SET create_by=1,update_by=1; -ALTER TABLE `sys_dept` - CHANGE COLUMN `create_by` `create_by` BIGINT NOT NULL DEFAULT '0' COMMENT '创建者' AFTER `del_flag`, - CHANGE COLUMN `update_by` `update_by` BIGINT NOT NULL DEFAULT '0' COMMENT '更新者' AFTER `create_time`; - -UPDATE sys_config SET create_by=1,update_by=1; -ALTER TABLE `sys_config` - CHANGE COLUMN `create_by` `create_by` BIGINT NOT NULL DEFAULT '0' COMMENT '创建者' AFTER `config_type`, - CHANGE COLUMN `update_by` `update_by` BIGINT NOT NULL DEFAULT '0' COMMENT '更新者' AFTER `create_time`; - -UPDATE gen_table_column SET create_by=1,update_by=1; -ALTER TABLE `gen_table_column` - CHANGE COLUMN `create_by` `create_by` BIGINT NOT NULL DEFAULT '0' COMMENT '创建者' AFTER `sort`, - CHANGE COLUMN `update_by` `update_by` BIGINT NOT NULL DEFAULT '0' COMMENT '更新者' AFTER `create_time`; - -UPDATE gen_table SET create_by=1,update_by=1; -ALTER TABLE `gen_table` - CHANGE COLUMN `create_by` `create_by` BIGINT NOT NULL DEFAULT '0' COMMENT '创建者' AFTER `options`, - CHANGE COLUMN `update_by` `update_by` BIGINT NOT NULL DEFAULT '0' COMMENT '更新者' AFTER `create_time`; - -ALTER TABLE `sys_user` - CHANGE COLUMN `user_type` `user_type` VARCHAR(10) NULL DEFAULT '00' COMMENT '用户类型(00系统用户)' COLLATE 'utf8mb4_bin' AFTER `nick_name`; -UPDATE sys_user SET user_type="sys_user"; - -delete FROM sys_menu WHERE menu_name = "缓存列表"; - --- “服务监控”菜单使用SpringBoot-Admin监控框架: -UPDATE `sys_menu` SET `path`='admin', `component`='monitor/admin/index', `perms`='monitor:admin:list' WHERE `menu_id`=112; - --- update to V4.1.6: --- ---------------------------- --- Table structure for pj_app_info --- ---------------------------- -DROP TABLE IF EXISTS `pj_app_info`; -CREATE TABLE `pj_app_info` ( - `id` bigint(0) NOT NULL AUTO_INCREMENT, - `app_name` varchar(255) NULL DEFAULT NULL, - `current_server` varchar(255) NULL DEFAULT NULL, - `gmt_create` datetime(6) NULL DEFAULT NULL, - `gmt_modified` datetime(6) NULL DEFAULT NULL, - `password` varchar(255) NULL DEFAULT NULL, - PRIMARY KEY (`id`) USING BTREE, - UNIQUE INDEX `uidx01_app_info`(`app_name`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 2 ROW_FORMAT = Dynamic; - --- ---------------------------- --- Records of pj_app_info --- ---------------------------- -INSERT INTO `pj_app_info` VALUES (1, 'ruoyi-worker', '127.0.0.1:10010', '2023-06-13 16:32:59.263000', '2023-07-04 17:25:49.798000', '123456'); - --- ---------------------------- --- Table structure for pj_container_info --- ---------------------------- -DROP TABLE IF EXISTS `pj_container_info`; -CREATE TABLE `pj_container_info` ( - `id` bigint(0) NOT NULL AUTO_INCREMENT, - `app_id` bigint(0) NULL DEFAULT NULL, - `container_name` varchar(255) NULL DEFAULT NULL, - `gmt_create` datetime(6) NULL DEFAULT NULL, - `gmt_modified` datetime(6) NULL DEFAULT NULL, - `last_deploy_time` datetime(6) NULL DEFAULT NULL, - `source_info` varchar(255) NULL DEFAULT NULL, - `source_type` int(0) NULL DEFAULT NULL, - `status` int(0) NULL DEFAULT NULL, - `version` varchar(255) NULL DEFAULT NULL, - PRIMARY KEY (`id`) USING BTREE, - INDEX `idx01_container_info`(`app_id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 1 ROW_FORMAT = Dynamic; - --- ---------------------------- --- Table structure for pj_instance_info --- ---------------------------- -DROP TABLE IF EXISTS `pj_instance_info`; -CREATE TABLE `pj_instance_info` ( - `id` bigint(0) NOT NULL AUTO_INCREMENT, - `actual_trigger_time` bigint(0) NULL DEFAULT NULL, - `app_id` bigint(0) NULL DEFAULT NULL, - `expected_trigger_time` bigint(0) NULL DEFAULT NULL, - `finished_time` bigint(0) NULL DEFAULT NULL, - `gmt_create` datetime(6) NULL DEFAULT NULL, - `gmt_modified` datetime(6) NULL DEFAULT NULL, - `instance_id` bigint(0) NULL DEFAULT NULL, - `instance_params` longtext NULL, - `job_id` bigint(0) NULL DEFAULT NULL, - `job_params` longtext NULL, - `last_report_time` bigint(0) NULL DEFAULT NULL, - `result` longtext NULL, - `running_times` bigint(0) NULL DEFAULT NULL, - `status` int(0) NULL DEFAULT NULL, - `task_tracker_address` varchar(255) NULL DEFAULT NULL, - `type` int(0) NULL DEFAULT NULL, - `wf_instance_id` bigint(0) NULL DEFAULT NULL, - PRIMARY KEY (`id`) USING BTREE, - INDEX `idx01_instance_info`(`job_id`, `status`) USING BTREE, - INDEX `idx02_instance_info`(`app_id`, `status`) USING BTREE, - INDEX `idx03_instance_info`(`instance_id`, `status`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 4 ROW_FORMAT = Dynamic; - --- ---------------------------- --- Table structure for pj_job_info --- ---------------------------- -DROP TABLE IF EXISTS `pj_job_info`; -CREATE TABLE `pj_job_info` ( - `id` bigint(0) NOT NULL AUTO_INCREMENT, - `alarm_config` varchar(255) NULL DEFAULT NULL, - `app_id` bigint(0) NULL DEFAULT NULL, - `concurrency` int(0) NULL DEFAULT NULL, - `designated_workers` varchar(255) NULL DEFAULT NULL, - `dispatch_strategy` int(0) NULL DEFAULT NULL, - `execute_type` int(0) NULL DEFAULT NULL, - `extra` varchar(255) NULL DEFAULT NULL, - `gmt_create` datetime(6) NULL DEFAULT NULL, - `gmt_modified` datetime(6) NULL DEFAULT NULL, - `instance_retry_num` int(0) NULL DEFAULT NULL, - `instance_time_limit` bigint(0) NULL DEFAULT NULL, - `job_description` varchar(255) NULL DEFAULT NULL, - `job_name` varchar(255) NULL DEFAULT NULL, - `job_params` longtext NULL, - `lifecycle` varchar(255) NULL DEFAULT NULL, - `log_config` varchar(255) NULL DEFAULT NULL, - `max_instance_num` int(0) NULL DEFAULT NULL, - `max_worker_count` int(0) NULL DEFAULT NULL, - `min_cpu_cores` double NOT NULL, - `min_disk_space` double NOT NULL, - `min_memory_space` double NOT NULL, - `next_trigger_time` bigint(0) NULL DEFAULT NULL, - `notify_user_ids` varchar(255) NULL DEFAULT NULL, - `processor_info` varchar(255) NULL DEFAULT NULL, - `processor_type` int(0) NULL DEFAULT NULL, - `status` int(0) NULL DEFAULT NULL, - `tag` varchar(255) NULL DEFAULT NULL, - `task_retry_num` int(0) NULL DEFAULT NULL, - `time_expression` varchar(255) NULL DEFAULT NULL, - `time_expression_type` int(0) NULL DEFAULT NULL, - PRIMARY KEY (`id`) USING BTREE, - INDEX `idx01_job_info`(`app_id`, `status`, `time_expression_type`, `next_trigger_time`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 5 ROW_FORMAT = Dynamic; - --- ---------------------------- --- Records of pj_job_info --- ---------------------------- -INSERT INTO `pj_job_info` VALUES (1, '{\"alertThreshold\":0,\"silenceWindowLen\":0,\"statisticWindowLen\":0}', 1, 5, '', 2, 1, NULL, '2023-06-02 15:01:27.717000', '2023-07-04 17:22:12.374000', 1, 0, '', '单机处理器执行测试', NULL, '{}', '{\"type\":1}', 0, 0, 0, 0, 0, NULL, NULL, 'org.dromara.job.processors.StandaloneProcessorDemo', 1, 2, NULL, 1, '30000', 3); -INSERT INTO `pj_job_info` VALUES (2, '{\"alertThreshold\":0,\"silenceWindowLen\":0,\"statisticWindowLen\":0}', 1, 5, '', 1, 2, NULL, '2023-06-02 15:04:45.342000', '2023-07-04 17:22:12.816000', 0, 0, NULL, '广播处理器测试', NULL, '{}', '{\"type\":1}', 0, 0, 0, 0, 0, NULL, NULL, 'org.dromara.job.processors.BroadcastProcessorDemo', 1, 2, NULL, 1, '30000', 3); -INSERT INTO `pj_job_info` VALUES (3, '{\"alertThreshold\":0,\"silenceWindowLen\":0,\"statisticWindowLen\":0}', 1, 5, '', 1, 4, NULL, '2023-06-02 15:13:23.519000', '2023-06-02 16:03:22.421000', 0, 0, NULL, 'Map处理器测试', NULL, '{}', '{\"type\":1}', 0, 0, 0, 0, 0, NULL, NULL, 'org.dromara.job.processors.MapProcessorDemo', 1, 2, NULL, 1, '1000', 3); -INSERT INTO `pj_job_info` VALUES (4, '{\"alertThreshold\":0,\"silenceWindowLen\":0,\"statisticWindowLen\":0}', 1, 5, '', 1, 3, NULL, '2023-06-02 15:45:25.896000', '2023-06-02 16:03:23.125000', 0, 0, NULL, 'MapReduce处理器测试', NULL, '{}', '{\"type\":1}', 0, 0, 0, 0, 0, NULL, NULL, 'org.dromara.job.processors.MapReduceProcessorDemo', 1, 2, NULL, 1, '1000', 3); - --- ---------------------------- --- Table structure for pj_oms_lock --- ---------------------------- -DROP TABLE IF EXISTS `pj_oms_lock`; -CREATE TABLE `pj_oms_lock` ( - `id` bigint(0) NOT NULL AUTO_INCREMENT, - `gmt_create` datetime(6) NULL DEFAULT NULL, - `gmt_modified` datetime(6) NULL DEFAULT NULL, - `lock_name` varchar(255) NULL DEFAULT NULL, - `max_lock_time` bigint(0) NULL DEFAULT NULL, - `ownerip` varchar(255) NULL DEFAULT NULL, - PRIMARY KEY (`id`) USING BTREE, - UNIQUE INDEX `uidx01_oms_lock`(`lock_name`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 6 ROW_FORMAT = Dynamic; - --- ---------------------------- --- Table structure for pj_server_info --- ---------------------------- -DROP TABLE IF EXISTS `pj_server_info`; -CREATE TABLE `pj_server_info` ( - `id` bigint(0) NOT NULL AUTO_INCREMENT, - `gmt_create` datetime(6) NULL DEFAULT NULL, - `gmt_modified` datetime(6) NULL DEFAULT NULL, - `ip` varchar(255) NULL DEFAULT NULL, - PRIMARY KEY (`id`) USING BTREE, - UNIQUE INDEX `uidx01_server_info`(`ip`) USING BTREE, - INDEX `idx01_server_info`(`gmt_modified`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 2 ROW_FORMAT = Dynamic; - --- ---------------------------- --- Table structure for pj_user_info --- ---------------------------- -DROP TABLE IF EXISTS `pj_user_info`; -CREATE TABLE `pj_user_info` ( - `id` bigint(0) NOT NULL AUTO_INCREMENT, - `email` varchar(255) NULL DEFAULT NULL, - `extra` varchar(255) NULL DEFAULT NULL, - `gmt_create` datetime(6) NULL DEFAULT NULL, - `gmt_modified` datetime(6) NULL DEFAULT NULL, - `password` varchar(255) NULL DEFAULT NULL, - `phone` varchar(255) NULL DEFAULT NULL, - `username` varchar(255) NULL DEFAULT NULL, - `web_hook` varchar(255) NULL DEFAULT NULL, - PRIMARY KEY (`id`) USING BTREE, - INDEX `uidx01_user_info`(`username`) USING BTREE, - INDEX `uidx02_user_info`(`email`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 1 ROW_FORMAT = Dynamic; - --- ---------------------------- --- Table structure for pj_workflow_info --- ---------------------------- -DROP TABLE IF EXISTS `pj_workflow_info`; -CREATE TABLE `pj_workflow_info` ( - `id` bigint(0) NOT NULL AUTO_INCREMENT, - `app_id` bigint(0) NULL DEFAULT NULL, - `extra` varchar(255) NULL DEFAULT NULL, - `gmt_create` datetime(6) NULL DEFAULT NULL, - `gmt_modified` datetime(6) NULL DEFAULT NULL, - `lifecycle` varchar(255) NULL DEFAULT NULL, - `max_wf_instance_num` int(0) NULL DEFAULT NULL, - `next_trigger_time` bigint(0) NULL DEFAULT NULL, - `notify_user_ids` varchar(255) NULL DEFAULT NULL, - `pedag` longtext NULL, - `status` int(0) NULL DEFAULT NULL, - `time_expression` varchar(255) NULL DEFAULT NULL, - `time_expression_type` int(0) NULL DEFAULT NULL, - `wf_description` varchar(255) NULL DEFAULT NULL, - `wf_name` varchar(255) NULL DEFAULT NULL, - PRIMARY KEY (`id`) USING BTREE, - INDEX `idx01_workflow_info`(`app_id`, `status`, `time_expression_type`, `next_trigger_time`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 1 ROW_FORMAT = Dynamic; - --- ---------------------------- --- Table structure for pj_workflow_instance_info --- ---------------------------- -DROP TABLE IF EXISTS `pj_workflow_instance_info`; -CREATE TABLE `pj_workflow_instance_info` ( - `id` bigint(0) NOT NULL AUTO_INCREMENT, - `actual_trigger_time` bigint(0) NULL DEFAULT NULL, - `app_id` bigint(0) NULL DEFAULT NULL, - `dag` longtext NULL, - `expected_trigger_time` bigint(0) NULL DEFAULT NULL, - `finished_time` bigint(0) NULL DEFAULT NULL, - `gmt_create` datetime(6) NULL DEFAULT NULL, - `gmt_modified` datetime(6) NULL DEFAULT NULL, - `parent_wf_instance_id` bigint(0) NULL DEFAULT NULL, - `result` longtext NULL, - `status` int(0) NULL DEFAULT NULL, - `wf_context` longtext NULL, - `wf_init_params` longtext NULL, - `wf_instance_id` bigint(0) NULL DEFAULT NULL, - `workflow_id` bigint(0) NULL DEFAULT NULL, - PRIMARY KEY (`id`) USING BTREE, - UNIQUE INDEX `uidx01_wf_instance`(`wf_instance_id`) USING BTREE, - INDEX `idx01_wf_instance`(`workflow_id`, `status`, `app_id`, `expected_trigger_time`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 1 ROW_FORMAT = Dynamic; - --- ---------------------------- --- Table structure for pj_workflow_node_info --- ---------------------------- -DROP TABLE IF EXISTS `pj_workflow_node_info`; -CREATE TABLE `pj_workflow_node_info` ( - `id` bigint(0) NOT NULL AUTO_INCREMENT, - `app_id` bigint(0) NOT NULL, - `enable` bit(1) NOT NULL, - `extra` longtext NULL, - `gmt_create` datetime(6) NULL, - `gmt_modified` datetime(6) NULL, - `job_id` bigint(0) NULL DEFAULT NULL, - `node_name` varchar(255) NULL DEFAULT NULL, - `node_params` longtext NULL, - `skip_when_failed` bit(1) NOT NULL, - `type` int(0) NULL DEFAULT NULL, - `workflow_id` bigint(0) NULL DEFAULT NULL, - PRIMARY KEY (`id`) USING BTREE, - INDEX `idx01_workflow_node_info`(`workflow_id`, `gmt_create`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 1 ROW_FORMAT = Dynamic; - --- “定时任务”菜单修改为“任务调度”,使用powerjob: -UPDATE `sys_menu` SET `menu_name`='任务调度',`path`='powerjob', `component`='monitor/powerjob/index', `perms`='monitor:powerjob:list' WHERE `menu_id`=110; - --- 删除quartz数据库表: -DROP TABLE IF EXISTS QRTZ_FIRED_TRIGGERS; -DROP TABLE IF EXISTS QRTZ_PAUSED_TRIGGER_GRPS; -DROP TABLE IF EXISTS QRTZ_SCHEDULER_STATE; -DROP TABLE IF EXISTS QRTZ_LOCKS; -DROP TABLE IF EXISTS QRTZ_SIMPLE_TRIGGERS; -DROP TABLE IF EXISTS QRTZ_SIMPROP_TRIGGERS; -DROP TABLE IF EXISTS QRTZ_CRON_TRIGGERS; -DROP TABLE IF EXISTS QRTZ_BLOB_TRIGGERS; -DROP TABLE IF EXISTS QRTZ_TRIGGERS; -DROP TABLE IF EXISTS QRTZ_JOB_DETAILS; -DROP TABLE IF EXISTS QRTZ_CALENDARS; - --- V4.1.7升级到V4.1.8: --- 修改字典"sys_user_sex"为"sys_user_gender": -UPDATE sys_dict_data SET `dict_type`="sys_user_gender" WHERE `dict_type`="sys_user_sex"; -UPDATE sys_dict_type SET `dict_type`="sys_user_gender" WHERE `dict_type`="sys_user_sex"; -UPDATE gen_table_column SET `dict_type`="sys_user_gender" WHERE `dict_type`="sys_user_sex"; --- 修改用户表"sex"字段为"gender": -ALTER TABLE `sys_user` CHANGE COLUMN `sex` `gender` CHAR(1) NULL DEFAULT '0' COMMENT '用户性别(0男 1女 2未知)' COLLATE 'utf8mb4_bin' AFTER `phonenumber`; - -ALTER TABLE `sys_dept` - CHANGE COLUMN `del_flag` `del_flag` CHAR(1) NULL DEFAULT '0' COMMENT '删除标志(0代表存在 1代表删除)' COLLATE 'utf8mb4_bin' AFTER `status`; - --- 数据库表去掉自增主键: -ALTER TABLE `sys_role` - CHANGE COLUMN `role_id` `role_id` BIGINT(19) NOT NULL COMMENT '角色ID' FIRST; -ALTER TABLE `sys_config` - CHANGE COLUMN `config_id` `config_id` BIGINT(19) NOT NULL COMMENT '参数主键' FIRST; -ALTER TABLE `sys_notice` - CHANGE COLUMN `notice_id` `notice_id` BIGINT(19) NOT NULL COMMENT '公告ID' FIRST; -ALTER TABLE `sys_post` - CHANGE COLUMN `post_id` `post_id` BIGINT(19) NOT NULL COMMENT '岗位ID' FIRST; -ALTER TABLE `sys_dict_type` - CHANGE COLUMN `dict_id` `dict_id` BIGINT(19) NOT NULL COMMENT '字典主键' FIRST; -ALTER TABLE `sys_dict_data` - CHANGE COLUMN `dict_code` `dict_code` BIGINT(19) NOT NULL COMMENT '字典编码' FIRST; -ALTER TABLE `sys_dept` - CHANGE COLUMN `dept_id` `dept_id` BIGINT(19) NOT NULL COMMENT '部门id' FIRST; -ALTER TABLE `sys_dept` - CHANGE COLUMN `ancestors` `ancestors` VARCHAR(760) NULL DEFAULT '' COMMENT '祖级列表' COLLATE 'utf8mb4_bin' AFTER `parent_id`; - -ALTER TABLE `sys_user` - CHANGE COLUMN `user_id` `user_id` BIGINT(19) NOT NULL COMMENT '用户ID' FIRST; - -ALTER TABLE `sys_user` - CHANGE COLUMN `user_type` `user_type` VARCHAR(10) NULL DEFAULT 'sys_user' COMMENT '用户类型(sys_user系统用户、app_user App用户)' COLLATE 'utf8mb4_bin' AFTER `nick_name`; -UPDATE `sys_user` SET `user_type`="sys_user"; - -ALTER TABLE `sys_logininfor` - CHANGE COLUMN `info_id` `info_id` BIGINT(19) NOT NULL COMMENT '访问ID' FIRST; - -ALTER TABLE `sys_oper_log` - CHANGE COLUMN `oper_id` `oper_id` BIGINT(19) NOT NULL COMMENT '日志主键' FIRST; - -insert into sys_dict_type values(11, '授权类型', 'sys_grant_type',1, sysdate(), 1, sysdate(), '认证授权类型'); -insert into sys_dict_data values(30, 1, '密码认证', 'password', 'sys_grant_type', 'el-check-tag', 'default', 'N', 1, sysdate(), 1, sysdate(), '密码认证'); -insert into sys_dict_data values(31, 2, '短信认证', 'sms', 'sys_grant_type', 'el-check-tag', 'default', 'N', 1, sysdate(), 1, sysdate(), '短信认证'); -insert into sys_dict_data values(32, 3, '邮件认证', 'email', 'sys_grant_type', 'el-check-tag', 'default', 'N', 1, sysdate(), 1, sysdate(), '邮件认证'); -insert into sys_dict_data values(33, 4, '小程序认证', 'xcx', 'sys_grant_type', 'el-check-tag', 'default', 'N', 1, sysdate(), 1, sysdate(), '小程序认证'); -insert into sys_dict_data values(34, 5, '三方登录认证', 'social', 'sys_grant_type', 'el-check-tag', 'default', 'N', 1, sysdate(), 1, sysdate(), '三方登录认证'); - -CREATE TABLE `mf_student` ( - `student_id` BIGINT(19) NOT NULL COMMENT '编号', - `student_name` VARCHAR(30) NULL DEFAULT '' COMMENT '学生名称' COLLATE 'utf8mb4_bin', - `student_age` INT(10) NULL DEFAULT NULL COMMENT '年龄', - `student_hobby` VARCHAR(30) NULL DEFAULT '' COMMENT '爱好(0代码 1音乐 2电影)' COLLATE 'utf8mb4_bin', - `student_gender` CHAR(1) NULL DEFAULT '1' COMMENT '性别(1男 2女 3未知)' COLLATE 'utf8mb4_bin', - `student_status` CHAR(1) NULL DEFAULT '0' COMMENT '状态(0正常 1停用)' COLLATE 'utf8mb4_bin', - `student_birthday` DATETIME NULL DEFAULT NULL COMMENT '生日', - `create_by` BIGINT(19) NOT NULL DEFAULT '0' COMMENT '创建者', - `create_time` DATETIME NULL DEFAULT NULL COMMENT '创建时间', - `update_by` BIGINT(19) NOT NULL DEFAULT '0' COMMENT '更新者', - `update_time` DATETIME NULL DEFAULT NULL COMMENT '更新时间', - PRIMARY KEY (`student_id`) USING BTREE -) - COMMENT='学生信息单表' -COLLATE='utf8mb4_bin' -ENGINE=InnoDB -; - --- 菜单 SQL -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('学生信息表', '2018', '1', 'student', 'mf/student/index', 1, 0, 'C', '0', '0', 'mf:student:list', '#', 1, sysdate(), 1, null, '学生信息表菜单'); - --- 按钮父菜单ID -SELECT @parentId := LAST_INSERT_ID(); - --- 按钮 SQL -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('学生信息表查询', @parentId, '1', '#', '', 1, 0, 'F', '0', '0', 'mf:student:query', '#', 1, sysdate(), 1, null, ''); - -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('学生信息表新增', @parentId, '2', '#', '', 1, 0, 'F', '0', '0', 'mf:student:add', '#', 1, sysdate(), 1, null, ''); - -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('学生信息表修改', @parentId, '3', '#', '', 1, 0, 'F', '0', '0', 'mf:student:edit', '#', 1, sysdate(), 1, null, ''); - -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('学生信息表删除', @parentId, '4', '#', '', 1, 0, 'F', '0', '0', 'mf:student:remove', '#', 1, sysdate(), 1, null, ''); - -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('学生信息表导出', @parentId, '5', '#', '', 1, 0, 'F', '0', '0', 'mf:student:export', '#', 1, sysdate(), 1, null, ''); - -CREATE TABLE `mf_product` ( - `product_id` BIGINT(19) NOT NULL COMMENT '产品id', - `parent_id` BIGINT(19) NULL DEFAULT '0' COMMENT '父产品id', - `product_name` VARCHAR(30) NULL DEFAULT '' COMMENT '产品名称' COLLATE 'utf8mb4_bin', - `order_num` INT(10) NULL DEFAULT '0' COMMENT '显示顺序', - `status` CHAR(1) NULL DEFAULT '0' COMMENT '产品状态(0正常 1停用)' COLLATE 'utf8mb4_bin', - `create_by` BIGINT(19) NOT NULL DEFAULT '0' COMMENT '创建者', - `create_time` DATETIME NULL DEFAULT NULL COMMENT '创建时间', - `update_by` BIGINT(19) NOT NULL DEFAULT '0' COMMENT '更新者', - `update_time` DATETIME NULL DEFAULT NULL COMMENT '更新时间', - PRIMARY KEY (`product_id`) USING BTREE -) -COMMENT='产品树表' -COLLATE='utf8mb4_bin' -ENGINE=InnoDB -; - --- 菜单 SQL -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('产品树表', '2018', '1', 'product', 'mf/product/index', 1, 0, 'C', '0', '0', 'mf:product:list', '#', 1, sysdate(), 1, null, '产品树菜单'); - --- 按钮父菜单ID -SELECT @parentId := LAST_INSERT_ID(); - --- 按钮 SQL -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('产品树表查询', @parentId, '1', '#', '', 1, 0, 'F', '0', '0', 'mf:product:query', '#', 1, sysdate(), 1, null, ''); - -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('产品树表新增', @parentId, '2', '#', '', 1, 0, 'F', '0', '0', 'mf:product:add', '#', 1, sysdate(), 1, null, ''); - -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('产品树表修改', @parentId, '3', '#', '', 1, 0, 'F', '0', '0', 'mf:product:edit', '#', 1, sysdate(), 1, null, ''); - -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('产品树表删除', @parentId, '4', '#', '', 1, 0, 'F', '0', '0', 'mf:product:remove', '#', 1, sysdate(), 1, null, ''); - -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('产品树表导出', @parentId, '5', '#', '', 1, 0, 'F', '0', '0', 'mf:product:export', '#', 1, sysdate(), 1, null, ''); - --- 表 sys_oss 结构 -CREATE TABLE IF NOT EXISTS `sys_oss` ( - `oss_id` bigint NOT NULL COMMENT '对象存储主键', - `file_name` varchar(255) COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '文件名', - `original_name` varchar(255) COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '原名', - `file_suffix` varchar(10) COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '文件后缀名', - `url` varchar(500) COLLATE utf8mb4_bin NOT NULL COMMENT 'URL地址', - `service` varchar(20) COLLATE utf8mb4_bin NOT NULL DEFAULT 'minio' COMMENT '服务商', - `create_by` bigint DEFAULT NULL COMMENT '上传人', - `create_time` datetime DEFAULT NULL COMMENT '创建时间', - `update_by` bigint DEFAULT NULL COMMENT '更新人', - `update_time` datetime DEFAULT NULL COMMENT '更新时间', - PRIMARY KEY (`oss_id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='OSS对象存储表'; - --- 表 sys_oss_config 结构 -CREATE TABLE IF NOT EXISTS `sys_oss_config` ( - `oss_config_id` bigint NOT NULL COMMENT '主建', - `config_key` varchar(20) COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '配置key', - `access_key` varchar(255) COLLATE utf8mb4_bin DEFAULT '' COMMENT 'accessKey', - `secret_key` varchar(255) COLLATE utf8mb4_bin DEFAULT '' COMMENT '秘钥', - `bucket_name` varchar(255) COLLATE utf8mb4_bin DEFAULT '' COMMENT '桶名称', - `prefix` varchar(255) COLLATE utf8mb4_bin DEFAULT '' COMMENT '前缀', - `endpoint` varchar(255) COLLATE utf8mb4_bin DEFAULT '' COMMENT '访问站点', - `domain` varchar(255) COLLATE utf8mb4_bin DEFAULT '' COMMENT '自定义域名', - `is_https` char(1) COLLATE utf8mb4_bin DEFAULT 'N' COMMENT '是否https(Y=是,N=否)', - `region` varchar(255) COLLATE utf8mb4_bin DEFAULT '' COMMENT '域', - `access_policy` char(1) COLLATE utf8mb4_bin NOT NULL DEFAULT '1' COMMENT '桶权限类型(0=private 1=public 2=custom)', - `status` char(1) COLLATE utf8mb4_bin DEFAULT '1' COMMENT '是否默认(0=是,1=否)', - `ext1` varchar(255) COLLATE utf8mb4_bin DEFAULT '' COMMENT '扩展字段', - `create_by` bigint DEFAULT NULL COMMENT '创建者', - `create_time` datetime DEFAULT NULL COMMENT '创建时间', - `update_by` bigint DEFAULT NULL COMMENT '更新者', - `update_time` datetime DEFAULT NULL COMMENT '更新时间', - `remark` varchar(500) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '备注', - PRIMARY KEY (`oss_config_id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='对象存储配置表'; - --- 表sys_oss_config 的数据:~4 rows (大约) -INSERT INTO `sys_oss_config` (`oss_config_id`, `config_key`, `access_key`, `secret_key`, `bucket_name`, `prefix`, `endpoint`, `domain`, `is_https`, `region`, `access_policy`, `status`, `ext1`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES - (1, 'minio', 'ruoyi-flex', 'ruoyi-flex@369', 'ruoyi-flex', '', '127.0.0.1:9000', '', 'N', '', '1', '0', '', 1, '2023-11-30 11:54:13', 1, '2023-12-01 14:23:59', NULL), - (2, 'qiniu', 'XXXXXXXXXXXXXXX', 'XXXXXXXXXXXXXXX', 'ruoyi-flex', '', 's3-cn-north-1.qiniucs.com', '', 'N', '', '1', '1', '', 1, '2023-11-30 11:54:13', 1, '2023-12-01 14:25:43', NULL), - (3, 'aliyun', 'XXXXXXXXXXXXXXX', 'XXXXXXXXXXXXXXX', 'ruoyi-flex', '', 'oss-cn-beijing.aliyuncs.com', '', 'N', '', '1', '1', '', 1, '2023-11-30 11:54:13', 1, '2023-12-01 14:25:48', NULL), - (4, 'qcloud', 'XXXXXXXXXXXXXXX', 'XXXXXXXXXXXXXXX', 'ruoyi-flex', '', 'cos.ap-beijing.myqcloud.com', '', 'N', '', '1', '1', '', 1, '2023-11-30 11:54:13', 1, '2023-12-01 14:26:02', NULL); - --- oss菜单 -insert into sys_menu values('118', '文件管理', '1', '10', 'oss', 'system/oss/index', '', 1, 0, 'C', '0', '0', 'system:oss:list', 'upload', 1, sysdate(), 1, sysdate(), '文件管理菜单'); - --- 修改avatar字段类型为bigint - UPDATE sys_user SET avatar=null WHERE user_id>=1; - ALTER TABLE `sys_user` - CHANGE COLUMN `avatar` `avatar` BIGINT NULL DEFAULT NULL COMMENT '头像地址' AFTER `gender`; - --- 表sys_config 的数据: -INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES - (20, 'OSS预览列表资源开关', 'sys.oss.previewListResource', 'true', 'Y', 1, '2023-09-30 21:55:15', 1, '2023-12-01 22:32:10', 'true:开启, false:关闭'); - -CREATE TABLE `mf_customer` ( - `customer_id` BIGINT(19) NOT NULL COMMENT '客户id', - `customer_name` VARCHAR(30) NULL DEFAULT '' COMMENT '客户姓名' COLLATE 'utf8mb4_bin', - `phonenumber` VARCHAR(11) NULL DEFAULT '' COMMENT '手机号码' COLLATE 'utf8mb4_bin', - `gender` CHAR(1) NULL DEFAULT NULL COMMENT '客户性别' COLLATE 'utf8mb4_bin', - `birthday` DATETIME NULL DEFAULT NULL COMMENT '客户生日', - `remark` VARCHAR(500) NULL DEFAULT NULL COMMENT '客户描述' COLLATE 'utf8mb4_bin', - `create_by` BIGINT(19) NOT NULL DEFAULT '0' COMMENT '创建者', - `create_time` DATETIME NULL DEFAULT NULL COMMENT '创建时间', - `update_by` BIGINT(19) NOT NULL DEFAULT '0' COMMENT '更新者', - `update_time` DATETIME NULL DEFAULT NULL COMMENT '更新时间', - PRIMARY KEY (`customer_id`) USING BTREE -) - COMMENT='客户主表' -COLLATE='utf8mb4_bin' -ENGINE=InnoDB -; -CREATE TABLE `mf_goods` ( - `goods_id` BIGINT(19) NOT NULL COMMENT '商品id', - `customer_id` BIGINT(19) NOT NULL COMMENT '客户id', - `name` VARCHAR(30) NULL DEFAULT '' COMMENT '商品名称' COLLATE 'utf8mb4_bin', - `weight` INT(10) NULL DEFAULT NULL COMMENT '商品重量', - `price` DECIMAL(6,2) NULL DEFAULT NULL COMMENT '商品价格', - `date` DATETIME NULL DEFAULT NULL COMMENT '商品时间', - `type` CHAR(1) NULL DEFAULT NULL COMMENT '商品种类' COLLATE 'utf8mb4_bin', - `create_by` BIGINT(19) NOT NULL DEFAULT '0' COMMENT '创建者', - `create_time` DATETIME NULL DEFAULT NULL COMMENT '创建时间', - `update_by` BIGINT(19) NOT NULL DEFAULT '0' COMMENT '更新者', - `update_time` DATETIME NULL DEFAULT NULL COMMENT '更新时间', - PRIMARY KEY (`goods_id`) USING BTREE -) - COMMENT='商品子表' -COLLATE='utf8mb4_bin' -ENGINE=InnoDB -; - --- 菜单 SQL -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('客户主表', '2018', '1', 'customer', 'mf/customer/index', 1, 0, 'C', '0', '0', 'mf:customer:list', '#', 1, sysdate(), 1, null, '客户主表菜单'); - --- 按钮父菜单ID -SELECT @parentId := LAST_INSERT_ID(); - --- 按钮 SQL -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('客户主表查询', @parentId, '1', '#', '', 1, 0, 'F', '0', '0', 'mf:customer:query', '#', 1, sysdate(), 1, null, ''); - -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('客户主表新增', @parentId, '2', '#', '', 1, 0, 'F', '0', '0', 'mf:customer:add', '#', 1, sysdate(), 1, null, ''); - -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('客户主表修改', @parentId, '3', '#', '', 1, 0, 'F', '0', '0', 'mf:customer:edit', '#', 1, sysdate(), 1, null, ''); - -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('客户主表删除', @parentId, '4', '#', '', 1, 0, 'F', '0', '0', 'mf:customer:remove', '#', 1, sysdate(), 1, null, ''); - -insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) -values('客户主表导出', @parentId, '5', '#', '', 1, 0, 'F', '0', '0', 'mf:customer:export', '#', 1, sysdate(), 1, null, ''); - ---修正“演示模块”的“路由地址”重复的问题 -update sys_menu set path="mfstudent" where component="mf/student/index"; -update sys_menu set path="mfproduct" where component="mf/product/index"; -update sys_menu set path="mfcustomer" where component="mf/customer/index";