@ -11,7 +11,7 @@
Target Server Version : 100617
Target Server Version : 100617
File Encoding : 65001
File Encoding : 65001
Date : 11 / 10 / 2024 1 6: 18 : 21
Date : 11 / 10 / 2024 1 7: 51 : 13
* /
* /
SET NAMES utf8mb4 ;
SET NAMES utf8mb4 ;
@ -208,6 +208,7 @@ CREATE TABLE `sys_logininfor` (
-- ----------------------------
-- ----------------------------
-- Records of sys_logininfor
-- Records of sys_logininfor
-- ----------------------------
-- ----------------------------
INSERT INTO ` sys_logininfor ` VALUES ( 20241011000000001 , ' admin ' , ' 127.0.0.1 ' , ' 内网IP ' , ' MSEdge ' , ' Windows 10 or Windows Server 2016 ' , ' 0 ' , ' 登录成功 ' , ' 2024-10-11 17:28:10 ' ) ;
-- ----------------------------
-- ----------------------------
-- Table structure for sys_menu
-- Table structure for sys_menu
@ -406,6 +407,25 @@ CREATE TABLE `sys_oper_log` (
-- ----------------------------
-- ----------------------------
-- Records of sys_oper_log
-- Records of sys_oper_log
-- ----------------------------
-- ----------------------------
INSERT INTO ` sys_oper_log ` VALUES ( 20241011000000001 , ' 测试单表 ' , 1 , ' com.ruoyi.demo.controller.TestDemoController.add() ' , ' POST ' , 1 , ' admin ' , ' ' , ' /demo/demo ' , ' 127.0.0.1 ' , ' 内网IP ' , ' {\"userId\":2,\"orderNum\":1,\"testKey\":\"2\",\"value\":\"1\"} ' , ' ' , 1 , ' 参数校验异常 ' , ' 2024-10-11 17:32:50 ' ) ;
INSERT INTO ` sys_oper_log ` VALUES ( 20241011000000002 , ' 测试单表 ' , 1 , ' com.ruoyi.demo.controller.TestDemoController.add() ' , ' POST ' , 1 , ' admin ' , ' ' , ' /demo/demo ' , ' 127.0.0.1 ' , ' 内网IP ' , ' {\"id\":\"20241011000000001\",\"deptId\":1,\"userId\":2,\"orderNum\":1,\"testKey\":\"2\",\"value\":\"1\"} ' , ' {\"code\":200,\"msg\":\"操作成功\"} ' , 0 , ' ' , ' 2024-10-11 17:32:55 ' ) ;
INSERT INTO ` sys_oper_log ` VALUES ( 20241011000000003 , ' 测试单表 ' , 1 , ' com.ruoyi.demo.controller.TestDemoController.add() ' , ' POST ' , 1 , ' admin ' , ' ' , ' /demo/demo ' , ' 127.0.0.1 ' , ' 内网IP ' , ' {\"id\":\"20241011000000002\",\"deptId\":1,\"userId\":1,\"orderNum\":1,\"testKey\":\"1\",\"value\":\"1\"} ' , ' {\"code\":200,\"msg\":\"操作成功\"} ' , 0 , ' ' , ' 2024-10-11 17:39:32 ' ) ;
INSERT INTO ` sys_oper_log ` VALUES ( 20241011000000004 , ' 测试单表 ' , 1 , ' com.ruoyi.demo.controller.TestDemoController.add() ' , ' POST ' , 1 , ' admin ' , ' ' , ' /demo/demo ' , ' 127.0.0.1 ' , ' 内网IP ' , ' {\"id\":\"20241011000000003\",\"deptId\":2,\"userId\":2,\"orderNum\":2,\"testKey\":\"2\",\"value\":\"2\"} ' , ' {\"code\":200,\"msg\":\"操作成功\"} ' , 0 , ' ' , ' 2024-10-11 17:42:08 ' ) ;
INSERT INTO ` sys_oper_log ` VALUES ( 20241011000000005 , ' 测试单表 ' , 1 , ' com.ruoyi.demo.controller.TestDemoController.add() ' , ' POST ' , 1 , ' admin ' , ' ' , ' /demo/demo ' , ' 127.0.0.1 ' , ' 内网IP ' , ' {\"id\":\"20241011000000004\",\"deptId\":3,\"userId\":3,\"orderNum\":3,\"testKey\":\"3\",\"value\":\"3\"} ' , ' {\"code\":200,\"msg\":\"操作成功\"} ' , 0 , ' ' , ' 2024-10-11 17:43:39 ' ) ;
INSERT INTO ` sys_oper_log ` VALUES ( 20241011000000006 , ' 测试单表 ' , 1 , ' com.ruoyi.demo.controller.TestDemoController.add() ' , ' POST ' , 1 , ' admin ' , ' ' , ' /demo/demo ' , ' 127.0.0.1 ' , ' 内网IP ' , ' {\"id\":\"20241011000000005\",\"deptId\":4,\"userId\":4,\"orderNum\":4,\"testKey\":\"4\",\"value\":\"4\"} ' , ' {\"code\":200,\"msg\":\"操作成功\"} ' , 0 , ' ' , ' 2024-10-11 17:44:51 ' ) ;
INSERT INTO ` sys_oper_log ` VALUES ( 20241011000000007 , ' 测试单表 ' , 1 , ' com.ruoyi.demo.controller.TestDemoController.add() ' , ' POST ' , 1 , ' admin ' , ' ' , ' /demo/demo ' , ' 127.0.0.1 ' , ' 内网IP ' , ' {\"createBy\":\"admin\",\"createTime\":\"2023-08-16 10:35:31\",\"id\":5,\"deptId\":108,\"userId\":3,\"orderNum\":13,\"testKey\":\"子节点11\",\"value\":\"1111\"} ' , ' ' , 1 , ' \r\n### Error updating database. Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 5 \ ' for key \ ' PRIMARY \ ' \r\n### The error may exist in com/ruoyi/demo/mapper/TestDemoMapper.java (best guess)\r\n### The error may involve com.ruoyi.demo.mapper.TestDemoMapper.insert-Inline\r\n### The error occurred while setting parameters\r\n### SQL: INSERT INTO test_demo ( id, dept_id, user_id, create_user_id, login_ip, update_user_id, order_num, test_key, value, create_by, create_time, update_by, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )\r\n### Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 5 \ ' for key \ ' PRIMARY \ ' \n; Duplicate entry \ ' 5 \ ' for key \ ' PRIMARY \ ' ; nested exception is java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 5 \ ' for key \ ' PRIMARY \ ' ' , ' 2024-10-11 17:45:07 ' ) ;
INSERT INTO ` sys_oper_log ` VALUES ( 20241011000000008 , ' 测试单表 ' , 1 , ' com.ruoyi.demo.controller.TestDemoController.add() ' , ' POST ' , 1 , ' admin ' , ' ' , ' /demo/demo ' , ' 127.0.0.1 ' , ' 内网IP ' , ' {\"createBy\":\"admin\",\"createTime\":\"2023-08-16 10:35:31\",\"id\":5,\"deptId\":108,\"userId\":3,\"orderNum\":13,\"testKey\":\"子节点11\",\"value\":\"1111\"} ' , ' ' , 1 , ' \r\n### Error updating database. Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 5 \ ' for key \ ' PRIMARY \ ' \r\n### The error may exist in com/ruoyi/demo/mapper/TestDemoMapper.java (best guess)\r\n### The error may involve com.ruoyi.demo.mapper.TestDemoMapper.insert-Inline\r\n### The error occurred while setting parameters\r\n### SQL: INSERT INTO test_demo ( id, dept_id, user_id, create_user_id, login_ip, update_user_id, order_num, test_key, value, create_by, create_time, update_by, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )\r\n### Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 5 \ ' for key \ ' PRIMARY \ ' \n; Duplicate entry \ ' 5 \ ' for key \ ' PRIMARY \ ' ; nested exception is java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 5 \ ' for key \ ' PRIMARY \ ' ' , ' 2024-10-11 17:45:09 ' ) ;
INSERT INTO ` sys_oper_log ` VALUES ( 20241011000000009 , ' 测试单表 ' , 1 , ' com.ruoyi.demo.controller.TestDemoController.add() ' , ' POST ' , 1 , ' admin ' , ' ' , ' /demo/demo ' , ' 127.0.0.1 ' , ' 内网IP ' , ' {\"createBy\":\"admin\",\"createTime\":\"2023-08-16 10:35:31\",\"id\":5,\"deptId\":108,\"userId\":3,\"orderNum\":13,\"testKey\":\"子节点11\",\"value\":\"1111\"} ' , ' ' , 1 , ' \r\n### Error updating database. Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 5 \ ' for key \ ' PRIMARY \ ' \r\n### The error may exist in com/ruoyi/demo/mapper/TestDemoMapper.java (best guess)\r\n### The error may involve com.ruoyi.demo.mapper.TestDemoMapper.insert-Inline\r\n### The error occurred while setting parameters\r\n### SQL: INSERT INTO test_demo ( id, dept_id, user_id, create_user_id, login_ip, update_user_id, order_num, test_key, value, create_by, create_time, update_by, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )\r\n### Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 5 \ ' for key \ ' PRIMARY \ ' \n; Duplicate entry \ ' 5 \ ' for key \ ' PRIMARY \ ' ; nested exception is java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 5 \ ' for key \ ' PRIMARY \ ' ' , ' 2024-10-11 17:45:11 ' ) ;
INSERT INTO ` sys_oper_log ` VALUES ( 20241011000000010 , ' 测试单表 ' , 1 , ' com.ruoyi.demo.controller.TestDemoController.add() ' , ' POST ' , 1 , ' admin ' , ' ' , ' /demo/demo ' , ' 127.0.0.1 ' , ' 内网IP ' , ' {\"createBy\":\"admin\",\"createTime\":\"2023-08-16 10:35:31\",\"id\":5,\"deptId\":108,\"userId\":3,\"orderNum\":13,\"testKey\":\"子节点11\",\"value\":\"1111\"} ' , ' ' , 1 , ' \r\n### Error updating database. Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 5 \ ' for key \ ' PRIMARY \ ' \r\n### The error may exist in com/ruoyi/demo/mapper/TestDemoMapper.java (best guess)\r\n### The error may involve com.ruoyi.demo.mapper.TestDemoMapper.insert-Inline\r\n### The error occurred while setting parameters\r\n### SQL: INSERT INTO test_demo ( id, dept_id, user_id, create_user_id, login_ip, update_user_id, order_num, test_key, value, create_by, create_time, update_by, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )\r\n### Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 5 \ ' for key \ ' PRIMARY \ ' \n; Duplicate entry \ ' 5 \ ' for key \ ' PRIMARY \ ' ; nested exception is java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 5 \ ' for key \ ' PRIMARY \ ' ' , ' 2024-10-11 17:45:13 ' ) ;
INSERT INTO ` sys_oper_log ` VALUES ( 20241011000000011 , ' 测试单表 ' , 1 , ' com.ruoyi.demo.controller.TestDemoController.add() ' , ' POST ' , 1 , ' admin ' , ' ' , ' /demo/demo ' , ' 127.0.0.1 ' , ' 内网IP ' , ' {\"createBy\":\"admin\",\"createTime\":\"2023-08-16 10:35:31\",\"id\":5,\"deptId\":108,\"userId\":3,\"orderNum\":13,\"testKey\":\"子节点11\",\"value\":\"1111\"} ' , ' ' , 1 , ' \r\n### Error updating database. Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 5 \ ' for key \ ' PRIMARY \ ' \r\n### The error may exist in com/ruoyi/demo/mapper/TestDemoMapper.java (best guess)\r\n### The error may involve com.ruoyi.demo.mapper.TestDemoMapper.insert-Inline\r\n### The error occurred while setting parameters\r\n### SQL: INSERT INTO test_demo ( id, dept_id, user_id, create_user_id, login_ip, update_user_id, order_num, test_key, value, create_by, create_time, update_by, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )\r\n### Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 5 \ ' for key \ ' PRIMARY \ ' \n; Duplicate entry \ ' 5 \ ' for key \ ' PRIMARY \ ' ; nested exception is java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 5 \ ' for key \ ' PRIMARY \ ' ' , ' 2024-10-11 17:45:22 ' ) ;
INSERT INTO ` sys_oper_log ` VALUES ( 20241011000000012 , ' 测试单表 ' , 1 , ' com.ruoyi.demo.controller.TestDemoController.add() ' , ' POST ' , 1 , ' admin ' , ' ' , ' /demo/demo ' , ' 127.0.0.1 ' , ' 内网IP ' , ' {\"createBy\":\"admin\",\"createTime\":\"2023-08-16 10:35:31\",\"id\":5,\"deptId\":108,\"userId\":3,\"orderNum\":13,\"testKey\":\"子节点11\",\"value\":\"1111\"} ' , ' ' , 1 , ' \r\n### Error updating database. Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 5 \ ' for key \ ' PRIMARY \ ' \r\n### The error may exist in com/ruoyi/demo/mapper/TestDemoMapper.java (best guess)\r\n### The error may involve com.ruoyi.demo.mapper.TestDemoMapper.insert-Inline\r\n### The error occurred while setting parameters\r\n### SQL: INSERT INTO test_demo ( id, dept_id, user_id, create_user_id, login_ip, update_user_id, order_num, test_key, value, create_by, create_time, update_by, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )\r\n### Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 5 \ ' for key \ ' PRIMARY \ ' \n; Duplicate entry \ ' 5 \ ' for key \ ' PRIMARY \ ' ; nested exception is java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 5 \ ' for key \ ' PRIMARY \ ' ' , ' 2024-10-11 17:47:35 ' ) ;
INSERT INTO ` sys_oper_log ` VALUES ( 20241011000000013 , ' 测试单表 ' , 1 , ' com.ruoyi.demo.controller.TestDemoController.add() ' , ' POST ' , 1 , ' admin ' , ' ' , ' /demo/demo ' , ' 127.0.0.1 ' , ' 内网IP ' , ' {\"createBy\":\"admin\",\"createTime\":\"2023-08-16 10:35:31\",\"id\":1,\"deptId\":102,\"userId\":4,\"orderNum\":1,\"testKey\":\"测试数据权限\",\"value\":\"测试\"} ' , ' ' , 1 , ' \r\n### Error updating database. Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 1 \ ' for key \ ' PRIMARY \ ' \r\n### The error may exist in com/ruoyi/demo/mapper/TestDemoMapper.java (best guess)\r\n### The error may involve com.ruoyi.demo.mapper.TestDemoMapper.insert-Inline\r\n### The error occurred while setting parameters\r\n### SQL: INSERT INTO test_demo ( id, dept_id, user_id, create_user_id, login_ip, update_user_id, order_num, test_key, value, create_by, create_time, update_by, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )\r\n### Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 1 \ ' for key \ ' PRIMARY \ ' \n; Duplicate entry \ ' 1 \ ' for key \ ' PRIMARY \ ' ; nested exception is java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 1 \ ' for key \ ' PRIMARY \ ' ' , ' 2024-10-11 17:48:44 ' ) ;
INSERT INTO ` sys_oper_log ` VALUES ( 20241011000000014 , ' 测试单表 ' , 1 , ' com.ruoyi.demo.controller.TestDemoController.add() ' , ' POST ' , 1 , ' admin ' , ' ' , ' /demo/demo ' , ' 127.0.0.1 ' , ' 内网IP ' , ' {\"createBy\":\"admin\",\"createTime\":\"2023-08-16 10:35:31\",\"id\":1,\"deptId\":102,\"userId\":4,\"orderNum\":1,\"testKey\":\"测试数据权限\",\"value\":\"测试\"} ' , ' ' , 1 , ' \r\n### Error updating database. Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 1 \ ' for key \ ' PRIMARY \ ' \r\n### The error may exist in com/ruoyi/demo/mapper/TestDemoMapper.java (best guess)\r\n### The error may involve com.ruoyi.demo.mapper.TestDemoMapper.insert-Inline\r\n### The error occurred while setting parameters\r\n### SQL: INSERT INTO test_demo ( id, dept_id, user_id, create_user_id, login_ip, update_user_id, order_num, test_key, value, create_by, create_time, update_by, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )\r\n### Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 1 \ ' for key \ ' PRIMARY \ ' \n; Duplicate entry \ ' 1 \ ' for key \ ' PRIMARY \ ' ; nested exception is java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 1 \ ' for key \ ' PRIMARY \ ' ' , ' 2024-10-11 17:48:46 ' ) ;
INSERT INTO ` sys_oper_log ` VALUES ( 20241011000000015 , ' 测试单表 ' , 1 , ' com.ruoyi.demo.controller.TestDemoController.add() ' , ' POST ' , 1 , ' admin ' , ' ' , ' /demo/demo ' , ' 127.0.0.1 ' , ' 内网IP ' , ' {\"createBy\":\"admin\",\"createTime\":\"2023-08-16 10:35:31\",\"id\":1,\"deptId\":102,\"userId\":4,\"orderNum\":1,\"testKey\":\"测试数据权限\",\"value\":\"测试\"} ' , ' ' , 1 , ' \r\n### Error updating database. Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 1 \ ' for key \ ' PRIMARY \ ' \r\n### The error may exist in com/ruoyi/demo/mapper/TestDemoMapper.java (best guess)\r\n### The error may involve com.ruoyi.demo.mapper.TestDemoMapper.insert-Inline\r\n### The error occurred while setting parameters\r\n### SQL: INSERT INTO test_demo ( id, dept_id, user_id, create_user_id, login_ip, update_user_id, order_num, test_key, value, create_by, create_time, update_by, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )\r\n### Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 1 \ ' for key \ ' PRIMARY \ ' \n; Duplicate entry \ ' 1 \ ' for key \ ' PRIMARY \ ' ; nested exception is java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 1 \ ' for key \ ' PRIMARY \ ' ' , ' 2024-10-11 17:48:47 ' ) ;
INSERT INTO ` sys_oper_log ` VALUES ( 20241011000000016 , ' 测试单表 ' , 1 , ' com.ruoyi.demo.controller.TestDemoController.add() ' , ' POST ' , 1 , ' admin ' , ' ' , ' /demo/demo ' , ' 127.0.0.1 ' , ' 内网IP ' , ' {\"createBy\":\"admin\",\"createTime\":\"2023-08-16 10:35:31\",\"id\":1,\"deptId\":102,\"userId\":4,\"orderNum\":1,\"testKey\":\"测试数据权限\",\"value\":\"测试\"} ' , ' ' , 1 , ' \r\n### Error updating database. Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 1 \ ' for key \ ' PRIMARY \ ' \r\n### The error may exist in com/ruoyi/demo/mapper/TestDemoMapper.java (best guess)\r\n### The error may involve com.ruoyi.demo.mapper.TestDemoMapper.insert-Inline\r\n### The error occurred while setting parameters\r\n### SQL: INSERT INTO test_demo ( id, dept_id, user_id, create_user_id, login_ip, update_user_id, order_num, test_key, value, create_by, create_time, update_by, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )\r\n### Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 1 \ ' for key \ ' PRIMARY \ ' \n; Duplicate entry \ ' 1 \ ' for key \ ' PRIMARY \ ' ; nested exception is java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 1 \ ' for key \ ' PRIMARY \ ' ' , ' 2024-10-11 17:49:25 ' ) ;
INSERT INTO ` sys_oper_log ` VALUES ( 20241011000000017 , ' 测试单表 ' , 1 , ' com.ruoyi.demo.controller.TestDemoController.add() ' , ' POST ' , 1 , ' admin ' , ' ' , ' /demo/demo ' , ' 127.0.0.1 ' , ' 内网IP ' , ' {\"createBy\":\"admin\",\"createTime\":\"2023-08-16 10:35:31\",\"id\":1,\"deptId\":102,\"userId\":4,\"orderNum\":1,\"testKey\":\"测试数据权限\",\"value\":\"测试\"} ' , ' ' , 1 , ' \r\n### Error updating database. Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 1 \ ' for key \ ' PRIMARY \ ' \r\n### The error may exist in com/ruoyi/demo/mapper/TestDemoMapper.java (best guess)\r\n### The error may involve com.ruoyi.demo.mapper.TestDemoMapper.insert-Inline\r\n### The error occurred while setting parameters\r\n### SQL: INSERT INTO test_demo ( id, dept_id, user_id, create_user_id, login_ip, update_user_id, order_num, test_key, value, create_by, create_time, update_by, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )\r\n### Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 1 \ ' for key \ ' PRIMARY \ ' \n; Duplicate entry \ ' 1 \ ' for key \ ' PRIMARY \ ' ; nested exception is java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 1 \ ' for key \ ' PRIMARY \ ' ' , ' 2024-10-11 17:49:26 ' ) ;
INSERT INTO ` sys_oper_log ` VALUES ( 20241011000000018 , ' 测试单表 ' , 1 , ' com.ruoyi.demo.controller.TestDemoController.add() ' , ' POST ' , 1 , ' admin ' , ' ' , ' /demo/demo ' , ' 127.0.0.1 ' , ' 内网IP ' , ' {\"createBy\":\"admin\",\"createTime\":\"2023-08-16 10:35:31\",\"id\":1,\"deptId\":102,\"userId\":4,\"orderNum\":1,\"testKey\":\"测试数据权限\",\"value\":\"测试\"} ' , ' ' , 1 , ' \r\n### Error updating database. Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 1 \ ' for key \ ' PRIMARY \ ' \r\n### The error may exist in com/ruoyi/demo/mapper/TestDemoMapper.java (best guess)\r\n### The error may involve com.ruoyi.demo.mapper.TestDemoMapper.insert-Inline\r\n### The error occurred while setting parameters\r\n### SQL: INSERT INTO test_demo ( id, dept_id, user_id, create_user_id, login_ip, update_user_id, order_num, test_key, value, create_by, create_time, update_by, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )\r\n### Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 1 \ ' for key \ ' PRIMARY \ ' \n; Duplicate entry \ ' 1 \ ' for key \ ' PRIMARY \ ' ; nested exception is java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \ ' 1 \ ' for key \ ' PRIMARY \ ' ' , ' 2024-10-11 17:49:28 ' ) ;
INSERT INTO ` sys_oper_log ` VALUES ( 20241011000000019 , ' 测试单表 ' , 2 , ' com.ruoyi.demo.controller.TestDemoController.edit() ' , ' PUT ' , 1 , ' admin ' , ' ' , ' /demo/demo ' , ' 127.0.0.1 ' , ' 内网IP ' , ' {\"createBy\":\"admin\",\"createTime\":\"2023-08-16 10:35:31\",\"id\":1,\"deptId\":102,\"userId\":4,\"orderNum\":1,\"testKey\":\"测试数据权限\",\"value\":\"测试\"} ' , ' {\"code\":200,\"msg\":\"操作成功\"} ' , 0 , ' ' , ' 2024-10-11 17:50:05 ' ) ;
-- ----------------------------
-- ----------------------------
-- Table structure for sys_oss
-- Table structure for sys_oss
@ -657,7 +677,7 @@ CREATE TABLE `sys_user` (
-- ----------------------------
-- ----------------------------
-- Records of sys_user
-- Records of sys_user
-- ----------------------------
-- ----------------------------
INSERT INTO ` sys_user ` VALUES ( 1 , 100 , NULL , ' admin ' , ' 超级管理员 ' , ' sys_user ' , ' admin@evolvecloud.cn ' , ' 13888888888 ' , ' 1 ' , ' ' , ' $2a$10$.ja7BDq5b8jxd6snbRvz8eAmg0loaDb05LR6SpR2F42huJb7GaOD6 ' , ' 0 ' , ' 0 ' , ' 0:0:0:0:0:0:0:1' , ' 2024-08-08 09:57:25 ' , ' admin ' , ' 2024-01-03 10:35:07 ' , ' admin ' , ' 2024- 08-08 09:57:25 ' , ' 管理员 ' ) ;
INSERT INTO ` sys_user ` VALUES ( 1 , 100 , NULL , ' admin ' , ' 超级管理员 ' , ' sys_user ' , ' admin@evolvecloud.cn ' , ' 13888888888 ' , ' 1 ' , ' ' , ' $2a$10$.ja7BDq5b8jxd6snbRvz8eAmg0loaDb05LR6SpR2F42huJb7GaOD6 ' , ' 0 ' , ' 0 ' , ' 127.0.0.1' , ' 2024-10-11 17:28:10 ' , ' admin ' , ' 2024-01-03 10:35:07 ' , ' admin ' , ' 2024- 10-11 17:28:10 ' , ' 管理员 ' ) ;
-- ----------------------------
-- ----------------------------
-- Table structure for sys_user_post
-- Table structure for sys_user_post
@ -706,25 +726,28 @@ CREATE TABLE `test_demo` (
` update_time ` datetime NULL DEFAULT NULL COMMENT ' 更新时间 ' ,
` update_time ` datetime NULL DEFAULT NULL COMMENT ' 更新时间 ' ,
` update_by ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT ' 更新人 ' ,
` update_by ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT ' 更新人 ' ,
` del_flag ` int ( 11 ) NULL DEFAULT 0 COMMENT ' 删除标志 ' ,
` del_flag ` int ( 11 ) NULL DEFAULT 0 COMMENT ' 删除标志 ' ,
` create_user_id ` bigint ( 20 ) NULL DEFAULT NULL ,
` login_ip ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL ,
` update_user_id ` bigint ( 20 ) NULL DEFAULT NULL ,
PRIMARY KEY ( ` id ` ) USING BTREE
PRIMARY KEY ( ` id ` ) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = ' 测试单表 ' ROW_FORMAT = Compact ;
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = ' 测试单表 ' ROW_FORMAT = Compact ;
-- ----------------------------
-- ----------------------------
-- Records of test_demo
-- Records of test_demo
-- ----------------------------
-- ----------------------------
INSERT INTO ` test_demo ` VALUES ( 1 , 102 , 4 , 1 , ' 测试数据权限 ' , ' 测试 ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , NULL , NULL , 0 ) ;
INSERT INTO ` test_demo ` VALUES ( 1 , 102 , 4 , 1 , ' 测试数据权限 ' , ' 测试 ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , ' 2024-10-11 17:50:05 ' , ' admin ' , 0 , NULL , NULL , 1 ) ;
INSERT INTO ` test_demo ` VALUES ( 2 , 102 , 3 , 2 , ' 子节点1 ' , ' 111 ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , NULL , NULL , 0 );
INSERT INTO ` test_demo ` VALUES ( 2 , 102 , 3 , 2 , ' 子节点1 ' , ' 111 ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , NULL , NULL , 0 , NULL , NULL , NULL );
INSERT INTO ` test_demo ` VALUES ( 3 , 102 , 3 , 3 , ' 子节点2 ' , ' 222 ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , NULL , NULL , 0 );
INSERT INTO ` test_demo ` VALUES ( 3 , 102 , 3 , 3 , ' 子节点2 ' , ' 222 ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , NULL , NULL , 0 , NULL , NULL , NULL );
INSERT INTO ` test_demo ` VALUES ( 4 , 108 , 4 , 4 , ' 测试数据 ' , ' demo ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , NULL , NULL , 0 );
INSERT INTO ` test_demo ` VALUES ( 4 , 108 , 4 , 4 , ' 测试数据 ' , ' demo ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , NULL , NULL , 0 , NULL , NULL , NULL );
INSERT INTO ` test_demo ` VALUES ( 5 , 108 , 3 , 13 , ' 子节点11 ' , ' 1111 ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , NULL , NULL , 0 );
INSERT INTO ` test_demo ` VALUES ( 5 , 108 , 3 , 13 , ' 子节点11 ' , ' 1111 ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , NULL , NULL , 0 , NULL , NULL , NULL );
INSERT INTO ` test_demo ` VALUES ( 6 , 108 , 3 , 12 , ' 子节点22 ' , ' 2222 ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , NULL , NULL , 0 );
INSERT INTO ` test_demo ` VALUES ( 6 , 108 , 3 , 12 , ' 子节点22 ' , ' 2222 ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , NULL , NULL , 0 , NULL , NULL , NULL );
INSERT INTO ` test_demo ` VALUES ( 7 , 108 , 3 , 11 , ' 子节点33 ' , ' 3333 ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , NULL , NULL , 0 );
INSERT INTO ` test_demo ` VALUES ( 7 , 108 , 3 , 11 , ' 子节点33 ' , ' 3333 ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , NULL , NULL , 0 , NULL , NULL , NULL );
INSERT INTO ` test_demo ` VALUES ( 8 , 108 , 3 , 10 , ' 子节点44 ' , ' 4444 ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , NULL , NULL , 0 );
INSERT INTO ` test_demo ` VALUES ( 8 , 108 , 3 , 10 , ' 子节点44 ' , ' 4444 ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , NULL , NULL , 0 , NULL , NULL , NULL );
INSERT INTO ` test_demo ` VALUES ( 9 , 108 , 3 , 9 , ' 子节点55 ' , ' 5555 ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , NULL , NULL , 0 );
INSERT INTO ` test_demo ` VALUES ( 9 , 108 , 3 , 9 , ' 子节点55 ' , ' 5555 ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , NULL , NULL , 0 , NULL , NULL , NULL );
INSERT INTO ` test_demo ` VALUES ( 10 , 108 , 3 , 8 , ' 子节点66 ' , ' 6666 ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , NULL , NULL , 0 );
INSERT INTO ` test_demo ` VALUES ( 10 , 108 , 3 , 8 , ' 子节点66 ' , ' 6666 ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , NULL , NULL , 0 , NULL , NULL , NULL );
INSERT INTO ` test_demo ` VALUES ( 11 , 108 , 3 , 7 , ' 子节点77 ' , ' 7777 ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , NULL , NULL , 0 );
INSERT INTO ` test_demo ` VALUES ( 11 , 108 , 3 , 7 , ' 子节点77 ' , ' 7777 ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , NULL , NULL , 0 , NULL , NULL , NULL );
INSERT INTO ` test_demo ` VALUES ( 12 , 108 , 3 , 6 , ' 子节点88 ' , ' 8888 ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , NULL , NULL , 0 );
INSERT INTO ` test_demo ` VALUES ( 12 , 108 , 3 , 6 , ' 子节点88 ' , ' 8888 ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , NULL , NULL , 0 , NULL , NULL , NULL );
INSERT INTO ` test_demo ` VALUES ( 13 , 108 , 3 , 5 , ' 子节点99 ' , ' 9999 ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , NULL , NULL , 0 );
INSERT INTO ` test_demo ` VALUES ( 13 , 108 , 3 , 5 , ' 子节点99 ' , ' 9999 ' , 0 , ' 2023-08-16 10:35:31 ' , ' admin ' , NULL , NULL , 0 , NULL , NULL , NULL );
-- ----------------------------
-- ----------------------------
-- Table structure for test_tree
-- Table structure for test_tree