-- MySQL dump 10.13  Distrib 5.7.26, for macos10.14 (x86_64)
--
-- Host: localhost    Database: teachcloud-report
-- ------------------------------------------------------
-- Server version	8.0.20

/*!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 */;
/*!40101 SET NAMES utf8 */;
/*!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 `basic_attachment`
--

DROP TABLE IF EXISTS `basic_attachment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `basic_attachment` (
  `id` bigint NOT NULL,
  `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '文件名',
  `type` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '文件类型',
  `size` int NOT NULL COMMENT '单位（KB）',
  `md5` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '文件md5值',
  `path` varchar(2000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '存储路径',
  `create_id` bigint DEFAULT NULL COMMENT '创建人',
  `create_time` bigint DEFAULT NULL COMMENT '创建时间',
  `obj_id` bigint DEFAULT NULL COMMENT '关联业务id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='所有附件记录表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `basic_course`
--

DROP TABLE IF EXISTS `basic_course`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `basic_course` (
  `id` bigint NOT NULL COMMENT '课程主键',
  `school_id` bigint NOT NULL COMMENT '学校id',
  `code` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '课程编号',
  `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '课程名称',
  `create_id` bigint DEFAULT NULL,
  `create_time` bigint DEFAULT NULL,
  `update_id` bigint DEFAULT NULL,
  `update_time` bigint DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='课程基础表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `basic_school`
--

DROP TABLE IF EXISTS `basic_school`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `basic_school` (
  `id` bigint NOT NULL,
  `code` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '学校编号',
  `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '学校名称',
  `enable` tinyint DEFAULT '1' COMMENT '是否启用，false：停用，true：启用',
  `access_key` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '访问key',
  `access_secret` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '访问secret',
  `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '备注',
  `logo` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT 'logo',
  `create_id` bigint DEFAULT NULL COMMENT '创建人',
  `create_time` bigint DEFAULT NULL COMMENT '创建时间',
  `update_time` bigint DEFAULT NULL COMMENT '更新时间',
  `update_id` bigint DEFAULT NULL COMMENT '更新人',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='学校基础表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `basic_user_course`
--

DROP TABLE IF EXISTS `basic_user_course`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `basic_user_course` (
  `id` bigint NOT NULL,
  `user_id` bigint DEFAULT NULL COMMENT '用户ID',
  `course_id` bigint DEFAULT NULL COMMENT '课程ID',
  `create_id` bigint DEFAULT NULL,
  `create_time` bigint DEFAULT NULL,
  `update_id` bigint DEFAULT NULL,
  `update_time` bigint DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户和课程关联表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `basic_verify_code`
--

DROP TABLE IF EXISTS `basic_verify_code`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `basic_verify_code` (
  `id` bigint NOT NULL,
  `user_id` bigint NOT NULL COMMENT '用户ID',
  `mobile_number` varchar(11) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '手机号',
  `expire_time` bigint NOT NULL COMMENT '到期时间',
  `valid_period` int NOT NULL COMMENT '单位（分）',
  `verify_code` varchar(4) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '4位数字',
  `create_id` bigint DEFAULT NULL,
  `create_time` bigint DEFAULT NULL,
  `update_id` bigint DEFAULT NULL,
  `update_time` bigint DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='短信验证码记录表';
/*!40101 SET character_set_client = @saved_cs_client */;

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

