From d4966a458716388918e1bceaad35761600c46997 Mon Sep 17 00:00:00 2001 From: Alan <3052806735@qq.com> Date: Mon, 3 Jun 2024 10:53:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=EF=BC=8C=E8=AF=BE=E7=A8=8B?= =?UTF-8?q?=E7=9B=AE=E6=A0=87=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sql/course_objectives.sql | 47 ++++++++++++++++++++++++++++++++ sql/courses.sql | 56 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 103 insertions(+) create mode 100644 sql/course_objectives.sql create mode 100644 sql/courses.sql diff --git a/sql/course_objectives.sql b/sql/course_objectives.sql new file mode 100644 index 0000000..1fa3f87 --- /dev/null +++ b/sql/course_objectives.sql @@ -0,0 +1,47 @@ +/* +SQLyog Ultimate v12.09 (64 bit) +MySQL - 8.0.12 : Database - teaching_db +********************************************************************* +*/ + +/*!40101 SET NAMES utf8 */; + +/*!40101 SET SQL_MODE=''*/; + +/*!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 */; +CREATE DATABASE /*!32312 IF NOT EXISTS*/`teaching_db` /*!40100 DEFAULT CHARACTER SET utf8 */; + +USE `teaching_db`; + +/*Table structure for table `course_objectives` */ + +DROP TABLE IF EXISTS `course_objectives`; + +CREATE TABLE `course_objectives` ( + `id` varchar(36) NOT NULL COMMENT '内部编号', + `create_by` varchar(50) DEFAULT NULL COMMENT '创建人', + `create_time` datetime DEFAULT NULL COMMENT '创建日期', + `update_by` varchar(50) DEFAULT NULL COMMENT '更新人', + `update_time` datetime DEFAULT NULL COMMENT '更新日期', + `pid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '0' COMMENT '父级节点 默认0没有', + `has_child` varchar(3) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '0' COMMENT '是否有子节点 添加子节点变1,默认0没有', + `name` varchar(200) DEFAULT NULL COMMENT '目标名称', + `type` varchar(10) DEFAULT NULL COMMENT '目标类型', + `content` text COMMENT '目标内容', + `courseid` varchar(32) DEFAULT NULL COMMENT '课程id', + `requireid` varchar(32) DEFAULT NULL COMMENT '毕业要求id', + `temp` text COMMENT '毕业要求', + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +/*Data for the table `course_objectives` */ + +insert into `course_objectives`(`id`,`create_by`,`create_time`,`update_by`,`update_time`,`pid`,`has_child`,`name`,`type`,`content`,`courseid`,`requireid`,`temp`) values ('43f2c4b4a10a47784e50e772b9d10457','2140110334','2024-05-31 17:39:13',NULL,NULL,'0','0','测试课程课程总体目标',NULL,NULL,'6f5de6dd8c8d5d9d02a63c8444b9d5bb',NULL,NULL),('7a302cd72d653647778840b42f4e076a',NULL,'2024-06-03 10:43:13',NULL,NULL,'0','0','软件构造课程总体目标',NULL,NULL,'ee2447b4463a5ad3f47e1744d912a824',NULL,NULL),('b41fa8332f39cca11d35635bd9fac720','2140110334','2024-05-31 11:24:33',NULL,NULL,'0','0','计算机导论课程总体目标',NULL,NULL,'2fa0fd63262230639d2c45a3acd9045c',NULL,NULL),('d452f583115465d067a1719458690b95','2140110334','2024-05-31 11:16:37',NULL,NULL,'0','0','计算机组成原理总体目标',NULL,NULL,'36c34a4225526dd20ee3840da61d3701',NULL,NULL),('da6e7283befa8965dae0f0f39ea7f24e',NULL,'2024-05-31 20:49:52',NULL,NULL,'0','1','离散数学及其应用课程总体目标',NULL,NULL,'de3100cad98f76be3176dd39aa748a9e',NULL,NULL),('e668f90e40d85e051381541b9d8436c3',NULL,'2024-05-31 20:49:52',NULL,'2024-06-03 09:51:31','da6e7283befa8965dae0f0f39ea7f24e','1','思政目标','1','阿巴阿巴2','de3100cad98f76be3176dd39aa748a9e',NULL,NULL); + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; diff --git a/sql/courses.sql b/sql/courses.sql new file mode 100644 index 0000000..5707327 --- /dev/null +++ b/sql/courses.sql @@ -0,0 +1,56 @@ +/* +SQLyog Ultimate v12.09 (64 bit) +MySQL - 8.0.12 : Database - teaching_db +********************************************************************* +*/ + +/*!40101 SET NAMES utf8 */; + +/*!40101 SET SQL_MODE=''*/; + +/*!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 */; +CREATE DATABASE /*!32312 IF NOT EXISTS*/`teaching_db` /*!40100 DEFAULT CHARACTER SET utf8 */; + +USE `teaching_db`; + +/*Table structure for table `courses` */ + +DROP TABLE IF EXISTS `courses`; + +CREATE TABLE `courses` ( + `id` varchar(36) NOT NULL COMMENT '内部编号', + `create_time` datetime DEFAULT NULL COMMENT '创建时间', + `update_time` datetime DEFAULT NULL COMMENT '更新时间', + `img` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '课程封面', + `category` varchar(50) DEFAULT NULL COMMENT '课程类别', + `nature` varchar(50) DEFAULT NULL COMMENT '课程性质', + `name` varchar(100) DEFAULT NULL COMMENT '课程名称', + `code` varchar(50) DEFAULT NULL COMMENT '课程编码', + `semester` varchar(50) DEFAULT NULL COMMENT '开课学期', + `credit` decimal(5,0) DEFAULT NULL COMMENT '课程学分', + `classhours` int(11) DEFAULT NULL COMMENT '课程学时', + `theoryhours` int(11) DEFAULT NULL COMMENT '理论学时', + `practicehours` int(11) DEFAULT NULL COMMENT '实践学时', + `experimenthours` int(11) DEFAULT NULL COMMENT '实验学时', + `otherhours` int(11) DEFAULT NULL COMMENT '其他学时', + `weeks` int(11) DEFAULT NULL COMMENT '上课周数', + `assessmenttype` varchar(32) DEFAULT NULL COMMENT '考核类型', + `assessmentway` varchar(32) DEFAULT NULL COMMENT '考核方式', + `teacher` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '负责教师', + `teachermethod` text COMMENT '教学方法', + `teacherway` text COMMENT '教学方式', + `description` text COMMENT '课程简介', + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +/*Data for the table `courses` */ + +insert into `courses`(`id`,`create_time`,`update_time`,`img`,`category`,`nature`,`name`,`code`,`semester`,`credit`,`classhours`,`theoryhours`,`practicehours`,`experimenthours`,`otherhours`,`weeks`,`assessmenttype`,`assessmentway`,`teacher`,`teachermethod`,`teacherway`,`description`) values ('2fa0fd63262230639d2c45a3acd9045c','2024-05-30 20:58:34',NULL,'','1','1','计算机导论','111007',NULL,'4',64,NULL,NULL,NULL,NULL,NULL,'1','1','2140110334,2140110339','暂定','线下授课',NULL),('36c34a4225526dd20ee3840da61d3701','2024-05-28 20:58:36',NULL,'','1','1','计算机组成原理','111006',NULL,'4',64,NULL,NULL,NULL,NULL,NULL,'1','1','2140110334,2140110339','暂定','线下授课',NULL),('6f5de6dd8c8d5d9d02a63c8444b9d5bb','2024-05-26 20:58:40',NULL,'','1','1','测试课程','111008',NULL,'4',64,NULL,NULL,NULL,NULL,NULL,'1','1','2140110334,2140110339','暂定','线下授课',NULL),('8721e6864387eb99b04692f125ac0a9f','2024-05-27 20:58:43',NULL,'','1','1','SQLServer数据库教程','111004',NULL,'4',0,NULL,NULL,NULL,NULL,NULL,'1','1','2140110334,2140110327','暂定111','线下机房授课',NULL),('90ce365ae4e362f616776550e04ae0b4','2024-05-24 20:58:48',NULL,'','1','1','JavaEE','111002',NULL,'4',0,NULL,NULL,NULL,NULL,NULL,'1','1','2140110334,2140110327','暂定','线下机房授课',NULL),('a2ba84374d86e85208c5906a96ea8205','2024-05-24 20:58:48',NULL,'https://teaching-edu123.oss-cn-beijing.aliyuncs.com/Borovets_ZH-CN5914681811_UHD.jpg','1','1','JavaWeb','111003',NULL,'4',0,NULL,NULL,NULL,NULL,NULL,'1','1','2140110334,2140110327','暂定','线下机房授课',NULL),('d511d26df8de551bc85ce765089771b4','2024-05-24 20:58:48',NULL,'','1','1','高级编程','111001',NULL,'4',0,NULL,NULL,NULL,NULL,NULL,'1','1','2140110334,2140110327','暂定','线下机房授课',NULL),('de3100cad98f76be3176dd39aa748a9e','2024-05-31 20:49:52',NULL,'','1','1','离散数学及其应用','111009',NULL,'2',64,NULL,NULL,NULL,NULL,NULL,'1','1','2140110334','暂定','线下授课',NULL); + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;