diff --git a/Jd-Jwsystem-master/.gitignore b/Jd-Jwsystem-master/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..6d926171179a61698ccc827694d3e8a0e7da8be1
--- /dev/null
+++ b/Jd-Jwsystem-master/.gitignore
@@ -0,0 +1,40 @@
+# Created by .ignore support plugin (hsz.mobi)
+### Example user template template
+### Example user template
+
+# IntelliJ project files
+.idea
+*.iml
+/.git/
+out
+gen
+### Java template
+# Compiled class file
+*.class
+
+# Log file
+*.log
+
+# BlueJ files
+*.ctxt
+
+# Mobile Tools for Java (J2ME)
+.mtj.tmp/
+
+# Package Files #
+*.jar
+*.war
+*.nar
+*.ear
+*.zip
+*.tar.gz
+*.rar
+
+# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
+hs_err_pid*
+
+
+target/classes/com/
+target/generated-sources/
+target/generated-test-sources/
+target/test-classes/
diff --git a/Jd-Jwsystem-master/README.md b/Jd-Jwsystem-master/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..65a05fe7656b05165674b0c727d1334b7925c64e
--- /dev/null
+++ b/Jd-Jwsystem-master/README.md
@@ -0,0 +1,31 @@
+# 基于springboot的教务管理系统
+
+author:zxw
+
+email:502513206@qq.com
+
+@ Jishou University
+
+------
+
+# 1.前言
+
+本项目采用前后端分离开发,前端项目地址:https://gitee.com/xiaowei_zxw/Jwsystem-ElementUI
+
+本项目为开源项目,不可用作其它用途,麻烦给作者一个star啦,谢谢。
+
+有想法维护项目的可以提交PR,共建开源。
+# 2.用户说明
+本系统未做完善的用户体系,只是简单的分为了4个用户分别为:
+1. 系统管理员:顶层管理员,是教务人员的上级,只管理教务中公共基础的数据,例如:角色管理,权限管理等,如果需要配置角色权限,请登录该用户。
+2. 教务人员:学院级别,每个学院的教务管理员管理自己学院下的相关信息。
+3. 教师
+4. 学生
+
+# 3.项目运行效果
+使用前请在visits表插入最近7天的数据(随便造),不然登录首页时可能会报错。
+
+
+
+
+
diff --git a/Jd-Jwsystem-master/pom.xml b/Jd-Jwsystem-master/pom.xml
new file mode 100644
index 0000000000000000000000000000000000000000..9243523ef5f0c1c0423803272fd556177bbcc244
--- /dev/null
+++ b/Jd-Jwsystem-master/pom.xml
@@ -0,0 +1,116 @@
+
+
+ 4.0.0
+
+
+ org.springframework.boot
+ spring-boot-starter-parent
+ 2.0.1.RELEASE
+
+
+ com.zxw
+ Jd-JwSystem
+ 1.0-SNAPSHOT
+
+
+ org.apache.commons
+ commons-lang3
+ RELEASE
+
+
+ org.springframework.boot
+ spring-boot-starter
+
+
+ org.apache.shiro
+ shiro-spring-boot-web-starter
+ 1.4.0-RC2
+
+
+ org.projectlombok
+ lombok
+ 1.18.8
+
+
+ mysql
+ mysql-connector-java
+
+
+ org.freemarker
+ freemarker
+ 2.3.29
+
+
+ io.springfox
+ springfox-swagger2
+ 2.9.2
+
+
+ io.springfox
+ springfox-swagger-ui
+ 2.9.2
+
+
+ com.baomidou
+ mybatis-plus-generator
+ 3.2.0
+
+
+ com.baomidou
+ mybatis-plus-boot-starter
+ 3.2.0
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+
+
+ com.github.penggle
+ kaptcha
+ 2.3.2
+
+
+ nz.ac.waikato.cms.weka
+ WekaExcel
+ 1.0.5
+
+
+ org.springframework.boot
+ spring-boot-devtools
+ true
+
+
+ com.alibaba
+ fastjson
+ 1.2.58
+
+
+ p6spy
+ p6spy
+ LATEST
+
+
+ org.springframework.boot
+ spring-boot-starter-actuator
+
+
+ org.springframework.boot
+ spring-boot-starter-websocket
+
+
+ org.springframework.hateoas
+ spring-hateoas
+ LATEST
+
+
+ org.springframework.boot
+ spring-boot-starter-aop
+
+
+
\ No newline at end of file
diff --git a/Jd-Jwsystem-master/sql/.keep b/Jd-Jwsystem-master/sql/.keep
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/Jd-Jwsystem-master/sql/jw-springboot.sql b/Jd-Jwsystem-master/sql/jw-springboot.sql
new file mode 100644
index 0000000000000000000000000000000000000000..2f65e12e72df0ccffbec20dc8c4983fc0c9cf8be
--- /dev/null
+++ b/Jd-Jwsystem-master/sql/jw-springboot.sql
@@ -0,0 +1,536 @@
+
+SET NAMES utf8mb4;
+SET FOREIGN_KEY_CHECKS = 0;
+
+-- ----------------------------
+-- Table structure for absent
+-- ----------------------------
+DROP TABLE IF EXISTS `absent`;
+CREATE TABLE `absent` (
+ `id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `cid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `sid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `tid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `create_time` date NULL DEFAULT NULL,
+ `sectionId` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `status` int(11) NULL DEFAULT NULL,
+ `description` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `team_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for auth_function
+-- ----------------------------
+DROP TABLE IF EXISTS `auth_function`;
+CREATE TABLE `auth_function` (
+ `id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '\'cs\'',
+ `description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `page` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `generatemenu` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `zindex` int(11) NULL DEFAULT NULL,
+ `pid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ PRIMARY KEY (`id`) USING BTREE,
+ INDEX `AK_Key_2`(`name`) USING BTREE,
+ INDEX `FK_Reference_1`(`pid`) USING BTREE,
+ CONSTRAINT `FK_Reference_1` FOREIGN KEY (`pid`) REFERENCES `auth_function` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for auth_role
+-- ----------------------------
+DROP TABLE IF EXISTS `auth_role`;
+CREATE TABLE `auth_role` (
+ `id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ PRIMARY KEY (`id`) USING BTREE,
+ INDEX `AK_Key_2`(`name`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for course_comment
+-- ----------------------------
+DROP TABLE IF EXISTS `course_comment`;
+CREATE TABLE `course_comment` (
+ `id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `q1` int(11) NULL DEFAULT NULL,
+ `q2` int(11) NULL DEFAULT NULL,
+ `q3` int(11) NULL DEFAULT NULL,
+ `q4` int(11) NULL DEFAULT NULL,
+ `q5` int(11) NULL DEFAULT NULL,
+ `q6` int(11) NULL DEFAULT NULL,
+ `q7` int(11) NULL DEFAULT NULL,
+ `q8` int(11) NULL DEFAULT NULL,
+ `q9` int(11) NULL DEFAULT NULL,
+ `q10` int(11) NULL DEFAULT NULL,
+ `scontent` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `tcontent` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `tm_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for course_system
+-- ----------------------------
+DROP TABLE IF EXISTS `course_system`;
+CREATE TABLE `course_system` (
+ `id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `status` int(11) NULL DEFAULT 1,
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for menu
+-- ----------------------------
+DROP TABLE IF EXISTS `menu`;
+CREATE TABLE `menu` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID',
+ `i_frame` bit(1) NULL DEFAULT NULL COMMENT '是否外链',
+ `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '菜单名称',
+ `component` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '组件',
+ `pid` bigint(20) NOT NULL DEFAULT 0 COMMENT '上级菜单ID',
+ `sort` bigint(20) NULL DEFAULT NULL COMMENT '排序',
+ `icon` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '图标',
+ `path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '链接地址',
+ `cache` bit(1) NULL DEFAULT b'0',
+ `hidden` bit(1) NULL DEFAULT b'0',
+ `component_name` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '-',
+ `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
+ `permission` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `type` int(11) NULL DEFAULT NULL,
+ PRIMARY KEY (`id`) USING BTREE,
+ INDEX `FKqcf9gem97gqa5qjm4d3elcqt5`(`pid`) USING BTREE
+) ENGINE = InnoDB AUTO_INCREMENT = 53 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = COMPACT;
+
+-- ----------------------------
+-- Table structure for notice
+-- ----------------------------
+DROP TABLE IF EXISTS `notice`;
+CREATE TABLE `notice` (
+ `id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `title` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '标题',
+ `create_time` date NULL DEFAULT NULL COMMENT '创建时间',
+ `update_time` date NULL DEFAULT NULL COMMENT '修改时间',
+ `status` int(11) NULL DEFAULT NULL COMMENT '是否可用',
+ `publisher` varchar(11) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '发布者id',
+ `content` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '内容',
+ `html_content` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for plan
+-- ----------------------------
+DROP TABLE IF EXISTS `plan`;
+CREATE TABLE `plan` (
+ `id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '名称',
+ `create_time` date NULL DEFAULT NULL,
+ `status` int(11) NULL DEFAULT 1,
+ `year_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `specialty_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for plan_course
+-- ----------------------------
+DROP TABLE IF EXISTS `plan_course`;
+CREATE TABLE `plan_course` (
+ `id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `plan_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `course_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for program
+-- ----------------------------
+DROP TABLE IF EXISTS `program`;
+CREATE TABLE `program` (
+ `id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `name` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
+ `year_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `specialty_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `create_time` date NULL DEFAULT NULL,
+ `update_time` date NULL DEFAULT NULL,
+ `status` int(11) NULL DEFAULT NULL,
+ `html_name` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for role_function
+-- ----------------------------
+DROP TABLE IF EXISTS `role_function`;
+CREATE TABLE `role_function` (
+ `role_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `function_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ PRIMARY KEY (`role_id`, `function_id`) USING BTREE,
+ INDEX `FK_Reference_2`(`function_id`) USING BTREE,
+ CONSTRAINT `FK_Reference_2` FOREIGN KEY (`function_id`) REFERENCES `auth_function` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
+ CONSTRAINT `FK_Reference_3` FOREIGN KEY (`role_id`) REFERENCES `auth_role` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for roles_menus
+-- ----------------------------
+DROP TABLE IF EXISTS `roles_menus`;
+CREATE TABLE `roles_menus` (
+ `menu_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '菜单ID',
+ `role_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '角色ID',
+ PRIMARY KEY (`menu_id`, `role_id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = COMPACT;
+
+-- ----------------------------
+-- Table structure for student_role
+-- ----------------------------
+DROP TABLE IF EXISTS `student_role`;
+CREATE TABLE `student_role` (
+ `role_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `student_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ PRIMARY KEY (`student_id`, `role_id`) USING BTREE,
+ INDEX `FKFEE0E3FA33C76441`(`role_id`) USING BTREE,
+ INDEX `FKFEE0E3FA248A3C33`(`student_id`) USING BTREE,
+ CONSTRAINT `FKFEE0E3FA248A3C33` FOREIGN KEY (`student_id`) REFERENCES `t_student` (`sid`) ON DELETE RESTRICT ON UPDATE RESTRICT,
+ CONSTRAINT `FKFEE0E3FA33C76441` FOREIGN KEY (`role_id`) REFERENCES `auth_role` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for t_classes
+-- ----------------------------
+DROP TABLE IF EXISTS `t_classes`;
+CREATE TABLE `t_classes` (
+ `id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `classname` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '教室名称',
+ `specialty_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '专业id',
+ `college_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '学院id',
+ `people` int(11) NULL DEFAULT NULL COMMENT '人数',
+ `grade_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属年级',
+ `year` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '入学年份',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for t_college
+-- ----------------------------
+DROP TABLE IF EXISTS `t_college`;
+CREATE TABLE `t_college` (
+ `id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `status` char(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for t_comments
+-- ----------------------------
+DROP TABLE IF EXISTS `t_comments`;
+CREATE TABLE `t_comments` (
+ `id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `team_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `commentType` int(11) NULL DEFAULT NULL,
+ `commentBatch` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `beginTime` date NULL DEFAULT NULL COMMENT '留言',
+ `endTime` date NULL DEFAULT NULL COMMENT '评价类别',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
+
+-- ----------------------------
+-- Table structure for t_course
+-- ----------------------------
+DROP TABLE IF EXISTS `t_course`;
+CREATE TABLE `t_course` (
+ `id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `credit` decimal(11, 1) NULL DEFAULT NULL COMMENT '学分',
+ `nature_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '课程性质',
+ `total_time` int(20) NULL DEFAULT NULL COMMENT '总学时',
+ `way_id` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '考核方式',
+ `cstatus_id` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '课程属性',
+ `college_id` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '开课学院',
+ `system_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '课程体系',
+ `year_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '学年',
+ `isExam` int(10) NULL DEFAULT NULL COMMENT '是否考试',
+ `status` int(10) NULL DEFAULT 1 COMMENT '状态',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for t_cstatus
+-- ----------------------------
+DROP TABLE IF EXISTS `t_cstatus`;
+CREATE TABLE `t_cstatus` (
+ `id` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `name` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `status` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for t_examway
+-- ----------------------------
+DROP TABLE IF EXISTS `t_examway`;
+CREATE TABLE `t_examway` (
+ `id` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `name` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `status` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for t_grade
+-- ----------------------------
+DROP TABLE IF EXISTS `t_grade`;
+CREATE TABLE `t_grade` (
+ `id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for t_nature
+-- ----------------------------
+DROP TABLE IF EXISTS `t_nature`;
+CREATE TABLE `t_nature` (
+ `id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for t_score
+-- ----------------------------
+DROP TABLE IF EXISTS `t_score`;
+CREATE TABLE `t_score` (
+ `course_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `student_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `teacher_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `attendance` int(11) NULL DEFAULT NULL COMMENT '考勤分数',
+ `usually` int(11) NULL DEFAULT NULL COMMENT '平时分',
+ `exam` int(11) NULL DEFAULT NULL COMMENT '考试分数',
+ `score` int(11) NULL DEFAULT NULL COMMENT '总分数',
+ `absent` int(50) NULL DEFAULT 0,
+ `status` int(11) NULL DEFAULT 0 COMMENT '课程状态,选课',
+ `point` decimal(11, 1) NULL DEFAULT NULL,
+ PRIMARY KEY (`student_id`, `course_id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for t_section
+-- ----------------------------
+DROP TABLE IF EXISTS `t_section`;
+CREATE TABLE `t_section` (
+ `id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `week` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `section` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for t_specialty
+-- ----------------------------
+DROP TABLE IF EXISTS `t_specialty`;
+CREATE TABLE `t_specialty` (
+ `id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `time` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '学制',
+ `category` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '学位授予门类',
+ `college_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `status` char(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for t_student
+-- ----------------------------
+DROP TABLE IF EXISTS `t_student`;
+CREATE TABLE `t_student` (
+ `sid` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '学号',
+ `password` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '密码',
+ `sname` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '姓名',
+ `sex` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '性别',
+ `scity` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '户籍',
+ `qx` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '权限',
+ `absent` int(11) NULL DEFAULT NULL COMMENT '考勤',
+ `classes_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '班级id',
+ `grade_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '学年id',
+ `beginTime` date NULL DEFAULT NULL COMMENT '入学日期',
+ `endTime` date NULL DEFAULT NULL COMMENT '离校日期',
+ `phone` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '手机',
+ `idcard` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '身份证',
+ `address` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '家庭地址',
+ `politicalStatus` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '政治面貌',
+ PRIMARY KEY (`sid`) USING BTREE,
+ INDEX `FK_student_class`(`classes_id`) USING BTREE,
+ CONSTRAINT `FK_student_class` FOREIGN KEY (`classes_id`) REFERENCES `t_classes` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for t_teacher
+-- ----------------------------
+DROP TABLE IF EXISTS `t_teacher`;
+CREATE TABLE `t_teacher` (
+ `tid` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '教师编号',
+ `password` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '密码',
+ `tname` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '姓名',
+ `tsex` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '性别',
+ `tage` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '年龄',
+ `status` char(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '状态:0表示在职,1表示辞职,2表示离职',
+ `college_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属院系',
+ `qx` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '权限',
+ `beginTime` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '工作日期',
+ `salary` double NULL DEFAULT NULL COMMENT '薪水',
+ `politicalStatus` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '政治面貌',
+ `address` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '家庭住址',
+ `idcard` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '身份证号',
+ PRIMARY KEY (`tid`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for t_team
+-- ----------------------------
+DROP TABLE IF EXISTS `t_team`;
+CREATE TABLE `t_team` (
+ `id` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `name` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `status` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `start` int(11) NULL DEFAULT NULL,
+ `end` int(11) NULL DEFAULT NULL,
+ `team` int(11) NULL DEFAULT NULL,
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for t_user
+-- ----------------------------
+DROP TABLE IF EXISTS `t_user`;
+CREATE TABLE `t_user` (
+ `id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `username` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `password` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `qx` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `status` varchar(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `collegeId` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for t_week
+-- ----------------------------
+DROP TABLE IF EXISTS `t_week`;
+CREATE TABLE `t_week` (
+ `id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `time` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for t_year
+-- ----------------------------
+DROP TABLE IF EXISTS `t_year`;
+CREATE TABLE `t_year` (
+ `id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `grade` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for teacher_course
+-- ----------------------------
+DROP TABLE IF EXISTS `teacher_course`;
+CREATE TABLE `teacher_course` (
+ `id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `team_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '学期',
+ `teacher_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '教师编号',
+ `week_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '周时',
+ `section_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '课时',
+ `end` int(11) NULL DEFAULT NULL COMMENT '是否结课',
+ `comment` int(11) NULL DEFAULT NULL COMMENT '是否可以评论',
+ `cid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '课程编号',
+ `people` int(11) NULL DEFAULT NULL COMMENT '已选人数',
+ `total_people` int(11) NULL DEFAULT NULL COMMENT '总人数',
+ `classroom` varchar(11) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '上课教室',
+ `status` int(11) NULL DEFAULT NULL,
+ `apply` int(11) NULL DEFAULT NULL COMMENT '申请状态',
+ `classes_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '班级id',
+ `is_classes` int(11) NULL DEFAULT 0 COMMENT '0:未绑定 1:绑定班级',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for teacher_role
+-- ----------------------------
+DROP TABLE IF EXISTS `teacher_role`;
+CREATE TABLE `teacher_role` (
+ `role_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `teacher_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ PRIMARY KEY (`teacher_id`, `role_id`) USING BTREE,
+ INDEX `FKFB4C8AB333C76441`(`role_id`) USING BTREE,
+ INDEX `FKFB4C8AB3352586D3`(`teacher_id`) USING BTREE,
+ CONSTRAINT `FKFB4C8AB333C76441` FOREIGN KEY (`role_id`) REFERENCES `auth_role` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
+ CONSTRAINT `FKFB4C8AB3352586D3` FOREIGN KEY (`teacher_id`) REFERENCES `t_teacher` (`tid`) ON DELETE RESTRICT ON UPDATE RESTRICT
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for team_comment
+-- ----------------------------
+DROP TABLE IF EXISTS `team_comment`;
+CREATE TABLE `team_comment` (
+ `id` bigint(11) NOT NULL AUTO_INCREMENT,
+ `cid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '课程编号',
+ `sid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '学生编号',
+ `tid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '教师编号',
+ `remark` int(11) NULL DEFAULT NULL COMMENT '评分',
+ `status` int(11) NULL DEFAULT NULL COMMENT '已评',
+ `comment_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '评价id',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB AUTO_INCREMENT = 227 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
+
+-- ----------------------------
+-- Table structure for user_notice
+-- ----------------------------
+DROP TABLE IF EXISTS `user_notice`;
+CREATE TABLE `user_notice` (
+ `id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `sid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `tid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `notice_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for user_role
+-- ----------------------------
+DROP TABLE IF EXISTS `user_role`;
+CREATE TABLE `user_role` (
+ `user_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ `role_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ PRIMARY KEY (`user_id`, `role_id`) USING BTREE,
+ INDEX `FK_Reference_5`(`role_id`) USING BTREE,
+ CONSTRAINT `FK_Reference_4` FOREIGN KEY (`user_id`) REFERENCES `t_user` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
+ CONSTRAINT `FK_Reference_5` FOREIGN KEY (`role_id`) REFERENCES `auth_role` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Table structure for visits
+-- ----------------------------
+DROP TABLE IF EXISTS `visits`;
+CREATE TABLE `visits` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `create_time` datetime(0) NULL DEFAULT NULL,
+ `date` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ `ip_counts` bigint(20) NULL DEFAULT NULL,
+ `pv_counts` bigint(20) NULL DEFAULT NULL,
+ `week_day` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
+ PRIMARY KEY (`id`) USING BTREE,
+ UNIQUE INDEX `UK_11aksgq87euk9bcyeesfs4vtp`(`date`) USING BTREE
+) ENGINE = InnoDB AUTO_INCREMENT = 1260956679600623618 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = COMPACT;
+
+SET FOREIGN_KEY_CHECKS = 1;
diff --git "a/Jd-Jwsystem-master/sql/\346\265\213\350\257\225\346\225\260\346\215\256.txt" "b/Jd-Jwsystem-master/sql/\346\265\213\350\257\225\346\225\260\346\215\256.txt"
new file mode 100644
index 0000000000000000000000000000000000000000..b5b88e50933e9e527ad0a1b249166e6bb6bff3b5
--- /dev/null
+++ "b/Jd-Jwsystem-master/sql/\346\265\213\350\257\225\346\225\260\346\215\256.txt"
@@ -0,0 +1,389 @@
+INSERT INTO `jw-springboot`.`auth_role`(`id`, `name`, `code`, `description`) VALUES ('1211619707833311234', '教务人员', 'jwry', '教务人员');
+INSERT INTO `jw-springboot`.`auth_role`(`id`, `name`, `code`, `description`) VALUES ('6b4fef6e4ecb11e8bf5d34de1af4e65a', '讲师', 'js', '讲师');
+INSERT INTO `jw-springboot`.`auth_role`(`id`, `name`, `code`, `description`) VALUES ('6be2e8aa4ec911e8bf5d34de1af4e65a', '管理员', 'gly', '管理员');
+INSERT INTO `jw-springboot`.`auth_role`(`id`, `name`, `code`, `description`) VALUES ('8a6eb9ab5cc439b9015cc43d66590000', '院主任', 'yzr', '院主任');
+INSERT INTO `jw-springboot`.`auth_role`(`id`, `name`, `code`, `description`) VALUES ('b762e0f84ec911e8bf5d34de1af4e65a', '学生', 'xs', '学生');
+
+INSERT INTO `jw-springboot`.`course_system`(`id`, `name`, `status`) VALUES ('1', '公共课程', 1);
+INSERT INTO `jw-springboot`.`course_system`(`id`, `name`, `status`) VALUES ('2', '专业课程', 1);
+INSERT INTO `jw-springboot`.`course_system`(`id`, `name`, `status`) VALUES ('3', '实体教学课程', 1);
+INSERT INTO `jw-springboot`.`course_system`(`id`, `name`, `status`) VALUES ('4', '通识教育', 1);
+INSERT INTO `jw-springboot`.`course_system`(`id`, `name`, `status`) VALUES ('5', '实践与创新创业教育 ', 1);
+INSERT INTO `jw-springboot`.`course_system`(`id`, `name`, `status`) VALUES ('6', '学科基础教育', 1);
+
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (1, b'0', '基础管理', NULL, 0, 1, 'system', 'admin', b'0', b'0', NULL, '2018-12-18 15:11:29', NULL, 0);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (2, b'0', '学院管理', 'admin/college/index', 1, 2, 'peoples', 'college', b'1', b'0', 'College', '2018-12-18 15:14:44', 'user:list', 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (3, b'0', '专业管理', 'admin/specialty/index', 1, 3, 'role', 'specialty', b'1', b'0', 'Specialty', '2018-12-18 15:16:07', 'roles:list', 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (5, b'0', '班级管理', 'admin/classes/index', 1, 5, 'menu', 'classes', b'1', b'0', 'Classes', '2018-12-18 15:17:28', 'menu:list', 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (6, b'0', '权限管理', NULL, 0, 10, 'monitor', 'admin', b'0', b'0', NULL, '2018-12-18 15:17:48', NULL, 0);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (7, b'0', '权限管理', 'admin/menu/index', 6, 1, 'log', 'menu', b'0', b'0', 'Menu', '2018-12-18 15:18:26', NULL, 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (8, b'0', '角色管理', 'admin/role/index', 6, 2, 'redis', 'role', b'0', b'0', 'Role', '2018-12-18 15:19:01', 'redis:list', 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (9, b'0', '用户管理', 'admin/user/index', 6, 3, 'sqlMonitor', 'user', b'0', b'0', 'User', '2018-12-18 15:19:34', NULL, 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (14, b'0', '教学计划管理', '', 0, 0, 'system', 'admin', b'0', b'0', '', '2019-12-30 08:23:35', '', 0);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (15, b'0', '教学执行管理', 'admin/plan/index', 14, 1, 'system', 'plan', b'0', b'0', 'Plan', '2019-12-30 08:46:09', '', 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (16, b'0', '培养方案管理', 'admin/program/index', 14, 2, 'system', 'program', b'0', b'0', 'Program', '2019-12-30 08:46:12', '', 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (17, b'0', '信息查询', '', 0, 0, 'system', 'student', b'0', b'0', '', '2019-12-30 08:46:15', '', 0);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (18, b'0', '个人课表', 'student/schedule/index', 17, 1, 'system', 'schedule', b'0', b'0', 'Schedule', '2019-12-30 08:46:19', '', 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (19, b'0', '成绩查询', 'student/score/index', 17, 2, 'system', 'score', b'0', b'0', 'Score', '2019-12-30 08:46:22', '', 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (20, b'0', '培养管理', '', 0, 0, 'system', 'student', b'0', b'0', '', '2019-12-30 08:46:24', '', 0);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (21, b'0', '教学执行计划', 'student/plan/index', 20, 1, 'system', 'plan', b'0', b'0', 'Plan', '2019-12-30 08:44:41', '', 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (22, b'0', '培养方案明细', 'student/program/index', 20, 2, 'system', 'program', b'0', b'0', 'Program', '2019-12-30 08:46:49', '', 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (23, b'0', '学籍管理', '', 0, 0, 'system', 'student', b'0', b'0', '', '2019-12-30 08:48:10', '', 0);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (24, b'0', '学籍卡片', 'student/info/index', 23, 1, 'system', 'info', b'0', b'0', 'Info', '2019-12-30 08:48:39', '', 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (25, b'0', '教学评价', '', 0, 0, 'system', 'student', b'0', b'0', '', '2019-12-30 08:49:33', '', 0);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (26, b'0', '学生评价', 'student/comment/index', 25, 1, 'system', 'comment', b'0', b'0', 'Comment', '2019-12-30 08:50:07', '', 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (27, b'0', '选课中心', '', 0, 0, 'system', 'student', b'0', b'0', '', '2019-12-30 08:51:50', '', 0);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (28, b'0', '学生选课', 'student/course/index', 27, 1, 'system', 'Course', b'0', b'0', 'Course', '2019-12-30 08:53:51', '', 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (29, b'0', '成绩管理', '', 0, 0, 'system', 'teacher', b'0', b'0', '', '2019-12-30 08:58:28', '', 0);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (30, b'0', '成绩录入', 'teacher/score/index', 29, 1, 'stystem', 'score', b'0', b'0', 'Score', '2019-12-30 08:59:45', '', 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (31, b'0', '评价管理', '', 0, 0, 'system', 'teacher', b'0', b'0', '', '2019-12-30 09:00:27', '', 0);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (32, b'0', '评价查询', 'teacher/comment/index', 31, 1, 'system', 'comment', b'0', b'0', 'Comment', '2019-12-30 09:01:00', '', 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (33, b'0', '信息查询', '', 0, 0, 'system', 'teacher', b'0', b'0', '', '2019-12-30 09:01:43', '', 0);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (34, b'0', '个人信息', 'teacher/info/index', 33, 1, 'system', 'info', b'0', b'0', 'Info', '2019-12-30 09:02:30', '', 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (35, b'0', '个人课表', 'teacher/schedule/index', 33, 2, 'system', 'schedule', b'0', b'0', 'Schedule', '2019-12-30 09:05:22', '', 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (36, b'0', '课程查询', 'teacher/course/index', 33, 3, 'system', 'course', b'0', b'0', 'Course', '2019-12-30 09:06:00', '', 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (37, b'0', '评价信息', 'student/comment/teamComment', 25, 3, '', 'teamComment', b'0', b'1', 'TeamComment', '2020-01-04 21:03:59', '', 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (38, b'0', '教师管理', '', 0, 0, 'system', 'admin', b'0', b'0', '', '2020-01-05 14:23:31', '', 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (39, b'0', '选课管理', '', 0, 0, 'system', 'admin', b'0', b'0', '', '2020-01-05 14:24:20', '', 0);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (40, b'0', '信息查询', 'admin/course/index', 39, 1, 'system', 'course', b'0', b'0', 'Course', '2020-01-05 14:25:07', '', 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (41, b'0', '档案管理', 'admin/teacher/index', 38, 1, 'system', 'teacher', b'0', b'0', 'Teacher', '2020-01-05 14:26:02', '', 0);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (42, b'0', '结课申请', 'admin/course/endCourse', 39, 2, 'system', 'endCourse', b'0', b'0', 'EndCourse', '2020-01-05 14:30:47', '', 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (43, b'0', '成绩管理', '', 0, 0, 'system', 'admin', b'0', b'0', '', '2020-01-05 14:32:38', '', 0);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (44, b'0', '成绩统计', 'admin/score/index', 43, 1, 'system', 'score', b'0', b'0', 'Score', '2020-01-05 14:33:15', '', 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (45, b'0', '评价课程列表', 'teacher/comment/teamComment', 31, 3, 'system', 'teacherTeamComment', b'0', b'1', 'TeacherTeamComment', '2020-01-23 10:28:42', NULL, 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (46, b'0', '学生评价列表', 'teacher/comment/studentList', 31, 4, '', 'studentList', b'0', b'1', 'StudentList', '2020-01-23 11:05:33', '', 0);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (47, b'0', '评价管理', '', 0, 0, 'system', 'admin', b'0', b'0', '', '2020-01-23 17:57:08', '', 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (48, b'0', '发布评价', 'admin/comment/index', 47, 1, 'system', 'comment', b'0', b'0', 'Comment', '2020-01-23 17:58:43', '', 0);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (49, b'0', '开课申请', 'admin/course/applyCourse', 39, 3, 'system', 'applyCourse', b'0', b'0', 'ApplyCourse', '2020-01-26 15:06:50', '', 0);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (50, b'0', '选课管理', '', 0, 0, 'system', 'teacher', b'0', b'0', '', '2020-01-28 11:04:28', '', 1);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (51, b'0', '课程申请', 'teacher/course/apply', 50, 1, 'system', 'apply', b'0', b'0', 'Apply', '2020-01-28 11:05:39', '', 0);
+INSERT INTO `jw-springboot`.`menu`(`id`, `i_frame`, `name`, `component`, `pid`, `sort`, `icon`, `path`, `cache`, `hidden`, `component_name`, `create_time`, `permission`, `type`) VALUES (52, b'0', '选课分配', 'admin/course/distribute', 39, NULL, 'peoples', 'distribute', b'0', b'0', 'Distribute', '2020-04-12 17:37:48', '', 0);
+
+INSERT INTO `jw-springboot`.`plan`(`id`, `name`, `create_time`, `status`, `year_id`, `specialty_id`) VALUES ('1213760757788155905', '大一第一学期教学计划', '2020-01-05', 1, '1', '080902');
+INSERT INTO `jw-springboot`.`plan`(`id`, `name`, `create_time`, `status`, `year_id`, `specialty_id`) VALUES ('1213761697119313922', '大一第二学期教学计划', '2020-01-05', 1, '2', '080902');
+INSERT INTO `jw-springboot`.`plan`(`id`, `name`, `create_time`, `status`, `year_id`, `specialty_id`) VALUES ('1221261560312262657', '大二第一学期教学计划', '2020-01-26', 1, '3', '080902');
+INSERT INTO `jw-springboot`.`plan`(`id`, `name`, `create_time`, `status`, `year_id`, `specialty_id`) VALUES ('1221261643577585665', '大二第二学期教学计划', '2020-01-26', 1, '4', '080902');
+INSERT INTO `jw-springboot`.`plan`(`id`, `name`, `create_time`, `status`, `year_id`, `specialty_id`) VALUES ('1221261675945029634', '大三第一学期教学计划', '2020-01-26', 1, '5', '080902');
+INSERT INTO `jw-springboot`.`plan`(`id`, `name`, `create_time`, `status`, `year_id`, `specialty_id`) VALUES ('1221261710074081281', '大三第二学期教学计划', '2020-01-26', 1, '6', '080902');
+INSERT INTO `jw-springboot`.`plan`(`id`, `name`, `create_time`, `status`, `year_id`, `specialty_id`) VALUES ('1221261740679917570', '大四第一学期教学计划', '2020-01-26', 1, '7', '080902');
+INSERT INTO `jw-springboot`.`plan`(`id`, `name`, `create_time`, `status`, `year_id`, `specialty_id`) VALUES ('1221261776981618690', '大四第二学期教学计划', '2020-01-26', 1, '8', '080902');
+INSERT INTO `jw-springboot`.`plan`(`id`, `name`, `create_time`, `status`, `year_id`, `specialty_id`) VALUES ('1258728971487440898', '第一学期上学期', '2020-05-08', 1, '1', '1');
+INSERT INTO `jw-springboot`.`plan`(`id`, `name`, `create_time`, `status`, `year_id`, `specialty_id`) VALUES ('1259116189062299649', '第一学期上学期', '2020-05-09', 1, '1', '1');
+INSERT INTO `jw-springboot`.`plan`(`id`, `name`, `create_time`, `status`, `year_id`, `specialty_id`) VALUES ('1259116245542797313', '大一下学期', '2020-05-09', 1, '2', '1');
+
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('16797', '数学与统计学院', '1');
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('16798', '物理与机电工程学院', '1');
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('16799', '化学化工学院', '1');
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('16800', '信息科学与工程学院', '1');
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('16801', '旅游与管理工程学院', '1');
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('16802', '外国语学院', '1');
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('16803', '国际教育学院', '1');
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('16804', '音乐舞蹈学院', '1');
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('16805', '体育科学学院', '1');
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('16806', '美术学院', '1');
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('16807', '师范学院', '1');
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('16935', '软件学院', '1');
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('16936', '土木工程与建筑学院', '1');
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('16937', '生物资源与环境科学学院', '1');
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('16938', '医学院', '1');
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('16939', '文学与新闻传播学院', '1');
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('16940', '法学与公共管理学院', '1');
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('16941', '历史与文化学院', '1');
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('16943', '商学院', '1');
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('16966', '民族预科教育学院', '1');
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('16967', '张家界学院', '1');
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('16968', '继续教育学院', '1');
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('17016', '国防教育学院', '1');
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('17766', '教育科学研究院', '1');
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('2', '测试1', '0');
+INSERT INTO `jw-springboot`.`t_college`(`id`, `name`, `status`) VALUES ('3', 'ceshi 2', '0');
+
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1', '大学体育(Ⅰ)', 1.0, '1', 28, '1', '2', '16935', '1', '1', 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1214193850411909121', '“互联网+”双创系列讲座', 2.0, '2', 32, '2', '3', '16935', '2', '1', 0, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221309074533359618', '大学英语Ⅰ', 3.0, '2', 60, '1', '2', '16935', '1', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221312939894886402', '军事理论及训练', 2.0, '1', 24, '2', '2', '16935', '1', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221313043238342657', '就业指导Ⅰ(讲座)', 0.5, '1', 8, '2', '2', '16935', '1', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221313823722819585', '大学体育(Ⅱ)', 1.0, '1', 36, '1', '2', '16935', '1', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221313899031547906', '“互联网+”双创系列讲座', 2.0, '1', 32, '2', '3', '16935', '1', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221314069009911810', '创新创业项目实践', 2.0, '1', 32, '2', '3', '16935', '1', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221314174962225153', '高等数学AⅡ', 6.0, '1', 96, '1', '2', '16935', '1', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221314217760903170', '离散结构', 2.0, '1', 32, '1', '2', '16935', '1', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221314273926828034', '日语Ⅱ', 6.0, '1', 128, '1', '2', '16935', '1', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221314367501750274', '程序设计基础Ⅱ', 4.0, '1', 96, '1', '2', '16935', '6', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221314429699084290', '程序设计基础Ⅱ', 3.0, '1', 64, '1', '2', '16935', '6', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221317003391127553', '线性代数A', 3.0, '1', 48, '1', '2', '16935', '1', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221317261080776705', '大学生心理健康教育', 1.0, '1', 16, '2', '2', '16935', '4', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221317875252711425', '(网络)人生与人心', 1.5, '1', 26, '1', '1', '16935', '4', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221317935088652290', '食品安全与健康', 1.5, '1', 26, '1', '1', '16935', '4', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221317984661131266', '当代主要环境问题及科学对策', 1.5, '1', 26, '1', '1', '16935', '4', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221318048934645762', '专升本英语', 6.0, '1', 108, '1', '2', '16935', '1', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221318140391444482', '编译原理', 2.0, '1', 32, '1', '2', '16935', '6', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221318195328438274', '操作系统', 2.0, '1', 32, '1', '2', '16935', '6', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221318462354608130', '软件工程经济学', 2.0, '1', 32, '2', '3', '16935', '2', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221318535016730625', 'Java Web编程技术', 3.0, '1', 48, '2', '2', '16935', '2', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221318586451480577', 'Web前端开发基础', 2.0, '1', 32, '2', '2', '16935', '2', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221318621452947458', '软件测试与质量', 2.0, '1', 32, '2', '2', '16935', '2', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221318662208999425', '软件需求工程', 2.0, '1', 32, '2', '2', '16935', '2', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221318740151750658', '设计模式', 2.0, '1', 32, '2', '2', '16935', '2', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221318801204039682', '就业指导-就业技能', 1.0, '1', 8, '1', '2', '16935', '1', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221318859127377921', 'Android开发技术', 2.0, '1', 32, '2', '2', '16935', '2', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221318912357289986', 'C++程序设计', 2.0, '1', 32, '2', '2', '16935', '2', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221318960268824578', 'Java Web框架技术', 4.0, '1', 64, '2', '2', '16935', '2', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221319002601934849', 'UI设计', 2.0, '1', 32, '2', '2', '16935', '2', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221319073804439554', '软件系统分析与设计', 2.0, '1', 32, '2', '2', '16935', '2', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221319114690514945', '软件项目管理', 2.0, '1', 32, '2', '2', '16935', '2', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221319236216279042', '沉浸式5R专业综合实训', 10.0, '1', 17, '2', '2', '16935', '5', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221319892155092993', '大学英语Ⅱ', 3.0, '1', 64, '1', '2', '16935', '1', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221319945842184194', '大学体育3', 1.0, '1', 35, '1', '2', '16935', '1', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221319993577558018', '大学英语3', 3.0, '1', 64, '1', '2', '16935', '1', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221320041363263490', '毛泽东思想和中国特色社会主义理论体系概论', 6.0, '1', 108, '1', '2', '16935', '1', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221320077828542466', '概率论与数理统计', 3.0, '1', 48, '1', '2', '16935', '1', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221320201594064898', 'Java程序设计1', 4.0, '1', 64, '1', '2', '16935', '6', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221320266962292737', '数据结构与算法', 4.0, '1', 64, '1', '2', '16935', '6', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221320410105499650', '形势与政策3', 0.5, '1', 8, '2', '2', '16935', '1', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221320458956558337', '日语Ⅲ', 6.0, '1', 144, '1', '2', '16935', '1', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221320505089708033', '创业基础', 2.0, '1', 32, '1', '2', '16935', '1', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221320594755538945', '大学体育4', 1.0, '1', 35, '1', '2', '16935', '1', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221320637000568834', '大学英语4', 3.0, '1', 64, '1', '2', '16935', '1', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221320697213997058', '马克思主义基本原理概论', 3.0, '1', 54, '1', '2', '16935', '1', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221320738880212993', '形势与政策', 2.0, '1', 32, '1', '2', '16935', '1', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221320796807745538', 'Java程序设计2', 3.5, '1', 56, '1', '2', '16935', '6', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221320832408997889', '计算机网络', 2.0, '1', 32, '1', '2', '16935', '6', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221320869604085762', '数据库原理及应用', 4.0, '1', 64, '1', '2', '16935', '6', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221320906790785026', '数据库原理及应用', 4.0, '1', 64, '1', '2', '16935', '6', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221320986830688258', '软件工程', 2.0, '1', 32, '1', '2', '16935', '6', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221321071446577153', '日语Ⅳ', 4.0, '1', 112, '1', '2', '16935', '1', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221321143353724929', 'UML技术', 2.0, '1', 32, '2', '2', '16935', '6', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221321372903788545', '创新创业项目实践', 2.0, '1', 32, '2', '1', '16935', '5', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221321403740311553', '创新创业项目实践', 2.0, '1', 32, '2', '1', '16935', '5', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221321447507873793', '毕业论文(设计)', 8.0, '1', 10, '2', '2', '16935', '5', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1221321490134585346', '毕业实习', 8.0, '1', 8, '2', '2', '16935', '5', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256901013122674690', '情商管理', 4.0, '1', 16, '2', '1', '16935', '1', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256901107104444417', '情商管理', 4.0, '1', 32, '2', '1', '16935', '4', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256901161080942593', '世界文化遗产赏析', 4.0, '1', 32, '2', '1', '16935', '4', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256901204764618754', '中国古典园林植物文化', 4.0, '1', 32, '2', '1', '16935', '4', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256901249962438657', '中国神话故事', 4.0, '1', 32, '2', '1', '16935', '4', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256901309928402946', 'DIY时尚丝网花', 4.0, '1', 32, '2', '1', '16935', '4', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256901369772732418', '趣味心理学', 4.0, '1', 32, '1', '1', '16935', '4', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256902978858741761', '大学创业与规划', 4.0, '1', 32, '1', '1', '16935', '4', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256903815634972674', '英语电影赏析', 4.0, '1', 32, '1', '1', '16935', '4', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256903862288216066', '职场英语', 4.0, '1', 32, '2', '1', '16935', '4', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256903938611965953', '大学生心理健康教育', 4.0, '1', 32, '2', '1', '16935', '4', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256904104538632194', '瑜伽通识选修课', 5.0, '1', 3, '2', '1', '16935', '4', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256904173438464001', '人体学', 4.0, '1', 32, '2', '1', '16935', '4', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256904237187690497', '数学模式', 4.0, '1', 32, '1', '1', '16935', '4', NULL, 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256904673198174209', '人类遗传与优生', 4.0, '1', 32, '2', '1', '16935', '4', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256904819340308481', '税收筹划', 4.0, '1', 32, '2', '1', '16935', '4', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256904877431418882', '欧美电影赏析', 4.0, '1', 32, '2', '1', '16935', '4', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256904928459321346', '共和国档案', 4.0, '1', 32, '2', '1', '16935', '4', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256905009807847426', '淘宝网店运营与推广 ', 4.0, '1', 32, '2', '1', '16935', '4', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256905057702604801', '花文化与养生保健', 4.0, '1', 32, '2', '1', '16935', '4', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256905099536592898', '酒的酿造与酒文化', 4.0, '1', 32, '2', '1', '16935', '4', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256905174388142082', '茶叶品鉴艺术', 4.0, '1', 32, '2', '1', '16935', '4', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256905232902877185', '成功销售技巧与人脉关 系', 4.0, '1', 32, '2', '1', '16935', '4', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256905280994766849', '环球旅行', 4.0, '1', 32, '2', '1', '16935', '4', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256905345972924418', '西方文化欣赏', 4.0, '1', 32, '2', '1', '16935', '4', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256905432715325441', '美术鉴赏', 4.0, '1', 32, '2', '1', '16935', '4', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1256905492626763778', '高效时间管理', 4.0, '1', 32, '2', '1', '16935', '4', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1257197040547520513', '测试实体教学课程', 4.0, '1', 32, '2', '1', '16935', '3', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('1259328639149891586', '毕业设计时间', 4.0, '1', 32, '2', '2', '16935', '5', NULL, 2, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('2', '“互联网+”双创系列讲座', 2.0, '1', 32, '2', '3', '16935', '1', '1', 0, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('3', '高等数学AⅠ', 4.0, '1', 64, '1', '2', '16935', '1', '1', 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('4', '专业导论', 1.0, '1', 16, '2', '2', '16935', '1', '1', 0, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('4028eaa85cbe122b015cbe12ec1c0000', '日语Ⅰ', 6.0, '1', 104, '1', '2', '16935', '1', '1', 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('5', '计算机应用基础', 2.0, '1', 42, '1', '2', '16935', '6', '1', 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('7', '外包企业素养与实践(一)', 0.5, '1', 6, '1', '2', '16935', '1', '1', 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('8', '程序设计基础Ⅰ', 3.0, '1', 60, '1', '2', '16935', '6', '1', 1, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('8fa66065baae11e7956534de1af4e65a', '思想道德修养与法律基础', 3.0, '1', 54, '2', '2', '16935', '1', '1', 0, 1);
+INSERT INTO `jw-springboot`.`t_course`(`id`, `name`, `credit`, `nature_id`, `total_time`, `way_id`, `cstatus_id`, `college_id`, `system_id`, `year_id`, `isExam`, `status`) VALUES ('996523a6f14611e99f3400e04c680992', '形势与政策Ⅰ(讲座)', 0.5, '1', 8, '2', '2', '16935', '1', '1', 0, 1);
+
+INSERT INTO `jw-springboot`.`t_cstatus`(`id`, `name`, `status`) VALUES ('1', '公选', '1');
+INSERT INTO `jw-springboot`.`t_cstatus`(`id`, `name`, `status`) VALUES ('3', '限选', '1');
+INSERT INTO `jw-springboot`.`t_cstatus`(`id`, `name`, `status`) VALUES ('2', '必修', '1');
+
+INSERT INTO `jw-springboot`.`t_examway`(`id`, `name`, `status`) VALUES ('1', '考试', '1');
+INSERT INTO `jw-springboot`.`t_examway`(`id`, `name`, `status`) VALUES ('2', '考查', '1');
+
+INSERT INTO `jw-springboot`.`t_grade`(`id`, `name`) VALUES ('2010', '2010');
+INSERT INTO `jw-springboot`.`t_grade`(`id`, `name`) VALUES ('2011', '2011');
+INSERT INTO `jw-springboot`.`t_grade`(`id`, `name`) VALUES ('2012', '2012');
+INSERT INTO `jw-springboot`.`t_grade`(`id`, `name`) VALUES ('2013', '2013');
+INSERT INTO `jw-springboot`.`t_grade`(`id`, `name`) VALUES ('2014', '2014');
+INSERT INTO `jw-springboot`.`t_grade`(`id`, `name`) VALUES ('2015', '2015');
+INSERT INTO `jw-springboot`.`t_grade`(`id`, `name`) VALUES ('2016', '2016');
+INSERT INTO `jw-springboot`.`t_grade`(`id`, `name`) VALUES ('2017', '2017');
+INSERT INTO `jw-springboot`.`t_grade`(`id`, `name`) VALUES ('2018', '2018');
+INSERT INTO `jw-springboot`.`t_grade`(`id`, `name`) VALUES ('2019', '2019');
+INSERT INTO `jw-springboot`.`t_grade`(`id`, `name`) VALUES ('2020', '2020');
+
+INSERT INTO `jw-springboot`.`t_nature`(`id`, `name`) VALUES ('1', '通识选修课');
+INSERT INTO `jw-springboot`.`t_nature`(`id`, `name`) VALUES ('2', '公共必修课');
+INSERT INTO `jw-springboot`.`t_nature`(`id`, `name`) VALUES ('3', '学科基础课');
+INSERT INTO `jw-springboot`.`t_nature`(`id`, `name`) VALUES ('4', '专业方向课');
+INSERT INTO `jw-springboot`.`t_nature`(`id`, `name`) VALUES ('5', '专业主干课');
+INSERT INTO `jw-springboot`.`t_nature`(`id`, `name`) VALUES ('6', '专业方向课');
+
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('1', '周一', '1-2节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('10', '周二', '9-10节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('11', '周三', '1-2节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('12', '周三', '3-4节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('13', '周三', '5-6节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('14', '周三', '7-8节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('15', '周三', '9-10节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('16', '周四', '1-2节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('17', '周四', '3-4节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('18', '周四', '5-6节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('19', '周四', '7-8节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('2', '周一', '3-4节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('20', '周四', '9-10节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('21', '周五', '1-2节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('22', '周五', '3-4节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('23', '周五', '5-6节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('24', '周五', '7-8节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('25', '周五', '9-10节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('26', '周六', '1-2节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('27', '周六', '3-4节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('28', '周六', '5-6节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('29', '周六', '7-8节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('3', '周一', '5-6节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('30', '周六', '9-10节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('31', '周日', '1-2节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('32', '周日', '3-4节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('33', '周日', '5-6节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('34', '周日', '7-8节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('35', '周日', '9-10节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('4', '周一', '7-8节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('5', '周一', '9-10节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('6', '周二', '1-2节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('7', '周二', '3-4节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('8', '周二', '5-6节');
+INSERT INTO `jw-springboot`.`t_section`(`id`, `week`, `section`) VALUES ('9', '周二', '7-8节');
+
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('020101', '经济学', '4', '理学', '16943', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('020102', '经济统计学', '4', '理学', '16797', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('020302', '金融工程', '4', '经济学', '16797', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('020305T', '金融数学', '4', '理学', '16797', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('020401', '国际经济与贸易', NULL, NULL, '16943', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('030101', '法学', '4', '法学', '16940', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('030503', '思想政治教育(师范类)', 'asd', 'asd', '16941', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('040201', '体育教育(师范类)', '4', '教育学', '16805', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('040204K', '武术与民族传统体育(兼师范类)', '4', '教育学', '16805', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('050101', '汉语言文学(兼师范类)', '4', '文学', '16939', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('050201', '英语(兼师范类)', '4', '文学', '16802', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('050207', '日语', '4', '文学', '16802', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('050262', '商务英语', '4', '文学', '16803', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('050301', '新闻学', '4', '文学', '16939', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('050303', '广告学', NULL, NULL, '0', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('060101', '历史学(兼师范类)', NULL, NULL, '16941', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('070101', '数学与应用数学(兼师范类)', '4', '理学', '16797', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('070102', '信息与计算科学', '4', '工学', '16800', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('070201', '物理学(兼师范类)', '4', '理学', '16798', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('071001', '生物科学(兼师范类)', NULL, NULL, '16937', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('071201', '统计学', '4', '理学', '16797', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('071202', '应用统计学', '4', '理学', '16797', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('080202', '机械设计制造及其自动化', '4', '工学', '16798', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('080401', '材料科学与工程', '4', '工学', '16798', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('080406', '无机非金属材料工程', NULL, NULL, '0', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('080701', '电子信息工程', '4', '工学', '16800', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('080901', '计算机科学与技术(兼师范类)', '4', '工学', '16800', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('080902', '软件工程', '4', '工学', '16935', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('082502', '环境工程', '4', '工学', '16937', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('082503', '环境科学', '4', '工学', '16937', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('083001', '生物工程', '4', '理学', '16937', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('090104', '植物科学与技术', '4', '工学', '16937', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('1', '测试软件专业1', '4', '工学', '16935', '0');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('100701', '药学', '4', '理学', '16937', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('110217S', '信息传播与策划', NULL, NULL, '0', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('120201K', '工商管理', NULL, NULL, '16943', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('120202', '市场营销', NULL, NULL, '0', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('120203K', '会计学', NULL, NULL, '16943', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('120210', '文化产业管理', '4', '管理学', '16940', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('120401', '公共事业管理', '4', '管理学', '16940', '1');
+INSERT INTO `jw-springboot`.`t_specialty`(`id`, `name`, `time`, `category`, `college_id`, `status`) VALUES ('3', '测试', '4', '工学', '16797', '1');
+
+INSERT INTO `jw-springboot`.`t_team`(`id`, `name`, `status`, `start`, `end`, `team`) VALUES ('1', '2018-2019-1', '1', 2018, 2019, 1);
+INSERT INTO `jw-springboot`.`t_team`(`id`, `name`, `status`, `start`, `end`, `team`) VALUES ('2', '2018-2019-2', '1', 2018, 2019, 2);
+
+INSERT INTO `jw-springboot`.`t_week`(`id`, `time`) VALUES ('1', '第2周-第19周');
+INSERT INTO `jw-springboot`.`t_week`(`id`, `time`) VALUES ('2', '第2周-第5周');
+INSERT INTO `jw-springboot`.`t_week`(`id`, `time`) VALUES ('3', '第2周-第6周');
+INSERT INTO `jw-springboot`.`t_week`(`id`, `time`) VALUES ('4', '第2周-第9周');
+INSERT INTO `jw-springboot`.`t_week`(`id`, `time`) VALUES ('5', '第2周-第6周');
+INSERT INTO `jw-springboot`.`t_week`(`id`, `time`) VALUES ('6', '第7周-第11周');
+INSERT INTO `jw-springboot`.`t_week`(`id`, `time`) VALUES ('7', '第12周-第12周');
+INSERT INTO `jw-springboot`.`t_week`(`id`, `time`) VALUES ('8', '第13周-第17周');
+INSERT INTO `jw-springboot`.`t_week`(`id`, `time`) VALUES ('9', '第18周-第19周');
+
+INSERT INTO `jw-springboot`.`t_year`(`id`, `grade`, `name`) VALUES ('1', '大一', '大一上学期');
+INSERT INTO `jw-springboot`.`t_year`(`id`, `grade`, `name`) VALUES ('2', '大一', '大一下学期');
+INSERT INTO `jw-springboot`.`t_year`(`id`, `grade`, `name`) VALUES ('3', '大二', '大二上学期');
+INSERT INTO `jw-springboot`.`t_year`(`id`, `grade`, `name`) VALUES ('4', '大二', '大二下学期');
+INSERT INTO `jw-springboot`.`t_year`(`id`, `grade`, `name`) VALUES ('5', '大三', '大三上学期');
+INSERT INTO `jw-springboot`.`t_year`(`id`, `grade`, `name`) VALUES ('6', '大三', '大三下学期');
+INSERT INTO `jw-springboot`.`t_year`(`id`, `grade`, `name`) VALUES ('7', '大四', '大四上学期');
+INSERT INTO `jw-springboot`.`t_year`(`id`, `grade`, `name`) VALUES ('8', '大四', '大四下学期');
+
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('1', '1211619707833311234');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('1', '6be2e8aa4ec911e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('14', '1211619707833311234');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('15', '1211619707833311234');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('16', '1211619707833311234');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('17', 'b762e0f84ec911e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('18', 'b762e0f84ec911e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('19', 'b762e0f84ec911e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('2', '6be2e8aa4ec911e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('20', 'b762e0f84ec911e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('21', 'b762e0f84ec911e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('22', 'b762e0f84ec911e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('23', 'b762e0f84ec911e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('24', 'b762e0f84ec911e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('25', 'b762e0f84ec911e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('26', 'b762e0f84ec911e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('27', 'b762e0f84ec911e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('28', 'b762e0f84ec911e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('29', '6b4fef6e4ecb11e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('3', '1211619707833311234');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('3', '6be2e8aa4ec911e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('30', '6b4fef6e4ecb11e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('31', '6b4fef6e4ecb11e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('32', '6b4fef6e4ecb11e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('33', '6b4fef6e4ecb11e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('34', '6b4fef6e4ecb11e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('35', '6b4fef6e4ecb11e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('36', '6b4fef6e4ecb11e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('37', 'b762e0f84ec911e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('38', '1211619707833311234');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('39', '1211619707833311234');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('4', '6be2e8aa4ec911e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('40', '1211619707833311234');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('41', '1211619707833311234');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('42', '1211619707833311234');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('45', '6b4fef6e4ecb11e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('46', '6b4fef6e4ecb11e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('47', '1211619707833311234');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('48', '1211619707833311234');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('49', '1211619707833311234');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('5', '1211619707833311234');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('5', '6be2e8aa4ec911e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('50', '6b4fef6e4ecb11e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('51', '6b4fef6e4ecb11e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('52', '1211619707833311234');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('6', '6be2e8aa4ec911e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('7', '6be2e8aa4ec911e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('8', '6be2e8aa4ec911e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`roles_menus`(`menu_id`, `role_id`) VALUES ('9', '6be2e8aa4ec911e8bf5d34de1af4e65a');
+
+INSERT INTO `jw-springboot`.`t_user`(`id`, `username`, `password`, `qx`, `status`, `collegeId`) VALUES ('1', 'a', '11', '管理员', '1', NULL);
+INSERT INTO `jw-springboot`.`t_user`(`id`, `username`, `password`, `qx`, `status`, `collegeId`) VALUES ('2', 'aaa', '11', '管理员', '1', NULL);
+INSERT INTO `jw-springboot`.`t_user`(`id`, `username`, `password`, `qx`, `status`, `collegeId`) VALUES ('3', '张三', '11', '教务人员', '1', '16935');
+INSERT INTO `jw-springboot`.`t_user`(`id`, `username`, `password`, `qx`, `status`, `collegeId`) VALUES ('4', 'aa', '11', '教务人员', '1', '16798');
+
+INSERT INTO `jw-springboot`.`user_role` (`user_id`, `role_id`) VALUES ('3', '1211619707833311234');
+INSERT INTO `jw-springboot`.`user_role` (`user_id`, `role_id`) VALUES ('4', '1211619707833311234');
+INSERT INTO `jw-springboot`.`user_role` (`user_id`, `role_id`) VALUES ('1', '6be2e8aa4ec911e8bf5d34de1af4e65a');
+INSERT INTO `jw-springboot`.`user_role` (`user_id`, `role_id`) VALUES ('2', '6be2e8aa4ec911e8bf5d34de1af4e65a');
+
+INSERT INTO `jw-springboot`.`t_teacher` (`tid`, `password`, `tname`, `tsex`, `tage`, `status`, `college_id`, `qx`, `beginTime`, `salary`, `politicalStatus`, `address`, `idcard`) VALUES ('9', '123456', '苏老师', '1', '18', '1', '16935', '讲师', '2020-04-13 00:00:00', 10000, '党员', 'xx大学', '123456789012345678');
+INSERT INTO `jw-springboot`.`teacher_role` (`role_id`, `teacher_id`) VALUES ('6b4fef6e4ecb11e8bf5d34de1af4e65a', '9');
+INSERT INTO `jw-springboot`.`t_student` (`sid`, `password`, `sname`, `sex`, `scity`, `qx`, `absent`, `classes_id`, `grade_id`, `beginTime`, `endTime`, `phone`, `idcard`, `address`, `politicalStatus`) VALUES ('1', '1', '张三', '男', '湖南', '学生', 0, '8a6e9a725cbb8f4b015cbb9430880001', '2018', '2016-09-03', NULL, '12345678901', '123456789012345678', 'xx大学宿舍', '团员');
+INSERT INTO `jw-springboot`.`student_role` (`role_id`, `student_id`) VALUES ('b762e0f84ec911e8bf5d34de1af4e65a', '1');
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/JwSystemApplication.java b/Jd-Jwsystem-master/src/main/java/com/zxw/JwSystemApplication.java
new file mode 100644
index 0000000000000000000000000000000000000000..56cb2053c3e9587c3048a9fdbbd6f6c302d2f8a0
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/JwSystemApplication.java
@@ -0,0 +1,22 @@
+package com.zxw;
+
+import org.mybatis.spring.annotation.MapperScan;
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.context.annotation.ImportResource;
+import org.springframework.transaction.annotation.EnableTransactionManagement;
+
+/**
+ * @author zxw
+ * @date 2019/11/3 17:25
+ */
+@SpringBootApplication
+@ImportResource(locations = {"classpath:config/kaptcha.xml"})
+@MapperScan({"com.zxw.jwxt.mapper","com.zxw.monitor.mapper"})
+@EnableTransactionManagement
+public class JwSystemApplication {
+ public static void main(String[] args) {
+
+ SpringApplication.run(JwSystemApplication.class);
+ }
+}
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/System/config/CodeGenerator.java b/Jd-Jwsystem-master/src/main/java/com/zxw/System/config/CodeGenerator.java
new file mode 100644
index 0000000000000000000000000000000000000000..667933542dc9816e7237105d8cfbdf47d161fce1
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/System/config/CodeGenerator.java
@@ -0,0 +1,140 @@
+package com.zxw.System.config;
+
+import com.baomidou.mybatisplus.core.exceptions.MybatisPlusException;
+import com.baomidou.mybatisplus.core.toolkit.StringPool;
+import com.baomidou.mybatisplus.core.toolkit.StringUtils;
+import com.baomidou.mybatisplus.generator.AutoGenerator;
+import com.baomidou.mybatisplus.generator.InjectionConfig;
+import com.baomidou.mybatisplus.generator.config.*;
+import com.baomidou.mybatisplus.generator.config.po.TableInfo;
+import com.baomidou.mybatisplus.generator.config.rules.NamingStrategy;
+import com.baomidou.mybatisplus.generator.engine.FreemarkerTemplateEngine;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Scanner;
+
+// 演示例子,执行 main 方法控制台输入模块表名回车自动生成对应项目目录中
+public class CodeGenerator {
+
+ /**
+ *
+ * 读取控制台内容
+ *
+ */
+ public static String scanner(String tip) {
+ Scanner scanner = new Scanner(System.in);
+ StringBuilder help = new StringBuilder();
+ help.append("请输入" + tip + ":");
+ System.out.println(help.toString());
+ if (scanner.hasNext()) {
+ String ipt = scanner.next();
+ if (StringUtils.isNotEmpty(ipt)) {
+ return ipt;
+ }
+ }
+ throw new MybatisPlusException("请输入正确的" + tip + "!");
+ }
+
+ public static void main(String[] args) {
+ // 代码生成器
+ AutoGenerator mpg = new AutoGenerator();
+
+ // 全局配置
+ GlobalConfig gc = new GlobalConfig();
+ String projectPath = System.getProperty("user.dir");
+ gc.setOutputDir(projectPath + "/src/main/java");
+ gc.setAuthor("zxw");
+ gc.setOpen(false);
+ gc.setSwagger2(true); //实体属性 Swagger2 注解
+ mpg.setGlobalConfig(gc);
+
+ // 数据源配置
+ DataSourceConfig dsc = new DataSourceConfig();
+ dsc.setUrl("jdbc:mysql://localhost:3306/jw-springboot?useUnicode=true&useSSL=false&characterEncoding=utf8");
+ // dsc.setSchemaName("public");
+ dsc.setDriverName("com.mysql.jdbc.Driver");
+ dsc.setUsername("root");
+ dsc.setPassword("123456");
+ mpg.setDataSource(dsc);
+
+ // 包配置
+ PackageConfig pc = new PackageConfig();
+// pc.setModuleName(scanner("com.zxw"));
+ pc.setParent("com.zxw");
+ pc.setService("jwxt.service");
+ pc.setEntity("jwxt.domain");
+ pc.setController("jwxt.controller");
+ pc.setServiceImpl("jwxt.service.impl");
+ pc.setMapper("jwxt.mapper");
+ mpg.setPackageInfo(pc);
+
+ // 自定义配置
+ InjectionConfig cfg = new InjectionConfig() {
+ @Override
+ public void initMap() {
+ // to do nothing
+ }
+ };
+
+ // 如果模板引擎是 freemarker
+ String templatePath = "/templates/mapper.xml.ftl";
+ // 如果模板引擎是 velocity
+ // String templatePath = "/templates/mapper.xml.vm";
+
+ // 自定义输出配置
+ List focList = new ArrayList<>();
+ // 自定义配置会被优先输出
+// focList.add(new FileOutConfig(templatePath) {
+// @Override
+// public String outputFile(TableInfo tableInfo) {
+// // 自定义输出文件名 , 如果你 Entity 设置了前后缀、此处注意 xml 的名称会跟着发生变化!!
+// return projectPath + "/src/main/resources/mybatis/" + pc.getModuleName()
+// + "/" + tableInfo.getEntityName() + "Mapper" + StringPool.DOT_XML;
+// }
+// });
+ /*
+ cfg.setFileCreate(new IFileCreate() {
+ @Override
+ public boolean isCreate(ConfigBuilder configBuilder, FileType fileType, String filePath) {
+ // 判断自定义文件夹是否需要创建
+ checkDir("调用默认方法创建的目录");
+ return false;
+ }
+ });
+ */
+ cfg.setFileOutConfigList(focList);
+ mpg.setCfg(cfg);
+
+ // 配置模板
+ TemplateConfig templateConfig = new TemplateConfig();
+
+ // 配置自定义输出模板
+ //指定自定义模板路径,注意不要带上.ftl/.vm, 会根据使用的模板引擎自动识别
+ // templateConfig.setEntity("templates/entity2.java");
+ // templateConfig.setService();
+ // templateConfig.setController();
+
+ templateConfig.setXml(null);
+ mpg.setTemplate(templateConfig);
+
+ // 策略配置
+ StrategyConfig strategy = new StrategyConfig();
+ strategy.setNaming(NamingStrategy.underline_to_camel);
+ strategy.setColumnNaming(NamingStrategy.underline_to_camel);
+// strategy.setSuperEntityClass("com.zxw.jwxt.domain.BaseEntity");
+ strategy.setEntityLombokModel(true);
+ strategy.setRestControllerStyle(true);
+ // 公共父类
+ strategy.setSuperControllerClass("com.zxw.jwxt.controller.BaseController");
+ // 写于父类中的公共字段
+// strategy.setSuperEntityColumns("id");
+ strategy.setInclude(scanner("表名,多个英文逗号分割").split(","));
+ strategy.setControllerMappingHyphenStyle(true);
+ strategy.setTablePrefix(pc.getModuleName() + "_");
+ mpg.setStrategy(strategy);
+ mpg.setTemplateEngine(new FreemarkerTemplateEngine());
+ mpg.execute();
+ }
+
+}
\ No newline at end of file
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/System/config/GlobalCorsConfig.java b/Jd-Jwsystem-master/src/main/java/com/zxw/System/config/GlobalCorsConfig.java
new file mode 100644
index 0000000000000000000000000000000000000000..8bb8fc1609c7ab2b68a38ef3ce04528a4a689e52
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/System/config/GlobalCorsConfig.java
@@ -0,0 +1,37 @@
+package com.zxw.System.config;
+
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.web.cors.CorsConfiguration;
+import org.springframework.web.cors.UrlBasedCorsConfigurationSource;
+import org.springframework.web.filter.CorsFilter;
+
+@Configuration
+public class GlobalCorsConfig {
+ @Bean
+ public CorsFilter corsFilter() {
+ //1.添加CORS配置信息
+ CorsConfiguration config = new CorsConfiguration();
+ //1) 允许的域,不要写*,否则cookie就无法使用了
+ config.addAllowedOrigin("http://localhost:8081");
+ //2) 是否发送Cookie信息
+ config.setAllowCredentials(true);
+ //3) 允许的请求方式
+ config.addAllowedMethod("OPTIONS");
+ config.addAllowedMethod("HEAD");
+ config.addAllowedMethod("GET");
+ config.addAllowedMethod("PUT");
+ config.addAllowedMethod("POST");
+ config.addAllowedMethod("DELETE");
+ config.addAllowedMethod("PATCH");
+ // 4)允许的头信息
+ config.addAllowedHeader("*");
+
+ //2.添加映射路径,我们拦截一切请求
+ UrlBasedCorsConfigurationSource configSource = new UrlBasedCorsConfigurationSource();
+ configSource.registerCorsConfiguration("/**", config);
+
+ //3.返回新的CorsFilter.
+ return new CorsFilter(configSource);
+ }
+}
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/System/config/MybatisPlusConfig.java b/Jd-Jwsystem-master/src/main/java/com/zxw/System/config/MybatisPlusConfig.java
new file mode 100644
index 0000000000000000000000000000000000000000..515c7f0ede6dcc17f66a3be10614806d50833955
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/System/config/MybatisPlusConfig.java
@@ -0,0 +1,23 @@
+package com.zxw.System.config;
+
+import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+
+/**
+ * @author zxw
+ * @date 2019/11/9 10:55
+ */
+@Configuration
+public class MybatisPlusConfig {
+
+ @Bean
+ public PaginationInterceptor paginationInterceptor() {
+ PaginationInterceptor paginationInterceptor = new PaginationInterceptor();
+ // 设置请求的页面大于最大页后操作, true调回到首页,false 继续请求 默认false
+ // paginationInterceptor.setOverflow(false);
+ // 设置最大单页限制数量,默认 500 条,-1 不受限制
+// paginationInterceptor.setLimit(15);
+ return paginationInterceptor;
+ }
+}
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/System/config/SwaggerConfig.java b/Jd-Jwsystem-master/src/main/java/com/zxw/System/config/SwaggerConfig.java
new file mode 100644
index 0000000000000000000000000000000000000000..a6be053508a3ed85dd956007c4610052bb0a83ea
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/System/config/SwaggerConfig.java
@@ -0,0 +1,37 @@
+package com.zxw.System.config;
+
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+import springfox.documentation.builders.ApiInfoBuilder;
+import springfox.documentation.builders.PathSelectors;
+import springfox.documentation.builders.RequestHandlerSelectors;
+import springfox.documentation.service.ApiInfo;
+import springfox.documentation.service.Contact;
+import springfox.documentation.spi.DocumentationType;
+import springfox.documentation.spring.web.plugins.Docket;
+import springfox.documentation.swagger2.annotations.EnableSwagger2;
+
+/**
+ * @author zxw
+ * @date 2019/8/27 19:14
+ */
+@EnableSwagger2
+@Configuration
+public class SwaggerConfig {
+ @Bean
+ public Docket createRestApi() {
+ return new Docket(DocumentationType.SWAGGER_2).apiInfo(apiInfo()).select().apis(RequestHandlerSelectors.basePackage("com.zxw.swagger.controller")).paths(PathSelectors.any()).build();
+ }
+
+ private ApiInfo apiInfo() {
+ return new ApiInfoBuilder()
+ // 设置标题
+ .title("使用swagger2构建短视频后端api接口文档")
+ // 设置联系人
+ .contact(new Contact("imooc-Nathan", "http://www.imooc.com", "502513206@qq.com"))
+ // 设置描述
+ .description("欢迎访问短视频接口文档")
+ // 定义版本号
+ .version("1.0").build();
+ }
+}
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/System/config/WebMvcConfigurerConfig.java b/Jd-Jwsystem-master/src/main/java/com/zxw/System/config/WebMvcConfigurerConfig.java
new file mode 100644
index 0000000000000000000000000000000000000000..2fe86af3ba4d38a6e2c14d1d6ab3512280046513
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/System/config/WebMvcConfigurerConfig.java
@@ -0,0 +1,39 @@
+package com.zxw.System.config;
+
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.web.cors.CorsConfiguration;
+import org.springframework.web.cors.UrlBasedCorsConfigurationSource;
+import org.springframework.web.filter.CorsFilter;
+import org.springframework.web.servlet.config.annotation.EnableWebMvc;
+import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
+import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
+
+@Configuration
+@EnableWebMvc
+public class WebMvcConfigurerConfig implements WebMvcConfigurer {
+ private CorsConfiguration buildConfig() {
+ CorsConfiguration corsConfiguration = new CorsConfiguration();
+ corsConfiguration.addAllowedOrigin("*");
+ corsConfiguration.setAllowCredentials(true);
+ corsConfiguration.addAllowedHeader("*");
+ corsConfiguration.addAllowedMethod("*");
+ return corsConfiguration;
+ }
+
+ @Bean
+ public CorsFilter corsFilter() {
+ UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
+ source.registerCorsConfiguration("/**", buildConfig());
+ return new CorsFilter(source);
+ }
+
+ @Override
+ public void addResourceHandlers(ResourceHandlerRegistry registry) {
+ registry.addResourceHandler("swagger-ui.html")
+ .addResourceLocations("classpath:/META-INF/resources/");
+ registry.addResourceHandler("/webjars/**")
+ .addResourceLocations("classpath:/META-INF/resources/webjars/");
+ registry.addResourceHandler("/**").addResourceLocations("classpath:/static/");
+ }
+}
\ No newline at end of file
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/System/config/WebSocketConfig.java b/Jd-Jwsystem-master/src/main/java/com/zxw/System/config/WebSocketConfig.java
new file mode 100644
index 0000000000000000000000000000000000000000..ca0520eb4b55da397e4e22074bf4ca6c2ce380a1
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/System/config/WebSocketConfig.java
@@ -0,0 +1,16 @@
+package com.zxw.System.config;
+
+import org.springframework.context.annotation.Bean;
+import org.springframework.web.socket.server.standard.ServerEndpointExporter;
+
+/**
+ * @author zxw
+ * @date 2019/11/10 17:57
+ */
+//@Configuration
+public class WebSocketConfig {
+ @Bean
+ public ServerEndpointExporter serverEndpointExporter() {
+ return new ServerEndpointExporter();
+ }
+}
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/System/config/shiroConfig.java b/Jd-Jwsystem-master/src/main/java/com/zxw/System/config/shiroConfig.java
new file mode 100644
index 0000000000000000000000000000000000000000..56773373a792f1d75f31d326a889ac6964457815
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/System/config/shiroConfig.java
@@ -0,0 +1,64 @@
+package com.zxw.System.config;
+
+import com.zxw.security.shiro.CustomRealm;
+import org.apache.shiro.authc.credential.HashedCredentialsMatcher;
+import org.apache.shiro.crypto.hash.Sha256Hash;
+import org.apache.shiro.mgt.SessionsSecurityManager;
+import org.apache.shiro.spring.web.config.DefaultShiroFilterChainDefinition;
+import org.apache.shiro.spring.web.config.ShiroFilterChainDefinition;
+import org.apache.shiro.web.mgt.DefaultWebSecurityManager;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+
+@Configuration
+public class shiroConfig {
+
+
+ // 配置自定义Realm
+ @Bean
+ public CustomRealm customRealm() {
+// UserRealm userRealm = new UserRealm();
+// userRealm.setCredentialsMatcher(credentialsMatcher()); //配置使用哈希密码匹配
+ CustomRealm customRealm = new CustomRealm();
+ return customRealm;
+ }
+
+ // 配置url过滤器
+ @Bean
+ public ShiroFilterChainDefinition shiroFilterChainDefinition() {
+ DefaultShiroFilterChainDefinition chainDefinition = new DefaultShiroFilterChainDefinition();
+ // DefaultFilter枚举类中
+ chainDefinition.addPathDefinition("/kaptcha/create", "anon");
+ chainDefinition.addPathDefinition("/logout", "anon");
+ chainDefinition.addPathDefinition("/login", "anon");
+ chainDefinition.addPathDefinition("/api/**", "anon");
+// chainDefinition.addPathDefinition("/**", "anon");
+ // 静态资源访问设置
+ chainDefinition.addPathDefinition("/web/js/**", "anon");
+ chainDefinition.addPathDefinition("/web/css/**", "anon");
+ chainDefinition.addPathDefinition("/web/images/**", "anon");
+ chainDefinition.addPathDefinition("/web/font/**", "anon");
+ chainDefinition.addPathDefinition("/web/iview/**", "anon");
+ chainDefinition.addPathDefinition("/web/layui/**", "anon");
+ chainDefinition.addPathDefinition("/**", "authc");
+ return chainDefinition;
+ }
+
+ // 设置用于匹配密码的CredentialsMatcher
+ @Bean
+ public HashedCredentialsMatcher credentialsMatcher() {
+ HashedCredentialsMatcher credentialsMatcher = new HashedCredentialsMatcher();
+ credentialsMatcher.setHashAlgorithmName(Sha256Hash.ALGORITHM_NAME); // 散列算法,这里使用更安全的sha256算法
+ credentialsMatcher.setStoredCredentialsHexEncoded(false); // 数据库存储的密码字段使用HEX还是BASE64方式加密
+ credentialsMatcher.setHashIterations(1024); // 散列迭代次数
+ return credentialsMatcher;
+ }
+
+ // 配置security并设置userReaml,避免xxxx required a bean named 'authorizer' that could not be found.的报错
+ @Bean
+ public SessionsSecurityManager securityManager() {
+ DefaultWebSecurityManager securityManager = new DefaultWebSecurityManager();
+ securityManager.setRealm(customRealm());
+ return securityManager;
+ }
+}
\ No newline at end of file
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/System/systemenum/PersonType.java b/Jd-Jwsystem-master/src/main/java/com/zxw/System/systemenum/PersonType.java
new file mode 100644
index 0000000000000000000000000000000000000000..6cf260c05aaf2047963ef4b710345616cbe6f65e
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/System/systemenum/PersonType.java
@@ -0,0 +1,11 @@
+package com.zxw.System.systemenum;
+
+/**
+ * @author zxw
+ * @date 2020/5/3 14:09
+ */
+public enum PersonType {
+ STUDENT,
+ TEACHER,
+ USER
+}
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/System/systemenum/WeekEnum.java b/Jd-Jwsystem-master/src/main/java/com/zxw/System/systemenum/WeekEnum.java
new file mode 100644
index 0000000000000000000000000000000000000000..b5f7b95ef8f7806b5a3d5b4775db8e9b5c53130e
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/System/systemenum/WeekEnum.java
@@ -0,0 +1,39 @@
+package com.zxw.System.systemenum;
+
+import lombok.AllArgsConstructor;
+
+/**
+ * @author zxw
+ * @date 2020/5/2 13:31
+ */
+@AllArgsConstructor
+public enum WeekEnum {
+ MONDAY(1, "星期一"),
+ TUESDAY(2, "星期二"),
+ WEDNESDAY(3, "星期三"),
+ THURSDAY(4, "星期四"),
+ FIRDAY(5, "星期五"),
+ SATURDAY(6, "星期六"),
+ SUNDAY(7, "星期天"),
+ ;
+
+
+ private Integer value;
+ private String label;
+
+ public Integer getValue() {
+ return value;
+ }
+
+ public void setValue(Integer value) {
+ this.value = value;
+ }
+
+ public String getLabel() {
+ return label;
+ }
+
+ public void setLabel(String label) {
+ this.label = label;
+ }
+}
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/common/advice/CommonExecptionHandler.java b/Jd-Jwsystem-master/src/main/java/com/zxw/common/advice/CommonExecptionHandler.java
new file mode 100644
index 0000000000000000000000000000000000000000..42b908e39fa7de3bf7f057f717ea5c351181bce7
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/common/advice/CommonExecptionHandler.java
@@ -0,0 +1,20 @@
+package com.zxw.common.advice;
+
+import com.zxw.common.exception.JwException;
+import com.zxw.common.pojo.ExceptionResult;
+import org.springframework.http.ResponseEntity;
+import org.springframework.web.bind.annotation.ControllerAdvice;
+import org.springframework.web.bind.annotation.ExceptionHandler;
+
+/**
+ * @author zxw
+ * @date 2019/11/8 21:44
+ */
+@ControllerAdvice
+public class CommonExecptionHandler {
+
+ @ExceptionHandler(JwException.class)
+ public ResponseEntity handlerExecption(JwException e) {
+ return ResponseEntity.status(e.getExceptionEnums().getCode()).body(new ExceptionResult(e.getExceptionEnums()));
+ }
+}
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/common/enums/ExceptionEnums.java b/Jd-Jwsystem-master/src/main/java/com/zxw/common/enums/ExceptionEnums.java
new file mode 100644
index 0000000000000000000000000000000000000000..817b8ae93166412568a645165fc068d1e0e94198
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/common/enums/ExceptionEnums.java
@@ -0,0 +1,20 @@
+package com.zxw.common.enums;
+
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+
+/**
+ * @author zxw
+ * @date 2019/11/8 21:42
+ */
+@Getter
+@NoArgsConstructor
+@AllArgsConstructor
+public enum ExceptionEnums {
+ NO_DATA(400, "没有数据")
+ ;
+ private Integer code;
+ private String msg;
+
+ }
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/common/exception/BadRequestException.java b/Jd-Jwsystem-master/src/main/java/com/zxw/common/exception/BadRequestException.java
new file mode 100644
index 0000000000000000000000000000000000000000..5d20c69e9c618656f7df5352ffcbc5e4fc5b04c1
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/common/exception/BadRequestException.java
@@ -0,0 +1,21 @@
+package com.zxw.common.exception;
+
+import lombok.Getter;
+import org.springframework.http.HttpStatus;
+
+import static org.springframework.http.HttpStatus.BAD_REQUEST;
+
+@Getter
+public class BadRequestException extends RuntimeException {
+
+ private Integer status = BAD_REQUEST.value();
+
+ public BadRequestException(String msg) {
+ super(msg);
+ }
+
+ public BadRequestException(HttpStatus status, String msg) {
+ super(msg);
+ this.status = status.value();
+ }
+}
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/common/exception/EntityExistException.java b/Jd-Jwsystem-master/src/main/java/com/zxw/common/exception/EntityExistException.java
new file mode 100644
index 0000000000000000000000000000000000000000..9c6294faf6f1afb4c12226bf3907e04c91e36ad0
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/common/exception/EntityExistException.java
@@ -0,0 +1,15 @@
+package com.zxw.common.exception;
+
+import org.springframework.util.StringUtils;
+
+public class EntityExistException extends RuntimeException {
+
+ public EntityExistException(Class clazz, String field, String val) {
+ super(EntityExistException.generateMessage(clazz.getSimpleName(), field, val));
+ }
+
+ private static String generateMessage(String entity, String field, String val) {
+ return StringUtils.capitalize(entity)
+ + " with " + field + " " + val + " existed";
+ }
+}
\ No newline at end of file
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/common/exception/EntityNotFoundException.java b/Jd-Jwsystem-master/src/main/java/com/zxw/common/exception/EntityNotFoundException.java
new file mode 100644
index 0000000000000000000000000000000000000000..8090d19955d143c3c2ad2239ab5342853ed62d34
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/common/exception/EntityNotFoundException.java
@@ -0,0 +1,15 @@
+package com.zxw.common.exception;
+
+import org.springframework.util.StringUtils;
+
+public class EntityNotFoundException extends RuntimeException {
+
+ public EntityNotFoundException(Class clazz, String field, String val) {
+ super(EntityNotFoundException.generateMessage(clazz.getSimpleName(), field, val));
+ }
+
+ private static String generateMessage(String entity, String field, String val) {
+ return StringUtils.capitalize(entity)
+ + " with " + field + " " + val + " does not exist";
+ }
+}
\ No newline at end of file
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/common/exception/JwException.java b/Jd-Jwsystem-master/src/main/java/com/zxw/common/exception/JwException.java
new file mode 100644
index 0000000000000000000000000000000000000000..4c3bbdc8604f057c30843413f87dfbc95f4f7de6
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/common/exception/JwException.java
@@ -0,0 +1,18 @@
+package com.zxw.common.exception;
+
+import com.zxw.common.enums.ExceptionEnums;
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+
+/**
+ * @author zxw
+ * @date 2019/11/8 21:43
+ */
+
+@AllArgsConstructor
+@NoArgsConstructor
+@Getter
+public class JwException extends RuntimeException {
+ private ExceptionEnums exceptionEnums;
+}
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/common/pojo/ExceptionResult.java b/Jd-Jwsystem-master/src/main/java/com/zxw/common/pojo/ExceptionResult.java
new file mode 100644
index 0000000000000000000000000000000000000000..d7981649e427fadb72bcbed3d33c4d1fce873d1c
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/common/pojo/ExceptionResult.java
@@ -0,0 +1,17 @@
+package com.zxw.common.pojo;
+
+import com.zxw.common.enums.ExceptionEnums;
+import lombok.Data;
+
+@Data
+public class ExceptionResult {
+ private int status;
+ private String message;
+ private Long timestamp;
+
+ public ExceptionResult(ExceptionEnums em) {
+ this.status = em.getCode();
+ this.message = em.getMsg();
+ this.timestamp = System.currentTimeMillis();
+ }
+}
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/common/pojo/MenuMeta.java b/Jd-Jwsystem-master/src/main/java/com/zxw/common/pojo/MenuMeta.java
new file mode 100644
index 0000000000000000000000000000000000000000..be50e8e7915e58c9c93e9f5e8b34b0f32fab7875
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/common/pojo/MenuMeta.java
@@ -0,0 +1,18 @@
+package com.zxw.common.pojo;
+
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+/**
+ * @PACKAGE_NAME: com.zxw.common.pojo
+ * @author: Administrator
+ * @DATE: 2019/12/25 09:01:55
+ **/
+@Data
+@AllArgsConstructor
+@NoArgsConstructor
+public class MenuMeta {
+ private String title;
+ private String icon;
+}
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/common/pojo/MenuNode.java b/Jd-Jwsystem-master/src/main/java/com/zxw/common/pojo/MenuNode.java
new file mode 100644
index 0000000000000000000000000000000000000000..938c0e77d2301c8c137240acf60c070f2ede0946
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/common/pojo/MenuNode.java
@@ -0,0 +1,35 @@
+package com.zxw.common.pojo;
+
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.zxw.jwxt.domain.AuthFunction;
+import com.zxw.jwxt.domain.Menu;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+
+@Data
+@AllArgsConstructor
+@NoArgsConstructor
+public class MenuNode implements Serializable {
+ private Long id;
+
+ private String name;
+
+ private String path;
+
+ private Boolean hidden;
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private String redirect;
+ private String component;
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private Boolean alwaysShow;
+ private Long pid;
+ private MenuMeta meta;
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private List children;
+
+}
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/common/pojo/PageUtils.java b/Jd-Jwsystem-master/src/main/java/com/zxw/common/pojo/PageUtils.java
new file mode 100644
index 0000000000000000000000000000000000000000..99a4d0f663b2a2f90f1bc6b487666e13264b59e2
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/common/pojo/PageUtils.java
@@ -0,0 +1,22 @@
+package com.zxw.common.pojo;
+
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.io.Serializable;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+@Data
+@AllArgsConstructor
+@NoArgsConstructor
+public class PageUtils implements Serializable {
+
+ private long total;
+ private List> rows;
+ private Map extraData = new HashMap<>();
+ private long realTotal;
+
+}
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/common/pojo/RS.java b/Jd-Jwsystem-master/src/main/java/com/zxw/common/pojo/RS.java
new file mode 100644
index 0000000000000000000000000000000000000000..09c6adc2c8e2f6d003dda56bb6ffae9aebfd088b
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/common/pojo/RS.java
@@ -0,0 +1,50 @@
+package com.zxw.common.pojo;
+
+import lombok.NoArgsConstructor;
+
+import java.io.Serializable;
+import java.util.HashMap;
+
+/**
+ * @author zxw
+ * @date 2019/11/8 22:12
+ */
+@NoArgsConstructor
+public class RS extends HashMap implements Serializable {
+
+ public static RS ok() {
+ RS rs = new RS();
+ rs.put("status", "1");
+ rs.put("msg", "ok");
+ return rs;
+ }
+
+ public static RS ok(Object msg) {
+ RS rs = new RS();
+ rs.put("status", "1");
+ rs.put("msg", msg);
+ return rs;
+ }
+
+ public static RS error(Object msg) {
+ RS rs = new RS();
+ rs.put("status", "0");
+ rs.put("msg", msg);
+ return rs;
+ }
+
+ public static RS define(String status, Object msg) {
+ RS rs = new RS();
+ rs.put("status", status);
+ rs.put("msg", msg);
+ return rs;
+ }
+
+ public static RS putMap(String status, HashMap hashMap) {
+ RS rs = new RS();
+ rs.put("status", status);
+ rs.put("msg", hashMap);
+ return rs;
+ }
+
+}
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/common/pojo/TableResponse.java b/Jd-Jwsystem-master/src/main/java/com/zxw/common/pojo/TableResponse.java
new file mode 100644
index 0000000000000000000000000000000000000000..57dc72335ce290c2c12e7c7ad9db8fd70259a79c
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/common/pojo/TableResponse.java
@@ -0,0 +1,39 @@
+package com.zxw.common.pojo;
+
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * @author zxw
+ * @date 2019/11/8 21:32
+ */
+@Data
+@AllArgsConstructor
+public class TableResponse extends Page {
+ private Map extraData = new HashMap<>();
+ private long realTotal;
+
+ public static TableResponse of(IPage page) {
+ TableResponse tableResponse = new TableResponse(page);
+ tableResponse.setRealTotal(page.getTotal());
+ return tableResponse;
+
+ }
+
+ public TableResponse(IPage page) {
+ this.setRecords(page.getRecords());
+ this.setTotal(page.getTotal());
+ this.setCurrent(page.getCurrent());
+ this.setSize(page.getSize());
+ this.setPages(page.getPages());
+ }
+
+ public TableResponse(Map map) {
+ this.extraData = map;
+ }
+}
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/common/utils/CookieUtils.java b/Jd-Jwsystem-master/src/main/java/com/zxw/common/utils/CookieUtils.java
new file mode 100644
index 0000000000000000000000000000000000000000..bfeb95fb2597161e9616a89eecea46995124bfab
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/common/utils/CookieUtils.java
@@ -0,0 +1,228 @@
+package com.zxw.common.utils;
+
+import java.io.UnsupportedEncodingException;
+import java.net.URLDecoder;
+import java.net.URLEncoder;
+
+import javax.servlet.http.Cookie;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+
+/**
+ *
+ * Cookie 工具类
+ *
+ */
+public final class CookieUtils {
+
+ /**
+ * 得到Cookie的值, 不编码
+ *
+ * @param request
+ * @param cookieName
+ * @return
+ */
+ public static String getCookieValue(HttpServletRequest request, String cookieName) {
+ return getCookieValue(request, cookieName, false);
+ }
+
+ /**
+ * 得到Cookie的值,
+ *
+ * @param request
+ * @param cookieName
+ * @return
+ */
+ public static String getCookieValue(HttpServletRequest request, String cookieName, boolean isDecoder) {
+ Cookie[] cookieList = request.getCookies();
+ if (cookieList == null || cookieName == null) {
+ return null;
+ }
+ String retValue = null;
+ try {
+ for (int i = 0; i < cookieList.length; i++) {
+ if (cookieList[i].getName().equals(cookieName)) {
+ if (isDecoder) {
+ retValue = URLDecoder.decode(cookieList[i].getValue(), "UTF-8");
+ } else {
+ retValue = cookieList[i].getValue();
+ }
+ break;
+ }
+ }
+ } catch (UnsupportedEncodingException e) {
+ e.printStackTrace();
+ }
+ return retValue;
+ }
+
+ /**
+ * 得到Cookie的值,
+ *
+ * @param request
+ * @param cookieName
+ * @return
+ */
+ public static String getCookieValue(HttpServletRequest request, String cookieName, String encodeString) {
+ Cookie[] cookieList = request.getCookies();
+ if (cookieList == null || cookieName == null) {
+ return null;
+ }
+ String retValue = null;
+ try {
+ for (int i = 0; i < cookieList.length; i++) {
+ if (cookieList[i].getName().equals(cookieName)) {
+ retValue = URLDecoder.decode(cookieList[i].getValue(), encodeString);
+ break;
+ }
+ }
+ } catch (UnsupportedEncodingException e) {
+ e.printStackTrace();
+ }
+ return retValue;
+ }
+
+ /**
+ * 设置Cookie的值 不设置生效时间默认浏览器关闭即失效,也不编码
+ */
+ public static void setCookie(HttpServletRequest request, HttpServletResponse response, String cookieName,
+ String cookieValue) {
+ setCookie(request, response, cookieName, cookieValue, -1);
+ }
+
+ /**
+ * 设置Cookie的值 在指定时间内生效,但不编码
+ */
+ public static void setCookie(HttpServletRequest request, HttpServletResponse response, String cookieName,
+ String cookieValue, int cookieMaxage) {
+ setCookie(request, response, cookieName, cookieValue, cookieMaxage, false);
+ }
+
+ /**
+ * 设置Cookie的值 不设置生效时间,但编码
+ */
+ public static void setCookie(HttpServletRequest request, HttpServletResponse response, String cookieName,
+ String cookieValue, boolean isEncode) {
+ setCookie(request, response, cookieName, cookieValue, -1, isEncode);
+ }
+
+ /**
+ * 设置Cookie的值 在指定时间内生效, 编码参数
+ */
+ public static void setCookie(HttpServletRequest request, HttpServletResponse response, String cookieName,
+ String cookieValue, int cookieMaxage, boolean isEncode) {
+ doSetCookie(request, response, cookieName, cookieValue, cookieMaxage, isEncode);
+ }
+
+ /**
+ * 设置Cookie的值 在指定时间内生效, 编码参数(指定编码)
+ */
+ public static void setCookie(HttpServletRequest request, HttpServletResponse response, String cookieName,
+ String cookieValue, int cookieMaxage, String encodeString) {
+ doSetCookie(request, response, cookieName, cookieValue, cookieMaxage, encodeString);
+ }
+
+ /**
+ * 删除Cookie带cookie域名
+ */
+ public static void deleteCookie(HttpServletRequest request, HttpServletResponse response,
+ String cookieName) {
+ doSetCookie(request, response, cookieName, "", -1, false);
+ }
+
+ /**
+ * 设置Cookie的值,并使其在指定时间内生效
+ *
+ * @param cookieMaxage cookie生效的最大秒数
+ */
+ private static final void doSetCookie(HttpServletRequest request, HttpServletResponse response,
+ String cookieName, String cookieValue, int cookieMaxage, boolean isEncode) {
+ try {
+ if (cookieValue == null) {
+ cookieValue = "";
+ } else if (isEncode) {
+ cookieValue = URLEncoder.encode(cookieValue, "utf-8");
+ }
+ Cookie cookie = new Cookie(cookieName, cookieValue);
+ if (cookieMaxage > 0)
+ cookie.setMaxAge(cookieMaxage);
+ if (null != request) {// 设置域名的cookie
+ String domainName = getDomainName(request);
+ System.out.println(domainName);
+ if (!"localhost".equals(domainName)) {
+ cookie.setDomain(domainName);
+ }
+ }
+ cookie.setPath("/");
+ response.addCookie(cookie);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ /**
+ * 设置Cookie的值,并使其在指定时间内生效
+ *
+ * @param cookieMaxage cookie生效的最大秒数
+ */
+ private static final void doSetCookie(HttpServletRequest request, HttpServletResponse response,
+ String cookieName, String cookieValue, int cookieMaxage, String encodeString) {
+ try {
+ if (cookieValue == null) {
+ cookieValue = "";
+ } else {
+ cookieValue = URLEncoder.encode(cookieValue, encodeString);
+ }
+ Cookie cookie = new Cookie(cookieName, cookieValue);
+ if (cookieMaxage > 0)
+ cookie.setMaxAge(cookieMaxage);
+ if (null != request) {// 设置域名的cookie
+ String domainName = getDomainName(request);
+ System.out.println(domainName);
+ if (!"localhost".equals(domainName)) {
+ cookie.setDomain(domainName);
+ }
+ }
+ cookie.setPath("/");
+ response.addCookie(cookie);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ /**
+ * 得到cookie的域名
+ */
+ private static final String getDomainName(HttpServletRequest request) {
+ String domainName = null;
+
+ String serverName = request.getRequestURL().toString();
+ if (serverName == null || serverName.equals("")) {
+ domainName = "";
+ } else {
+ serverName = serverName.toLowerCase();
+ serverName = serverName.substring(7);
+ final int end = serverName.indexOf("/");
+ serverName = serverName.substring(0, end);
+ final String[] domains = serverName.split("\\.");
+ int len = domains.length;
+ if (len > 3) {
+ // www.xxx.com.cn
+ domainName = "." + domains[len - 3] + "." + domains[len - 2] + "." + domains[len - 1];
+ } else if (len <= 3 && len > 1) {
+ // xxx.com or xxx.cn
+ domainName = "." + domains[len - 2] + "." + domains[len - 1];
+ } else {
+ domainName = serverName;
+ }
+ }
+
+ if (domainName != null && domainName.indexOf(":") > 0) {
+ String[] ary = domainName.split("\\:");
+ domainName = ary[0];
+ }
+ return domainName;
+ }
+
+}
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/common/utils/E3Result.java b/Jd-Jwsystem-master/src/main/java/com/zxw/common/utils/E3Result.java
new file mode 100644
index 0000000000000000000000000000000000000000..4551756cc44778c7aea20ceb943c6fb27fc5700a
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/common/utils/E3Result.java
@@ -0,0 +1,162 @@
+package com.zxw.common.utils;
+
+import java.io.Serializable;
+import java.util.List;
+
+import com.fasterxml.jackson.databind.JsonNode;
+import com.fasterxml.jackson.databind.ObjectMapper;
+
+public class E3Result implements Serializable {
+
+ // 定义jackson对象
+ private static final ObjectMapper MAPPER = new ObjectMapper();
+
+ // 响应业务状态
+ private Integer status;
+
+ // 响应消息
+ private String msg;
+
+ // 响应中的数据
+ private Object data;
+
+ public static E3Result build(Integer status, String msg, Object data) {
+ return new E3Result(status, msg, data);
+ }
+
+ public static E3Result ok(Object data) {
+ return new E3Result(data);
+ }
+
+ public static E3Result ok() {
+ return new E3Result(null);
+ }
+
+ public static E3Result ok(Integer status) {
+ return new E3Result(status);
+ }
+
+ public E3Result() {
+
+ }
+
+ public static E3Result build(Integer status, String msg) {
+ return new E3Result(status, msg, null);
+ }
+
+ public E3Result(Integer status, String msg, Object data) {
+ this.status = status;
+ this.msg = msg;
+ this.data = data;
+ }
+
+ public E3Result(Object data) {
+ this.status = 200;
+ this.msg = "OK";
+ this.data = data;
+ }
+
+ public E3Result(Integer status) {
+ this.status = status;
+ this.msg = "OK";
+ this.data = null;
+ }
+
+ // public Boolean isOK() {
+ // return this.status == 200;
+ // }
+
+ public Integer getStatus() {
+ return status;
+ }
+
+ public void setStatus(Integer status) {
+ this.status = status;
+ }
+
+ public String getMsg() {
+ return msg;
+ }
+
+ public void setMsg(String msg) {
+ this.msg = msg;
+ }
+
+ public Object getData() {
+ return data;
+ }
+
+ public void setData(Object data) {
+ this.data = data;
+ }
+
+ /**
+ * 将json结果集转化为TaotaoResult对象
+ *
+ * @param jsonData
+ * json数据
+ * @param clazz
+ * TaotaoResult中的object类型
+ * @return
+ */
+ public static E3Result formatToPojo(String jsonData, Class> clazz) {
+ try {
+ if (clazz == null) {
+ return MAPPER.readValue(jsonData, E3Result.class);
+ }
+ JsonNode jsonNode = MAPPER.readTree(jsonData);
+ JsonNode data = jsonNode.get("data");
+ Object obj = null;
+ if (clazz != null) {
+ if (data.isObject()) {
+ obj = MAPPER.readValue(data.traverse(), clazz);
+ } else if (data.isTextual()) {
+ obj = MAPPER.readValue(data.asText(), clazz);
+ }
+ }
+ return build(jsonNode.get("status").intValue(), jsonNode.get("msg").asText(), obj);
+ } catch (Exception e) {
+ return null;
+ }
+ }
+
+ /**
+ * 没有object对象的转化
+ *
+ * @param json
+ * @return
+ */
+ public static E3Result format(String json) {
+ try {
+ return MAPPER.readValue(json, E3Result.class);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ return null;
+ }
+
+ /**
+ * Object是集合转化
+ *
+ * @param jsonData
+ * json数据
+ * @param clazz
+ * 集合中的类型
+ * @return
+ */
+ public static E3Result formatToList(String jsonData, Class> clazz) {
+ try {
+ JsonNode jsonNode = MAPPER.readTree(jsonData);
+ JsonNode data = jsonNode.get("data");
+ Object obj = null;
+ if (data.isArray() && data.size() > 0) {
+ obj = MAPPER.readValue(data.traverse(),
+ MAPPER.getTypeFactory().constructCollectionType(List.class, clazz));
+ }
+ return build(jsonNode.get("status").intValue(), jsonNode.get("msg").asText(), obj);
+ } catch (Exception e) {
+ return null;
+ }
+ }
+
+}
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/common/utils/FileUtils.java b/Jd-Jwsystem-master/src/main/java/com/zxw/common/utils/FileUtils.java
new file mode 100644
index 0000000000000000000000000000000000000000..b05090b604efbad2d0323a52a0fd696fd8a4a060
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/common/utils/FileUtils.java
@@ -0,0 +1,30 @@
+package com.zxw.common.utils;
+
+//import sun.misc.BASE64Encoder;
+
+import java.io.IOException;
+import java.net.URLEncoder;
+
+
+public class FileUtils {
+ /**
+ * 下载文件时,针对不同浏览器,进行附件名的编码
+ *
+ * @param filename
+ * 下载文件名
+ * @param agent
+ * 客户端浏览器
+ * @return 编码后的下载附件名
+ * @throws IOException
+ */
+ public static String encodeDownloadFilename(String filename, String agent) throws IOException {
+ if (agent.contains("Firefox")) { // 火狐浏览器
+ //filename = "=?UTF-8?B?" + new BASE64Encoder().encode(filename.getBytes("utf-8")) + "?=";
+ //filename = filename.replaceAll("\r\n", "");
+ } else { // IE及其他浏览器
+ filename = URLEncoder.encode(filename, "utf-8");
+ filename = filename.replace("+", " ");
+ }
+ return filename;
+ }
+}
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/common/utils/JsonUtils.java b/Jd-Jwsystem-master/src/main/java/com/zxw/common/utils/JsonUtils.java
new file mode 100644
index 0000000000000000000000000000000000000000..396d6bbc8dab9244d52ff20cce357e1b76776794
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/common/utils/JsonUtils.java
@@ -0,0 +1,111 @@
+package com.zxw.common.utils;
+
+import java.util.List;
+
+import com.fasterxml.jackson.core.JsonProcessingException;
+import com.fasterxml.jackson.databind.JavaType;
+import com.fasterxml.jackson.databind.JsonNode;
+import com.fasterxml.jackson.databind.ObjectMapper;
+
+
+/**
+ * 淘淘商城自定义响应结构
+ */
+public class JsonUtils {
+
+ // 定义jackson对象
+ private static final ObjectMapper MAPPER = new ObjectMapper();
+
+ /**
+ * 将对象转换成json字符串。
+ *
+ * Title: pojoToJson
+ *
+ *
+ * Description:
+ *
+ *
+ * @param data
+ * @return
+ */
+ public static String objectToJson(Object data) {
+ try {
+ String string = MAPPER.writeValueAsString(data);
+ return string;
+ } catch (JsonProcessingException e) {
+ e.printStackTrace();
+ }
+ return null;
+ }
+
+ /**
+ * 将集合转换成json字符串。
+ *
+ * Title: pojoToJson
+ *
+ *
+ * Description:
+ *
+ * @param
+ *
+ * @param
+ * @param list
+ *
+ * @param data
+ * @return
+ */
+ public static String jsonToList(List list) {
+ try {
+ String jsonfromList = MAPPER.writeValueAsString(list);
+ return jsonfromList;
+ } catch (JsonProcessingException e) {
+ e.printStackTrace();
+ }
+ return null;
+ }
+
+ /**
+ * 将json结果集转化为对象
+ *
+ * @param jsonData
+ * json数据
+ * @param clazz
+ * 对象中的object类型
+ * @return
+ */
+ public static T jsonToPojo(String jsonData, Class beanType) {
+ try {
+ T t = MAPPER.readValue(jsonData, beanType);
+ return t;
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ return null;
+ }
+
+ /**
+ * 将json数据转换成pojo对象list
+ *
+ * Title: jsonToList
+ *
+ *
+ * Description:
+ *
+ *
+ * @param jsonData
+ * @param beanType
+ * @return
+ */
+ public static List jsonToList(String jsonData, Class beanType) {
+ JavaType javaType = MAPPER.getTypeFactory().constructParametricType(List.class, beanType);
+ try {
+ List list = MAPPER.readValue(jsonData, javaType);
+ return list;
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ return null;
+ }
+
+}
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/common/utils/XssfUtils.java b/Jd-Jwsystem-master/src/main/java/com/zxw/common/utils/XssfUtils.java
new file mode 100644
index 0000000000000000000000000000000000000000..018c1e054561ae4353cc71abb673423b50b188f7
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/common/utils/XssfUtils.java
@@ -0,0 +1,60 @@
+package com.zxw.common.utils;
+
+import org.apache.poi.xssf.usermodel.XSSFCellStyle;
+import org.apache.poi.xssf.usermodel.XSSFRow;
+import org.apache.poi.xssf.usermodel.XSSFSheet;
+import org.apache.poi.xssf.usermodel.XSSFWorkbook;
+
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import java.io.FileNotFoundException;
+import java.io.IOException;
+import java.io.OutputStream;
+import java.util.List;
+
+public class XssfUtils {
+ public void ExportXlsModel(HttpServletRequest request, HttpServletResponse response) throws Exception {
+ // 在内存中创建一个Excel文件,通过输出流写到客户端提供下载
+ XSSFWorkbook workbook = new XSSFWorkbook();
+ // 创建一个sheet页
+ XSSFSheet sheet = workbook.createSheet("学生信息模板");
+ XSSFCellStyle cellStyle = workbook.createCellStyle();
+ cellStyle.setWrapText(true);
+ cellStyle.setAlignment(XSSFCellStyle.ALIGN_CENTER); // 居中
+ cellStyle.setVerticalAlignment(XSSFCellStyle.VERTICAL_CENTER);
+ // 第一行表头
+ XSSFRow headRow = sheet.createRow(0);
+ headRow.createCell(0).setCellValue("学号");
+ headRow.createCell(1).setCellValue("姓名");
+ headRow.createCell(2).setCellValue("密码");
+ headRow.createCell(3).setCellValue("性别");
+ headRow.createCell(4).setCellValue("户籍");
+ headRow.createCell(5).setCellValue("手机");
+ headRow.createCell(6).setCellValue("身份证号码");
+ headRow.createCell(7).setCellValue("家庭住址");
+ headRow.createCell(8).setCellValue("政治面貌");
+ String filename = "学生信息模板.xlsx";
+ String agent = request.getHeader("User-Agent");
+ filename = FileUtils.encodeDownloadFilename(filename, agent);
+ // 一个流两个头
+ OutputStream out = response.getOutputStream();
+ String contentType = request.getSession().getServletContext().getMimeType(filename);
+// response.setContentType("APPLICATION/OCTET-STREAM");
+ response.setContentType(contentType);
+ response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=utf-8");
+ response.setHeader("content-disposition", "attchment;filename=" + filename);
+ workbook.write(out);
+ }
+
+ public void ExportXlsStudent(HttpServletRequest request, HttpServletResponse response) throws Exception {
+ }
+
+ public void ExportXlsStudent(List> list, HttpServletRequest request, HttpServletResponse response) {
+ }
+
+ /**
+ * 导入学生信息
+ */
+ public void ImportXlsStudent() throws FileNotFoundException, IOException {
+ }
+}
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/jwxt/controller/AbsentController.java b/Jd-Jwsystem-master/src/main/java/com/zxw/jwxt/controller/AbsentController.java
new file mode 100644
index 0000000000000000000000000000000000000000..950f9d83d725808fb0d29007e209b712893cad98
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/jwxt/controller/AbsentController.java
@@ -0,0 +1,19 @@
+package com.zxw.jwxt.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ *
+ * 前端控制器
+ *
+ *
+ * @author zxw
+ * @since 2020-01-29
+ */
+@RestController
+@RequestMapping("/absent")
+public class AbsentController extends BaseController {
+
+}
diff --git a/Jd-Jwsystem-master/src/main/java/com/zxw/jwxt/controller/AuthFunctionController.java b/Jd-Jwsystem-master/src/main/java/com/zxw/jwxt/controller/AuthFunctionController.java
new file mode 100644
index 0000000000000000000000000000000000000000..200c7bb7d7c66a9b2c866591e206ff739cdcd6e5
--- /dev/null
+++ b/Jd-Jwsystem-master/src/main/java/com/zxw/jwxt/controller/AuthFunctionController.java
@@ -0,0 +1,206 @@
+package com.zxw.jwxt.controller;
+
+
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.zxw.common.pojo.MenuMeta;
+import com.zxw.common.pojo.MenuNode;
+import com.zxw.common.pojo.RS;
+import com.zxw.jwxt.domain.AuthFunction;
+import com.zxw.jwxt.domain.Menu;
+import com.zxw.jwxt.service.AuthFunctionService;
+import com.zxw.jwxt.service.AuthRoleService;
+import com.zxw.jwxt.service.MenuService;
+import com.zxw.jwxt.vo.QueryFunctionVO;
+import org.apache.commons.lang3.ObjectUtils;
+import org.apache.commons.lang3.StringUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.stream.Collectors;
+
+/**
+ *
+ * 前端控制器
+ *
+ *
+ * @author zxw
+ * @since 2019-11-07
+ */
+@RestController
+@RequestMapping("/api/function")
+public class AuthFunctionController extends BaseController {
+ @Autowired
+ private AuthFunctionService functionSerivce;
+
+ @Autowired
+ private MenuService menuService;
+ @Autowired
+ private AuthRoleService roleService;
+
+ /**
+ * 权限列表
+ *
+ * @param functionQueryParam
+ * @return
+ * @throws IOException
+ */
+ @GetMapping("/pageQuery")
+ public List