-- MySQL dump 10.13  Distrib 8.0.44, for Win64 (x86_64)
--
-- Host: localhost    Database: ry_study
-- ------------------------------------------------------
-- Server version	8.0.44

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!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 */;

--
-- Table structure for table `class`
--

DROP TABLE IF EXISTS `class`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `class` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '班级ID',
  `class_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '班级名称',
  `education_stage` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '教育阶段（primary-小学, middle-初中, high-高中）',
  `grade` int DEFAULT NULL COMMENT '年级（1-12）',
  `class_code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '班级代码',
  `teacher_id` bigint DEFAULT NULL COMMENT '班主任ID（教师用户ID）',
  `description` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '班级描述',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '状态（0禁用 1启用）',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`id`),
  KEY `idx_status` (`status`),
  KEY `idx_education_stage_grade` (`education_stage`,`grade`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='班级表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `class`
--

LOCK TABLES `class` WRITE;
/*!40000 ALTER TABLE `class` DISABLE KEYS */;
INSERT INTO `class` VALUES (3,'初中一年级1班','middle',1,'101',107,NULL,'1','admin','2025-11-11 16:54:29','admin','2025-11-12 13:51:45',NULL),(4,'初中一年级2班','middle',1,'102',107,NULL,'1','admin','2025-11-11 16:54:29','admin','2025-11-12 13:51:45',NULL),(5,'初中一年级3班','middle',1,'103',107,NULL,'1','admin','2025-11-11 16:54:29','admin','2025-11-12 13:51:45',NULL),(6,'初中一年级4班','middle',1,'104',107,NULL,'1','admin','2025-11-11 16:54:29','admin','2025-11-12 13:51:45',NULL),(7,'初中一年级5班','middle',1,'105',107,NULL,'1','admin','2025-11-11 16:54:29','admin','2025-11-12 13:51:45',NULL),(8,'初中一年级6班','middle',1,'106',107,NULL,'1','admin','2025-11-11 16:54:29','admin','2025-11-12 13:51:45',NULL);
/*!40000 ALTER TABLE `class` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `course`
--

DROP TABLE IF EXISTS `course`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `course` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '课程ID',
  `course_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '课程名称',
  `courseware_id` bigint DEFAULT NULL COMMENT '课件ID',
  `description` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '课程描述',
  `start_time` datetime DEFAULT NULL COMMENT '开始时间',
  `end_time` datetime DEFAULT NULL COMMENT '结束时间',
  `create_user_id` bigint DEFAULT NULL COMMENT '创建人ID',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '状态（0禁用 1启用）',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`id`),
  KEY `idx_courseware_id` (`courseware_id`),
  KEY `idx_status` (`status`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='课程表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `course`
--

LOCK TABLES `course` WRITE;
/*!40000 ALTER TABLE `course` DISABLE KEYS */;
INSERT INTO `course` VALUES (1,'微积分',NULL,NULL,NULL,NULL,1,'0','admin','2025-11-11 16:23:46','admin','2025-11-11 17:27:59',NULL);
/*!40000 ALTER TABLE `course` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `course_assignment`
--

DROP TABLE IF EXISTS `course_assignment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `course_assignment` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '分配ID',
  `course_id` bigint NOT NULL COMMENT '课程ID',
  `student_id` bigint DEFAULT NULL COMMENT '学员ID（可为空，表示分配给班级）',
  `class_id` bigint DEFAULT NULL COMMENT '班级ID（可为空，表示分配给个人）',
  `assign_time` datetime DEFAULT NULL COMMENT '分配时间',
  `start_time` datetime DEFAULT NULL COMMENT '开始时间',
  `end_time` datetime DEFAULT NULL COMMENT '结束时间',
  `assign_user_id` bigint DEFAULT NULL COMMENT '分配人ID',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '状态（0未开始 1进行中 2已结束）',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`id`),
  KEY `idx_course_id` (`course_id`),
  KEY `idx_student_id` (`student_id`),
  KEY `idx_class_id` (`class_id`),
  KEY `idx_status` (`status`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='课程分配表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `course_assignment`
--

LOCK TABLES `course_assignment` WRITE;
/*!40000 ALTER TABLE `course_assignment` DISABLE KEYS */;
INSERT INTO `course_assignment` VALUES (1,1,NULL,3,NULL,'2025-10-27 00:00:00','2025-11-18 00:00:00',NULL,'0','admin','2025-11-11 17:40:04','admin','2025-11-11 17:48:48',NULL),(2,1,NULL,7,NULL,'2025-11-03 00:00:00','2025-12-06 00:00:00',NULL,'0','admin','2025-11-11 17:42:10','admin','2025-11-11 17:49:01',NULL);
/*!40000 ALTER TABLE `course_assignment` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `courseware`
--

DROP TABLE IF EXISTS `courseware`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `courseware` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '课件ID',
  `title` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '课件标题',
  `type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '课件类型：text-图文, video-视频, image-图片, document-文档',
  `file_path` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '文件路径',
  `file_size` bigint DEFAULT NULL COMMENT '文件大小（字节）',
  `file_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '原始文件名',
  `subject_id` bigint DEFAULT NULL COMMENT '学科分类ID',
  `grade` int DEFAULT NULL COMMENT '年级（1-12）',
  `course_id` bigint DEFAULT NULL COMMENT '课程ID',
  `class_id` bigint DEFAULT NULL COMMENT '班级ID（可选，为空则所有班级可见）',
  `upload_user_id` bigint DEFAULT NULL COMMENT '上传人ID',
  `description` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '课件描述',
  `duration` int DEFAULT NULL COMMENT '视频时长（秒，仅视频类型）',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`id`),
  KEY `idx_subject_id` (`subject_id`),
  KEY `idx_type` (`type`),
  KEY `idx_upload_user_id` (`upload_user_id`),
  KEY `idx_course_id` (`course_id`),
  KEY `idx_class_id` (`class_id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='课件表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `courseware`
--

LOCK TABLES `courseware` WRITE;
/*!40000 ALTER TABLE `courseware` DISABLE KEYS */;
INSERT INTO `courseware` VALUES (6,'定积分','video','/profile/upload/2025/11/11/20251111_153243_20251111171153A001.mp4',1762841,'20251111_153243.mp4',2,NULL,1,4,1,NULL,NULL,'admin','2025-11-11 17:11:55','admin','2025-11-11 17:24:16',NULL),(7,'就开发商的','video','/profile/upload/2025/11/11/20251111_153243_20251111173039A001.mp4',1762841,'20251111_153243.mp4',2,NULL,1,7,1,NULL,NULL,'admin','2025-11-11 17:30:41','',NULL,NULL);
/*!40000 ALTER TABLE `courseware` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `gen_table`
--

DROP TABLE IF EXISTS `gen_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `gen_table` (
  `table_id` bigint NOT NULL AUTO_INCREMENT COMMENT '编号',
  `table_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '表名称',
  `table_comment` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '表描述',
  `sub_table_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '关联子表的表名',
  `sub_table_fk_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '子表关联的外键名',
  `class_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '实体类名称',
  `tpl_category` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT 'crud' COMMENT '使用的模板（crud单表操作 tree树表操作）',
  `tpl_web_type` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '前端模板类型（element-ui模版 element-plus模版）',
  `package_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生成包路径',
  `module_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生成模块名',
  `business_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生成业务名',
  `function_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生成功能名',
  `function_author` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生成功能作者',
  `gen_type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '生成代码方式（0zip压缩包 1自定义路径）',
  `gen_path` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '/' COMMENT '生成路径（不填默认项目路径）',
  `options` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '其它生成选项',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`table_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='代码生成业务表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `gen_table`
--

LOCK TABLES `gen_table` WRITE;
/*!40000 ALTER TABLE `gen_table` DISABLE KEYS */;
/*!40000 ALTER TABLE `gen_table` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `gen_table_column`
--

DROP TABLE IF EXISTS `gen_table_column`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `gen_table_column` (
  `column_id` bigint NOT NULL AUTO_INCREMENT COMMENT '编号',
  `table_id` bigint DEFAULT NULL COMMENT '归属表编号',
  `column_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '列名称',
  `column_comment` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '列描述',
  `column_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '列类型',
  `java_type` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'JAVA类型',
  `java_field` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'JAVA字段名',
  `is_pk` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否主键（1是）',
  `is_increment` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否自增（1是）',
  `is_required` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否必填（1是）',
  `is_insert` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否为插入字段（1是）',
  `is_edit` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否编辑字段（1是）',
  `is_list` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否列表字段（1是）',
  `is_query` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否查询字段（1是）',
  `query_type` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT 'EQ' COMMENT '查询方式（等于、不等于、大于、小于、范围）',
  `html_type` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '显示类型（文本框、文本域、下拉框、复选框、单选框、日期控件）',
  `dict_type` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '字典类型',
  `sort` int DEFAULT NULL COMMENT '排序',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`column_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='代码生成业务表字段';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `gen_table_column`
--

LOCK TABLES `gen_table_column` WRITE;
/*!40000 ALTER TABLE `gen_table_column` DISABLE KEYS */;
/*!40000 ALTER TABLE `gen_table_column` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `learning_detail`
--

DROP TABLE IF EXISTS `learning_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `learning_detail` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '详情ID',
  `learning_record_id` bigint NOT NULL COMMENT '学习记录ID',
  `student_id` bigint NOT NULL COMMENT '学员ID',
  `course_id` bigint NOT NULL COMMENT '课程ID',
  `start_time` datetime NOT NULL COMMENT '本次学习开始时间',
  `end_time` datetime DEFAULT NULL COMMENT '本次学习结束时间',
  `duration` int DEFAULT '0' COMMENT '本次学习时长（秒）',
  `video_start_position` int DEFAULT '0' COMMENT '视频开始位置（秒）',
  `video_end_position` int DEFAULT '0' COMMENT '视频结束位置（秒）',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`),
  KEY `idx_learning_record_id` (`learning_record_id`),
  KEY `idx_student_id` (`student_id`),
  KEY `idx_course_id` (`course_id`),
  KEY `idx_start_time` (`start_time`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='学习详情记录表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `learning_detail`
--

LOCK TABLES `learning_detail` WRITE;
/*!40000 ALTER TABLE `learning_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `learning_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `learning_record`
--

DROP TABLE IF EXISTS `learning_record`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `learning_record` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '记录ID',
  `student_id` bigint NOT NULL COMMENT '学员ID（sys_user表的user_id）',
  `course_id` bigint NOT NULL COMMENT '课程ID',
  `progress` decimal(5,2) DEFAULT '0.00' COMMENT '学习进度（百分比，0-100）',
  `total_duration` int DEFAULT '0' COMMENT '总学习时长（秒，累计）',
  `learn_count` int DEFAULT '0' COMMENT '学习次数（累计）',
  `video_progress` int DEFAULT '0' COMMENT '视频播放进度（秒，仅视频类型）',
  `video_total_duration` int DEFAULT '0' COMMENT '视频总时长（秒，仅视频类型）',
  `last_learn_time` datetime DEFAULT NULL COMMENT '最后学习时间',
  `last_video_position` int DEFAULT '0' COMMENT '最后视频播放位置（秒）',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_student_course` (`student_id`,`course_id`),
  KEY `idx_student_id` (`student_id`),
  KEY `idx_course_id` (`course_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='学习记录表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `learning_record`
--

LOCK TABLES `learning_record` WRITE;
/*!40000 ALTER TABLE `learning_record` DISABLE KEYS */;
/*!40000 ALTER TABLE `learning_record` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `monitor_record`
--

DROP TABLE IF EXISTS `monitor_record`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `monitor_record` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '监控ID',
  `student_id` bigint NOT NULL COMMENT '学员ID（sys_user表的user_id）',
  `course_id` bigint DEFAULT NULL COMMENT '课程ID',
  `screenshot_path` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '截图路径',
  `monitor_time` datetime DEFAULT NULL COMMENT '监控时间',
  `device_info` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '设备信息（JSON格式）',
  `ip_address` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'IP地址',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`),
  KEY `idx_student_id` (`student_id`),
  KEY `idx_course_id` (`course_id`),
  KEY `idx_monitor_time` (`monitor_time`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='学习监控表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `monitor_record`
--

LOCK TABLES `monitor_record` WRITE;
/*!40000 ALTER TABLE `monitor_record` DISABLE KEYS */;
/*!40000 ALTER TABLE `monitor_record` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `qrtz_blob_triggers`
--

DROP TABLE IF EXISTS `qrtz_blob_triggers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `qrtz_blob_triggers` (
  `sched_name` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `trigger_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
  `trigger_group` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  `blob_data` blob COMMENT '存放持久化Trigger对象',
  PRIMARY KEY (`sched_name`,`trigger_name`,`trigger_group`),
  CONSTRAINT `qrtz_blob_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `qrtz_triggers` (`sched_name`, `trigger_name`, `trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Blob类型的触发器表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `qrtz_blob_triggers`
--

LOCK TABLES `qrtz_blob_triggers` WRITE;
/*!40000 ALTER TABLE `qrtz_blob_triggers` DISABLE KEYS */;
/*!40000 ALTER TABLE `qrtz_blob_triggers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `qrtz_calendars`
--

DROP TABLE IF EXISTS `qrtz_calendars`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `qrtz_calendars` (
  `sched_name` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `calendar_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '日历名称',
  `calendar` blob NOT NULL COMMENT '存放持久化calendar对象',
  PRIMARY KEY (`sched_name`,`calendar_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='日历信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `qrtz_calendars`
--

LOCK TABLES `qrtz_calendars` WRITE;
/*!40000 ALTER TABLE `qrtz_calendars` DISABLE KEYS */;
/*!40000 ALTER TABLE `qrtz_calendars` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `qrtz_cron_triggers`
--

DROP TABLE IF EXISTS `qrtz_cron_triggers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `qrtz_cron_triggers` (
  `sched_name` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `trigger_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
  `trigger_group` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  `cron_expression` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'cron表达式',
  `time_zone_id` varchar(80) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '时区',
  PRIMARY KEY (`sched_name`,`trigger_name`,`trigger_group`),
  CONSTRAINT `qrtz_cron_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `qrtz_triggers` (`sched_name`, `trigger_name`, `trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Cron类型的触发器表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `qrtz_cron_triggers`
--

LOCK TABLES `qrtz_cron_triggers` WRITE;
/*!40000 ALTER TABLE `qrtz_cron_triggers` DISABLE KEYS */;
/*!40000 ALTER TABLE `qrtz_cron_triggers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `qrtz_fired_triggers`
--

DROP TABLE IF EXISTS `qrtz_fired_triggers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `qrtz_fired_triggers` (
  `sched_name` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `entry_id` varchar(95) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度器实例id',
  `trigger_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
  `trigger_group` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  `instance_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度器实例名',
  `fired_time` bigint NOT NULL COMMENT '触发的时间',
  `sched_time` bigint NOT NULL COMMENT '定时器制定的时间',
  `priority` int NOT NULL COMMENT '优先级',
  `state` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '状态',
  `job_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '任务名称',
  `job_group` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '任务组名',
  `is_nonconcurrent` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否并发',
  `requests_recovery` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否接受恢复执行',
  PRIMARY KEY (`sched_name`,`entry_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='已触发的触发器表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `qrtz_fired_triggers`
--

LOCK TABLES `qrtz_fired_triggers` WRITE;
/*!40000 ALTER TABLE `qrtz_fired_triggers` DISABLE KEYS */;
/*!40000 ALTER TABLE `qrtz_fired_triggers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `qrtz_job_details`
--

DROP TABLE IF EXISTS `qrtz_job_details`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `qrtz_job_details` (
  `sched_name` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `job_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务名称',
  `job_group` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务组名',
  `description` varchar(250) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '相关介绍',
  `job_class_name` varchar(250) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '执行任务类名称',
  `is_durable` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否持久化',
  `is_nonconcurrent` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否并发',
  `is_update_data` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否更新数据',
  `requests_recovery` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否接受恢复执行',
  `job_data` blob COMMENT '存放持久化job对象',
  PRIMARY KEY (`sched_name`,`job_name`,`job_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='任务详细信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `qrtz_job_details`
--

LOCK TABLES `qrtz_job_details` WRITE;
/*!40000 ALTER TABLE `qrtz_job_details` DISABLE KEYS */;
/*!40000 ALTER TABLE `qrtz_job_details` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `qrtz_locks`
--

DROP TABLE IF EXISTS `qrtz_locks`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `qrtz_locks` (
  `sched_name` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `lock_name` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '悲观锁名称',
  PRIMARY KEY (`sched_name`,`lock_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='存储的悲观锁信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `qrtz_locks`
--

LOCK TABLES `qrtz_locks` WRITE;
/*!40000 ALTER TABLE `qrtz_locks` DISABLE KEYS */;
/*!40000 ALTER TABLE `qrtz_locks` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `qrtz_paused_trigger_grps`
--

DROP TABLE IF EXISTS `qrtz_paused_trigger_grps`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `qrtz_paused_trigger_grps` (
  `sched_name` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `trigger_group` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  PRIMARY KEY (`sched_name`,`trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='暂停的触发器表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `qrtz_paused_trigger_grps`
--

LOCK TABLES `qrtz_paused_trigger_grps` WRITE;
/*!40000 ALTER TABLE `qrtz_paused_trigger_grps` DISABLE KEYS */;
/*!40000 ALTER TABLE `qrtz_paused_trigger_grps` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `qrtz_scheduler_state`
--

DROP TABLE IF EXISTS `qrtz_scheduler_state`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `qrtz_scheduler_state` (
  `sched_name` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `instance_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '实例名称',
  `last_checkin_time` bigint NOT NULL COMMENT '上次检查时间',
  `checkin_interval` bigint NOT NULL COMMENT '检查间隔时间',
  PRIMARY KEY (`sched_name`,`instance_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='调度器状态表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `qrtz_scheduler_state`
--

LOCK TABLES `qrtz_scheduler_state` WRITE;
/*!40000 ALTER TABLE `qrtz_scheduler_state` DISABLE KEYS */;
/*!40000 ALTER TABLE `qrtz_scheduler_state` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `qrtz_simple_triggers`
--

DROP TABLE IF EXISTS `qrtz_simple_triggers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `qrtz_simple_triggers` (
  `sched_name` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `trigger_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
  `trigger_group` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  `repeat_count` bigint NOT NULL COMMENT '重复的次数统计',
  `repeat_interval` bigint NOT NULL COMMENT '重复的间隔时间',
  `times_triggered` bigint NOT NULL COMMENT '已经触发的次数',
  PRIMARY KEY (`sched_name`,`trigger_name`,`trigger_group`),
  CONSTRAINT `qrtz_simple_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `qrtz_triggers` (`sched_name`, `trigger_name`, `trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='简单触发器的信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `qrtz_simple_triggers`
--

LOCK TABLES `qrtz_simple_triggers` WRITE;
/*!40000 ALTER TABLE `qrtz_simple_triggers` DISABLE KEYS */;
/*!40000 ALTER TABLE `qrtz_simple_triggers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `qrtz_simprop_triggers`
--

DROP TABLE IF EXISTS `qrtz_simprop_triggers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `qrtz_simprop_triggers` (
  `sched_name` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `trigger_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
  `trigger_group` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  `str_prop_1` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'String类型的trigger的第一个参数',
  `str_prop_2` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'String类型的trigger的第二个参数',
  `str_prop_3` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'String类型的trigger的第三个参数',
  `int_prop_1` int DEFAULT NULL COMMENT 'int类型的trigger的第一个参数',
  `int_prop_2` int DEFAULT NULL COMMENT 'int类型的trigger的第二个参数',
  `long_prop_1` bigint DEFAULT NULL COMMENT 'long类型的trigger的第一个参数',
  `long_prop_2` bigint DEFAULT NULL COMMENT 'long类型的trigger的第二个参数',
  `dec_prop_1` decimal(13,4) DEFAULT NULL COMMENT 'decimal类型的trigger的第一个参数',
  `dec_prop_2` decimal(13,4) DEFAULT NULL COMMENT 'decimal类型的trigger的第二个参数',
  `bool_prop_1` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'Boolean类型的trigger的第一个参数',
  `bool_prop_2` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'Boolean类型的trigger的第二个参数',
  PRIMARY KEY (`sched_name`,`trigger_name`,`trigger_group`),
  CONSTRAINT `qrtz_simprop_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `qrtz_triggers` (`sched_name`, `trigger_name`, `trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='同步机制的行锁表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `qrtz_simprop_triggers`
--

LOCK TABLES `qrtz_simprop_triggers` WRITE;
/*!40000 ALTER TABLE `qrtz_simprop_triggers` DISABLE KEYS */;
/*!40000 ALTER TABLE `qrtz_simprop_triggers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `qrtz_triggers`
--

DROP TABLE IF EXISTS `qrtz_triggers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `qrtz_triggers` (
  `sched_name` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `trigger_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '触发器的名字',
  `trigger_group` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '触发器所属组的名字',
  `job_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_job_details表job_name的外键',
  `job_group` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_job_details表job_group的外键',
  `description` varchar(250) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '相关介绍',
  `next_fire_time` bigint DEFAULT NULL COMMENT '上一次触发时间（毫秒）',
  `prev_fire_time` bigint DEFAULT NULL COMMENT '下一次触发时间（默认为-1表示不触发）',
  `priority` int DEFAULT NULL COMMENT '优先级',
  `trigger_state` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '触发器状态',
  `trigger_type` varchar(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '触发器的类型',
  `start_time` bigint NOT NULL COMMENT '开始时间',
  `end_time` bigint DEFAULT NULL COMMENT '结束时间',
  `calendar_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '日程表名称',
  `misfire_instr` smallint DEFAULT NULL COMMENT '补偿执行的策略',
  `job_data` blob COMMENT '存放持久化job对象',
  PRIMARY KEY (`sched_name`,`trigger_name`,`trigger_group`),
  KEY `sched_name` (`sched_name`,`job_name`,`job_group`),
  CONSTRAINT `qrtz_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `job_name`, `job_group`) REFERENCES `qrtz_job_details` (`sched_name`, `job_name`, `job_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='触发器详细信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `qrtz_triggers`
--

LOCK TABLES `qrtz_triggers` WRITE;
/*!40000 ALTER TABLE `qrtz_triggers` DISABLE KEYS */;
/*!40000 ALTER TABLE `qrtz_triggers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `student_class`
--

DROP TABLE IF EXISTS `student_class`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `student_class` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '关联ID',
  `student_id` bigint NOT NULL COMMENT '学员ID（sys_user表的user_id）',
  `class_id` bigint NOT NULL COMMENT '班级ID',
  `join_time` datetime DEFAULT NULL COMMENT '加入时间',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '状态（0已移除 1在读）',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_student_class` (`student_id`,`class_id`),
  KEY `idx_student_id` (`student_id`),
  KEY `idx_class_id` (`class_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='学员班级关联表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `student_class`
--

LOCK TABLES `student_class` WRITE;
/*!40000 ALTER TABLE `student_class` DISABLE KEYS */;
INSERT INTO `student_class` VALUES (1,105,7,'2025-11-12 13:47:18','1',NULL),(2,104,4,'2025-11-12 13:51:51','1',NULL),(3,108,3,'2025-11-12 14:22:37','1',NULL);
/*!40000 ALTER TABLE `student_class` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `subject`
--

DROP TABLE IF EXISTS `subject`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `subject` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '学科ID',
  `subject_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '学科名称',
  `subject_code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '学科编码',
  `sort_order` int DEFAULT '0' COMMENT '排序',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '状态（0禁用 1启用）',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_subject_code` (`subject_code`),
  KEY `idx_status` (`status`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='学科分类表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `subject`
--

LOCK TABLES `subject` WRITE;
/*!40000 ALTER TABLE `subject` DISABLE KEYS */;
INSERT INTO `subject` VALUES (1,'语文',NULL,0,'0','admin','2025-11-11 15:01:33','',NULL,NULL),(2,'数学',NULL,0,'0','admin','2025-11-11 15:01:39','',NULL,NULL),(3,'英语',NULL,0,'0','admin','2025-11-11 15:01:44','',NULL,NULL);
/*!40000 ALTER TABLE `subject` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `exam`
--

DROP TABLE IF EXISTS `exam`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `exam` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '考试ID',
  `exam_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '考试名称',
  `subject_id` bigint NOT NULL COMMENT '科目ID',
  `subject_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '科目名称',
  `question_count` int NOT NULL DEFAULT 0 COMMENT '题量',
  `duration` int NOT NULL COMMENT '考试时长（分钟）',
  `total_score` decimal(10,2) NOT NULL DEFAULT 0.00 COMMENT '总分',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '状态（0草稿 1已发布 2已结束）',
  `publish_time` datetime DEFAULT NULL COMMENT '发布时间',
  `create_user_id` bigint DEFAULT NULL COMMENT '创建人ID（教师ID）',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`id`),
  KEY `idx_subject_id` (`subject_id`),
  KEY `idx_status` (`status`),
  KEY `idx_create_user_id` (`create_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='考试表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `exam`
--

LOCK TABLES `exam` WRITE;
/*!40000 ALTER TABLE `exam` DISABLE KEYS */;
/*!40000 ALTER TABLE `exam` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `question`
--

DROP TABLE IF EXISTS `question`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `question` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '题目ID',
  `exam_id` bigint NOT NULL COMMENT '考试ID',
  `question_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '题型（single-单选, multiple-多选, judge-判断, fill-填空, essay-简答）',
  `question_content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '题干',
  `options` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '选项（JSON格式，用于单选、多选、判断题）',
  `correct_answer` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '正确答案',
  `score` decimal(10,2) NOT NULL DEFAULT 0.00 COMMENT '分值',
  `sort_order` int DEFAULT 0 COMMENT '排序',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`),
  KEY `idx_exam_id` (`exam_id`),
  KEY `idx_question_type` (`question_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='题目表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `question`
--

LOCK TABLES `question` WRITE;
/*!40000 ALTER TABLE `question` DISABLE KEYS */;
/*!40000 ALTER TABLE `question` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `student_answer`
--

DROP TABLE IF EXISTS `student_answer`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `student_answer` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '答题ID',
  `exam_id` bigint NOT NULL COMMENT '考试ID',
  `question_id` bigint NOT NULL COMMENT '题目ID',
  `student_id` bigint NOT NULL COMMENT '学生ID',
  `student_answer` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '学生答案',
  `is_correct` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否正确（0错误 1正确）',
  `score` decimal(10,2) DEFAULT 0.00 COMMENT '得分',
  `create_time` datetime DEFAULT NULL COMMENT '答题时间',
  PRIMARY KEY (`id`),
  KEY `idx_exam_id` (`exam_id`),
  KEY `idx_question_id` (`question_id`),
  KEY `idx_student_id` (`student_id`),
  KEY `idx_exam_student` (`exam_id`, `student_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='学生答题表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `student_answer`
--

LOCK TABLES `student_answer` WRITE;
/*!40000 ALTER TABLE `student_answer` DISABLE KEYS */;
/*!40000 ALTER TABLE `student_answer` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `score`
--

DROP TABLE IF EXISTS `score`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `score` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '成绩ID',
  `exam_id` bigint NOT NULL COMMENT '考试ID',
  `exam_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '考试名称',
  `student_id` bigint NOT NULL COMMENT '学生ID',
  `student_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '学生姓名',
  `student_no` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '学号',
  `total_score` decimal(10,2) NOT NULL DEFAULT 0.00 COMMENT '总分',
  `obtained_score` decimal(10,2) NOT NULL DEFAULT 0.00 COMMENT '得分',
  `submit_time` datetime DEFAULT NULL COMMENT '提交时间',
  `duration` int DEFAULT NULL COMMENT '答题时长（分钟）',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '状态（0未提交 1已提交 2已评分）',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`),
  KEY `idx_exam_id` (`exam_id`),
  KEY `idx_student_id` (`student_id`),
  KEY `idx_exam_student` (`exam_id`, `student_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='成绩表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `score`
--

LOCK TABLES `score` WRITE;
/*!40000 ALTER TABLE `score` DISABLE KEYS */;
/*!40000 ALTER TABLE `score` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `voice_evaluation`
--

DROP TABLE IF EXISTS `voice_evaluation`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `voice_evaluation` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '评测ID',
  `student_id` bigint NOT NULL COMMENT '学员ID（外键关联sys_user表）',
  `course_id` bigint DEFAULT NULL COMMENT '课程ID（外键关联course表，可为空）',
  `content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '评测内容（课文或文字）',
  `audio_path` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '音频文件路径',
  `score` decimal(10,2) DEFAULT NULL COMMENT '评分（总分，0-100）',
  `accuracy` decimal(10,2) DEFAULT NULL COMMENT '准确度（0-100）',
  `fluency` decimal(10,2) DEFAULT NULL COMMENT '流畅度（0-100）',
  `completeness` decimal(10,2) DEFAULT NULL COMMENT '完整度（0-100）',
  `pronunciation` decimal(10,2) DEFAULT NULL COMMENT '发音得分（0-100）',
  `result_detail` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '评测详情（JSON格式，包含详细评测结果）',
  `evaluation_time` datetime DEFAULT NULL COMMENT '评测时间',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`id`),
  KEY `idx_student_id` (`student_id`),
  KEY `idx_course_id` (`course_id`),
  KEY `idx_evaluation_time` (`evaluation_time`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='语音评测表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `voice_evaluation`
--

LOCK TABLES `voice_evaluation` WRITE;
/*!40000 ALTER TABLE `voice_evaluation` DISABLE KEYS */;
/*!40000 ALTER TABLE `voice_evaluation` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sys_config`
--

DROP TABLE IF EXISTS `sys_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_config` (
  `config_id` int NOT NULL AUTO_INCREMENT COMMENT '参数主键',
  `config_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '参数名称',
  `config_key` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '参数键名',
  `config_value` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '参数键值',
  `config_type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT 'N' COMMENT '系统内置（Y是 N否）',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`config_id`)
) ENGINE=InnoDB AUTO_INCREMENT=100 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='参数配置表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sys_config`
--

LOCK TABLES `sys_config` WRITE;
/*!40000 ALTER TABLE `sys_config` DISABLE KEYS */;
INSERT INTO `sys_config` VALUES (1,'主框架页-默认皮肤样式名称','sys.index.skinName','skin-blue','Y','admin','2025-10-30 15:00:33','',NULL,'蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow'),(2,'用户管理-账号初始密码','sys.user.initPassword','123456','Y','admin','2025-10-30 15:00:33','',NULL,'初始化密码 123456'),(3,'主框架页-侧边栏主题','sys.index.sideTheme','theme-dark','Y','admin','2025-10-30 15:00:33','',NULL,'深色主题theme-dark，浅色主题theme-light'),(4,'账号自助-验证码开关','sys.account.captchaEnabled','false','N','admin','2025-10-30 15:00:33','admin','2025-11-11 11:22:10','是否开启验证码功能（true开启，false关闭）'),(5,'账号自助-是否开启用户注册功能','sys.account.registerUser','true','Y','admin','2025-10-30 15:00:33','','2025-11-12 10:42:18','是否开启注册用户功能（true开启，false关闭）'),(6,'用户登录-黑名单列表','sys.login.blackIPList','','Y','admin','2025-10-30 15:00:33','',NULL,'设置登录IP黑名单限制，多个匹配项以;分隔，支持匹配（*通配、网段）'),(7,'用户管理-初始密码修改策略','sys.account.initPasswordModify','1','Y','admin','2025-10-30 15:00:33','',NULL,'0：初始密码修改策略关闭，没有任何提示，1：提醒用户，如果未修改初始密码，则在登录时就会提醒修改密码对话框'),(8,'用户管理-账号密码更新周期','sys.account.passwordValidateDays','0','Y','admin','2025-10-30 15:00:33','',NULL,'密码更新周期（填写数字，数据初始化值为0不限制，若修改必须为大于0小于365的正整数），如果超过这个周期登录系统时，则在登录时就会提醒修改密码对话框');
/*!40000 ALTER TABLE `sys_config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sys_dept`
--

DROP TABLE IF EXISTS `sys_dept`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_dept` (
  `dept_id` bigint NOT NULL AUTO_INCREMENT COMMENT '部门id',
  `parent_id` bigint DEFAULT '0' COMMENT '父部门id',
  `ancestors` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '祖级列表',
  `dept_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '部门名称',
  `order_num` int DEFAULT '0' COMMENT '显示顺序',
  `leader` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '负责人',
  `phone` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '联系电话',
  `email` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '邮箱',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '部门状态（0正常 1停用）',
  `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`dept_id`)
) ENGINE=InnoDB AUTO_INCREMENT=201 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='部门表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sys_dept`
--

LOCK TABLES `sys_dept` WRITE;
/*!40000 ALTER TABLE `sys_dept` DISABLE KEYS */;
INSERT INTO `sys_dept` VALUES (100,0,'0','外贸总部',0,'外贸总部','15888888888','admin@ddnai.com','0','0','admin','2025-10-30 15:00:31','',NULL),(101,100,'0,100','深圳总公司',1,'外贸总部','15888888888','admin@ddnai.com','0','0','admin','2025-10-30 15:00:31','',NULL),(102,100,'0,100','长沙分公司',2,'外贸总部','15888888888','admin@ddnai.com','0','0','admin','2025-10-30 15:00:31','',NULL),(103,101,'0,100,101','研发部门',1,'外贸总部','15888888888','admin@ddnai.com','0','0','admin','2025-10-30 15:00:31','',NULL),(104,101,'0,100,101','市场部门',2,'外贸总部','15888888888','admin@ddnai.com','0','0','admin','2025-10-30 15:00:31','',NULL),(105,101,'0,100,101','测试部门',3,'外贸总部','15888888888','admin@ddnai.com','0','0','admin','2025-10-30 15:00:31','',NULL),(106,101,'0,100,101','财务部门',4,'外贸总部','15888888888','admin@ddnai.com','0','0','admin','2025-10-30 15:00:31','',NULL),(107,101,'0,100,101','运维部门',5,'外贸总部','15888888888','admin@ddnai.com','0','0','admin','2025-10-30 15:00:31','',NULL),(108,102,'0,100,102','市场部门',1,'外贸总部','15888888888','admin@ddnai.com','0','0','admin','2025-10-30 15:00:31','',NULL),(109,102,'0,100,102','财务部门',2,'外贸总部','15888888888','admin@ddnai.com','0','0','admin','2025-10-30 15:00:31','',NULL),(200,100,'0,100','教师',1,NULL,NULL,NULL,'0','0','admin','2025-11-12 13:39:08','',NULL);
/*!40000 ALTER TABLE `sys_dept` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sys_dict_data`
--

DROP TABLE IF EXISTS `sys_dict_data`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_dict_data` (
  `dict_code` bigint NOT NULL AUTO_INCREMENT COMMENT '字典编码',
  `dict_sort` int DEFAULT '0' COMMENT '字典排序',
  `dict_label` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '字典标签',
  `dict_value` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '字典键值',
  `dict_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '字典类型',
  `css_class` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '样式属性（其他样式扩展）',
  `list_class` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '表格回显样式',
  `is_default` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT 'N' COMMENT '是否默认（Y是 N否）',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '状态（0正常 1停用）',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`dict_code`)
) ENGINE=InnoDB AUTO_INCREMENT=100 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='字典数据表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sys_dict_data`
--

LOCK TABLES `sys_dict_data` WRITE;
/*!40000 ALTER TABLE `sys_dict_data` DISABLE KEYS */;
INSERT INTO `sys_dict_data` VALUES (1,1,'男','0','sys_user_sex','','','Y','0','admin','2025-10-30 15:00:33','',NULL,'性别男'),(2,2,'女','1','sys_user_sex','','','N','0','admin','2025-10-30 15:00:33','',NULL,'性别女'),(3,3,'未知','2','sys_user_sex','','','N','0','admin','2025-10-30 15:00:33','',NULL,'性别未知'),(4,1,'显示','0','sys_show_hide','','primary','Y','0','admin','2025-10-30 15:00:33','',NULL,'显示菜单'),(5,2,'隐藏','1','sys_show_hide','','danger','N','0','admin','2025-10-30 15:00:33','',NULL,'隐藏菜单'),(6,1,'正常','0','sys_normal_disable','','primary','Y','0','admin','2025-10-30 15:00:33','',NULL,'正常状态'),(7,2,'停用','1','sys_normal_disable','','danger','N','0','admin','2025-10-30 15:00:33','',NULL,'停用状态'),(8,1,'正常','0','sys_job_status','','primary','Y','0','admin','2025-10-30 15:00:33','',NULL,'正常状态'),(9,2,'暂停','1','sys_job_status','','danger','N','0','admin','2025-10-30 15:00:33','',NULL,'停用状态'),(10,1,'默认','DEFAULT','sys_job_group','','','Y','0','admin','2025-10-30 15:00:33','',NULL,'默认分组'),(11,2,'系统','SYSTEM','sys_job_group','','','N','0','admin','2025-10-30 15:00:33','',NULL,'系统分组'),(12,1,'是','Y','sys_yes_no','','primary','Y','0','admin','2025-10-30 15:00:33','',NULL,'系统默认是'),(13,2,'否','N','sys_yes_no','','danger','N','0','admin','2025-10-30 15:00:33','',NULL,'系统默认否'),(14,1,'通知','1','sys_notice_type','','warning','Y','0','admin','2025-10-30 15:00:33','',NULL,'通知'),(15,2,'公告','2','sys_notice_type','','success','N','0','admin','2025-10-30 15:00:33','',NULL,'公告'),(16,1,'正常','0','sys_notice_status','','primary','Y','0','admin','2025-10-30 15:00:33','',NULL,'正常状态'),(17,2,'关闭','1','sys_notice_status','','danger','N','0','admin','2025-10-30 15:00:33','',NULL,'关闭状态'),(18,99,'其他','0','sys_oper_type','','info','N','0','admin','2025-10-30 15:00:33','',NULL,'其他操作'),(19,1,'新增','1','sys_oper_type','','info','N','0','admin','2025-10-30 15:00:33','',NULL,'新增操作'),(20,2,'修改','2','sys_oper_type','','info','N','0','admin','2025-10-30 15:00:33','',NULL,'修改操作'),(21,3,'删除','3','sys_oper_type','','danger','N','0','admin','2025-10-30 15:00:33','',NULL,'删除操作'),(22,4,'授权','4','sys_oper_type','','primary','N','0','admin','2025-10-30 15:00:33','',NULL,'授权操作'),(23,5,'导出','5','sys_oper_type','','warning','N','0','admin','2025-10-30 15:00:33','',NULL,'导出操作'),(24,6,'导入','6','sys_oper_type','','warning','N','0','admin','2025-10-30 15:00:33','',NULL,'导入操作'),(25,7,'强退','7','sys_oper_type','','danger','N','0','admin','2025-10-30 15:00:33','',NULL,'强退操作'),(26,8,'生成代码','8','sys_oper_type','','warning','N','0','admin','2025-10-30 15:00:33','',NULL,'生成操作'),(27,9,'清空数据','9','sys_oper_type','','danger','N','0','admin','2025-10-30 15:00:33','',NULL,'清空操作'),(28,1,'成功','0','sys_common_status','','primary','N','0','admin','2025-10-30 15:00:33','',NULL,'正常状态'),(29,2,'失败','1','sys_common_status','','danger','N','0','admin','2025-10-30 15:00:33','',NULL,'停用状态');
/*!40000 ALTER TABLE `sys_dict_data` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sys_dict_type`
--

DROP TABLE IF EXISTS `sys_dict_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_dict_type` (
  `dict_id` bigint NOT NULL AUTO_INCREMENT COMMENT '字典主键',
  `dict_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '字典名称',
  `dict_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '字典类型',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '状态（0正常 1停用）',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`dict_id`),
  UNIQUE KEY `dict_type` (`dict_type`)
) ENGINE=InnoDB AUTO_INCREMENT=100 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='字典类型表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sys_dict_type`
--

LOCK TABLES `sys_dict_type` WRITE;
/*!40000 ALTER TABLE `sys_dict_type` DISABLE KEYS */;
INSERT INTO `sys_dict_type` VALUES (1,'用户性别','sys_user_sex','0','admin','2025-10-30 15:00:33','',NULL,'用户性别列表'),(2,'菜单状态','sys_show_hide','0','admin','2025-10-30 15:00:33','',NULL,'菜单状态列表'),(3,'系统开关','sys_normal_disable','0','admin','2025-10-30 15:00:33','',NULL,'系统开关列表'),(4,'任务状态','sys_job_status','0','admin','2025-10-30 15:00:33','',NULL,'任务状态列表'),(5,'任务分组','sys_job_group','0','admin','2025-10-30 15:00:33','',NULL,'任务分组列表'),(6,'系统是否','sys_yes_no','0','admin','2025-10-30 15:00:33','',NULL,'系统是否列表'),(7,'通知类型','sys_notice_type','0','admin','2025-10-30 15:00:33','',NULL,'通知类型列表'),(8,'通知状态','sys_notice_status','0','admin','2025-10-30 15:00:33','',NULL,'通知状态列表'),(9,'操作类型','sys_oper_type','0','admin','2025-10-30 15:00:33','',NULL,'操作类型列表'),(10,'系统状态','sys_common_status','0','admin','2025-10-30 15:00:33','',NULL,'登录状态列表');
/*!40000 ALTER TABLE `sys_dict_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sys_job`
--

DROP TABLE IF EXISTS `sys_job`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_job` (
  `job_id` bigint NOT NULL AUTO_INCREMENT COMMENT '任务ID',
  `job_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '任务名称',
  `job_group` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'DEFAULT' COMMENT '任务组名',
  `invoke_target` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '调用目标字符串',
  `cron_expression` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT 'cron执行表达式',
  `misfire_policy` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '3' COMMENT '计划执行错误策略（1立即执行 2执行一次 3放弃执行）',
  `concurrent` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '1' COMMENT '是否并发执行（0允许 1禁止）',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '状态（0正常 1暂停）',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注信息',
  PRIMARY KEY (`job_id`,`job_name`,`job_group`)
) ENGINE=InnoDB AUTO_INCREMENT=100 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='定时任务调度表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sys_job`
--

LOCK TABLES `sys_job` WRITE;
/*!40000 ALTER TABLE `sys_job` DISABLE KEYS */;
/*!40000 ALTER TABLE `sys_job` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sys_job_log`
--

DROP TABLE IF EXISTS `sys_job_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_job_log` (
  `job_log_id` bigint NOT NULL AUTO_INCREMENT COMMENT '任务日志ID',
  `job_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务名称',
  `job_group` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务组名',
  `invoke_target` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '调用目标字符串',
  `job_message` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '日志信息',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '执行状态（0正常 1失败）',
  `exception_info` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '异常信息',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`job_log_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='定时任务调度日志表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sys_job_log`
--

LOCK TABLES `sys_job_log` WRITE;
/*!40000 ALTER TABLE `sys_job_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `sys_job_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sys_logininfor`
--

DROP TABLE IF EXISTS `sys_logininfor`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_logininfor` (
  `info_id` bigint NOT NULL AUTO_INCREMENT COMMENT '访问ID',
  `user_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '用户账号',
  `ipaddr` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '登录IP地址',
  `login_location` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '登录地点',
  `browser` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '浏览器类型',
  `os` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '操作系统',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '登录状态（0成功 1失败）',
  `msg` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci 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 AUTO_INCREMENT=161 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='系统访问记录';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sys_logininfor`
--

LOCK TABLES `sys_logininfor` WRITE;
/*!40000 ALTER TABLE `sys_logininfor` DISABLE KEYS */;
INSERT INTO `sys_logininfor` VALUES (100,'admin','115.227.113.199','XX XX','Chrome 14','Windows 10','1','用户不存在/密码错误','2025-10-30 16:37:06'),(101,'admin','115.227.113.199','XX XX','Chrome 14','Windows 10','1','用户不存在/密码错误','2025-10-30 16:37:17'),(102,'admin','115.227.113.199','XX XX','Chrome 14','Windows 10','1','用户不存在/密码错误','2025-10-30 16:38:44'),(103,'admin','115.227.113.199','XX XX','Chrome 14','Windows 10','0','登录成功','2025-10-30 16:42:51'),(104,'admin','115.227.113.199','XX XX','Chrome 14','Windows 10','1','验证码已失效','2025-10-30 17:09:53'),(105,'admin','115.227.113.199','XX XX','Chrome 14','Windows 10','1','用户不存在/密码错误','2025-10-30 17:09:58'),(106,'admin','115.227.113.199','XX XX','Chrome 14','Windows 10','1','验证码错误','2025-10-30 17:10:24'),(107,'ruoyi','115.227.113.199','XX XX','Chrome 14','Windows 10','1','用户不存在/密码错误','2025-10-30 17:11:18'),(108,'admin','115.227.113.199','XX XX','Chrome 14','Windows 10','1','验证码错误','2025-10-30 17:11:40'),(109,'admin','115.227.113.199','XX XX','Chrome 14','Windows 10','0','登录成功','2025-10-30 17:12:49'),(110,'admin','115.227.113.199','XX XX','Chrome 14','Windows 10','0','登录成功','2025-10-30 18:18:44'),(111,'admin','115.227.113.199','XX XX','Chrome 14','Windows 10','0','登录成功','2025-10-30 19:32:29'),(112,'admin','115.227.113.199','XX XX','Chrome 14','Windows 10','0','退出成功','2025-10-30 19:48:56'),(113,'admin1','115.227.113.199','XX XX','Chrome 14','Windows 10','0','登录成功','2025-10-30 19:49:08'),(114,'admin1','115.227.113.199','XX XX','Chrome 14','Windows 10','0','退出成功','2025-10-30 19:52:01'),(115,'admin','115.227.113.199','XX XX','Chrome 14','Windows 10','0','登录成功','2025-10-30 19:52:14'),(116,'admin','115.205.193.200','XX XX','Chrome 14','Windows 10','0','登录成功','2025-10-31 09:37:30'),(117,'admin','115.205.193.200','XX XX','Chrome 14','Windows 10','1','用户不存在/密码错误','2025-10-31 13:59:29'),(118,'admin1','115.205.193.200','XX XX','Chrome 14','Windows 10','0','登录成功','2025-10-31 13:59:50'),(119,'admin1','115.205.193.200','XX XX','Chrome 14','Windows 10','0','退出成功','2025-10-31 14:00:04'),(120,'admin','115.205.193.200','XX XX','Chrome 14','Windows 10','0','登录成功','2025-10-31 14:00:28'),(121,'admin','115.205.193.200','XX XX','Chrome 14','Windows 10','0','登录成功','2025-10-31 14:57:17'),(122,'admin1','114.216.62.231','XX XX','Chrome 10','Mac OS X','1','验证码错误','2025-10-31 15:13:00'),(123,'admin1','114.216.62.231','XX XX','Chrome 10','Mac OS X','0','登录成功','2025-10-31 15:13:08'),(124,'admin','127.0.0.1','内网IP','Chrome 10','Windows 10','1','用户不存在/密码错误','2025-10-31 16:01:17'),(125,'admin','127.0.0.1','内网IP','Chrome 10','Windows 10','1','用户不存在/密码错误','2025-10-31 16:22:05'),(126,'admin','127.0.0.1','内网IP','Chrome 10','Windows 10','0','登录成功','2025-11-11 09:55:37'),(127,'admin','127.0.0.1','内网IP','Chrome 10','Windows 10','0','登录成功','2025-11-11 10:35:17'),(128,'阿斯蒂芬','127.0.0.1','内网IP','Chrome 10','Windows 10','1','验证码已失效','2025-11-11 11:16:56'),(129,'阿斯蒂芬','127.0.0.1','内网IP','Chrome 10','Windows 10','1','验证码已失效','2025-11-11 11:19:29'),(130,'student1','127.0.0.1','内网IP','Chrome 10','Windows 10','1','验证码已失效','2025-11-11 11:21:06'),(131,'student1','127.0.0.1','内网IP','Chrome 10','Windows 10','1','验证码已失效','2025-11-11 11:21:07'),(132,'student1','127.0.0.1','内网IP','Chrome 10','Windows 10','1','验证码已失效','2025-11-11 11:21:07'),(133,'student1','127.0.0.1','内网IP','Chrome 10','Windows 10','1','验证码已失效','2025-11-11 11:21:07'),(134,'student1','127.0.0.1','内网IP','Chrome 10','Windows 10','1','验证码已失效','2025-11-11 11:21:07'),(135,'student1','127.0.0.1','内网IP','Chrome 10','Windows 10','1','验证码已失效','2025-11-11 11:21:08'),(136,'student1','127.0.0.1','内网IP','Chrome 10','Windows 10','0','登录成功','2025-11-11 11:22:20'),(137,'student1','127.0.0.1','内网IP','Chrome 10','Windows 10','0','登录成功','2025-11-11 11:23:44'),(138,'student1','127.0.0.1','内网IP','Chrome 10','Windows 10','0','退出成功','2025-11-11 11:24:04'),(139,'teacher1','127.0.0.1','内网IP','Chrome 10','Windows 10','1','用户已封禁，请联系管理员','2025-11-11 11:24:11'),(140,'teacher1','127.0.0.1','内网IP','Chrome 10','Windows 10','1','用户已封禁，请联系管理员','2025-11-11 11:24:28'),(141,'teacher1','127.0.0.1','内网IP','Chrome 10','Windows 10','1','用户已封禁，请联系管理员','2025-11-11 11:24:29'),(142,'teacher1','127.0.0.1','内网IP','Chrome 10','Windows 10','0','登录成功','2025-11-11 11:24:42'),(143,'teacher1','127.0.0.1','内网IP','Chrome 10','Windows 10','0','登录成功','2025-11-11 14:53:17'),(144,'admin','127.0.0.1','内网IP','Chrome 10','Windows 10','0','登录成功','2025-11-11 14:53:31'),(145,'teacher1','127.0.0.1','内网IP','Chrome 10','Windows 10','0','登录成功','2025-11-11 15:31:04'),(146,'admin','127.0.0.1','内网IP','Chrome 10','Windows 10','0','退出成功','2025-11-11 15:42:46'),(147,'admin','127.0.0.1','内网IP','Chrome 10','Windows 10','0','登录成功','2025-11-11 15:43:48'),(148,'student1','127.0.0.1','内网IP','Chrome 10','Windows 10','0','登录成功','2025-11-11 17:52:20'),(149,'student1','127.0.0.1','内网IP','Chrome 10','Windows 10','0','登录成功','2025-11-12 09:49:57'),(150,'admin','127.0.0.1','内网IP','Chrome 10','Windows 10','1','验证码已失效','2025-11-12 10:24:51'),(151,'admin','127.0.0.1','内网IP','Chrome 10','Windows 10','0','登录成功','2025-11-12 10:24:54'),(152,'xiaofeng','127.0.0.1','内网IP','Chrome 10','Windows 10','0','注册成功','2025-11-12 10:46:28'),(153,'xiao12feng','127.0.0.1','内网IP','Chrome 10','Windows 10','0','注册成功','2025-11-12 11:05:21'),(154,'xiaoeng','127.0.0.1','内网IP','Chrome 10','Windows 10','0','注册成功','2025-11-12 11:21:36'),(155,'asfda','127.0.0.1','内网IP','Chrome 10','Windows 10','0','注册成功','2025-11-12 11:22:20'),(156,'student1','127.0.0.1','内网IP','Chrome 10','Windows 10','0','登录成功','2025-11-12 11:42:11'),(157,'admin','127.0.0.1','内网IP','Chrome 10','Windows 10','0','登录成功','2025-11-12 13:28:19'),(158,'xiao123feng','127.0.0.1','内网IP','Chrome 10','Windows 10','0','注册成功','2025-11-12 13:38:54'),(159,'xiao123feng','127.0.0.1','内网IP','Chrome 10','Windows 10','0','登录成功','2025-11-12 13:51:18'),(160,'admin','127.0.0.1','内网IP','Chrome 10','Windows 10','0','登录成功','2025-11-12 14:51:44');
/*!40000 ALTER TABLE `sys_logininfor` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sys_menu`
--

DROP TABLE IF EXISTS `sys_menu`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_menu` (
  `menu_id` bigint NOT NULL AUTO_INCREMENT COMMENT '菜单ID',
  `menu_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '菜单名称',
  `parent_id` bigint DEFAULT '0' COMMENT '父菜单ID',
  `order_num` int DEFAULT '0' COMMENT '显示顺序',
  `path` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '路由地址',
  `component` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '组件路径',
  `query` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '路由参数',
  `route_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '路由名称',
  `is_frame` int DEFAULT '1' COMMENT '是否为外链（0是 1否）',
  `is_cache` int DEFAULT '0' COMMENT '是否缓存（0缓存 1不缓存）',
  `menu_type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '菜单类型（M目录 C菜单 F按钮）',
  `visible` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '菜单状态（0显示 1隐藏）',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '菜单状态（0正常 1停用）',
  `perms` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '权限标识',
  `icon` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '#' COMMENT '菜单图标',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  PRIMARY KEY (`menu_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2100 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='菜单权限表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sys_menu`
--

LOCK TABLES `sys_menu` WRITE;
/*!40000 ALTER TABLE `sys_menu` DISABLE KEYS */;
INSERT INTO `sys_menu` VALUES (1,'系统管理',0,1,'system',NULL,'','',1,0,'M','0','0','','system','admin','2025-10-30 15:00:32','',NULL,'系统管理目录'),(2,'系统监控',0,2,'monitor',NULL,'','',1,0,'M','0','0','','monitor','admin','2025-10-30 15:00:32','',NULL,'系统监控目录'),(3,'系统工具',0,3,'tool',NULL,'','',1,0,'M','0','0','','tool','admin','2025-10-30 15:00:32','',NULL,'系统工具目录'),(100,'用户管理',1,1,'user','system/user/index','','',1,0,'C','0','0','system:user:list','user','admin','2025-10-30 15:00:32','',NULL,'用户管理菜单'),(101,'角色管理',1,2,'role','system/role/index','','',1,0,'C','0','0','system:role:list','peoples','admin','2025-10-30 15:00:32','',NULL,'角色管理菜单'),(102,'菜单管理',1,3,'menu','system/menu/index','','',1,0,'C','0','0','system:menu:list','tree-table','admin','2025-10-30 15:00:32','',NULL,'菜单管理菜单'),(103,'部门管理',1,4,'dept','system/dept/index','','',1,0,'C','0','0','system:dept:list','tree','admin','2025-10-30 15:00:32','',NULL,'部门管理菜单'),(104,'岗位管理',1,5,'post','system/post/index','','',1,0,'C','0','0','system:post:list','post','admin','2025-10-30 15:00:32','',NULL,'岗位管理菜单'),(105,'字典管理',1,6,'dict','system/dict/index','','',1,0,'C','0','0','system:dict:list','dict','admin','2025-10-30 15:00:32','',NULL,'字典管理菜单'),(106,'参数设置',1,7,'config','system/config/index','','',1,0,'C','0','0','system:config:list','edit','admin','2025-10-30 15:00:32','',NULL,'参数设置菜单'),(107,'网站新闻',1,8,'notice','system/notice/index','','',1,0,'C','0','0','system:notice:list','message','admin','2025-10-30 15:00:32','admin','2025-10-30 16:45:21','通知公告菜单'),(108,'日志管理',1,9,'log','','','',1,0,'M','0','0','','log','admin','2025-10-30 15:00:32','',NULL,'日志管理菜单'),(109,'在线用户',2,1,'online','monitor/online/index','','',1,0,'C','0','0','monitor:online:list','online','admin','2025-10-30 15:00:32','',NULL,'在线用户菜单'),(110,'定时任务',2,2,'job','monitor/job/index','','',1,0,'C','0','0','monitor:job:list','job','admin','2025-10-30 15:00:32','',NULL,'定时任务菜单'),(111,'数据监控',2,3,'druid','monitor/druid/index','','',1,0,'C','0','0','monitor:druid:list','druid','admin','2025-10-30 15:00:32','',NULL,'数据监控菜单'),(112,'服务监控',2,4,'server','monitor/server/index','','',1,0,'C','0','0','monitor:server:list','server','admin','2025-10-30 15:00:32','',NULL,'服务监控菜单'),(113,'缓存监控',2,5,'cache','monitor/cache/index','','',1,0,'C','0','0','monitor:cache:list','redis','admin','2025-10-30 15:00:32','',NULL,'缓存监控菜单'),(114,'缓存列表',2,6,'cacheList','monitor/cache/list','','',1,0,'C','0','0','monitor:cache:list','redis-list','admin','2025-10-30 15:00:32','',NULL,'缓存列表菜单'),(115,'表单构建',3,1,'build','tool/build/index','','',1,0,'C','0','0','tool:build:list','build','admin','2025-10-30 15:00:32','',NULL,'表单构建菜单'),(116,'代码生成',3,2,'gen','tool/gen/index','','',1,0,'C','0','0','tool:gen:list','code','admin','2025-10-30 15:00:32','',NULL,'代码生成菜单'),(117,'系统接口',3,3,'swagger','tool/swagger/index','','',1,0,'C','0','0','tool:swagger:list','swagger','admin','2025-10-30 15:00:32','',NULL,'系统接口菜单'),(500,'操作日志',108,1,'operlog','monitor/operlog/index','','',1,0,'C','0','0','monitor:operlog:list','form','admin','2025-10-30 15:00:32','',NULL,'操作日志菜单'),(501,'登录日志',108,2,'logininfor','monitor/logininfor/index','','',1,0,'C','0','0','monitor:logininfor:list','logininfor','admin','2025-10-30 15:00:32','',NULL,'登录日志菜单'),(1000,'用户查询',100,1,'','','','',1,0,'F','0','0','system:user:query','#','admin','2025-10-30 15:00:32','',NULL,''),(1001,'用户新增',100,2,'','','','',1,0,'F','0','0','system:user:add','#','admin','2025-10-30 15:00:32','',NULL,''),(1002,'用户修改',100,3,'','','','',1,0,'F','0','0','system:user:edit','#','admin','2025-10-30 15:00:32','',NULL,''),(1003,'用户删除',100,4,'','','','',1,0,'F','0','0','system:user:remove','#','admin','2025-10-30 15:00:32','',NULL,''),(1004,'用户导出',100,5,'','','','',1,0,'F','0','0','system:user:export','#','admin','2025-10-30 15:00:32','',NULL,''),(1005,'用户导入',100,6,'','','','',1,0,'F','0','0','system:user:import','#','admin','2025-10-30 15:00:32','',NULL,''),(1006,'重置密码',100,7,'','','','',1,0,'F','0','0','system:user:resetPwd','#','admin','2025-10-30 15:00:32','',NULL,''),(1007,'角色查询',101,1,'','','','',1,0,'F','0','0','system:role:query','#','admin','2025-10-30 15:00:32','',NULL,''),(1008,'角色新增',101,2,'','','','',1,0,'F','0','0','system:role:add','#','admin','2025-10-30 15:00:32','',NULL,''),(1009,'角色修改',101,3,'','','','',1,0,'F','0','0','system:role:edit','#','admin','2025-10-30 15:00:32','',NULL,''),(1010,'角色删除',101,4,'','','','',1,0,'F','0','0','system:role:remove','#','admin','2025-10-30 15:00:32','',NULL,''),(1011,'角色导出',101,5,'','','','',1,0,'F','0','0','system:role:export','#','admin','2025-10-30 15:00:32','',NULL,''),(1012,'菜单查询',102,1,'','','','',1,0,'F','0','0','system:menu:query','#','admin','2025-10-30 15:00:32','',NULL,''),(1013,'菜单新增',102,2,'','','','',1,0,'F','0','0','system:menu:add','#','admin','2025-10-30 15:00:32','',NULL,''),(1014,'菜单修改',102,3,'','','','',1,0,'F','0','0','system:menu:edit','#','admin','2025-10-30 15:00:32','',NULL,''),(1015,'菜单删除',102,4,'','','','',1,0,'F','0','0','system:menu:remove','#','admin','2025-10-30 15:00:32','',NULL,''),(1016,'部门查询',103,1,'','','','',1,0,'F','0','0','system:dept:query','#','admin','2025-10-30 15:00:32','',NULL,''),(1017,'部门新增',103,2,'','','','',1,0,'F','0','0','system:dept:add','#','admin','2025-10-30 15:00:32','',NULL,''),(1018,'部门修改',103,3,'','','','',1,0,'F','0','0','system:dept:edit','#','admin','2025-10-30 15:00:32','',NULL,''),(1019,'部门删除',103,4,'','','','',1,0,'F','0','0','system:dept:remove','#','admin','2025-10-30 15:00:32','',NULL,''),(1020,'岗位查询',104,1,'','','','',1,0,'F','0','0','system:post:query','#','admin','2025-10-30 15:00:32','',NULL,''),(1021,'岗位新增',104,2,'','','','',1,0,'F','0','0','system:post:add','#','admin','2025-10-30 15:00:32','',NULL,''),(1022,'岗位修改',104,3,'','','','',1,0,'F','0','0','system:post:edit','#','admin','2025-10-30 15:00:32','',NULL,''),(1023,'岗位删除',104,4,'','','','',1,0,'F','0','0','system:post:remove','#','admin','2025-10-30 15:00:32','',NULL,''),(1024,'岗位导出',104,5,'','','','',1,0,'F','0','0','system:post:export','#','admin','2025-10-30 15:00:32','',NULL,''),(1025,'字典查询',105,1,'#','','','',1,0,'F','0','0','system:dict:query','#','admin','2025-10-30 15:00:32','',NULL,''),(1026,'字典新增',105,2,'#','','','',1,0,'F','0','0','system:dict:add','#','admin','2025-10-30 15:00:32','',NULL,''),(1027,'字典修改',105,3,'#','','','',1,0,'F','0','0','system:dict:edit','#','admin','2025-10-30 15:00:32','',NULL,''),(1028,'字典删除',105,4,'#','','','',1,0,'F','0','0','system:dict:remove','#','admin','2025-10-30 15:00:32','',NULL,''),(1029,'字典导出',105,5,'#','','','',1,0,'F','0','0','system:dict:export','#','admin','2025-10-30 15:00:32','',NULL,''),(1030,'参数查询',106,1,'#','','','',1,0,'F','0','0','system:config:query','#','admin','2025-10-30 15:00:32','',NULL,''),(1031,'参数新增',106,2,'#','','','',1,0,'F','0','0','system:config:add','#','admin','2025-10-30 15:00:32','',NULL,''),(1032,'参数修改',106,3,'#','','','',1,0,'F','0','0','system:config:edit','#','admin','2025-10-30 15:00:32','',NULL,''),(1033,'参数删除',106,4,'#','','','',1,0,'F','0','0','system:config:remove','#','admin','2025-10-30 15:00:32','',NULL,''),(1034,'参数导出',106,5,'#','','','',1,0,'F','0','0','system:config:export','#','admin','2025-10-30 15:00:32','',NULL,''),(1035,'新闻查询',107,1,'#','','','',1,0,'F','0','0','system:notice:query','#','admin','2025-10-30 15:00:32','admin','2025-10-30 16:45:34',''),(1036,'新闻新增',107,2,'#','','','',1,0,'F','0','0','system:notice:add','#','admin','2025-10-30 15:00:32','admin','2025-10-30 16:45:43',''),(1037,'新闻修改',107,3,'#','','','',1,0,'F','0','0','system:notice:edit','#','admin','2025-10-30 15:00:32','admin','2025-10-30 16:45:47',''),(1038,'新闻删除',107,4,'#','','','',1,0,'F','0','0','system:notice:remove','#','admin','2025-10-30 15:00:32','admin','2025-10-30 16:46:02',''),(1039,'操作查询',500,1,'#','','','',1,0,'F','0','0','monitor:operlog:query','#','admin','2025-10-30 15:00:32','',NULL,''),(1040,'操作删除',500,2,'#','','','',1,0,'F','0','0','monitor:operlog:remove','#','admin','2025-10-30 15:00:32','',NULL,''),(1041,'日志导出',500,3,'#','','','',1,0,'F','0','0','monitor:operlog:export','#','admin','2025-10-30 15:00:32','',NULL,''),(1042,'登录查询',501,1,'#','','','',1,0,'F','0','0','monitor:logininfor:query','#','admin','2025-10-30 15:00:32','',NULL,''),(1043,'登录删除',501,2,'#','','','',1,0,'F','0','0','monitor:logininfor:remove','#','admin','2025-10-30 15:00:32','',NULL,''),(1044,'日志导出',501,3,'#','','','',1,0,'F','0','0','monitor:logininfor:export','#','admin','2025-10-30 15:00:32','',NULL,''),(1045,'账户解锁',501,4,'#','','','',1,0,'F','0','0','monitor:logininfor:unlock','#','admin','2025-10-30 15:00:32','',NULL,''),(1046,'在线查询',109,1,'#','','','',1,0,'F','0','0','monitor:online:query','#','admin','2025-10-30 15:00:32','',NULL,''),(1047,'批量强退',109,2,'#','','','',1,0,'F','0','0','monitor:online:batchLogout','#','admin','2025-10-30 15:00:32','',NULL,''),(1048,'单条强退',109,3,'#','','','',1,0,'F','0','0','monitor:online:forceLogout','#','admin','2025-10-30 15:00:32','',NULL,''),(1049,'任务查询',110,1,'#','','','',1,0,'F','0','0','monitor:job:query','#','admin','2025-10-30 15:00:32','',NULL,''),(1050,'任务新增',110,2,'#','','','',1,0,'F','0','0','monitor:job:add','#','admin','2025-10-30 15:00:32','',NULL,''),(1051,'任务修改',110,3,'#','','','',1,0,'F','0','0','monitor:job:edit','#','admin','2025-10-30 15:00:32','',NULL,''),(1052,'任务删除',110,4,'#','','','',1,0,'F','0','0','monitor:job:remove','#','admin','2025-10-30 15:00:32','',NULL,''),(1053,'状态修改',110,5,'#','','','',1,0,'F','0','0','monitor:job:changeStatus','#','admin','2025-10-30 15:00:32','',NULL,''),(1054,'任务导出',110,6,'#','','','',1,0,'F','0','0','monitor:job:export','#','admin','2025-10-30 15:00:32','',NULL,''),(1055,'生成查询',116,1,'#','','','',1,0,'F','0','0','tool:gen:query','#','admin','2025-10-30 15:00:32','',NULL,''),(1056,'生成修改',116,2,'#','','','',1,0,'F','0','0','tool:gen:edit','#','admin','2025-10-30 15:00:32','',NULL,''),(1057,'生成删除',116,3,'#','','','',1,0,'F','0','0','tool:gen:remove','#','admin','2025-10-30 15:00:32','',NULL,''),(1058,'导入代码',116,4,'#','','','',1,0,'F','0','0','tool:gen:import','#','admin','2025-10-30 15:00:32','',NULL,''),(1059,'预览代码',116,5,'#','','','',1,0,'F','0','0','tool:gen:preview','#','admin','2025-10-30 15:00:32','',NULL,''),(1060,'生成代码',116,6,'#','','','',1,0,'F','0','0','tool:gen:code','#','admin','2025-10-30 15:00:32','',NULL,''),(2000,'学习系统',0,4,'study',NULL,'','',1,0,'M','0','0','','education','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04','学习系统目录'),(2001,'学科分类',2000,1,'subject','study/subject/index','','',1,0,'C','0','0','study:subject:list','tree','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04','学科分类菜单'),(2002,'学科查询',2001,1,'','','','',1,0,'F','0','0','study:subject:query','#','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04',''),(2003,'学科新增',2001,2,'','','','',1,0,'F','0','0','study:subject:add','#','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04',''),(2004,'学科修改',2001,3,'','','','',1,0,'F','0','0','study:subject:edit','#','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04',''),(2005,'学科删除',2001,4,'','','','',1,0,'F','0','0','study:subject:remove','#','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04',''),(2010,'班级管理',2000,2,'class','study/class/index','','',1,0,'C','0','0','study:class:list','peoples','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04','班级管理菜单'),(2011,'班级查询',2010,1,'','','','',1,0,'F','0','0','study:class:query','#','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04',''),(2012,'班级新增',2010,2,'','','','',1,0,'F','0','0','study:class:add','#','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04',''),(2013,'班级修改',2010,3,'','','','',1,0,'F','0','0','study:class:edit','#','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04',''),(2014,'班级删除',2010,4,'','','','',1,0,'F','0','0','study:class:remove','#','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04',''),(2020,'课件管理',2000,3,'courseware','study/courseware/index','','',1,0,'C','0','0','study:courseware:list','documentation','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04','课件管理菜单'),(2021,'课件查询',2020,1,'','','','',1,0,'F','0','0','study:courseware:query','#','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04',''),(2022,'课件新增',2020,2,'','','','',1,0,'F','0','0','study:courseware:add','#','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04',''),(2023,'课件修改',2020,3,'','','','',1,0,'F','0','0','study:courseware:edit','#','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04',''),(2024,'课件删除',2020,4,'','','','',1,0,'F','0','0','study:courseware:remove','#','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04',''),(2030,'课程管理',2000,4,'course','study/course/index','','',1,0,'C','0','0','study:course:list','list','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04','课程管理菜单'),(2031,'课程查询',2030,1,'','','','',1,0,'F','0','0','study:course:query','#','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04',''),(2032,'课程新增',2030,2,'','','','',1,0,'F','0','0','study:course:add','#','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04',''),(2033,'课程修改',2030,3,'','','','',1,0,'F','0','0','study:course:edit','#','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04',''),(2034,'课程删除',2030,4,'','','','',1,0,'F','0','0','study:course:remove','#','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04',''),(2040,'课程分配',2000,5,'assignment','study/assignment/index','','',1,0,'C','0','0','study:assignment:list','tree-table','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04','课程分配菜单'),(2041,'分配查询',2040,1,'','','','',1,0,'F','0','0','study:assignment:query','#','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04',''),(2042,'分配新增',2040,2,'','','','',1,0,'F','0','0','study:assignment:add','#','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04',''),(2043,'分配修改',2040,3,'','','','',1,0,'F','0','0','study:assignment:edit','#','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04',''),(2044,'分配删除',2040,4,'','','','',1,0,'F','0','0','study:assignment:remove','#','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04',''),(2050,'学习记录',2000,6,'learningRecord','study/learningRecord/index','','',1,0,'C','0','0','study:learningRecord:list','log','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04','学习记录菜单'),(2051,'记录查询',2050,1,'','','','',1,0,'F','0','0','study:learningRecord:query','#','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04',''),(2060,'学习监控',2000,7,'monitor','study/monitor/index','','',1,0,'C','0','0','study:monitor:list','monitor','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04','学习监控菜单'),(2061,'监控查询',2060,1,'','','','',1,0,'F','0','0','study:monitor:query','#','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04',''),(2062,'监控删除',2060,2,'','','','',1,0,'F','0','0','study:monitor:remove','#','admin','2025-11-11 09:36:36','','2025-11-11 18:06:04',''),(2070,'用户审核',2000,8,'userAudit','study/userAudit/index','','',1,0,'C','0','0','study:userAudit:list','user','admin','2025-11-11 11:05:22','','2025-11-11 18:06:04','用户审核菜单'),(2071,'审核查询',2070,1,'','','','',1,0,'F','0','0','study:userAudit:query','#','admin','2025-11-11 11:05:22','','2025-11-11 18:06:04',''),(2072,'审核通过',2070,2,'','','','',1,0,'F','0','0','study:userAudit:approve','#','admin','2025-11-11 11:05:22','','2025-11-11 18:06:04',''),(2073,'审核拒绝',2070,3,'','','','',1,0,'F','0','0','study:userAudit:reject','#','admin','2025-11-11 11:05:22','','2025-11-11 18:06:04',''),(2080,'班级用户管理',2000,9,'classUser','study/classUser/index','','',1,0,'C','0','0','study:classUser:list','peoples','admin','2025-11-11 18:06:04','',NULL,'班级用户管理菜单'),(2081,'用户查询',2080,1,'','','','',1,0,'F','0','0','study:classUser:query','#','admin','2025-11-11 18:06:04','',NULL,''),(2082,'权限分配',2080,2,'','','','',1,0,'F','0','0','study:classUser:edit','#','admin','2025-11-11 18:06:04','',NULL,''),(2090,'考试管理',2000,10,'exam','study/exam/index','','',1,0,'C','0','0','study:exam:list','edit','admin',NOW(),'',NULL,'考试管理菜单'),(2091,'考试查询',2090,1,'','','','',1,0,'F','0','0','study:exam:query','#','admin',NOW(),'',NULL,''),(2092,'考试新增',2090,2,'create','study/exam/create','','',1,0,'C','0','0','study:exam:add','edit','admin',NOW(),'',NULL,'考试新增菜单'),(2093,'考试修改',2090,3,'','','','',1,0,'F','0','0','study:exam:edit','#','admin',NOW(),'',NULL,''),(2094,'考试删除',2090,4,'','','','',1,0,'F','0','0','study:exam:remove','#','admin',NOW(),'',NULL,''),(2100,'成绩管理',2000,11,'scoreManagement','study/score/management','','',1,0,'C','0','0','study:score:list','chart','admin',NOW(),'',NULL,'成绩管理菜单'),(2101,'成绩查询',2100,1,'','','','',1,0,'F','0','0','study:score:query','#','admin',NOW(),'',NULL,''),(2110,'考试答题',2000,12,'examTake','study/exam/take','','',1,0,'C','1','0','','edit','admin',NOW(),'',NULL,'考试答题菜单（隐藏）'),(2130,'语音评测',2000,13,'voiceEvaluation','study/voiceEvaluation/index','','',1,0,'C','0','0','study:voiceEvaluation:list','message','admin',NOW(),'',NULL,'语音评测菜单'),(2131,'评测查询',2130,1,'','','','',1,0,'F','0','0','study:voiceEvaluation:query','#','admin',NOW(),'',NULL,''),(2132,'评测删除',2130,2,'','','','',1,0,'F','0','0','study:voiceEvaluation:remove','#','admin',NOW(),'',NULL,''),(2133,'评测导出',2130,3,'','','','',1,0,'F','0','0','study:voiceEvaluation:export','#','admin',NOW(),'',NULL,'');
/*!40000 ALTER TABLE `sys_menu` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sys_notice`
--

DROP TABLE IF EXISTS `sys_notice`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_notice` (
  `notice_id` int NOT NULL AUTO_INCREMENT COMMENT '公告ID',
  `notice_title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公告标题',
  `notice_type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公告类型（1通知 2公告）',
  `notice_content` longblob COMMENT '公告内容',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '公告状态（0正常 1关闭）',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`notice_id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='通知公告表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sys_notice`
--

LOCK TABLES `sys_notice` WRITE;
/*!40000 ALTER TABLE `sys_notice` DISABLE KEYS */;
INSERT INTO `sys_notice` VALUES (10,'网站1 首页切换图片','1',_binary '<p><img src=\"/prod-api/profile/upload/2025/10/30/slider_02_20251030193254A013.jpeg\"><img src=\"/prod-api/profile/upload/2025/10/30/slider_03_20251030193300A014.jpeg\"><img src=\"/prod-api/profile/upload/2025/10/30/slider_04_20251030193304A015.jpeg\"><img src=\"/prod-api/profile/upload/2025/10/30/slider_05_20251030193311A016.jpeg\"><img src=\"/prod-api/profile/upload/2025/10/30/slider_06_20251030193322A017.jpeg\"><img src=\"/prod-api/profile/upload/2025/10/30/slider_01_20251030193245A012.png\"></p>','0','admin','2025-10-30 18:22:14','admin1','2025-10-30 19:49:50',NULL),(11,'网站2 首页切换图片','1',_binary '<p><img src=\"/prod-api/profile/upload/2025/10/31/slider_07_20251031094837A001.jpeg\"><img src=\"/prod-api/profile/upload/2025/10/31/slider_08_20251031094841A002.jpeg\"><img src=\"/prod-api/profile/upload/2025/10/31/slider_09_20251031094846A003.jpeg\"><img src=\"/prod-api/profile/upload/2025/10/31/slider_10_20251031094851A004.jpeg\"><img src=\"/prod-api/profile/upload/2025/10/31/slider_11_20251031094857A005.jpeg\"><img src=\"/prod-api/profile/upload/2025/10/31/slider_12_20251031094903A006.jpeg\"></p>','0','admin1','2025-10-30 19:50:09','admin','2025-10-31 09:49:06',NULL);
/*!40000 ALTER TABLE `sys_notice` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sys_oper_log`
--

DROP TABLE IF EXISTS `sys_oper_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_oper_log` (
  `oper_id` bigint NOT NULL AUTO_INCREMENT COMMENT '日志主键',
  `title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '模块标题',
  `business_type` int DEFAULT '0' COMMENT '业务类型（0其它 1新增 2修改 3删除）',
  `method` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '方法名称',
  `request_method` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '请求方式',
  `operator_type` int DEFAULT '0' COMMENT '操作类别（0其它 1后台用户 2手机端用户）',
  `oper_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '操作人员',
  `dept_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '部门名称',
  `oper_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '请求URL',
  `oper_ip` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '主机地址',
  `oper_location` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '操作地点',
  `oper_param` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '请求参数',
  `json_result` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '返回参数',
  `status` int DEFAULT '0' COMMENT '操作状态（0正常 1异常）',
  `error_msg` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci 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 AUTO_INCREMENT=214 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='操作日志记录';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sys_oper_log`
--

LOCK TABLES `sys_oper_log` WRITE;
/*!40000 ALTER TABLE `sys_oper_log` DISABLE KEYS */;
INSERT INTO `sys_oper_log` VALUES (100,'菜单管理',2,'com.ddnai.web.controller.system.SysMenuController.edit()','PUT',1,'admin','研发部门','/system/menu','115.227.113.199','XX XX','{\"children\":[],\"component\":\"system/notice/index\",\"createTime\":\"2025-10-30 15:00:32\",\"icon\":\"message\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":107,\"menuName\":\"网站新闻\",\"menuType\":\"C\",\"orderNum\":8,\"params\":{},\"parentId\":1,\"path\":\"notice\",\"perms\":\"system:notice:list\",\"query\":\"\",\"routeName\":\"\",\"status\":\"0\",\"updateBy\":\"admin\",\"visible\":\"0\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 16:45:21',44),(101,'菜单管理',2,'com.ddnai.web.controller.system.SysMenuController.edit()','PUT',1,'admin','研发部门','/system/menu','115.227.113.199','XX XX','{\"children\":[],\"component\":\"\",\"createTime\":\"2025-10-30 15:00:32\",\"icon\":\"#\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1035,\"menuName\":\"新闻查询\",\"menuType\":\"F\",\"orderNum\":1,\"params\":{},\"parentId\":107,\"path\":\"#\",\"perms\":\"system:notice:query\",\"query\":\"\",\"routeName\":\"\",\"status\":\"0\",\"updateBy\":\"admin\",\"visible\":\"0\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 16:45:34',27),(102,'菜单管理',2,'com.ddnai.web.controller.system.SysMenuController.edit()','PUT',1,'admin','研发部门','/system/menu','115.227.113.199','XX XX','{\"children\":[],\"component\":\"\",\"createTime\":\"2025-10-30 15:00:32\",\"icon\":\"#\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1036,\"menuName\":\"新闻新增\",\"menuType\":\"F\",\"orderNum\":2,\"params\":{},\"parentId\":107,\"path\":\"#\",\"perms\":\"system:notice:add\",\"query\":\"\",\"routeName\":\"\",\"status\":\"0\",\"updateBy\":\"admin\",\"visible\":\"0\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 16:45:43',39),(103,'菜单管理',2,'com.ddnai.web.controller.system.SysMenuController.edit()','PUT',1,'admin','研发部门','/system/menu','115.227.113.199','XX XX','{\"children\":[],\"component\":\"\",\"createTime\":\"2025-10-30 15:00:32\",\"icon\":\"#\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1037,\"menuName\":\"新闻修改\",\"menuType\":\"F\",\"orderNum\":3,\"params\":{},\"parentId\":107,\"path\":\"#\",\"perms\":\"system:notice:edit\",\"query\":\"\",\"routeName\":\"\",\"status\":\"0\",\"updateBy\":\"admin\",\"visible\":\"0\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 16:45:47',38),(104,'菜单管理',2,'com.ddnai.web.controller.system.SysMenuController.edit()','PUT',1,'admin','研发部门','/system/menu','115.227.113.199','XX XX','{\"children\":[],\"component\":\"\",\"createTime\":\"2025-10-30 15:00:32\",\"icon\":\"#\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1038,\"menuName\":\"新闻删除\",\"menuType\":\"F\",\"orderNum\":4,\"params\":{},\"parentId\":107,\"path\":\"#\",\"perms\":\"system:notice:remove\",\"query\":\"\",\"routeName\":\"\",\"status\":\"0\",\"updateBy\":\"admin\",\"visible\":\"0\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 16:46:02',26),(105,'菜单管理',2,'com.ddnai.web.controller.system.SysMenuController.edit()','PUT',1,'admin','研发部门','/system/menu','115.227.113.199','XX XX','{\"children\":[],\"createTime\":\"2025-10-30 15:00:32\",\"icon\":\"guide\",\"isCache\":\"0\",\"isFrame\":\"0\",\"menuId\":4,\"menuName\":\"官网\",\"menuType\":\"M\",\"orderNum\":4,\"params\":{},\"parentId\":0,\"path\":\"http://ruoyi.vip\",\"perms\":\"\",\"query\":\"\",\"routeName\":\"\",\"status\":\"0\",\"updateBy\":\"admin\",\"visible\":\"0\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 16:47:53',32),(106,'用户管理',2,'com.ddnai.web.controller.system.SysUserController.edit()','PUT',1,'admin','研发部门','/system/user','115.227.113.199','XX XX','{\"admin\":false,\"avatar\":\"\",\"createBy\":\"admin\",\"createTime\":\"2025-10-30 15:00:31\",\"delFlag\":\"0\",\"dept\":{\"ancestors\":\"0,100,101\",\"children\":[],\"deptId\":105,\"deptName\":\"测试部门\",\"leader\":\"若依\",\"orderNum\":3,\"params\":{},\"parentId\":101,\"status\":\"0\"},\"deptId\":105,\"email\":\"admin@ddnai.com\",\"loginDate\":\"2025-10-30 15:00:31\",\"loginIp\":\"127.0.0.1\",\"nickName\":\"外贸\",\"params\":{},\"phonenumber\":\"15666666666\",\"postIds\":[2],\"pwdUpdateDate\":\"2025-10-30 15:00:31\",\"remark\":\"测试员\",\"roleIds\":[2],\"roles\":[{\"admin\":false,\"dataScope\":\"2\",\"deptCheckStrictly\":false,\"flag\":false,\"menuCheckStrictly\":false,\"params\":{},\"roleId\":2,\"roleKey\":\"common\",\"roleName\":\"普通角色\",\"roleSort\":2,\"status\":\"0\"}],\"sex\":\"1\",\"status\":\"0\",\"userId\":2,\"userName\":\"ry\"}','{\"msg\":\"修改用户\'ry\'失败，邮箱账号已存在\",\"code\":500}',0,NULL,'2025-10-30 17:01:15',39),(107,'通知公告',2,'com.ddnai.web.controller.system.SysNoticeController.edit()','PUT',1,'admin','研发部门','/system/notice','115.227.113.199','XX XX','{\"createBy\":\"admin\",\"createTime\":\"2025-10-30 15:00:33\",\"noticeContent\":\"<p>维护内容</p>\",\"noticeId\":2,\"noticeTitle\":\"维护通知：2018-07-01 系统凌晨维护\",\"noticeType\":\"1\",\"params\":{},\"remark\":\"管理员\",\"status\":\"0\",\"updateBy\":\"admin\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 17:10:41',31),(108,'通知公告',2,'com.ddnai.web.controller.system.SysNoticeController.edit()','PUT',1,'admin','研发部门','/system/notice','115.227.113.199','XX XX','{\"createBy\":\"admin\",\"createTime\":\"2025-10-30 15:00:33\",\"noticeContent\":\"<p>新版本内容</p>\",\"noticeId\":1,\"noticeTitle\":\"温馨提醒：2018-07-01 新版本发布啦\",\"noticeType\":\"2\",\"params\":{},\"remark\":\"管理员\",\"status\":\"0\",\"updateBy\":\"admin\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 17:10:46',14),(109,'用户管理',1,'com.ddnai.web.controller.system.SysUserController.add()','POST',1,'admin','研发部门','/system/user','115.227.113.199','XX XX','{\"admin\":false,\"createBy\":\"admin\",\"deptId\":100,\"nickName\":\"admin1\",\"params\":{},\"phonenumber\":\"13012345678\",\"postIds\":[1],\"roleIds\":[2],\"sex\":\"0\",\"status\":\"0\",\"userId\":100,\"userName\":\"admin1\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 17:49:49',460),(110,'角色管理',2,'com.ddnai.web.controller.system.SysRoleController.edit()','PUT',1,'admin','研发部门','/system/role','115.227.113.199','XX XX','{\"admin\":false,\"createTime\":\"2025-10-30 15:00:32\",\"dataScope\":\"2\",\"delFlag\":\"0\",\"deptCheckStrictly\":true,\"flag\":false,\"menuCheckStrictly\":true,\"menuIds\":[1,107,1035,1036,1037,1038],\"params\":{},\"remark\":\"普通角色\",\"roleId\":2,\"roleKey\":\"common\",\"roleName\":\"普通角色\",\"roleSort\":2,\"status\":\"0\",\"updateBy\":\"admin\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 17:50:13',122),(111,'通知公告',1,'com.ddnai.web.controller.system.SysNoticeController.add()','POST',1,'admin','研发部门','/system/notice','115.227.113.199','XX XX','{\"createBy\":\"admin\",\"noticeContent\":\"<p><img src=\\\"/prod-api/profile/upload/2025/10/30/slider_01_20251030182157A001.png\\\"><img src=\\\"/prod-api/profile/upload/2025/10/30/slider_02_20251030182204A002.jpeg\\\"></p>\",\"noticeTitle\":\"slider\",\"noticeType\":\"1\",\"params\":{},\"status\":\"0\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 18:22:14',50),(112,'通知公告',2,'com.ddnai.web.controller.system.SysNoticeController.edit()','PUT',1,'admin','研发部门','/system/notice','115.227.113.199','XX XX','{\"createBy\":\"admin\",\"createTime\":\"2025-10-30 18:22:14\",\"noticeContent\":\"<p><img src=\\\"/prod-api/profile/upload/2025/10/30/slider_03_20251030182423A003.jpeg\\\"><img src=\\\"/prod-api/profile/upload/2025/10/30/slider_01_20251030182157A001.png\\\"><img src=\\\"/prod-api/profile/upload/2025/10/30/slider_02_20251030182204A002.jpeg\\\"></p>\",\"noticeId\":10,\"noticeTitle\":\"slider\",\"noticeType\":\"1\",\"params\":{},\"status\":\"0\",\"updateBy\":\"admin\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 18:24:26',17),(113,'通知公告',2,'com.ddnai.web.controller.system.SysNoticeController.edit()','PUT',1,'admin','研发部门','/system/notice','115.227.113.199','XX XX','{\"createBy\":\"admin\",\"createTime\":\"2025-10-30 18:22:14\",\"noticeContent\":\"<p><img src=\\\"/prod-api/profile/upload/2025/10/30/slider_01_20251030193245A012.png\\\"></p>\",\"noticeId\":10,\"noticeTitle\":\"slider\",\"noticeType\":\"1\",\"params\":{},\"status\":\"0\",\"updateBy\":\"admin\",\"updateTime\":\"2025-10-30 18:24:26\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 19:32:47',46),(114,'通知公告',2,'com.ddnai.web.controller.system.SysNoticeController.edit()','PUT',1,'admin','研发部门','/system/notice','115.227.113.199','XX XX','{\"createBy\":\"admin\",\"createTime\":\"2025-10-30 18:22:14\",\"noticeContent\":\"<p><img src=\\\"/prod-api/profile/upload/2025/10/30/slider_02_20251030193254A013.jpeg\\\"><img src=\\\"/prod-api/profile/upload/2025/10/30/slider_03_20251030193300A014.jpeg\\\"><img src=\\\"/prod-api/profile/upload/2025/10/30/slider_04_20251030193304A015.jpeg\\\"><img src=\\\"/prod-api/profile/upload/2025/10/30/slider_05_20251030193311A016.jpeg\\\"><img src=\\\"/prod-api/profile/upload/2025/10/30/slider_06_20251030193322A017.jpeg\\\"><img src=\\\"/prod-api/profile/upload/2025/10/30/slider_01_20251030193245A012.png\\\"></p>\",\"noticeId\":10,\"noticeTitle\":\"slider\",\"noticeType\":\"1\",\"params\":{},\"status\":\"0\",\"updateBy\":\"admin\",\"updateTime\":\"2025-10-30 19:32:47\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 19:33:28',19),(115,'用户管理',2,'com.ddnai.web.controller.system.SysUserController.resetPwd()','PUT',1,'admin','研发部门','/system/user/resetPwd','115.227.113.199','XX XX','{\"admin\":false,\"params\":{},\"updateBy\":\"admin\",\"userId\":100}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 19:47:02',135),(116,'用户管理',2,'com.ddnai.web.controller.system.SysUserController.resetPwd()','PUT',1,'admin','研发部门','/system/user/resetPwd','115.227.113.199','XX XX','{\"admin\":false,\"params\":{},\"updateBy\":\"admin\",\"userId\":2}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 19:47:13',98),(117,'用户管理',2,'com.ddnai.web.controller.system.SysUserController.resetPwd()','PUT',1,'admin','研发部门','/system/user/resetPwd','115.227.113.199','XX XX','{\"admin\":false,\"params\":{},\"updateBy\":\"admin\",\"userId\":100}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 19:47:39',96),(118,'个人信息',2,'com.ddnai.web.controller.system.SysProfileController.updateProfile()','PUT',1,'admin','研发部门','/system/user/profile','115.227.113.199','XX XX','{\"admin\":false,\"email\":\"admin@ddnai.com\",\"nickName\":\"管理员\",\"params\":{},\"phonenumber\":\"15888888888\",\"sex\":\"1\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 19:48:31',40),(119,'通知公告',3,'com.ddnai.web.controller.system.SysNoticeController.remove()','DELETE',1,'admin1','外贸总部','/system/notice/2','115.227.113.199','XX XX','[2]','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 19:49:21',18),(120,'通知公告',3,'com.ddnai.web.controller.system.SysNoticeController.remove()','DELETE',1,'admin1','外贸总部','/system/notice/1','115.227.113.199','XX XX','[1]','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 19:49:24',15),(121,'通知公告',2,'com.ddnai.web.controller.system.SysNoticeController.edit()','PUT',1,'admin1','外贸总部','/system/notice','115.227.113.199','XX XX','{\"createBy\":\"admin\",\"createTime\":\"2025-10-30 18:22:14\",\"noticeContent\":\"<p><img src=\\\"/prod-api/profile/upload/2025/10/30/slider_02_20251030193254A013.jpeg\\\"><img src=\\\"/prod-api/profile/upload/2025/10/30/slider_03_20251030193300A014.jpeg\\\"><img src=\\\"/prod-api/profile/upload/2025/10/30/slider_04_20251030193304A015.jpeg\\\"><img src=\\\"/prod-api/profile/upload/2025/10/30/slider_05_20251030193311A016.jpeg\\\"><img src=\\\"/prod-api/profile/upload/2025/10/30/slider_06_20251030193322A017.jpeg\\\"><img src=\\\"/prod-api/profile/upload/2025/10/30/slider_01_20251030193245A012.png\\\"></p>\",\"noticeId\":10,\"noticeTitle\":\"网站1 首页切换图片\",\"noticeType\":\"1\",\"params\":{},\"status\":\"0\",\"updateBy\":\"admin1\",\"updateTime\":\"2025-10-30 19:33:28\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 19:49:50',33),(122,'通知公告',1,'com.ddnai.web.controller.system.SysNoticeController.add()','POST',1,'admin1','外贸总部','/system/notice','115.227.113.199','XX XX','{\"createBy\":\"admin1\",\"noticeContent\":\"<p><br></p>\",\"noticeTitle\":\"网站2 首页切换图片\",\"noticeType\":\"1\",\"params\":{},\"status\":\"0\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 19:50:09',21),(123,'定时任务',3,'com.ddnai.quartz.controller.SysJobController.remove()','DELETE',1,'admin','研发部门','/monitor/job/3','115.227.113.199','XX XX','[3]','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 19:52:39',42),(124,'定时任务',3,'com.ddnai.quartz.controller.SysJobController.remove()','DELETE',1,'admin','研发部门','/monitor/job/2','115.227.113.199','XX XX','[2]','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 19:52:41',29),(125,'定时任务',3,'com.ddnai.quartz.controller.SysJobController.remove()','DELETE',1,'admin','研发部门','/monitor/job/1','115.227.113.199','XX XX','[1]','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 19:52:45',28),(126,'菜单管理',3,'com.ddnai.web.controller.system.SysMenuController.remove()','DELETE',1,'admin','研发部门','/system/menu/4','115.227.113.199','XX XX','4','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-30 19:53:24',36),(127,'通知公告',2,'com.ddnai.web.controller.system.SysNoticeController.edit()','PUT',1,'admin','研发部门','/system/notice','115.205.193.200','XX XX','{\"createBy\":\"admin1\",\"createTime\":\"2025-10-30 19:50:09\",\"noticeContent\":\"<p><img src=\\\"/prod-api/profile/upload/2025/10/31/slider_07_20251031094837A001.jpeg\\\"><img src=\\\"/prod-api/profile/upload/2025/10/31/slider_08_20251031094841A002.jpeg\\\"><img src=\\\"/prod-api/profile/upload/2025/10/31/slider_09_20251031094846A003.jpeg\\\"><img src=\\\"/prod-api/profile/upload/2025/10/31/slider_10_20251031094851A004.jpeg\\\"><img src=\\\"/prod-api/profile/upload/2025/10/31/slider_11_20251031094857A005.jpeg\\\"><img src=\\\"/prod-api/profile/upload/2025/10/31/slider_12_20251031094903A006.jpeg\\\"></p>\",\"noticeId\":11,\"noticeTitle\":\"网站2 首页切换图片\",\"noticeType\":\"1\",\"params\":{},\"status\":\"0\",\"updateBy\":\"admin\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-10-31 09:49:07',77),(128,'角色管理',1,'com.ddnai.web.controller.system.SysRoleController.add()','POST',1,'admin','研发部门','/system/role','127.0.0.1','内网IP','{\"admin\":false,\"createBy\":\"admin\",\"deptCheckStrictly\":true,\"deptIds\":[],\"flag\":false,\"menuCheckStrictly\":true,\"menuIds\":[2000,2010,2011,2012,2013,2014,2020,2021,2022,2023,2024,2030,2031,2032,2033,2034,2040,2041,2042,2043,2044,2050,2051,2060,2061,2062],\"params\":{},\"roleId\":100,\"roleKey\":\"teacher\",\"roleName\":\"教师\",\"roleSort\":0,\"status\":\"0\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 10:35:58',59),(129,'角色管理',1,'com.ddnai.web.controller.system.SysRoleController.add()','POST',1,'admin','研发部门','/system/role','127.0.0.1','内网IP','{\"admin\":false,\"createBy\":\"admin\",\"deptCheckStrictly\":true,\"deptIds\":[],\"flag\":false,\"menuCheckStrictly\":true,\"menuIds\":[2000,2050,2051],\"params\":{},\"roleId\":101,\"roleKey\":\"student\",\"roleName\":\"学员\",\"roleSort\":0,\"status\":\"0\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 10:36:40',23),(130,'用户管理',1,'com.ddnai.web.controller.system.SysUserController.add()','POST',1,'admin','研发部门','/system/user','127.0.0.1','内网IP','{\"admin\":false,\"createBy\":\"admin\",\"nickName\":\"张三\",\"params\":{},\"postIds\":[],\"roleIds\":[100],\"status\":\"0\",\"userId\":101,\"userName\":\"teacher1\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 10:37:42',132),(131,'用户管理',1,'com.ddnai.web.controller.system.SysUserController.add()','POST',1,'admin','研发部门','/system/user','127.0.0.1','内网IP','{\"admin\":false,\"createBy\":\"admin\",\"nickName\":\"李四\",\"params\":{},\"postIds\":[],\"roleIds\":[101],\"status\":\"0\",\"userId\":102,\"userName\":\"student1\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 10:38:04',141),(132,'用户管理',2,'com.ddnai.web.controller.system.SysUserController.edit()','PUT',1,'admin','研发部门','/system/user','127.0.0.1','内网IP','{\"admin\":false,\"avatar\":\"\",\"createBy\":\"admin\",\"createTime\":\"2025-11-11 10:37:42\",\"delFlag\":\"0\",\"email\":\"\",\"loginIp\":\"\",\"nickName\":\"张三\",\"params\":{},\"phonenumber\":\"\",\"postIds\":[],\"roleIds\":[100],\"roles\":[{\"admin\":false,\"dataScope\":\"1\",\"deptCheckStrictly\":false,\"flag\":false,\"menuCheckStrictly\":false,\"params\":{},\"roleId\":100,\"roleKey\":\"teacher\",\"roleName\":\"教师\",\"roleSort\":0,\"status\":\"0\"}],\"sex\":\"0\",\"status\":\"0\",\"updateBy\":\"admin\",\"userId\":101,\"userName\":\"teacher1\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 10:48:50',25),(133,'用户管理',2,'com.ddnai.web.controller.system.SysUserController.edit()','PUT',1,'admin','研发部门','/system/user','127.0.0.1','内网IP','{\"admin\":false,\"avatar\":\"\",\"createBy\":\"admin\",\"createTime\":\"2025-11-11 10:37:42\",\"delFlag\":\"0\",\"email\":\"\",\"loginIp\":\"\",\"nickName\":\"张三\",\"params\":{},\"phonenumber\":\"\",\"postIds\":[],\"roleIds\":[100],\"roles\":[{\"admin\":false,\"dataScope\":\"1\",\"deptCheckStrictly\":false,\"flag\":false,\"menuCheckStrictly\":false,\"params\":{},\"roleId\":100,\"roleKey\":\"teacher\",\"roleName\":\"教师\",\"roleSort\":0,\"status\":\"0\"}],\"sex\":\"0\",\"status\":\"0\",\"updateBy\":\"admin\",\"userId\":101,\"userName\":\"teacher1\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 10:48:55',32),(134,'用户管理',2,'com.ddnai.web.controller.system.SysUserController.edit()','PUT',1,'admin','研发部门','/system/user','127.0.0.1','内网IP','{\"admin\":false,\"avatar\":\"\",\"createBy\":\"admin\",\"createTime\":\"2025-11-11 10:37:42\",\"delFlag\":\"0\",\"email\":\"\",\"loginIp\":\"\",\"nickName\":\"张三\",\"params\":{},\"phonenumber\":\"\",\"postIds\":[],\"roleIds\":[100],\"roles\":[{\"admin\":false,\"dataScope\":\"1\",\"deptCheckStrictly\":false,\"flag\":false,\"menuCheckStrictly\":false,\"params\":{},\"roleId\":100,\"roleKey\":\"teacher\",\"roleName\":\"教师\",\"roleSort\":0,\"status\":\"0\"}],\"sex\":\"0\",\"status\":\"0\",\"updateBy\":\"admin\",\"userId\":101,\"userName\":\"teacher1\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 10:49:01',34),(135,'用户审核',2,'com.ddnai.web.controller.study.StudyUserAuditController.approve()','PUT',1,'admin','研发部门','/study/userAudit/approve','127.0.0.1','内网IP','{\"admin\":true,\"params\":{},\"remark\":\"管理员\",\"roleIds\":[1],\"userId\":1,\"userName\":\"admin\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 11:06:18',248),(136,'用户审核',2,'com.ddnai.web.controller.study.StudyUserAuditController.approve()','PUT',1,'admin','研发部门','/study/userAudit/approve','127.0.0.1','内网IP','{\"admin\":false,\"params\":{},\"roleIds\":[100],\"userId\":101,\"userName\":\"teacher1\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 11:06:30',20),(137,'用户审核',2,'com.ddnai.web.controller.study.StudyUserAuditController.approve()','PUT',1,'admin','研发部门','/study/userAudit/approve','127.0.0.1','内网IP','{\"admin\":false,\"params\":{},\"roleIds\":[101],\"userId\":102,\"userName\":\"student1\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 11:06:35',17),(138,'用户审核',2,'com.ddnai.web.controller.study.StudyUserAuditController.approve()','PUT',1,'admin','研发部门','/study/userAudit/approve','127.0.0.1','内网IP','{\"admin\":true,\"params\":{},\"roleIds\":[1],\"userId\":1}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 11:10:29',19),(139,'用户审核',2,'com.ddnai.web.controller.study.StudyUserAuditController.reject()','PUT',1,'admin','研发部门','/study/userAudit/reject/101','127.0.0.1','内网IP','101','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 11:10:40',30),(140,'用户审核',2,'com.ddnai.web.controller.study.StudyUserAuditController.batchApprove()','POST',1,'admin','研发部门','/study/userAudit/batchApprove','127.0.0.1','内网IP','[101,102]','{\"msg\":\"操作失败\",\"code\":500}',0,NULL,'2025-11-11 11:10:48',12),(141,'参数管理',2,'com.ddnai.web.controller.system.SysConfigController.edit()','PUT',1,'admin','研发部门','/system/config','127.0.0.1','内网IP','{\"configId\":4,\"configKey\":\"sys.account.captchaEnabled\",\"configName\":\"账号自助-验证码开关\",\"configType\":\"N\",\"configValue\":\"true\",\"createBy\":\"admin\",\"createTime\":\"2025-10-30 15:00:33\",\"params\":{},\"remark\":\"是否开启验证码功能（true开启，false关闭）\",\"updateBy\":\"admin\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 11:19:27',50),(142,'参数管理',2,'com.ddnai.web.controller.system.SysConfigController.edit()','PUT',1,'admin','研发部门','/system/config','127.0.0.1','内网IP','{\"configId\":4,\"configKey\":\"sys.account.captchaEnabled\",\"configName\":\"账号自助-验证码开关\",\"configType\":\"N\",\"configValue\":\"false\",\"createBy\":\"admin\",\"createTime\":\"2025-10-30 15:00:33\",\"params\":{},\"remark\":\"是否开启验证码功能（true开启，false关闭）\",\"updateBy\":\"admin\",\"updateTime\":\"2025-11-11 11:19:26\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 11:22:10',35),(143,'用户审核',2,'com.ddnai.web.controller.study.StudyUserAuditController.approve()','PUT',1,'admin','研发部门','/study/userAudit/approve','127.0.0.1','内网IP','{\"admin\":false,\"params\":{},\"roleIds\":[100],\"userId\":101}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 11:24:24',43),(144,'用户管理',2,'com.ddnai.web.controller.system.SysUserController.changeStatus()','PUT',1,'admin','研发部门','/system/user/changeStatus','127.0.0.1','内网IP','{\"admin\":false,\"params\":{},\"status\":\"0\",\"updateBy\":\"admin\",\"userId\":101}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 11:24:39',8),(145,'学科分类',1,'com.ddnai.web.controller.study.StudySubjectController.add()','POST',1,'admin','研发部门','/study/subject','127.0.0.1','内网IP','{\"createBy\":\"admin\",\"params\":{},\"sortOrder\":0,\"status\":0}',NULL,1,'\r\n### Error updating database.  Cause: java.sql.SQLException: Field \'subject_name\' doesn\'t have a default value\r\n### The error may exist in file [D:\\0_Project\\02_Study\\RuoYi-Vue-redis\\ry-news-system\\target\\classes\\mapper\\study\\StudySubjectMapper.xml]\r\n### The error may involve com.ddnai.system.mapper.study.StudySubjectMapper.insertSubject-Inline\r\n### The error occurred while setting parameters\r\n### SQL: insert into subject          ( sort_order,             status,             create_by,                          create_time )           values ( ?,             ?,             ?,                          sysdate() )\r\n### Cause: java.sql.SQLException: Field \'subject_name\' doesn\'t have a default value\n; Field \'subject_name\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'subject_name\' doesn\'t have a default value','2025-11-11 14:54:44',116),(146,'学科分类',1,'com.ddnai.web.controller.study.StudySubjectController.add()','POST',1,'admin','研发部门','/study/subject','127.0.0.1','内网IP','{\"createBy\":\"admin\",\"params\":{},\"sortOrder\":0,\"status\":0}',NULL,1,'\r\n### Error updating database.  Cause: java.sql.SQLException: Field \'subject_name\' doesn\'t have a default value\r\n### The error may exist in file [D:\\0_Project\\02_Study\\RuoYi-Vue-redis\\ry-news-system\\target\\classes\\mapper\\study\\StudySubjectMapper.xml]\r\n### The error may involve com.ddnai.system.mapper.study.StudySubjectMapper.insertSubject-Inline\r\n### The error occurred while setting parameters\r\n### SQL: insert into subject          ( sort_order,             status,             create_by,                          create_time )           values ( ?,             ?,             ?,                          sysdate() )\r\n### Cause: java.sql.SQLException: Field \'subject_name\' doesn\'t have a default value\n; Field \'subject_name\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'subject_name\' doesn\'t have a default value','2025-11-11 14:56:56',15),(147,'学科分类',1,'com.ddnai.web.controller.study.StudySubjectController.add()','POST',1,'admin','研发部门','/study/subject','127.0.0.1','内网IP','{\"createBy\":\"admin\",\"params\":{},\"sortOrder\":0,\"status\":0}',NULL,1,'\r\n### Error updating database.  Cause: java.sql.SQLException: Field \'subject_name\' doesn\'t have a default value\r\n### The error may exist in file [D:\\0_Project\\02_Study\\RuoYi-Vue-redis\\ry-news-system\\target\\classes\\mapper\\study\\StudySubjectMapper.xml]\r\n### The error may involve com.ddnai.system.mapper.study.StudySubjectMapper.insertSubject-Inline\r\n### The error occurred while setting parameters\r\n### SQL: insert into subject          ( sort_order,             status,             create_by,                          create_time )           values ( ?,             ?,             ?,                          sysdate() )\r\n### Cause: java.sql.SQLException: Field \'subject_name\' doesn\'t have a default value\n; Field \'subject_name\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'subject_name\' doesn\'t have a default value','2025-11-11 14:57:07',15),(148,'学科分类',1,'com.ddnai.web.controller.study.StudySubjectController.add()','POST',1,'admin','研发部门','/study/subject','127.0.0.1','内网IP','{\"createBy\":\"admin\",\"id\":1,\"params\":{},\"sortOrder\":0,\"status\":0,\"subjectName\":\"语文\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 15:01:34',393),(149,'学科分类',1,'com.ddnai.web.controller.study.StudySubjectController.add()','POST',1,'admin','研发部门','/study/subject','127.0.0.1','内网IP','{\"createBy\":\"admin\",\"id\":2,\"params\":{},\"sortOrder\":0,\"status\":0,\"subjectName\":\"数学\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 15:01:39',11),(150,'学科分类',1,'com.ddnai.web.controller.study.StudySubjectController.add()','POST',1,'admin','研发部门','/study/subject','127.0.0.1','内网IP','{\"createBy\":\"admin\",\"id\":3,\"params\":{},\"sortOrder\":0,\"status\":0,\"subjectName\":\"英语\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 15:01:44',15),(151,'课件管理',1,'com.ddnai.web.controller.study.StudyCoursewareController.add()','POST',1,'admin','研发部门','/study/courseware','127.0.0.1','内网IP','{\"createBy\":\"admin\",\"filePath\":\"/profile/upload/2025/11/11/说明_20251111150235A001.docx\",\"id\":1,\"params\":{},\"subjectId\":1,\"title\":\"介绍\",\"type\":\"document\",\"uploadUserId\":1}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 15:02:37',18),(152,'用户审核',2,'com.ddnai.web.controller.study.StudyUserAuditController.approve()','PUT',1,'admin','研发部门','/study/userAudit/approve','127.0.0.1','内网IP','{\"admin\":false,\"params\":{},\"roleIds\":[101],\"userId\":101}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 15:32:14',36),(153,'课件管理',1,'com.ddnai.web.controller.study.StudyCoursewareController.add()','POST',1,'admin','研发部门','/study/courseware','127.0.0.1','内网IP','{\"createBy\":\"admin\",\"filePath\":\"/profile/upload/2025/11/11/20251111_153243_20251111153619A002.mp4\",\"id\":2,\"params\":{},\"subjectId\":1,\"title\":\"回家都是分开附近都是\",\"type\":\"video\",\"uploadUserId\":1}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 15:36:20',9),(154,'课件管理',1,'com.ddnai.web.controller.study.StudyCoursewareController.add()','POST',1,'admin','研发部门','/study/courseware','127.0.0.1','内网IP','{\"createBy\":\"admin\",\"fileName\":\"20251111_153243.mp4\",\"filePath\":\"/profile/upload/2025/11/11/20251111_153243_20251111154750A001.mp4\",\"fileSize\":1762841,\"id\":3,\"params\":{},\"subjectId\":3,\"title\":\"收到发给\",\"type\":\"video\",\"uploadUserId\":1}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 15:48:06',31),(155,'课件管理',3,'com.ddnai.web.controller.study.StudyCoursewareController.remove()','DELETE',1,'admin','研发部门','/study/courseware/2','127.0.0.1','内网IP','[2]','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 15:48:15',11),(156,'课件管理',3,'com.ddnai.web.controller.study.StudyCoursewareController.remove()','DELETE',1,'admin','研发部门','/study/courseware/1','127.0.0.1','内网IP','[1]','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 15:48:17',7),(157,'课件管理',1,'com.ddnai.web.controller.study.StudyCoursewareController.add()','POST',1,'admin','研发部门','/study/courseware','127.0.0.1','内网IP','{\"createBy\":\"admin\",\"fileName\":\"20251111_153243.mp4\",\"filePath\":\"/profile/upload/2025/11/11/20251111_153243_20251111154829A002.mp4\",\"fileSize\":1762841,\"id\":4,\"params\":{},\"subjectId\":1,\"title\":\"阿斯蒂芬第三方\",\"type\":\"video\",\"uploadUserId\":1}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 15:48:30',13),(158,'课件管理',2,'com.ddnai.web.controller.study.StudyCoursewareController.edit()','PUT',1,'admin','研发部门','/study/courseware','127.0.0.1','内网IP','{\"createBy\":\"admin\",\"createTime\":\"2025-11-11 15:48:30\",\"fileName\":\"20251111_153243.mp4\",\"filePath\":\"/profile/upload/2025/11/11/20251111_153243_20251111154829A002.mp4\",\"fileSize\":1762841,\"id\":4,\"params\":{},\"subjectId\":1,\"title\":\"阿斯蒂芬第三方\",\"type\":\"video\",\"updateBy\":\"admin\",\"uploadUserId\":1}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 15:50:50',8),(159,'课件管理',2,'com.ddnai.web.controller.study.StudyCoursewareController.edit()','PUT',1,'admin','研发部门','/study/courseware','127.0.0.1','内网IP','{\"createBy\":\"admin\",\"createTime\":\"2025-11-11 15:48:30\",\"fileName\":\"20251111_153243.mp4\",\"filePath\":\"/profile/upload/2025/11/11/20251111_153243_20251111154829A002.mp4\",\"fileSize\":1762841,\"id\":4,\"params\":{},\"subjectId\":2,\"title\":\"阿斯蒂芬第三方\",\"type\":\"video\",\"updateBy\":\"admin\",\"updateTime\":\"2025-11-11 15:50:50\",\"uploadUserId\":1}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 15:54:10',10),(160,'课件管理',1,'com.ddnai.web.controller.study.StudyCoursewareController.add()','POST',1,'admin','研发部门','/study/courseware','127.0.0.1','内网IP','{\"createBy\":\"admin\",\"fileName\":\"20251111_153243.mp4\",\"filePath\":\"/profile/upload/2025/11/11/20251111_153243_20251111155423A003.mp4\",\"fileSize\":1762841,\"id\":5,\"params\":{},\"subjectId\":2,\"title\":\"答复\",\"type\":\"video\",\"uploadUserId\":1}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 15:54:24',12),(161,'课程管理',1,'com.ddnai.web.controller.study.StudyCourseController.add()','POST',1,'admin','研发部门','/study/course','127.0.0.1','内网IP','{\"createBy\":\"admin\",\"createUserId\":1,\"params\":{}}',NULL,1,'\r\n### Error updating database.  Cause: java.sql.SQLException: Field \'course_name\' doesn\'t have a default value\r\n### The error may exist in file [D:\\0_Project\\02_Study\\RuoYi-Vue-redis\\ry-news-system\\target\\classes\\mapper\\study\\StudyCourseMapper.xml]\r\n### The error may involve com.ddnai.system.mapper.study.StudyCourseMapper.insertCourse-Inline\r\n### The error occurred while setting parameters\r\n### SQL: insert into course          ( create_user_id,                          create_by,                          create_time )           values ( ?,                          ?,                          sysdate() )\r\n### Cause: java.sql.SQLException: Field \'course_name\' doesn\'t have a default value\n; Field \'course_name\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'course_name\' doesn\'t have a default value','2025-11-11 16:16:44',115),(162,'课程管理',1,'com.ddnai.web.controller.study.StudyCourseController.add()','POST',1,'admin','研发部门','/study/course','127.0.0.1','内网IP','{\"courseName\":\"微积分\",\"createBy\":\"admin\",\"createUserId\":1,\"id\":1,\"params\":{}}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 16:23:46',8),(163,'班级管理',1,'com.ddnai.web.controller.study.StudyClassController.batchGenerate()','POST',1,'admin','研发部门','/study/class/batchGenerate','127.0.0.1','内网IP','{\"educationStage\":\"primary\",\"grade\":3,\"classCount\":2}','{\"msg\":\"成功生成 2 个班级\",\"code\":200}',0,NULL,'2025-11-11 16:46:59',468),(164,'班级管理',2,'com.ddnai.web.controller.study.StudyClassController.edit()','PUT',1,'admin','研发部门','/study/class','127.0.0.1','内网IP','{\"classCode\":\"301\",\"className\":\"小学三年级1班\",\"createBy\":\"admin\",\"createTime\":\"2025-11-11 16:46:59\",\"educationStage\":\"primary\",\"grade\":3,\"id\":1,\"params\":{},\"status\":0,\"updateBy\":\"admin\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 16:49:18',24),(165,'班级管理',3,'com.ddnai.web.controller.study.StudyClassController.remove()','DELETE',1,'admin','研发部门','/study/class/1','127.0.0.1','内网IP','[1]','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 16:54:05',10),(166,'班级管理',3,'com.ddnai.web.controller.study.StudyClassController.remove()','DELETE',1,'admin','研发部门','/study/class/2','127.0.0.1','内网IP','[2]','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 16:54:20',10),(167,'班级管理',1,'com.ddnai.web.controller.study.StudyClassController.batchGenerate()','POST',1,'admin','研发部门','/study/class/batchGenerate','127.0.0.1','内网IP','{\"educationStage\":\"middle\",\"grade\":1,\"classCount\":6}','{\"msg\":\"成功生成 6 个班级\",\"code\":200}',0,NULL,'2025-11-11 16:54:29',77),(168,'班级管理',2,'com.ddnai.web.controller.study.StudyClassController.edit()','PUT',1,'admin','研发部门','/study/class','127.0.0.1','内网IP','{\"classCode\":\"101\",\"className\":\"初中一年级1班\",\"createBy\":\"admin\",\"createTime\":\"2025-11-11 16:54:29\",\"educationStage\":\"middle\",\"grade\":1,\"id\":3,\"params\":{},\"status\":0,\"updateBy\":\"admin\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 16:54:36',17),(169,'班级管理',2,'com.ddnai.web.controller.study.StudyClassController.edit()','PUT',1,'admin','研发部门','/study/class','127.0.0.1','内网IP','{\"classCode\":\"102\",\"className\":\"初中一年级2班\",\"createBy\":\"admin\",\"createTime\":\"2025-11-11 16:54:29\",\"educationStage\":\"middle\",\"grade\":1,\"id\":4,\"params\":{},\"status\":0,\"updateBy\":\"admin\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 16:54:40',18),(170,'班级管理',2,'com.ddnai.web.controller.study.StudyClassController.edit()','PUT',1,'admin','研发部门','/study/class','127.0.0.1','内网IP','{\"classCode\":\"103\",\"className\":\"初中一年级3班\",\"createBy\":\"admin\",\"createTime\":\"2025-11-11 16:54:29\",\"educationStage\":\"middle\",\"grade\":1,\"id\":5,\"params\":{},\"status\":0,\"updateBy\":\"admin\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 16:54:44',19),(171,'课件管理',3,'com.ddnai.web.controller.study.StudyCoursewareController.remove()','DELETE',1,'admin','研发部门','/study/courseware/5,4,3','127.0.0.1','内网IP','[5,4,3]','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 17:01:07',8),(172,'课件管理',1,'com.ddnai.web.controller.study.StudyCoursewareController.add()','POST',1,'admin','研发部门','/study/courseware','127.0.0.1','内网IP','{\"createBy\":\"admin\",\"fileName\":\"20251111_153243.mp4\",\"filePath\":\"/profile/upload/2025/11/11/20251111_153243_20251111171153A001.mp4\",\"fileSize\":1762841,\"id\":6,\"params\":{},\"subjectId\":2,\"title\":\"定积分\",\"type\":\"video\",\"uploadUserId\":1}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 17:11:55',15),(173,'课件管理',2,'com.ddnai.web.controller.study.StudyCoursewareController.edit()','PUT',1,'admin','研发部门','/study/courseware','127.0.0.1','内网IP','{\"createBy\":\"admin\",\"createTime\":\"2025-11-11 17:11:55\",\"fileName\":\"20251111_153243.mp4\",\"filePath\":\"/profile/upload/2025/11/11/20251111_153243_20251111171153A001.mp4\",\"fileSize\":1762841,\"id\":6,\"params\":{},\"subjectId\":2,\"subjectName\":\"数学\",\"title\":\"定积分\",\"type\":\"video\",\"updateBy\":\"admin\",\"uploadUserId\":1}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 17:17:38',8),(174,'课件管理',2,'com.ddnai.web.controller.study.StudyCoursewareController.edit()','PUT',1,'admin','研发部门','/study/courseware','127.0.0.1','内网IP','{\"classId\":4,\"courseId\":1,\"createBy\":\"admin\",\"createTime\":\"2025-11-11 17:11:55\",\"fileName\":\"20251111_153243.mp4\",\"filePath\":\"/profile/upload/2025/11/11/20251111_153243_20251111171153A001.mp4\",\"fileSize\":1762841,\"id\":6,\"params\":{},\"subjectId\":2,\"subjectName\":\"数学\",\"title\":\"定积分\",\"type\":\"video\",\"updateBy\":\"admin\",\"updateTime\":\"2025-11-11 17:17:38\",\"uploadUserId\":1}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 17:24:16',29),(175,'课程管理',2,'com.ddnai.web.controller.study.StudyCourseController.edit()','PUT',1,'admin','研发部门','/study/course','127.0.0.1','内网IP','{\"courseName\":\"微积分\",\"createBy\":\"admin\",\"createTime\":\"2025-11-11 16:23:46\",\"createUserId\":1,\"id\":1,\"params\":{},\"status\":0,\"updateBy\":\"admin\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 17:27:59',20),(176,'课件管理',1,'com.ddnai.web.controller.study.StudyCoursewareController.add()','POST',1,'admin','研发部门','/study/courseware','127.0.0.1','内网IP','{\"classId\":7,\"courseId\":1,\"createBy\":\"admin\",\"fileName\":\"20251111_153243.mp4\",\"filePath\":\"/profile/upload/2025/11/11/20251111_153243_20251111173039A001.mp4\",\"fileSize\":1762841,\"id\":7,\"params\":{},\"subjectId\":2,\"title\":\"就开发商的\",\"type\":\"video\",\"uploadUserId\":1}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 17:30:41',267),(177,'课程分配',1,'com.ddnai.web.controller.study.StudyCourseAssignmentController.add()','POST',1,'admin','研发部门','/study/assignment','127.0.0.1','内网IP','{\"classId\":3,\"courseId\":1,\"createBy\":\"admin\",\"id\":1,\"params\":{}}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 17:40:04',243),(178,'课程分配',1,'com.ddnai.web.controller.study.StudyCourseAssignmentController.add()','POST',1,'admin','研发部门','/study/assignment','127.0.0.1','内网IP','{\"classId\":7,\"courseId\":1,\"createBy\":\"admin\",\"id\":2,\"params\":{}}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 17:42:10',9),(179,'课程分配',2,'com.ddnai.web.controller.study.StudyCourseAssignmentController.edit()','PUT',1,'admin','研发部门','/study/assignment','127.0.0.1','内网IP','{\"classId\":3,\"className\":\"初中一年级1班\",\"courseId\":1,\"courseName\":\"微积分\",\"createBy\":\"admin\",\"createTime\":\"2025-11-11 17:40:04\",\"id\":1,\"params\":{},\"status\":0,\"updateBy\":\"admin\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 17:47:55',10),(180,'课程分配',2,'com.ddnai.web.controller.study.StudyCourseAssignmentController.edit()','PUT',1,'admin','研发部门','/study/assignment','127.0.0.1','内网IP','{\"classId\":3,\"className\":\"初中一年级1班\",\"courseId\":1,\"courseName\":\"微积分\",\"createBy\":\"admin\",\"createTime\":\"2025-11-11 17:40:04\",\"endTime\":\"2025-11-18 00:00:00\",\"id\":1,\"params\":{},\"startTime\":\"2025-10-27 00:00:00\",\"status\":0,\"updateBy\":\"admin\",\"updateTime\":\"2025-11-11 17:47:55\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 17:48:49',34),(181,'课程分配',2,'com.ddnai.web.controller.study.StudyCourseAssignmentController.edit()','PUT',1,'admin','研发部门','/study/assignment','127.0.0.1','内网IP','{\"classId\":7,\"className\":\"初中一年级5班\",\"courseId\":1,\"courseName\":\"微积分\",\"createBy\":\"admin\",\"createTime\":\"2025-11-11 17:42:10\",\"endTime\":\"2025-12-06 00:00:00\",\"id\":2,\"params\":{},\"startTime\":\"2025-11-03 00:00:00\",\"status\":0,\"updateBy\":\"admin\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 17:49:01',7),(182,'用户审核',2,'com.ddnai.web.controller.study.StudyUserAuditController.approve()','PUT',1,'admin','研发部门','/study/userAudit/approve','127.0.0.1','内网IP','{\"admin\":false,\"params\":{},\"roleIds\":[101],\"userId\":101}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 18:09:04',246),(183,'班级管理',2,'com.ddnai.web.controller.study.StudyClassController.edit()','PUT',1,'admin','研发部门','/study/class','127.0.0.1','内网IP','{\"classCode\":\"101\",\"className\":\"初中一年级1班\",\"createBy\":\"admin\",\"createTime\":\"2025-11-11 16:54:29\",\"educationStage\":\"middle\",\"grade\":1,\"id\":3,\"params\":{},\"status\":0,\"updateBy\":\"admin\",\"updateTime\":\"2025-11-11 16:54:36\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 18:09:29',21),(184,'班级管理',2,'com.ddnai.web.controller.study.StudyClassController.edit()','PUT',1,'admin','研发部门','/study/class','127.0.0.1','内网IP','{\"classCode\":\"104\",\"className\":\"初中一年级4班\",\"createBy\":\"admin\",\"createTime\":\"2025-11-11 16:54:29\",\"educationStage\":\"middle\",\"grade\":1,\"id\":6,\"params\":{},\"status\":0,\"updateBy\":\"admin\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 18:09:33',12),(185,'班级管理',2,'com.ddnai.web.controller.study.StudyClassController.edit()','PUT',1,'admin','研发部门','/study/class','127.0.0.1','内网IP','{\"classCode\":\"105\",\"className\":\"初中一年级5班\",\"createBy\":\"admin\",\"createTime\":\"2025-11-11 16:54:29\",\"educationStage\":\"middle\",\"grade\":1,\"id\":7,\"params\":{},\"status\":0,\"updateBy\":\"admin\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 18:09:36',16),(186,'班级管理',2,'com.ddnai.web.controller.study.StudyClassController.edit()','PUT',1,'admin','研发部门','/study/class','127.0.0.1','内网IP','{\"classCode\":\"106\",\"className\":\"初中一年级6班\",\"createBy\":\"admin\",\"createTime\":\"2025-11-11 16:54:29\",\"educationStage\":\"middle\",\"grade\":1,\"id\":8,\"params\":{},\"status\":0,\"updateBy\":\"admin\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 18:09:39',16),(187,'班级管理',2,'com.ddnai.web.controller.study.StudyClassController.edit()','PUT',1,'admin','研发部门','/study/class','127.0.0.1','内网IP','{\"classCode\":\"101\",\"className\":\"初中一年级1班\",\"createBy\":\"admin\",\"createTime\":\"2025-11-11 16:54:29\",\"educationStage\":\"middle\",\"grade\":1,\"id\":3,\"params\":{},\"status\":1,\"updateBy\":\"admin\",\"updateTime\":\"2025-11-11 18:09:29\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 18:09:50',18),(188,'班级管理',2,'com.ddnai.web.controller.study.StudyClassController.edit()','PUT',1,'admin','研发部门','/study/class','127.0.0.1','内网IP','{\"classCode\":\"102\",\"className\":\"初中一年级2班\",\"createBy\":\"admin\",\"createTime\":\"2025-11-11 16:54:29\",\"educationStage\":\"middle\",\"grade\":1,\"id\":4,\"params\":{},\"status\":1,\"updateBy\":\"admin\",\"updateTime\":\"2025-11-11 16:54:40\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 18:09:53',11),(189,'班级管理',2,'com.ddnai.web.controller.study.StudyClassController.edit()','PUT',1,'admin','研发部门','/study/class','127.0.0.1','内网IP','{\"classCode\":\"103\",\"className\":\"初中一年级3班\",\"createBy\":\"admin\",\"createTime\":\"2025-11-11 16:54:29\",\"educationStage\":\"middle\",\"grade\":1,\"id\":5,\"params\":{},\"status\":1,\"updateBy\":\"admin\",\"updateTime\":\"2025-11-11 16:54:44\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 18:09:57',14),(190,'班级管理',2,'com.ddnai.web.controller.study.StudyClassController.edit()','PUT',1,'admin','研发部门','/study/class','127.0.0.1','内网IP','{\"classCode\":\"104\",\"className\":\"初中一年级4班\",\"createBy\":\"admin\",\"createTime\":\"2025-11-11 16:54:29\",\"educationStage\":\"middle\",\"grade\":1,\"id\":6,\"params\":{},\"status\":1,\"updateBy\":\"admin\",\"updateTime\":\"2025-11-11 18:09:33\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 18:10:00',17),(191,'班级管理',2,'com.ddnai.web.controller.study.StudyClassController.edit()','PUT',1,'admin','研发部门','/study/class','127.0.0.1','内网IP','{\"classCode\":\"105\",\"className\":\"初中一年级5班\",\"createBy\":\"admin\",\"createTime\":\"2025-11-11 16:54:29\",\"educationStage\":\"middle\",\"grade\":1,\"id\":7,\"params\":{},\"status\":1,\"updateBy\":\"admin\",\"updateTime\":\"2025-11-11 18:09:36\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 18:10:03',16),(192,'班级管理',2,'com.ddnai.web.controller.study.StudyClassController.edit()','PUT',1,'admin','研发部门','/study/class','127.0.0.1','内网IP','{\"classCode\":\"106\",\"className\":\"初中一年级6班\",\"createBy\":\"admin\",\"createTime\":\"2025-11-11 16:54:29\",\"educationStage\":\"middle\",\"grade\":1,\"id\":8,\"params\":{},\"status\":1,\"updateBy\":\"admin\",\"updateTime\":\"2025-11-11 18:09:39\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-11 18:10:06',16),(193,'用户审核',2,'com.ddnai.web.controller.study.StudyUserAuditController.approve()','PUT',1,'admin','研发部门','/study/userAudit/approve','127.0.0.1','内网IP','{\"admin\":true,\"params\":{},\"roleIds\":[1],\"userId\":1}','{\"msg\":\"审核通过成功\",\"code\":200}',0,NULL,'2025-11-12 10:31:39',564),(194,'用户审核',2,'com.ddnai.web.controller.study.StudyUserAuditController.approve()','PUT',1,'admin','研发部门','/study/userAudit/approve','127.0.0.1','内网IP','{\"admin\":false,\"params\":{},\"roleIds\":[101],\"userId\":101}','{\"msg\":\"审核通过成功\",\"code\":200}',0,NULL,'2025-11-12 10:31:49',30),(195,'用户审核',2,'com.ddnai.web.controller.study.StudyUserAuditController.batchApprove()','POST',1,'admin','研发部门','/study/userAudit/batchApprove','127.0.0.1','内网IP','[2,100,101,102,1]',NULL,1,'未找到对应的角色，请先创建学员或教师角色','2025-11-12 10:31:58',19),(196,'用户审核',2,'com.ddnai.web.controller.study.StudyUserAuditController.approve()','PUT',1,'admin','研发部门','/study/userAudit/approve','127.0.0.1','内网IP','{\"admin\":false,\"params\":{},\"roleIds\":[101],\"userId\":103}','{\"msg\":\"审核通过成功\",\"code\":200}',0,NULL,'2025-11-12 10:46:41',72),(197,'用户审核',2,'com.ddnai.web.controller.study.StudyUserAuditController.approve()','PUT',1,'admin','研发部门','/study/userAudit/approve','127.0.0.1','内网IP','{\"admin\":false,\"params\":{},\"roleIds\":[101],\"userId\":103}','{\"msg\":\"审核通过成功\",\"code\":200}',0,NULL,'2025-11-12 10:53:04',502),(198,'用户审核',2,'com.ddnai.web.controller.study.StudyUserAuditController.approve()','PUT',1,'admin','研发部门','/study/userAudit/approve','127.0.0.1','内网IP','{\"admin\":false,\"params\":{},\"roleIds\":[101],\"userId\":103}','{\"msg\":\"审核通过成功\",\"code\":200}',0,NULL,'2025-11-12 11:00:49',29),(199,'用户审核',2,'com.ddnai.web.controller.study.StudyUserAuditController.approve()','PUT',1,'admin','研发部门','/study/userAudit/approve','127.0.0.1','内网IP','{\"admin\":false,\"params\":{},\"roleIds\":[101],\"userId\":103}','{\"msg\":\"审核通过成功\",\"code\":200}',0,NULL,'2025-11-12 11:02:04',31),(200,'用户审核',2,'com.ddnai.web.controller.study.StudyUserAuditController.approve()','PUT',1,'admin','研发部门','/study/userAudit/approve','127.0.0.1','内网IP','{\"admin\":false,\"params\":{},\"roleIds\":[101],\"userId\":103}','{\"msg\":\"审核通过成功\",\"code\":200}',0,NULL,'2025-11-12 11:02:10',30),(201,'用户审核',2,'com.ddnai.web.controller.study.StudyUserAuditController.approve()','PUT',1,'admin','研发部门','/study/userAudit/approve','127.0.0.1','内网IP','{\"admin\":false,\"params\":{},\"roleIds\":[101],\"userId\":103}','{\"msg\":\"审核通过成功\",\"code\":200}',0,NULL,'2025-11-12 11:02:13',23),(202,'用户审核',2,'com.ddnai.web.controller.study.StudyUserAuditController.approve()','PUT',1,'admin','研发部门','/study/userAudit/approve','127.0.0.1','内网IP','{\"admin\":false,\"params\":{},\"roleIds\":[101],\"userId\":104}','{\"msg\":\"审核通过成功，用户已分配角色\",\"code\":200}',0,NULL,'2025-11-12 11:20:25',605),(203,'用户审核',2,'com.ddnai.web.controller.study.StudyUserAuditController.approve()','PUT',1,'admin','研发部门','/study/userAudit/approve','127.0.0.1','内网IP','{\"admin\":false,\"params\":{},\"roleIds\":[101],\"userId\":105}','{\"msg\":\"审核通过成功，用户已分配角色\",\"code\":200}',0,NULL,'2025-11-12 11:21:48',148),(204,'用户审核',2,'com.ddnai.web.controller.study.StudyUserAuditController.approve()','PUT',1,'admin','研发部门','/study/userAudit/approve','127.0.0.1','内网IP','{\"admin\":false,\"params\":{},\"roleIds\":[100],\"userId\":106}','{\"msg\":\"审核通过成功，用户已分配角色\",\"code\":200}',0,NULL,'2025-11-12 11:22:30',158),(205,'用户管理',2,'com.ddnai.web.controller.system.SysUserController.edit()','PUT',1,'admin','研发部门','/system/user','127.0.0.1','内网IP','{\"admin\":false,\"avatar\":\"\",\"createBy\":\"admin\",\"createTime\":\"2025-11-11 10:38:04\",\"delFlag\":\"0\",\"email\":\"\",\"loginDate\":\"2025-11-12 11:42:11\",\"loginIp\":\"127.0.0.1\",\"nickName\":\"李四\",\"params\":{},\"phonenumber\":\"\",\"postIds\":[],\"roleIds\":[101],\"roles\":[{\"admin\":false,\"dataScope\":\"1\",\"deptCheckStrictly\":false,\"flag\":false,\"menuCheckStrictly\":false,\"params\":{},\"roleId\":101,\"roleKey\":\"student\",\"roleName\":\"学员\",\"roleSort\":0,\"status\":\"0\"}],\"sex\":\"0\",\"status\":\"0\",\"updateBy\":\"admin\",\"userId\":102,\"userName\":\"student1\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-12 11:47:46',54),(206,'用户审核',2,'com.ddnai.web.controller.study.StudyUserAuditController.approve()','PUT',1,'admin','研发部门','/study/userAudit/approve','127.0.0.1','内网IP','{\"admin\":false,\"params\":{},\"roleIds\":[100],\"userId\":107}','{\"msg\":\"审核通过成功，用户已分配角色\",\"code\":200}',0,NULL,'2025-11-12 13:39:08',161),(207,'用户管理',2,'com.ddnai.web.controller.system.SysUserController.edit()','PUT',1,'admin','研发部门','/system/user','127.0.0.1','内网IP','{\"admin\":false,\"avatar\":\"\",\"createBy\":\"\",\"createTime\":\"2025-11-12 13:38:54\",\"delFlag\":\"0\",\"dept\":{\"ancestors\":\"0,100\",\"children\":[],\"deptId\":200,\"deptName\":\"教师\",\"orderNum\":1,\"params\":{},\"parentId\":100,\"status\":\"0\"},\"deptId\":200,\"email\":\"\",\"loginIp\":\"\",\"nickName\":\"sdfgdfsg\",\"params\":{},\"phonenumber\":\"\",\"pwdUpdateDate\":\"2025-11-12 13:38:55\",\"remark\":\"注册类型:teacher\",\"roleIds\":[100],\"roles\":[{\"admin\":false,\"dataScope\":\"1\",\"deptCheckStrictly\":false,\"flag\":false,\"menuCheckStrictly\":false,\"params\":{},\"roleId\":100,\"roleKey\":\"teacher\",\"roleName\":\"教师\",\"roleSort\":0,\"status\":\"0\"}],\"sex\":\"0\",\"status\":\"0\",\"updateBy\":\"admin\",\"userId\":107,\"userName\":\"xiao123feng\"}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-12 13:46:39',23),(208,'班级用户管理',2,'com.ddnai.web.controller.study.StudyClassUserController.assignStudentToClass()','PUT',1,'admin','研发部门','/study/classUser/assignStudentToClass','127.0.0.1','内网IP','{\"studentId\":105,\"classId\":7}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-12 13:47:17',22),(209,'班级用户管理',2,'com.ddnai.web.controller.study.StudyClassUserController.assignTeacherToClasses()','PUT',1,'admin','研发部门','/study/classUser/assignTeacherToClasses','127.0.0.1','内网IP','{\"teacherId\":107,\"classIds\":[3,4,5,6,7,8]}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-12 13:51:45',54),(210,'班级用户管理',2,'com.ddnai.web.controller.study.StudyClassUserController.assignStudentToClass()','PUT',1,'admin','研发部门','/study/classUser/assignStudentToClass','127.0.0.1','内网IP','{\"studentId\":104,\"classId\":4}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-12 13:51:51',13),(211,'用户管理',5,'com.ddnai.web.controller.system.SysUserController.export()','POST',1,'admin','研发部门','/system/user/export','127.0.0.1','内网IP','{\"classId\":\"8\",\"pageSize\":\"10\",\"pageNum\":\"1\"}',NULL,0,NULL,'2025-11-12 13:59:12',162),(212,'学员导入',6,'com.ddnai.web.controller.study.StudyClassUserController.importData()','POST',1,'admin','研发部门','/study/classUser/importData','127.0.0.1','内网IP','{\"updateSupport\":\"0\"}','{\"msg\":\"恭喜您，数据已全部导入成功！共 1 条，数据如下：<br/>1、账号 xiao 导入成功\",\"code\":200}',0,NULL,'2025-11-12 14:22:28',570),(213,'班级用户管理',2,'com.ddnai.web.controller.study.StudyClassUserController.assignStudentToClass()','PUT',1,'admin','研发部门','/study/classUser/assignStudentToClass','127.0.0.1','内网IP','{\"studentId\":108,\"classId\":3}','{\"msg\":\"操作成功\",\"code\":200}',0,NULL,'2025-11-12 14:22:37',38);
/*!40000 ALTER TABLE `sys_oper_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sys_post`
--

DROP TABLE IF EXISTS `sys_post`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_post` (
  `post_id` bigint NOT NULL AUTO_INCREMENT COMMENT '岗位ID',
  `post_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '岗位编码',
  `post_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '岗位名称',
  `post_sort` int NOT NULL COMMENT '显示顺序',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '状态（0正常 1停用）',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`post_id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='岗位信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sys_post`
--

LOCK TABLES `sys_post` WRITE;
/*!40000 ALTER TABLE `sys_post` DISABLE KEYS */;
INSERT INTO `sys_post` VALUES (1,'ceo','董事长',1,'0','admin','2025-10-30 15:00:32','',NULL,''),(2,'se','项目经理',2,'0','admin','2025-10-30 15:00:32','',NULL,''),(3,'hr','人力资源',3,'0','admin','2025-10-30 15:00:32','',NULL,''),(4,'user','普通员工',4,'0','admin','2025-10-30 15:00:32','',NULL,'');
/*!40000 ALTER TABLE `sys_post` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sys_role`
--

DROP TABLE IF EXISTS `sys_role`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_role` (
  `role_id` bigint NOT NULL AUTO_INCREMENT COMMENT '角色ID',
  `role_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色名称',
  `role_key` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色权限字符串',
  `role_sort` int NOT NULL COMMENT '显示顺序',
  `data_scope` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci 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) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色状态（0正常 1停用）',
  `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`role_id`)
) ENGINE=InnoDB AUTO_INCREMENT=102 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='角色信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sys_role`
--

LOCK TABLES `sys_role` WRITE;
/*!40000 ALTER TABLE `sys_role` DISABLE KEYS */;
INSERT INTO `sys_role` VALUES (1,'超级管理员','admin',1,'1',1,1,'0','0','admin','2025-10-30 15:00:32','',NULL,'超级管理员'),(2,'普通角色','common',2,'2',1,1,'0','0','admin','2025-10-30 15:00:32','admin','2025-10-30 17:50:13','普通角色'),(100,'教师','teacher',0,'1',1,1,'0','0','admin','2025-11-11 10:35:58','',NULL,NULL),(101,'学员','student',0,'1',1,1,'0','0','admin','2025-11-11 10:36:40','',NULL,NULL);
/*!40000 ALTER TABLE `sys_role` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sys_role_dept`
--

DROP TABLE IF EXISTS `sys_role_dept`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `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_general_ci COMMENT='角色和部门关联表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sys_role_dept`
--

LOCK TABLES `sys_role_dept` WRITE;
/*!40000 ALTER TABLE `sys_role_dept` DISABLE KEYS */;
INSERT INTO `sys_role_dept` VALUES (2,100),(2,101),(2,105);
/*!40000 ALTER TABLE `sys_role_dept` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sys_role_menu`
--

DROP TABLE IF EXISTS `sys_role_menu`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `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_general_ci COMMENT='角色和菜单关联表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sys_role_menu`
--

LOCK TABLES `sys_role_menu` WRITE;
/*!40000 ALTER TABLE `sys_role_menu` DISABLE KEYS */;
INSERT INTO `sys_role_menu` VALUES (2,1),(2,107),(2,1035),(2,1036),(2,1037),(2,1038),(100,2000),(100,2010),(100,2011),(100,2012),(100,2013),(100,2014),(100,2020),(100,2021),(100,2022),(100,2023),(100,2024),(100,2030),(100,2031),(100,2032),(100,2033),(100,2034),(100,2040),(100,2041),(100,2042),(100,2043),(100,2044),(100,2050),(100,2051),(100,2060),(100,2061),(100,2062),(100,2090),(100,2091),(100,2092),(100,2093),(100,2094),(100,2100),(100,2101),(100,2130),(100,2131),(100,2132),(100,2133),(101,2000),(101,2050),(101,2051),(101,2110),(1,2090),(1,2091),(1,2092),(1,2093),(1,2094),(1,2100),(1,2101),(1,2110),(1,2130),(1,2131),(1,2132),(1,2133);
/*!40000 ALTER TABLE `sys_role_menu` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sys_user`
--

DROP TABLE IF EXISTS `sys_user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_user` (
  `user_id` bigint NOT NULL AUTO_INCREMENT COMMENT '用户ID',
  `dept_id` bigint DEFAULT NULL COMMENT '部门ID',
  `user_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户账号',
  `nick_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户昵称',
  `user_type` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '00' COMMENT '用户类型（00系统用户）',
  `email` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '用户邮箱',
  `phonenumber` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '手机号码',
  `sex` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '用户性别（0男 1女 2未知）',
  `avatar` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '头像地址',
  `password` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '密码',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '账号状态（0正常 1停用）',
  `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `login_ip` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '最后登录IP',
  `login_date` datetime DEFAULT NULL COMMENT '最后登录时间',
  `pwd_update_date` datetime DEFAULT NULL COMMENT '密码最后更新时间',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=109 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='用户信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sys_user`
--

LOCK TABLES `sys_user` WRITE;
/*!40000 ALTER TABLE `sys_user` DISABLE KEYS */;
INSERT INTO `sys_user` VALUES (1,103,'admin','管理员','00','admin@ddnai.com','15888888888','1','','$2a$10$Wa9dl8j9O3ihGnlko055R.Jn7BrsB0.Dt38jY2Gd2HgcZHRolgN26','0','0','127.0.0.1','2025-11-12 14:51:44','2025-10-30 15:00:31','admin','2025-10-30 15:00:31','','2025-10-30 19:48:31','管理员'),(2,105,'ry','测试员','00','admin@ddnai.com','15666666666','1','','$2a$10$SeKorFaVHGlcb2DKfmDDHOdfXiw3tDFzpqiedwlS.qhjarFHsf/VG','0','0','127.0.0.1','2025-10-30 15:00:31','2025-10-30 19:47:13','admin','2025-10-30 15:00:31','','2025-10-30 19:47:13','测试员'),(100,100,'admin1','编辑','00','','13012345678','0','','$2a$10$Lq/u9HuP1QBOuvhU7Fyog.WBAYIqYceg6SEgoXF6owRSs6/95wrIG','0','0','114.216.62.231','2025-10-31 15:13:08','2025-10-30 19:47:39','admin','2025-10-30 17:49:48','','2025-10-30 19:47:39',NULL),(101,NULL,'teacher1','张三','00','','','0','','$2a$10$qu5sMhrzUTRXPmjeQbrRzueZogKqHoUPJjWpVRzF9Uk.WiuRr6IgS','0','0','127.0.0.1','2025-11-11 15:31:05',NULL,'admin','2025-11-11 10:37:42','admin','2025-11-11 11:24:39',NULL),(102,NULL,'student1','李四','00','','','0','','$2a$10$80wljzlt70iVPfIkaVVjFOmz5Pz1jfqGQ/878Y1PJ2vKOCO/Etjqi','0','0','127.0.0.1','2025-11-12 11:42:11',NULL,'admin','2025-11-11 10:38:04','admin','2025-11-12 11:47:46',NULL),(103,NULL,'xiaofeng','张飞','00','','','0','','$2a$10$xfPg27q3k6.XZSgTIqFKc.XultLJG/eM/k1Srs1X2xQLdgT1CTRui','0','0','',NULL,'2025-11-12 10:46:28','','2025-11-12 10:46:28','',NULL,'注册类型:student'),(104,NULL,'xiao12feng','xiaofeng','00','','','0','','$2a$10$qpWwADBSEJDNBRqk6lMKb.PXE.CB7lVsoGvai62hUJvdeFK7HLJIK','0','0','',NULL,'2025-11-12 11:05:20','','2025-11-12 11:05:21','',NULL,'注册类型:student'),(105,NULL,'xiaoeng','asdjkfjas','00','','','0','','$2a$10$pqSeQtnRm1KI6O.dkQcN2.p5i7bsKyucxOkQPoodVl9/SDPYZfr1W','0','0','',NULL,'2025-11-12 11:21:36','','2025-11-12 11:21:36','',NULL,'注册类型:student'),(106,NULL,'asfda','adsfasdfasdf','00','','','0','','$2a$10$fE8AJBnthZt1.q2UkXD4ruhZTj2c2QsSC9gvZmQvVKYxTMmurT95q','0','0','',NULL,'2025-11-12 11:22:21','','2025-11-12 11:22:20','',NULL,'注册类型:teacher'),(107,200,'xiao123feng','sdfgdfsg','00','','','0','','$2a$10$A.8Sw6/tifDET.VaEOIggu0FoCR.in4Zc7.DX4x4tZ2yI4MZQYOvu','0','0','127.0.0.1','2025-11-12 13:51:19','2025-11-12 13:38:55','','2025-11-12 13:38:54','admin','2025-11-12 13:46:39','注册类型:teacher'),(108,NULL,'xiao','xiao','00','','182264233','0','','$2a$10$QBvtrMOtXA1MYbgE9ZgH3ejN4EHZ8826LdoPwhtSB7hBuMk7ES98q','0','0','',NULL,NULL,'admin','2025-11-12 14:22:28','',NULL,'注册类型:student');
/*!40000 ALTER TABLE `sys_user` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sys_user_post`
--

DROP TABLE IF EXISTS `sys_user_post`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `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_general_ci COMMENT='用户与岗位关联表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sys_user_post`
--

LOCK TABLES `sys_user_post` WRITE;
/*!40000 ALTER TABLE `sys_user_post` DISABLE KEYS */;
INSERT INTO `sys_user_post` VALUES (1,1),(2,2),(100,1);
/*!40000 ALTER TABLE `sys_user_post` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sys_user_role`
--

DROP TABLE IF EXISTS `sys_user_role`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `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_general_ci COMMENT='用户和角色关联表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sys_user_role`
--

LOCK TABLES `sys_user_role` WRITE;
/*!40000 ALTER TABLE `sys_user_role` DISABLE KEYS */;
INSERT INTO `sys_user_role` VALUES (1,1),(2,2),(100,2),(101,101),(102,101),(103,101),(104,101),(105,101),(106,100),(107,100),(108,101);
/*!40000 ALTER TABLE `sys_user_role` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Dumping routines for database 'ry_study'
--
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2025-11-12 15:05:05