DROP TABLE IF EXISTS `qrtz_blob_triggers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `qrtz_blob_triggers` (
  `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `BLOB_DATA` blob,
  PRIMARY KEY (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`) USING BTREE,
  KEY `SCHED_NAME` (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

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

DROP TABLE IF EXISTS `qrtz_calendars`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `qrtz_calendars` (
  `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `CALENDAR_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `CALENDAR` blob NOT NULL,
  PRIMARY KEY (`SCHED_NAME`,`CALENDAR_NAME`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

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

DROP TABLE IF EXISTS `qrtz_cron_triggers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `qrtz_cron_triggers` (
  `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `CRON_EXPRESSION` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TIME_ZONE_ID` varchar(80) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  PRIMARY KEY (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

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

DROP TABLE IF EXISTS `qrtz_fired_triggers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `qrtz_fired_triggers` (
  `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `ENTRY_ID` varchar(95) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `INSTANCE_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `FIRED_TIME` bigint NOT NULL,
  `SCHED_TIME` bigint NOT NULL,
  `PRIORITY` int NOT NULL,
  `STATE` varchar(16) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `JOB_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `JOB_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `IS_NONCONCURRENT` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `REQUESTS_RECOVERY` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  PRIMARY KEY (`SCHED_NAME`,`ENTRY_ID`) USING BTREE,
  KEY `IDX_QRTZ_FT_TRIG_INST_NAME` (`SCHED_NAME`,`INSTANCE_NAME`) USING BTREE,
  KEY `IDX_QRTZ_FT_INST_JOB_REQ_RCVRY` (`SCHED_NAME`,`INSTANCE_NAME`,`REQUESTS_RECOVERY`) USING BTREE,
  KEY `IDX_QRTZ_FT_J_G` (`SCHED_NAME`,`JOB_NAME`,`JOB_GROUP`) USING BTREE,
  KEY `IDX_QRTZ_FT_JG` (`SCHED_NAME`,`JOB_GROUP`) USING BTREE,
  KEY `IDX_QRTZ_FT_T_G` (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`) USING BTREE,
  KEY `IDX_QRTZ_FT_TG` (`SCHED_NAME`,`TRIGGER_GROUP`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

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

DROP TABLE IF EXISTS `qrtz_job_details`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `qrtz_job_details` (
  `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `JOB_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `JOB_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `DESCRIPTION` varchar(250) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `JOB_CLASS_NAME` varchar(250) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `IS_DURABLE` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `IS_NONCONCURRENT` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `IS_UPDATE_DATA` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `REQUESTS_RECOVERY` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `JOB_DATA` blob,
  PRIMARY KEY (`SCHED_NAME`,`JOB_NAME`,`JOB_GROUP`) USING BTREE,
  KEY `IDX_QRTZ_J_REQ_RECOVERY` (`SCHED_NAME`,`REQUESTS_RECOVERY`) USING BTREE,
  KEY `IDX_QRTZ_J_GRP` (`SCHED_NAME`,`JOB_GROUP`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

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

DROP TABLE IF EXISTS `qrtz_locks`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `qrtz_locks` (
  `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `LOCK_NAME` varchar(40) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  PRIMARY KEY (`SCHED_NAME`,`LOCK_NAME`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

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

DROP TABLE IF EXISTS `qrtz_paused_trigger_grps`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `qrtz_paused_trigger_grps` (
  `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  PRIMARY KEY (`SCHED_NAME`,`TRIGGER_GROUP`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

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

DROP TABLE IF EXISTS `qrtz_scheduler_state`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `qrtz_scheduler_state` (
  `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `INSTANCE_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `LAST_CHECKIN_TIME` bigint NOT NULL,
  `CHECKIN_INTERVAL` bigint NOT NULL,
  PRIMARY KEY (`SCHED_NAME`,`INSTANCE_NAME`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

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

DROP TABLE IF EXISTS `qrtz_simple_triggers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `qrtz_simple_triggers` (
  `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `REPEAT_COUNT` bigint NOT NULL,
  `REPEAT_INTERVAL` bigint NOT NULL,
  `TIMES_TRIGGERED` bigint NOT NULL,
  PRIMARY KEY (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

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

DROP TABLE IF EXISTS `qrtz_simprop_triggers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `qrtz_simprop_triggers` (
  `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `STR_PROP_1` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `STR_PROP_2` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `STR_PROP_3` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `INT_PROP_1` int DEFAULT NULL,
  `INT_PROP_2` int DEFAULT NULL,
  `LONG_PROP_1` bigint DEFAULT NULL,
  `LONG_PROP_2` bigint DEFAULT NULL,
  `DEC_PROP_1` decimal(13,4) DEFAULT NULL,
  `DEC_PROP_2` decimal(13,4) DEFAULT NULL,
  `BOOL_PROP_1` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `BOOL_PROP_2` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  PRIMARY KEY (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

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

DROP TABLE IF EXISTS `qrtz_triggers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `qrtz_triggers` (
  `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `JOB_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `JOB_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `DESCRIPTION` varchar(250) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `NEXT_FIRE_TIME` bigint DEFAULT NULL,
  `PREV_FIRE_TIME` bigint DEFAULT NULL,
  `PRIORITY` int DEFAULT NULL,
  `TRIGGER_STATE` varchar(16) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_TYPE` varchar(8) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `START_TIME` bigint NOT NULL,
  `END_TIME` bigint DEFAULT NULL,
  `CALENDAR_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `MISFIRE_INSTR` smallint DEFAULT NULL,
  `JOB_DATA` blob,
  PRIMARY KEY (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`) USING BTREE,
  KEY `IDX_QRTZ_T_J` (`SCHED_NAME`,`JOB_NAME`,`JOB_GROUP`) USING BTREE,
  KEY `IDX_QRTZ_T_JG` (`SCHED_NAME`,`JOB_GROUP`) USING BTREE,
  KEY `IDX_QRTZ_T_C` (`SCHED_NAME`,`CALENDAR_NAME`) USING BTREE,
  KEY `IDX_QRTZ_T_G` (`SCHED_NAME`,`TRIGGER_GROUP`) USING BTREE,
  KEY `IDX_QRTZ_T_STATE` (`SCHED_NAME`,`TRIGGER_STATE`) USING BTREE,
  KEY `IDX_QRTZ_T_N_STATE` (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`,`TRIGGER_STATE`) USING BTREE,
  KEY `IDX_QRTZ_T_N_G_STATE` (`SCHED_NAME`,`TRIGGER_GROUP`,`TRIGGER_STATE`) USING BTREE,
  KEY `IDX_QRTZ_T_NEXT_FIRE_TIME` (`SCHED_NAME`,`NEXT_FIRE_TIME`) USING BTREE,
  KEY `IDX_QRTZ_T_NFT_ST` (`SCHED_NAME`,`TRIGGER_STATE`,`NEXT_FIRE_TIME`) USING BTREE,
  KEY `IDX_QRTZ_T_NFT_MISFIRE` (`SCHED_NAME`,`MISFIRE_INSTR`,`NEXT_FIRE_TIME`) USING BTREE,
  KEY `IDX_QRTZ_T_NFT_ST_MISFIRE` (`SCHED_NAME`,`MISFIRE_INSTR`,`NEXT_FIRE_TIME`,`TRIGGER_STATE`) USING BTREE,
  KEY `IDX_QRTZ_T_NFT_ST_MISFIRE_GRP` (`SCHED_NAME`,`MISFIRE_INSTR`,`NEXT_FIRE_TIME`,`TRIGGER_GROUP`,`TRIGGER_STATE`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

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

DROP TABLE IF EXISTS `sys_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `sys_config` (
  `id` bigint NOT NULL,
  `config_key` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '参数键名',
  `config_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '参数名称',
  `config_value` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '参数键值',
  `remark` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `create_id` bigint DEFAULT NULL,
  `create_time` bigint DEFAULT NULL,
  `update_id` bigint DEFAULT NULL,
  `update_time` bigint DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='参数表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sys_org`
--

DROP TABLE IF EXISTS `sys_org`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `sys_org` (
  `id` bigint NOT NULL,
  `school_id` bigint NOT NULL COMMENT '学校ID',
  `code` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '机构代码',
  `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '机构名称',
  `parent_id` bigint DEFAULT NULL COMMENT '上级机构ID',
  `enable` tinyint NOT NULL DEFAULT '1' COMMENT '是否启用，false：停用，true：启用',
  `create_id` bigint DEFAULT NULL COMMENT '创建人',
  `create_time` bigint DEFAULT NULL COMMENT '创建时间',
  `update_id` bigint DEFAULT NULL COMMENT '修改人',
  `update_time` bigint DEFAULT NULL COMMENT '修改时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `org_schoolId_code_idx` (`school_id`,`code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='学校组织架构';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sys_privilege`
--

DROP TABLE IF EXISTS `sys_privilege`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `sys_privilege` (
  `id` bigint NOT NULL,
  `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '菜单名称',
  `url` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'URL地址',
  `type` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '类型，MENU：菜单，BUTTON：按钮，LINK：链接，URL：接口地址，LIST：列表，CONDITION：查询条件',
  `parent_id` bigint DEFAULT NULL COMMENT '上级菜单',
  `sequence` int NOT NULL COMMENT '序号',
  `property` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '属性，NO_AUTH：无需鉴权，AUTH：鉴权，SYS：系统公用',
  `remark` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '备注',
  `create_time` bigint DEFAULT NULL,
  `enable` tinyint NOT NULL DEFAULT '1' COMMENT '是否启用，false：停用，true：启用',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='菜单权限表';
/*!40101 SET character_set_client = @saved_cs_client */;

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

DROP TABLE IF EXISTS `sys_role`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `sys_role` (
  `id` bigint NOT NULL,
  `school_id` bigint DEFAULT NULL COMMENT '学校ID',
  `name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '角色名称',
  `enable` tinyint NOT NULL DEFAULT '1' COMMENT '是否启用，false：停用，true：启用',
  `type` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '角色类别，ADMIN：超级管理员，SCHOOL_ADMIN：管理员：EXAM_TEACHER：考务老师，QUESTION_TEACHER：命题老师，CUSTOMER：客服人员，PRINTER：印刷人员，CUSTOM：自定义',
  `create_id` bigint DEFAULT NULL COMMENT '创建人',
  `create_time` bigint DEFAULT NULL COMMENT '创建时间',
  `update_id` bigint DEFAULT NULL COMMENT '修改人',
  `update_time` bigint DEFAULT NULL COMMENT '修改时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='角色表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sys_role_privilege`
--

DROP TABLE IF EXISTS `sys_role_privilege`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `sys_role_privilege` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `role_id` bigint NOT NULL COMMENT '角色ID',
  `privilege_id` bigint NOT NULL COMMENT '菜单ID',
  `enable` tinyint DEFAULT '1' COMMENT '是否禁用，false：禁用，true：启用',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1402879621653970949 DEFAULT CHARSET=utf8 COMMENT='角色和菜单关联表';
/*!40101 SET character_set_client = @saved_cs_client */;

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

DROP TABLE IF EXISTS `sys_user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `sys_user` (
  `id` bigint NOT NULL,
  `school_id` bigint DEFAULT NULL COMMENT '学校ID',
  `login_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '用户名',
  `real_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '姓名',
  `password` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '密码',
  `mobile_number` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '手机号',
  `org_id` bigint DEFAULT NULL,
  `enable` tinyint NOT NULL DEFAULT '1' COMMENT 'false-禁用，true-启用',
  `pwd_update_time` bigint DEFAULT NULL COMMENT '密码修改时间',
  `remark` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '备注',
  `create_id` bigint DEFAULT NULL COMMENT '创建人',
  `create_time` bigint DEFAULT NULL COMMENT '创建时间',
  `update_id` bigint DEFAULT NULL,
  `update_time` bigint DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `user_schoolId_orgId_loginName_idx` (`login_name`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户表';
/*!40101 SET character_set_client = @saved_cs_client */;

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

DROP TABLE IF EXISTS `sys_user_role`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `sys_user_role` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `user_id` bigint NOT NULL COMMENT '用户ID',
  `role_id` bigint NOT NULL COMMENT '角色ID',
  `privilege_id` bigint DEFAULT NULL COMMENT '权限id',
  `enable` tinyint NOT NULL DEFAULT '1' COMMENT '是否禁用，false：禁用，true：启用',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1402879622132121603 DEFAULT CHARSET=utf8 COMMENT='用户和角色关联表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_a_exam_course`
--

DROP TABLE IF EXISTS `t_a_exam_course`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_a_exam_course` (
  `id` bigint NOT NULL COMMENT '考试科目分析表id',
  `exam_id` bigint NOT NULL COMMENT '考试id',
  `exam_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '考试名称（冗余）',
  `course_code` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '科目编码',
  `course_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '科目名称',
  `school_id` bigint NOT NULL COMMENT '学校id（冗余）',
  `teach_college_id` bigint DEFAULT NULL COMMENT '开课学院id',
  `teach_college_name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '开课学院名称',
  `inspect_college_count` int DEFAULT NULL COMMENT '考察学院数量',
  `avg_score` decimal(12,4) DEFAULT NULL COMMENT '总体平均分',
  `pass_count` int DEFAULT NULL COMMENT '通过人数',
  `pass_rate` decimal(12,4) DEFAULT NULL COMMENT '通过率',
  `current_pass_count` int DEFAULT NULL COMMENT '应届通过人数',
  `current_pass_rate` decimal(12,4) DEFAULT NULL COMMENT '应届通过率',
  `total_score` decimal(12,4) DEFAULT NULL COMMENT '试卷满分',
  `reality_count` int DEFAULT NULL COMMENT '实际参考人数',
  `absent_count` int DEFAULT NULL COMMENT '缺考人数',
  `total_count` int DEFAULT NULL COMMENT '总应参考人数',
  `current_min_score` decimal(12,4) DEFAULT NULL COMMENT '最低分',
  `current_max_score` decimal(12,4) DEFAULT NULL COMMENT '最高分',
  `current_avg_score` decimal(12,4) DEFAULT NULL COMMENT '全体参考平均分',
  `current_reality_count` int DEFAULT NULL COMMENT '应届实际考试人数',
  `current_absent_count` int DEFAULT NULL COMMENT '应届缺考人数',
  `current_total_count` int DEFAULT NULL COMMENT '应届总考试人数',
  `current_reality_rate` decimal(12,4) DEFAULT NULL COMMENT '应届实际考试人数占比',
  `past_reality_count` int DEFAULT NULL COMMENT '往届实际考试人数',
  `past_absent_count` int DEFAULT NULL COMMENT '往届缺考人数',
  `past_total_count` int DEFAULT NULL COMMENT '往届总人数',
  `past_reality_rate` decimal(12,4) DEFAULT NULL COMMENT '往届实际考试人数占比',
  `current_upper_quartile` decimal(12,4) DEFAULT NULL COMMENT '上四分位数',
  `current_median` decimal(12,4) DEFAULT NULL COMMENT '中位数',
  `current_lower_quartile` decimal(12,4) DEFAULT NULL COMMENT '下四分位数',
  `current_mode` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '众数',
  `current_standard_deviation` decimal(12,4) DEFAULT NULL COMMENT '标准差',
  `current_score_rate` decimal(12,4) DEFAULT NULL COMMENT '难度系数（得分率）',
  `difficulty` varchar(16) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '本次科目难度（应届）',
  `paper_avg_score` decimal(12,4) DEFAULT NULL COMMENT '总体卷面平均分',
  `paper_current_avg_score` decimal(12,4) DEFAULT NULL COMMENT '应届卷面平均分',
  `paper_pass_rate` decimal(12,4) DEFAULT NULL COMMENT '总体卷面成绩通过率',
  `paper_current_pass_rate` decimal(12,4) DEFAULT NULL COMMENT '应届卷面成绩通过率',
  `coefficient` decimal(12,4) DEFAULT NULL COMMENT '赋分系数',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `t_a_exam_course_idx` (`exam_id`,`course_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='考试课程维度分析表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_a_exam_course_clazz`
--

DROP TABLE IF EXISTS `t_a_exam_course_clazz`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_a_exam_course_clazz` (
  `id` bigint NOT NULL COMMENT 'id',
  `exam_id` bigint NOT NULL COMMENT '考试id',
  `school_id` bigint DEFAULT NULL,
  `course_code` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '科目编码',
  `course_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '科目名称',
  `clazz_id` bigint NOT NULL COMMENT '班级表id',
  `max_score` decimal(12,4) DEFAULT NULL COMMENT '最高分（赋分）',
  `min_score` decimal(12,4) DEFAULT NULL COMMENT '最低分（赋分）',
  `avg_score` decimal(12,4) DEFAULT NULL COMMENT '平均分（赋分）',
  `reality_count` int DEFAULT NULL COMMENT '实际参考人数',
  `absent_count` int DEFAULT NULL COMMENT '缺考人数',
  `total_count` int DEFAULT NULL COMMENT '总人数',
  `college_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '所属考察学院名称',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='参考课程班级维度分析表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_a_exam_course_college_inspect`
--

DROP TABLE IF EXISTS `t_a_exam_course_college_inspect`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_a_exam_course_college_inspect` (
  `id` bigint NOT NULL,
  `exam_id` bigint NOT NULL COMMENT '考试id',
  `school_id` bigint DEFAULT NULL,
  `course_code` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '科目编码',
  `course_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '科目名称',
  `college_id` bigint NOT NULL COMMENT '学院id',
  `max_score` decimal(12,4) DEFAULT NULL COMMENT '最高分',
  `min_score` decimal(12,4) DEFAULT NULL COMMENT '最低分',
  `avg_score` decimal(12,4) DEFAULT NULL COMMENT '平均分',
  `reality_count` int DEFAULT NULL COMMENT '实际参考人数',
  `absent_count` int DEFAULT NULL COMMENT '缺考人数',
  `total_count` int DEFAULT NULL COMMENT '总人数',
  `upper_quartile` decimal(12,4) DEFAULT NULL COMMENT '上四分位数',
  `median` decimal(12,4) DEFAULT NULL COMMENT '中位数',
  `lower_quartile` decimal(12,4) DEFAULT NULL COMMENT '下四分位数',
  `mode` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '众数',
  `standard_deviation` decimal(12,4) DEFAULT NULL COMMENT '标准差',
  `relative_position` decimal(12,4) DEFAULT NULL COMMENT '相对位置',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `t_a_exam_course_college_idx` (`exam_id`,`course_code`,`college_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='参考课程考察学院维度分析表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_a_exam_course_college_inspect_dio`
--

DROP TABLE IF EXISTS `t_a_exam_course_college_inspect_dio`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_a_exam_course_college_inspect_dio` (
  `id` bigint NOT NULL COMMENT 'id',
  `exam_id` bigint NOT NULL COMMENT '考试id',
  `school_id` bigint DEFAULT NULL,
  `course_code` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '科目编码',
  `course_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '科目名称',
  `inspect_college_id` bigint NOT NULL COMMENT '考察学院id',
  `inspect_college_name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '考察学院名称',
  `dimension_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '模块类型',
  `dimension_code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '考察点编号',
  `avg_score` decimal(12,4) DEFAULT NULL COMMENT '考察点学院学生平均得分',
  `score_rate` decimal(12,4) DEFAULT NULL COMMENT '该考察点学院平均得分率',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `t_a_exam_course_college_dio_idx` (`exam_id`,`course_code`,`dimension_code`,`dimension_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='参考课程考察学院各考察点维度表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_a_exam_course_college_teacher`
--

DROP TABLE IF EXISTS `t_a_exam_course_college_teacher`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_a_exam_course_college_teacher` (
  `id` bigint NOT NULL,
  `exam_id` bigint NOT NULL COMMENT '考试id',
  `school_id` bigint DEFAULT NULL,
  `course_code` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '科目编码',
  `course_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '科目名称',
  `teacher_id` bigint NOT NULL COMMENT '授课教师id',
  `inspect_college_id` bigint NOT NULL COMMENT '考察学院id（此表以该字段为统计）',
  `inspect_college_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '考察学院名称（冗余）',
  `teacher_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '授课教师名称（冗余）',
  `avg_score` decimal(12,4) DEFAULT NULL COMMENT '卷面平均分',
  `min_score_assign` decimal(12,4) DEFAULT NULL COMMENT '赋分后授课学生最低分',
  `max_score_assign` decimal(12,4) DEFAULT NULL COMMENT '赋分后授课学生最高分',
  `avg_score_assign` decimal(12,4) DEFAULT NULL COMMENT '赋分后授课学生平均分',
  `upper_quartile` decimal(12,4) DEFAULT NULL COMMENT '授课学生分数上四分位数',
  `median` decimal(12,4) DEFAULT NULL COMMENT '授课学生中位数',
  `lower_quartile` decimal(12,4) DEFAULT NULL COMMENT '授课学生分数下四分位数',
  `mode` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '授课学生分数众数',
  `standard_deviation` decimal(12,4) DEFAULT NULL COMMENT '授课学生分数标准差',
  `relative_position` decimal(12,4) DEFAULT NULL COMMENT '授课学生分数相对位置',
  `reality_count` int DEFAULT NULL COMMENT '授课学生实际参考人数',
  `absent_count` int DEFAULT NULL COMMENT '授课学生缺考人数',
  `total_count` int DEFAULT NULL COMMENT '总人数',
  `teach_college_id` bigint DEFAULT NULL COMMENT '授课学院id',
  `teach_college_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '授课学院名称',
  `teacher_rank` int DEFAULT NULL COMMENT '该科目，学院下排名',
  `teacher_count` int DEFAULT NULL COMMENT '教师人数',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `t_a_exam_course_college_teacher_idx` (`exam_id`,`course_code`,`teacher_name`,`inspect_college_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='参考课程学院下授课教师维度分析表（考试id、课程编号、考察学院id、教师id）';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_a_exam_course_difficult`
--

DROP TABLE IF EXISTS `t_a_exam_course_difficult`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_a_exam_course_difficult` (
  `id` bigint NOT NULL COMMENT 'id',
  `exam_id` bigint NOT NULL COMMENT '考试id',
  `school_id` bigint DEFAULT NULL,
  `course_code` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '科目编码',
  `course_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '科目名称',
  `college_id` bigint NOT NULL COMMENT '学院id',
  `interpret` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '难度类型',
  `count` int DEFAULT NULL COMMENT '该难度题目数量',
  `scope` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '难度范围',
  `sch_avg_score_rate` decimal(12,4) DEFAULT NULL COMMENT '各难度题在全校的平均得分率',
  `col_avg_score_rate` decimal(12,4) DEFAULT NULL COMMENT '各难度题在学院的平均得分率',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='考试课程，各难度题目得分率表（难度题得分率、中等难度题得分率、简单题得分率）';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_a_exam_course_dio`
--

DROP TABLE IF EXISTS `t_a_exam_course_dio`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_a_exam_course_dio` (
  `id` bigint NOT NULL COMMENT 'id',
  `exam_id` bigint NOT NULL COMMENT '考试id',
  `school_Id` bigint DEFAULT NULL,
  `course_code` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '科目编码',
  `course_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '科目名称',
  `paper_id` bigint NOT NULL COMMENT '试卷id',
  `dimension_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '考察点类型',
  `dimension_code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '考察点编号',
  `score_rate` decimal(12,4) DEFAULT NULL COMMENT '该考察点平均得分率',
  `total_score` decimal(12,4) DEFAULT NULL COMMENT '该考察点在试卷中的总分',
  `total_count` decimal(12,4) DEFAULT NULL COMMENT '该考察点考察的题目数量',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `t_a_exam_course_dio_idx` (`exam_id`,`course_code`,`dimension_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='参考课程试卷考察点（整体情况）维度表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_a_exam_course_record`
--

DROP TABLE IF EXISTS `t_a_exam_course_record`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_a_exam_course_record` (
  `id` bigint NOT NULL,
  `school_id` bigint DEFAULT NULL,
  `exam_record_id` bigint NOT NULL COMMENT '基础考生成绩记录表id',
  `total_score` decimal(12,4) DEFAULT NULL COMMENT '卷面成绩（冗余）',
  `assigned_score` decimal(12,4) DEFAULT NULL COMMENT '赋分后成绩',
  `percent_grade` int DEFAULT NULL COMMENT '百分位等级',
  `score_level` varchar(16) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '得分水平 ABCDE',
  `col_rank` int DEFAULT NULL COMMENT '该学生成绩在学院中的排名（赋分）',
  `rank_level` varchar(16) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '该学生成绩排名所在的等级（col_rank）',
  `over_college_rate` decimal(12,4) DEFAULT NULL COMMENT '超过本院占比（赋分）',
  `standardized_coefficients` decimal(12,4) DEFAULT NULL COMMENT '标准回归系数',
  `exam_id` bigint DEFAULT NULL,
  `course_code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `paper_id` bigint DEFAULT NULL COMMENT '试卷id（冗余）',
  `paper_type` varchar(16) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '试卷类型（冗余）',
  `student_id` bigint DEFAULT NULL,
  `student_code` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '学生编号',
  `teacher_id` bigint DEFAULT NULL,
  `clazz_id` bigint DEFAULT NULL,
  `teach_college_id` bigint DEFAULT NULL,
  `inspect_college_id` bigint DEFAULT NULL,
  `major_id` bigint DEFAULT NULL,
  `absent` tinyint DEFAULT NULL COMMENT '是否缺考 1缺考 0正常（冗余）',
  `student_current` tinyint DEFAULT NULL COMMENT '是否应届 1应届 0非应届（冗余）',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `t_a_exam_course_record_idx` (`exam_id`,`course_code`,`exam_record_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='参考课程考生成绩维度表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_a_exam_course_record_dio`
--

DROP TABLE IF EXISTS `t_a_exam_course_record_dio`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_a_exam_course_record_dio` (
  `id` bigint NOT NULL COMMENT 'id',
  `school_id` bigint DEFAULT NULL,
  `exam_record_id` bigint NOT NULL COMMENT '基础考生成绩记录表id',
  `paper_id` bigint NOT NULL COMMENT '试卷id',
  `exam_id` bigint DEFAULT NULL,
  `course_code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `course_name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `student_id` bigint DEFAULT NULL,
  `student_code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `dimension_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '模块类型',
  `dimension_code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '维度编号',
  `student_score` decimal(12,4) DEFAULT NULL COMMENT '该学生在该知识点的得分',
  `score_rate` decimal(12,4) DEFAULT NULL COMMENT '得分率',
  `proficiency` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '熟练度等级',
  `inspect_college_id` bigint DEFAULT NULL COMMENT '考察学院id',
  `inspect_college_name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '考察学院名称',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='参考课程考生各考察点维度分析表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_a_exam_course_record_mod`
--

DROP TABLE IF EXISTS `t_a_exam_course_record_mod`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_a_exam_course_record_mod` (
  `id` bigint NOT NULL,
  `school_id` bigint DEFAULT NULL,
  `exam_record_id` bigint NOT NULL COMMENT '基础考生成绩表id',
  `paper_id` bigint NOT NULL COMMENT '试卷id',
  `exam_id` bigint DEFAULT NULL,
  `course_code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `course_name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `student_id` bigint DEFAULT NULL,
  `student_code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `module_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '考察模块名称',
  `total_score` decimal(12,4) DEFAULT NULL COMMENT '该考生在该模块的总得分（实际分）',
  `score_rate` decimal(12,4) DEFAULT NULL COMMENT '该学生在该考察模块的整体掌握率（total_score/full_score）',
  `full_score` decimal(12,4) DEFAULT NULL COMMENT '考察模块在试卷中的总分(实际分)',
  `proficiency` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '该学生在该模块掌握的熟练度（score_rate）',
  `col_rank` int DEFAULT NULL COMMENT '该学生在该模块的得分在学院排名(赋分)',
  `percent_grade` int DEFAULT NULL COMMENT '百分等级数',
  `level` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '等级(不确定百分等级、排名等级、得分率等级)',
  `inspect_college_id` bigint DEFAULT NULL COMMENT '所属考察学院id',
  `inspect_college_name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '学生所属考察学院名称',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='参考课程考生考察点模块维度表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_a_exam_course_teacher`
--

DROP TABLE IF EXISTS `t_a_exam_course_teacher`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_a_exam_course_teacher` (
  `id` bigint NOT NULL COMMENT 'id',
  `exam_id` bigint NOT NULL COMMENT '考试id',
  `school_id` bigint DEFAULT NULL,
  `course_code` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '科目编码',
  `course_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '科目名称',
  `teacher_id` bigint NOT NULL COMMENT '教师id',
  `teacher_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '授课教师名称（冗余字段）',
  `min_score` decimal(12,4) DEFAULT NULL COMMENT '最低分',
  `max_score` decimal(12,4) DEFAULT NULL COMMENT '最高分',
  `avg_score` decimal(12,4) DEFAULT NULL COMMENT '平均分',
  `upper_quartile` decimal(12,4) DEFAULT NULL COMMENT '上四分位数',
  `median` decimal(12,4) DEFAULT NULL COMMENT '中位数',
  `lower_quartile` decimal(12,4) DEFAULT NULL COMMENT '下四分位数',
  `mode` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '众数',
  `standard_deviation` decimal(12,4) DEFAULT NULL COMMENT '标准差',
  `relative_position` decimal(12,4) DEFAULT NULL COMMENT '相对位置',
  `reality_count` int DEFAULT NULL COMMENT '实际参考人数',
  `absent_count` int DEFAULT NULL COMMENT '缺考人数',
  `total_count` int DEFAULT NULL COMMENT '总人数',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `t_a_exam_course_teacher_idx` (`exam_id`,`course_code`,`teacher_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='参考课程授课教师维度表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_a_exam_total`
--

DROP TABLE IF EXISTS `t_a_exam_total`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_a_exam_total` (
  `id` bigint NOT NULL,
  `exam_id` bigint NOT NULL COMMENT '基础考试表id',
  `school_id` bigint DEFAULT NULL,
  `college_count` int DEFAULT NULL COMMENT '考察学院总数',
  `college_names` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '考察学院名称（、隔开）',
  `course_count` int DEFAULT NULL COMMENT '课程总数',
  `public_course_count` int DEFAULT NULL COMMENT '公共课总数',
  `major_course_count` int DEFAULT NULL COMMENT '专业课总数',
  `total_count` int DEFAULT NULL COMMENT '总人数',
  `reality_count` int DEFAULT NULL COMMENT '实际参考人数',
  `absent_count` int DEFAULT NULL COMMENT '缺考人数',
  `total_course_times` int DEFAULT NULL COMMENT '总考试科次',
  `reality_course_times` int DEFAULT NULL COMMENT '实际考科次',
  `absent_course_times` int DEFAULT NULL COMMENT '缺考科次',
  `exam_time` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '考试时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='考试维度总计';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_a_paper_struct`
--

DROP TABLE IF EXISTS `t_a_paper_struct`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_a_paper_struct` (
  `id` bigint NOT NULL,
  `school_id` bigint DEFAULT NULL,
  `paper_struct_id` bigint NOT NULL COMMENT '基础试卷结构表id',
  `exam_id` bigint DEFAULT NULL COMMENT '考试id',
  `course_code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '课程编号',
  `course_name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '课程名称',
  `paper_id` bigint DEFAULT NULL COMMENT '基础试卷表id（冗余）',
  `question_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '大题名称',
  `number_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '题号类型（客观题、主观题）',
  `big_question_number` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '大题号',
  `small_question_number` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '小题号(每一课程试卷的唯一标识)',
  `question_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '题目类型',
  `full_score` decimal(12,4) DEFAULT NULL COMMENT '满分',
  `score_rules` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '计分规则',
  `rules_desc` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '规则说明',
  `knowledge_dimension` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '知识维度',
  `ability_dimension` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '能力维度',
  `literacy_dimension` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '素养维度',
  `score_rate` decimal(12,4) DEFAULT NULL COMMENT '得分率',
  `difficult` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '难度',
  `validity` decimal(12,4) DEFAULT NULL COMMENT '效度',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `t_a_paper_struct_idx` (`exam_id`,`course_code`,`paper_struct_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='试卷结构维度分析表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_b_answer`
--

DROP TABLE IF EXISTS `t_b_answer`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_b_answer` (
  `id` bigint NOT NULL COMMENT '考生作答记录详情id',
  `exam_record_id` bigint NOT NULL COMMENT '考试记录id',
  `number_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '题号类型（客观题、主观题）',
  `main_number` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '大题号',
  `sub_number` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '小题号',
  `answer` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '考生作答答案',
  `score` decimal(12,4) DEFAULT NULL COMMENT '分数',
  `path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '作答轨迹',
  `time` bigint DEFAULT NULL COMMENT '作答时间',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `t_b_answer_idx` (`exam_record_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='基础考生作答记录详情表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_b_cloud_exam`
--

DROP TABLE IF EXISTS `t_b_cloud_exam`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_b_cloud_exam` (
  `id` bigint NOT NULL COMMENT '对应云阅卷主键',
  `exam_id` bigint NOT NULL COMMENT '教研分析考试id',
  `school_id` bigint NOT NULL COMMENT '学校id',
  `enable` tinyint NOT NULL DEFAULT '1' COMMENT '是否启用，false：停用，true：启用',
  `remark` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '备注（记录云阅卷该考试下包含的学科名称）',
  `access_key` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '密钥key',
  `access_secret` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '密钥secret',
  `create_id` bigint DEFAULT NULL COMMENT '创建人id',
  `create_time` bigint DEFAULT NULL COMMENT '创建人名称',
  `update_id` bigint DEFAULT NULL COMMENT '更新人id',
  `update_time` bigint DEFAULT NULL COMMENT '更新人名称',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='云阅卷考试信息表（同步考生成绩使用）';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_b_common_level_config`
--

DROP TABLE IF EXISTS `t_b_common_level_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_b_common_level_config` (
  `id` bigint NOT NULL COMMENT '常规等级配置表主键',
  `exam_id` bigint NOT NULL,
  `course_code` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '科目编码',
  `course_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '科目名称',
  `level_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '等级类型（熟练度、百分等级、题目难度）',
  `level` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '等级',
  `scope` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '取值范围（计算用）',
  `interpret` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '描述',
  `min` decimal(12,4) DEFAULT NULL COMMENT '最小边界（展示用）',
  `max` decimal(12,4) DEFAULT NULL COMMENT '最大边界（展示用）',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='等级配置表（试卷难易度、成绩在学院排名百分比）';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_b_common_rank_level_config`
--

DROP TABLE IF EXISTS `t_b_common_rank_level_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_b_common_rank_level_config` (
  `id` bigint NOT NULL,
  `exam_id` bigint NOT NULL,
  `course_code` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '科目编码',
  `course_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '科目名称',
  `level` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '等级',
  `min` decimal(12,4) DEFAULT NULL COMMENT '展示用最小值',
  `max` decimal(12,4) DEFAULT NULL COMMENT '展示用最大值',
  `scope` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '取值范围（计算用）',
  `interpret` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '解释',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='学生成绩在学院排名的配置表（赋分成绩在学院排名档次）';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_b_dimension`
--

DROP TABLE IF EXISTS `t_b_dimension`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_b_dimension` (
  `id` bigint NOT NULL,
  `exam_id` bigint DEFAULT NULL COMMENT '考试id',
  `course_code` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '科目编码',
  `course_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '科目名称',
  `dimension_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '维度类型 - 知识，能力，素养',
  `code_primary` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '一级维度编号',
  `name_primary` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '一级维度名称',
  `code_second` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '二级维度编号',
  `name_second` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '二级维度名称',
  `interpretation` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '一级维度术语解释',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `t_b_dimension_idx` (`exam_id`,`course_code`,`dimension_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='考察点维度基础表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_b_exam`
--

DROP TABLE IF EXISTS `t_b_exam`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_b_exam` (
  `id` bigint NOT NULL COMMENT '教研分析考试主键',
  `school_id` bigint NOT NULL COMMENT '学校id',
  `exam_code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '考试编号（在学校下唯一）',
  `exam_name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '考试名称（2020~2021学年上学期期末考试）',
  `semester` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '学期（枚举类-第一学期-第二学期）',
  `exam_time` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '考试时间',
  `create_id` bigint DEFAULT NULL,
  `create_time` bigint DEFAULT NULL,
  `update_id` bigint DEFAULT NULL,
  `update_time` bigint DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='教研分析基础考试信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_b_exam_course`
--

DROP TABLE IF EXISTS `t_b_exam_course`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_b_exam_course` (
  `id` bigint NOT NULL COMMENT '主键',
  `school_id` bigint DEFAULT NULL COMMENT '学校id',
  `exam_id` bigint NOT NULL COMMENT '考试id',
  `course_code` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '科目编码',
  `course_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '科目名称',
  `test_status` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '测试状态（UN_TEST：未测试、TEST：已测试、CHECKED：已抽检）',
  `publish_status` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '发布状态（UN_COMPUTE：未计算、UN_PUBLISH：未发布、PUBLISH：已发布）',
  `create_id` bigint DEFAULT NULL COMMENT '创建人',
  `create_time` bigint DEFAULT NULL COMMENT '创建时间',
  `update_id` bigint DEFAULT NULL COMMENT '更新人',
  `update_time` bigint DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='考试科目表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_b_exam_record`
--

DROP TABLE IF EXISTS `t_b_exam_record`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_b_exam_record` (
  `id` bigint NOT NULL,
  `exam_id` bigint NOT NULL COMMENT '考试id',
  `paper_id` bigint NOT NULL COMMENT '试卷id',
  `paper_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '试卷类型',
  `exam_student_id` bigint NOT NULL COMMENT '考生id',
  `subjective_score` decimal(12,4) DEFAULT NULL COMMENT '主观题总分',
  `objective_score` decimal(12,4) DEFAULT NULL COMMENT '客观题总分',
  `total_score` decimal(12,4) DEFAULT NULL COMMENT '总分',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='考生考试记录';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_b_exam_student`
--

DROP TABLE IF EXISTS `t_b_exam_student`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_b_exam_student` (
  `id` bigint NOT NULL COMMENT '主键',
  `school_id` bigint DEFAULT NULL COMMENT '学校id',
  `exam_id` bigint NOT NULL COMMENT '考试id',
  `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '姓名',
  `student_id` bigint NOT NULL COMMENT '学生id',
  `course_code` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '科目编码',
  `course_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '科目名称',
  `teach_college_id` bigint NOT NULL COMMENT '开课学院id',
  `inspect_college_id` bigint NOT NULL COMMENT '考查学院id',
  `clazz_id` bigint NOT NULL COMMENT '考试时候的班级id',
  `major_id` bigint DEFAULT NULL COMMENT '考试时候所在的专业id',
  `teacher_id` bigint NOT NULL COMMENT '授课老师id',
  `ticket_number` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '准考证号',
  `student_code` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '学号',
  `absent` tinyint NOT NULL DEFAULT '0' COMMENT '是否缺考，false：没缺考，true：缺考',
  `student_current` tinyint NOT NULL DEFAULT '1' COMMENT '是否本届，false：非本届，true：本届',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='考生表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_b_module_config`
--

DROP TABLE IF EXISTS `t_b_module_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_b_module_config` (
  `id` bigint NOT NULL,
  `exam_id` bigint NOT NULL COMMENT '考试id',
  `course_code` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '科目编码',
  `course_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '科目名称',
  `module_type` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '模块类型（知识、维度、素养）',
  `formula` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '计算公式规则',
  `scope` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '取值范围（计算用）',
  `level_code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '等级',
  `level_name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '水平等级层次',
  `result` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '诊断结果',
  `advice` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '学习建议',
  `attribute` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '试卷结构表（t_b_paper_struct）中的模块属性列的列名称',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='考察点模块配置表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_b_module_proficiency`
--

DROP TABLE IF EXISTS `t_b_module_proficiency`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_b_module_proficiency` (
  `id` bigint NOT NULL COMMENT '模块熟练度主键',
  `exam_id` bigint NOT NULL COMMENT '考试id',
  `course_code` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '科目编码',
  `course_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '科目名称',
  `module_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '模块类型',
  `interpret` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '解释',
  `remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '备注',
  `define` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '二级熟练度定义',
  `level` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '等级',
  `min` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '展示用最小边界',
  `max` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '展示用最大边界',
  `scope` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '取值范围（计算用）',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='模块二级考察点维度熟练度配置，及模块简要描述表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_b_paper`
--

DROP TABLE IF EXISTS `t_b_paper`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_b_paper` (
  `id` bigint NOT NULL COMMENT '试卷id',
  `exam_id` bigint NOT NULL COMMENT '考试id',
  `course_code` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '科目编码',
  `course_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '科目名称',
  `paper_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '试卷类型',
  `start_time` bigint DEFAULT NULL COMMENT '该试卷考试开始时间',
  `end_time` bigint DEFAULT NULL COMMENT '该试卷考试结束时间',
  `coefficient` decimal(12,4) DEFAULT NULL COMMENT '赋分系数（赋值分=卷面成绩 +（卷面满分-卷面成绩）/ 赋分系数）',
  `total_score` decimal(12,4) DEFAULT NULL COMMENT '试卷满分',
  `pass_score` decimal(12,4) DEFAULT NULL COMMENT '试卷及格分',
  `score_type` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '赋分类型\\n1.NEED_ASSIGN_SCORE("是","需要且按照公式赋分")\\n2.NO_NEED_ASSIGN_SCORE("否","不需要赋分，标准分即为赋分")\\n3.SPECIAL_ASSIGN_SCORE("特殊赋分","特殊赋分，按照excel表进行赋分")',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `t_b_paper_idx` (`exam_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='试卷基础信息表（赋分系数、试卷类型、满分、及格分等）';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_b_paper_struct`
--

DROP TABLE IF EXISTS `t_b_paper_struct`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_b_paper_struct` (
  `id` bigint NOT NULL,
  `paper_id` bigint DEFAULT NULL COMMENT '试卷基础表id',
  `question_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '大题名称',
  `number_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '题号类型（客观题、主观题）',
  `big_question_number` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '大题号',
  `small_question_number` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '小题号(每一课程试卷的唯一标识)',
  `question_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '题目类型',
  `full_score` decimal(12,4) DEFAULT NULL COMMENT '满分',
  `score_rules` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '计分规则',
  `rules_desc` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '规则说明',
  `knowledge_dimension` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '知识维度',
  `ability_dimension` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '能力维度',
  `literacy_dimension` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '素养维度',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `t_b_paper_struct_idx` (`paper_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='试卷结构表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_b_school_clazz`
--

DROP TABLE IF EXISTS `t_b_school_clazz`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_b_school_clazz` (
  `id` bigint NOT NULL COMMENT '班级id',
  `school_id` bigint NOT NULL COMMENT '学校id',
  `clazz_code` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '班级编号',
  `clazz_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '班级名称',
  `enable` tinyint DEFAULT '1' COMMENT '是否启用，false：停用，true：启用',
  `create_id` bigint DEFAULT NULL,
  `create_time` bigint DEFAULT NULL,
  `update_id` bigint DEFAULT NULL,
  `update_time` bigint DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='学校班级表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_b_school_major`
--

DROP TABLE IF EXISTS `t_b_school_major`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_b_school_major` (
  `id` bigint NOT NULL,
  `school_id` bigint DEFAULT NULL COMMENT '学校id',
  `major_code` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '专业编号',
  `major_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '专业名称',
  `enable` tinyint DEFAULT '1' COMMENT '是否启用，false：停用，true：启用',
  `create_id` bigint DEFAULT NULL,
  `create_time` bigint DEFAULT NULL,
  `update_id` bigint DEFAULT NULL,
  `update_time` bigint DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='学校专业表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_b_session`
--

DROP TABLE IF EXISTS `t_b_session`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_b_session` (
  `id` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '主键',
  `identity` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '用户标识',
  `type` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '用户类型',
  `source` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '访问来源',
  `platform` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '设备分类',
  `device_id` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '设备标识',
  `address` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '登录IP地址',
  `access_token` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '访问令牌',
  `last_access_time` bigint DEFAULT NULL COMMENT '最近访问时间',
  `last_access_ip` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '最近访问IP地址',
  `update_time` bigint DEFAULT NULL COMMENT '令牌更新时间',
  `expire_time` bigint DEFAULT NULL COMMENT '令牌强制失效时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='会话表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_b_student`
--

DROP TABLE IF EXISTS `t_b_student`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_b_student` (
  `id` bigint NOT NULL,
  `school_id` bigint NOT NULL COMMENT '学校id',
  `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '姓名',
  `student_code` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '学号(某学校学生的唯一标识)',
  `gender` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '性别，MAN：男，WOMAN：女',
  `person_img_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '照片地址',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='基础学生表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_b_task`
--

DROP TABLE IF EXISTS `t_b_task`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_b_task` (
  `id` bigint NOT NULL COMMENT '主键',
  `type` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '任务类型，QUESTION_MISSION_BATCH_CREATE：批量新建命题任务，\nSAMPLE_EXPORT：导出审核样本，\nEXAMINATION_IMPORT：考务数据导入，\nEXAMINATION_EXPORT：考务数据导出，\nPRINT_PDF_DOWNLOAD：批量下载pdf，\nCREATE_PDF：生成pdf',
  `entity_id` bigint DEFAULT NULL COMMENT '关联业务对象id',
  `status` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '任务状态，INIT：未开始，RUNNING：进行中，FINISH：已完成',
  `summary` varchar(2000) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '实时摘要信息',
  `progress` double DEFAULT NULL COMMENT '执行进度',
  `result` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '数据结果，SUCCESS：成功，ERROR：失败',
  `enable` tinyint NOT NULL DEFAULT '1' COMMENT '是否启用，false：停用，true：启用',
  `import_file_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '导入文件名',
  `import_file_path` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '导入文件路径',
  `result_file_path` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '导出文件路径',
  `report_file_path` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '报告路径',
  `create_time` bigint DEFAULT NULL COMMENT '创建时间',
  `create_id` bigint DEFAULT NULL COMMENT '创建人id',
  `school_id` bigint DEFAULT NULL COMMENT '学校id',
  `org_id` bigint DEFAULT NULL COMMENT '机构id',
  `print_plan_id` bigint DEFAULT NULL COMMENT '印刷计划id',
  `remark` mediumtext CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '备注',
  `obj_name` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '实体名称',
  `reset_count` int DEFAULT '0' COMMENT '重试次数',
  `version` int DEFAULT '0' COMMENT '更新版本号',
  `error_message` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '人工错误原因',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='导入导出任务表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `t_g_error`
--

DROP TABLE IF EXISTS `t_g_error`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_g_error` (
  `id` bigint NOT NULL COMMENT '主键',
  `obj_id` bigint DEFAULT NULL COMMENT '实体id',
  `summary` mediumtext CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '实时摘要信息',
  `create_time` bigint DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='全局异常错误信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping routines for database 'teachcloud-report'
--
/*!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 2021-06-11 15:37:52
