改表结构

beetlsql3-dev
Mlxa0324 3 years ago
parent 84688698ac
commit 96729bf8b6

@ -49,7 +49,7 @@ layui.define([ 'form', 'laydate', 'table','codeApi' ], function(exports) {
return ;
}
var url = "/core/codeGen/tableDetail.do?table="+data.tableName;
Common.openDlg(url,"代码生成>"+data.tableName+">代码生成", null);
Common.openDlg(url,"代码生成>"+data.tableName+">代码生成", null, {shadeClose: true});
},
refresh:function(){

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -11,7 +11,7 @@
Target Server Version : 80022
File Encoding : 65001
Date: 08/09/2022 23:43:01
Date: 10/09/2022 16:00:47
*/
SET NAMES utf8mb4;
@ -57,7 +57,7 @@ CREATE TABLE `attribute` (
`org_id` bigint NULL DEFAULT NULL COMMENT '组织机构ID',
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
PRIMARY KEY (`attribute_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1274 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '属性' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '属性' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of attribute
@ -74,7 +74,7 @@ CREATE TABLE `attribute_grouping` (
`sort_order` int UNSIGNED NULL DEFAULT 50 COMMENT '排序',
`attribute_grouping_status` int NULL DEFAULT NULL COMMENT '状态(1正常 2删除)',
PRIMARY KEY (`attribute_grouping_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '属性分组' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '属性分组' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of attribute_grouping
@ -91,7 +91,7 @@ CREATE TABLE `attribute_relation` (
`type_id` bigint NULL DEFAULT NULL COMMENT '类型ID',
`value` varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '值(|||隔开)',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '属性关系表' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '属性关系表' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of attribute_relation
@ -109,7 +109,7 @@ CREATE TABLE `cms_blog` (
`create_user_id` int NULL DEFAULT NULL,
`type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of cms_blog
@ -3442,7 +3442,7 @@ CREATE TABLE `competition_teacher_evaluation` (
`competition_task_three_results_info` varchar(5000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '任务三答辩评分详情',
`competition_task_three_comment` varchar(5000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '任务三答辩评语',
PRIMARY KEY (`competition_teacher_evaluation_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '大赛教师评分详情表' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '大赛教师评分详情表' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of competition_teacher_evaluation
@ -3464,7 +3464,7 @@ CREATE TABLE `core_audit` (
`MESSAGE` varchar(250) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`ORG_ID` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`ID`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of core_audit
@ -3489,7 +3489,7 @@ CREATE TABLE `core_dict` (
INDEX `idx_code`(`TYPE`) USING BTREE,
INDEX `idx_pid`(`PARENT`) USING BTREE,
INDEX `idx_value`(`VALUE`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 206 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '字典表' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 205 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '字典表' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of core_dict
@ -3549,7 +3549,7 @@ CREATE TABLE `core_file` (
`BIZ_TYPE` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`FILE_BATCH_ID` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`ID`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '文件表' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '文件表' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of core_file
@ -3565,7 +3565,7 @@ CREATE TABLE `core_file_tag` (
`VALUE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '关键字对应的值',
`FILE_ID` int NOT NULL COMMENT 'sys_file的id文件id',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '文件标签' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '文件标签' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of core_file_tag
@ -3586,7 +3586,7 @@ CREATE TABLE `core_function` (
`PARENT_ID` int NULL DEFAULT NULL,
`TYPE` varchar(4) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`ID`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 997 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 1006 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of core_function
@ -3866,7 +3866,7 @@ CREATE TABLE `core_menu` (
`SEQ` int NULL DEFAULT NULL,
`ICON` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '图标',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 217 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 218 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of core_menu
@ -3954,7 +3954,7 @@ CREATE TABLE `core_org` (
`TYPE` varchar(6) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '1 公司2 部门3 小组',
`DEL_FLAG` tinyint NULL DEFAULT NULL,
PRIMARY KEY (`ID`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 41 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 40 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of core_org
@ -3991,7 +3991,7 @@ CREATE TABLE `core_role` (
`TYPE` varchar(6) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '1 可以配置 2 固定权限角色',
PRIMARY KEY (`ID`) USING BTREE,
INDEX `code_idx`(`CODE`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 193 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色管理' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 192 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色管理' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of core_role
@ -4011,7 +4011,7 @@ CREATE TABLE `core_role_function` (
`DATA_ACCESS_TYPE` tinyint NULL DEFAULT NULL,
`DATA_ACCESS_POLICY` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`ID`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 29 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 28 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of core_role_function
@ -4039,7 +4039,7 @@ CREATE TABLE `core_role_menu` (
`MENU_ID` int NULL DEFAULT NULL,
`CREATE_TIME` datetime(6) NULL DEFAULT NULL,
PRIMARY KEY (`ID`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of core_role_menu
@ -4089,7 +4089,7 @@ CREATE TABLE `core_user` (
`JOB_TYPE0` varchar(16) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`attachment_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`ID`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 328 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 327 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of core_user
@ -4335,7 +4335,7 @@ CREATE TABLE `core_user_role` (
`ORG_ID` int NULL DEFAULT NULL,
`CREATE_TIME` datetime(6) NULL DEFAULT NULL,
PRIMARY KEY (`ID`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 267 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户关联角色' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 266 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户关联角色' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of core_user_role
@ -4408,7 +4408,7 @@ CREATE TABLE `course_info` (
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
`add_time` datetime NULL DEFAULT NULL,
PRIMARY KEY (`course_info_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1232 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '课程管理 - 课程配置' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 1231 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '课程管理 - 课程配置' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of course_info
@ -4603,7 +4603,7 @@ CREATE TABLE `course_label` (
`org_id` bigint NULL DEFAULT NULL COMMENT '组织机构ID',
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
PRIMARY KEY (`course_label_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 11 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '课程管理 - 标签管理' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 10 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '课程管理 - 标签管理' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of course_label
@ -4641,7 +4641,7 @@ CREATE TABLE `exam` (
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
`resources_application_id` bigint NULL DEFAULT NULL COMMENT '应用ID',
PRIMARY KEY (`exam_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '考试' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '考试' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of exam
@ -4671,7 +4671,7 @@ CREATE TABLE `exam_students` (
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
`exam_task_three_info` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '任务三答辩资料',
PRIMARY KEY (`exam_students_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 257 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '参考学生' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 256 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '参考学生' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of exam_students
@ -4793,7 +4793,7 @@ CREATE TABLE `exam_task_one_question` (
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
`resources_question_id` bigint NULL DEFAULT NULL COMMENT '题目来源ID',
PRIMARY KEY (`exam_task_one_question_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1598 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '考试任务一试题' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 1597 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '考试任务一试题' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of exam_task_one_question
@ -5909,7 +5909,7 @@ CREATE TABLE `exam_task_second_question` (
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
`resources_competition_id` bigint NULL DEFAULT NULL COMMENT '题目来源ID',
PRIMARY KEY (`exam_task_second_question_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 18 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '考试任务二试题' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 17 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '考试任务二试题' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of exam_task_second_question
@ -5944,7 +5944,7 @@ CREATE TABLE `exam_task_second_question_step` (
`org_id` bigint NULL DEFAULT NULL COMMENT '组织机构ID',
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
PRIMARY KEY (`exam_task_second_question_step_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 93 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '大赛任务二试题步骤' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 92 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '大赛任务二试题步骤' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of exam_task_second_question_step
@ -6023,7 +6023,7 @@ CREATE TABLE `exam_task_three_question` (
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
`resources_training_id` bigint NULL DEFAULT NULL COMMENT '题目来源ID',
PRIMARY KEY (`exam_task_three_question_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 17 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '考试任务三试题' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 16 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '考试任务三试题' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of exam_task_three_question
@ -6058,7 +6058,7 @@ CREATE TABLE `exam_task_three_question_step` (
`org_id` bigint NULL DEFAULT NULL COMMENT '组织机构ID',
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
PRIMARY KEY (`exam_task_three_question_step_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 56 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '大赛任务三试题步骤' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 55 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '大赛任务三试题步骤' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of exam_task_three_question_step
@ -6114,7 +6114,7 @@ CREATE TABLE `ip_address` (
`district` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '',
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 20796 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 20795 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of ip_address
@ -26890,6 +26890,9 @@ INSERT INTO `ip_address` VALUES (20792, '192.168.56.1', '', '', '', NULL);
INSERT INTO `ip_address` VALUES (20793, '192.168.56.1', '', '', '', NULL);
INSERT INTO `ip_address` VALUES (20794, '192.168.56.1', '', '', '', NULL);
INSERT INTO `ip_address` VALUES (20795, '192.168.56.1', '', '', '', NULL);
INSERT INTO `ip_address` VALUES (20796, '192.168.56.1', '', '', '', NULL);
INSERT INTO `ip_address` VALUES (20797, '192.168.56.1', '', '', '', NULL);
INSERT INTO `ip_address` VALUES (20798, '192.168.56.1', '', '', '', NULL);
-- ----------------------------
-- Table structure for resources_application
@ -26913,7 +26916,7 @@ CREATE TABLE `resources_application` (
`application_introduction_original` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '应用简介(原始数据)',
`application_info_original` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '应用详细介绍(原始数据)',
PRIMARY KEY (`resources_application_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 52 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '资源管理 - 应用管理' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '资源管理 - 应用管理' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of resources_application
@ -26933,7 +26936,7 @@ CREATE TABLE `resources_application_course` (
`resources_application_id` bigint NULL DEFAULT NULL COMMENT '应用管理ID',
`course_info_id` bigint NULL DEFAULT NULL COMMENT '课程配置ID',
PRIMARY KEY (`resources_application_course_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '应用管理 和 课程 关联' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '应用管理 和 课程 关联' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of resources_application_course
@ -26954,7 +26957,7 @@ CREATE TABLE `resources_competition` (
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
`resources_competition_content_original` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '案例介绍(原始数据)',
PRIMARY KEY (`resources_competition_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 16 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '资源管理 - 竞赛案例管理' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 15 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '资源管理 - 竞赛案例管理' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of resources_competition
@ -26993,7 +26996,7 @@ CREATE TABLE `resources_competition_step` (
`org_id` bigint NULL DEFAULT NULL COMMENT '组织机构ID',
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
PRIMARY KEY (`resources_competition_step_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 90 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '资源管理 - 竞赛案例步骤' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 89 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '资源管理 - 竞赛案例步骤' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of resources_competition_step
@ -27083,7 +27086,7 @@ CREATE TABLE `resources_info` (
`org_id` bigint NULL DEFAULT NULL COMMENT '组织机构ID',
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
PRIMARY KEY (`resources_info_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 808 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '资源管理 - 资源管理' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 807 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '资源管理 - 资源管理' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of resources_info
@ -27302,7 +27305,7 @@ CREATE TABLE `resources_question` (
`org_id` bigint NULL DEFAULT NULL COMMENT '组织机构ID',
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
PRIMARY KEY (`resources_question_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 208 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '资源管理 - 题库管理' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '资源管理 - 题库管理' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of resources_question
@ -27526,7 +27529,7 @@ CREATE TABLE `resources_training` (
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
`resources_training_content_original` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '案例介绍(原始数据)',
PRIMARY KEY (`resources_training_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '资源管理 - 实训案例管理' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '资源管理 - 实训案例管理' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of resources_training
@ -27558,7 +27561,7 @@ CREATE TABLE `resources_training_step` (
`org_id` bigint NULL DEFAULT NULL COMMENT '组织机构ID',
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
PRIMARY KEY (`resources_training_step_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 22 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '资源管理 - 实训案例步骤' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 21 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '资源管理 - 实训案例步骤' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of resources_training_step
@ -27599,7 +27602,7 @@ CREATE TABLE `school_class` (
`org_id` bigint NULL DEFAULT NULL COMMENT '组织机构ID',
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
PRIMARY KEY (`class_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 11 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '班级管理' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 10 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '班级管理' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of school_class
@ -27627,7 +27630,7 @@ CREATE TABLE `school_class_student` (
`org_id` bigint NULL DEFAULT NULL COMMENT '组织机构ID',
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
PRIMARY KEY (`school_class_student_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '班级-学生-关联' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '班级-学生-关联' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of school_class_student
@ -27652,7 +27655,7 @@ CREATE TABLE `student` (
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
`head_img` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '学生头像',
PRIMARY KEY (`student_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 238 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '学生管理' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '学生管理' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of student
@ -27914,7 +27917,7 @@ CREATE TABLE `student_defence_log` (
`org_id` bigint NULL DEFAULT NULL COMMENT '组织机构ID',
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
PRIMARY KEY (`student_defence_log_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '学生答辩记录' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '学生答辩记录' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of student_defence_log
@ -27937,7 +27940,7 @@ CREATE TABLE `student_defence_log_info` (
`org_id` bigint NULL DEFAULT NULL COMMENT '组织机构ID',
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
PRIMARY KEY (`student_defence_log_info_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '学生答辩记录详情' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '学生答辩记录详情' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of student_defence_log_info
@ -27957,7 +27960,7 @@ CREATE TABLE `student_defence_log_note` (
`org_id` bigint NULL DEFAULT NULL COMMENT '组织机构ID',
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
PRIMARY KEY (`student_defence_log_note_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '学生答辩笔记' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '学生答辩笔记' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of student_defence_log_note
@ -27981,7 +27984,7 @@ CREATE TABLE `student_direct_messages` (
`org_id` bigint NULL DEFAULT NULL COMMENT '组织机构ID',
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
PRIMARY KEY (`student_direct_messages_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 19 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '学生私信' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 18 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '学生私信' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of student_direct_messages
@ -28018,7 +28021,7 @@ CREATE TABLE `student_question_log` (
`org_id` bigint NULL DEFAULT NULL COMMENT '组织机构ID',
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
PRIMARY KEY (`student_question_log_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 131 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '学生练题记录' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 130 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '学生练题记录' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of student_question_log
@ -28122,7 +28125,7 @@ CREATE TABLE `student_question_log_answer` (
`org_id` bigint NULL DEFAULT NULL COMMENT '组织机构ID',
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
PRIMARY KEY (`student_question_log_answer_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '学生练题记录答案' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '学生练题记录答案' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of student_question_log_answer
@ -28142,7 +28145,7 @@ CREATE TABLE `student_question_log_info` (
`org_id` bigint NULL DEFAULT NULL COMMENT '组织机构ID',
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
PRIMARY KEY (`student_question_log_info_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 152 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '学生练题记录详情' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 151 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '学生练题记录详情' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of student_question_log_info
@ -28321,7 +28324,7 @@ CREATE TABLE `sys_log` (
INDEX `token`(`token`) USING BTREE,
INDEX `member_id`(`student_id`) USING BTREE,
INDEX `create_time`(`create_time`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 8307 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '行为日志' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 8416 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '行为日志' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of sys_log
@ -28345,7 +28348,7 @@ CREATE TABLE `teacher` (
`org_id` bigint NULL DEFAULT NULL COMMENT '组织机构ID',
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
PRIMARY KEY (`teacher_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 24 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '教师管理' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 23 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '教师管理' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of teacher
@ -28403,13 +28406,14 @@ CREATE TABLE `teacher_open_course` (
`teacher_open_course_code` varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '课程编码',
`teacher_open_course_cover` varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '封面列表JSON格式: {封面URLis默认封面}',
`teacher_open_course_status` int NULL DEFAULT NULL COMMENT '开课状态1启用 2禁用',
`teacher_id` bigint NULL DEFAULT NULL COMMENT '教师ID',
`start_time` datetime NULL DEFAULT NULL COMMENT '开课时间',
`end_time` datetime NULL DEFAULT NULL COMMENT '结课时间',
`org_id` bigint NULL DEFAULT NULL COMMENT '组织ID',
`user_id` bigint NULL DEFAULT NULL COMMENT '用户ID',
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`teacher_open_course_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '教师-我的课程-开课' ROW_FORMAT = Dynamic;
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '教师-我的课程-开课' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of teacher_open_course
@ -28540,7 +28544,7 @@ CREATE TABLE `teacher_open_course_merge_student` (
`user_id` bigint NULL DEFAULT NULL COMMENT '用户ID',
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`teacher_open_course_school_class_merge_student_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '课程开课-关联-学生' ROW_FORMAT = Dynamic;
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '课程开课-关联-学生' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of teacher_open_course_merge_student
@ -28762,7 +28766,6 @@ DROP TABLE IF EXISTS `teacher_open_course_schedule`;
CREATE TABLE `teacher_open_course_schedule` (
`teacher_open_course_schedule_id` bigint NOT NULL COMMENT '课程开课--课表-教师-关联ID',
`teacher_open_course_id` bigint NULL DEFAULT NULL COMMENT '课程开课ID',
`teacher_id` bigint NULL DEFAULT NULL COMMENT '教师ID',
`student_class_ids` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '开课-班级集合(逗号隔开)',
`open_course_session` varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '开课节次数据。JSON格式{ 1: {name: \'\', start: \'\', end: \'\', duration: \'\', \'class\': \'\'}}',
`start_time` datetime NULL DEFAULT NULL COMMENT '开课开始时间',
@ -28780,24 +28783,6 @@ CREATE TABLE `teacher_open_course_schedule` (
-- Records of teacher_open_course_schedule
-- ----------------------------
-- ----------------------------
-- Table structure for teacher_open_course_schedule_merge_teacher
-- ----------------------------
DROP TABLE IF EXISTS `teacher_open_course_schedule_merge_teacher`;
CREATE TABLE `teacher_open_course_schedule_merge_teacher` (
`teacher_open_course_schedule_merge_teacher_id` bigint NOT NULL COMMENT '课程开课--课表-教师-关联ID',
`teacher_open_course_schedule_id` bigint NULL DEFAULT NULL COMMENT '课程开课-课表ID',
`teacher_id` bigint NULL DEFAULT NULL COMMENT '教师ID',
`org_id` bigint NULL DEFAULT NULL COMMENT '组织ID',
`user_id` bigint NULL DEFAULT NULL COMMENT '用户ID',
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`teacher_open_course_schedule_merge_teacher_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '课程开课--课表-关联-教师' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of teacher_open_course_schedule_merge_teacher
-- ----------------------------
-- ----------------------------
-- Table structure for teacher_open_course_score_dashboard
-- ----------------------------
@ -28886,7 +28871,7 @@ CREATE TABLE `universities_colleges` (
`org_id` bigint NULL DEFAULT NULL COMMENT '组织机构ID',
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
PRIMARY KEY (`universities_colleges_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 16 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '院校管理' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '院校管理' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of universities_colleges
@ -28923,7 +28908,7 @@ CREATE TABLE `universities_colleges_jurisdiction_curriculum_resources` (
`org_id` bigint NULL DEFAULT NULL COMMENT '组织机构ID',
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
PRIMARY KEY (`universities_colleges_jurisdiction_curriculum_resources_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '院校权限管理 - 课程资源' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '院校权限管理 - 课程资源' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of universities_colleges_jurisdiction_curriculum_resources
@ -28948,7 +28933,7 @@ CREATE TABLE `universities_colleges_jurisdiction_experimental_system` (
`org_id` bigint NULL DEFAULT NULL COMMENT '组织机构ID',
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
PRIMARY KEY (`universities_colleges_jurisdiction_experimental_system_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 131 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '院校权限管理 - 实验系统' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 130 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '院校权限管理 - 实验系统' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of universities_colleges_jurisdiction_experimental_system
@ -29035,7 +29020,7 @@ CREATE TABLE `university_faculty` (
`user_id` bigint NULL DEFAULT NULL COMMENT '用户ID',
`org_id` bigint NULL DEFAULT NULL COMMENT '组织ID',
PRIMARY KEY (`university_faculty_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '院系管理' ROW_FORMAT = Dynamic;
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '院系管理' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of university_faculty
@ -29056,7 +29041,7 @@ CREATE TABLE `university_system` (
`user_id` bigint NULL DEFAULT NULL COMMENT '用户ID',
`org_id` bigint NULL DEFAULT NULL COMMENT '组织ID',
PRIMARY KEY (`university_system_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '专业管理' ROW_FORMAT = Dynamic;
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '专业管理' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of university_system
@ -29075,7 +29060,7 @@ CREATE TABLE `wrong_question` (
`org_id` bigint NULL DEFAULT NULL COMMENT '组织机构ID',
`user_id` bigint NULL DEFAULT NULL COMMENT '后台用户ID',
PRIMARY KEY (`student_question_log_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 143 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '学生错题集' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 142 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '学生错题集' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of wrong_question

@ -38,6 +38,9 @@ public class TeacherOpenCourse extends BaseEntity{
@Dict(type="global_open_status")
private Integer teacherOpenCourseStatus ;
//教师ID
private Long teacherId ;
//开课时间
@ -192,5 +195,11 @@ public class TeacherOpenCourse extends BaseEntity{
this.createTime = createTime;
}
public Long getTeacherId() {
return teacherId;
}
public void setTeacherId(Long teacherId) {
this.teacherId = teacherId;
}
}

@ -29,6 +29,8 @@ public class TeacherOpenCourseQuery extends PageParam {
// @Query(name = "开课状态1启用 2禁用", display = true,type=Query.TYPE_DICT,dict=GLOBAL_OPEN_STATUS)
@Query(name = "开课状态", display = true,type=Query.TYPE_DICT,dict=GLOBAL_OPEN_STATUS)
private Integer teacherOpenCourseStatus;
@Query(name = "教师", display = true, type=Query.TYPE_DICT, dict = "teacher.teacher_name.teacher_status=1")
private Long teacherId;
@Query(name = "开课时间", display = true)
private Date startTime;
@Query(name = "结课时间", display = true)
@ -40,6 +42,7 @@ public class TeacherOpenCourseQuery extends PageParam {
@Query(name = "创建时间", display = false)
private Date createTime;
private String teacherIdPlural;
private String teacherOpenCourseIdPlural;
private String teacherOpenCourseStatusPlural;
private String orgIdPlural;
@ -49,6 +52,14 @@ public class TeacherOpenCourseQuery extends PageParam {
private String _given;//指定更新的特定字段,多个逗号隔开
public String getTeacherIdPlural() {
return teacherIdPlural;
}
public void setTeacherIdPlural(String teacherIdPlural) {
this.teacherIdPlural = teacherIdPlural;
}
public Long getTeacherOpenCourseId(){
return teacherOpenCourseId;
}
@ -122,6 +133,7 @@ public class TeacherOpenCourseQuery extends PageParam {
pojo.setOrgId(this.getOrgId());
pojo.setUserId(this.getUserId());
pojo.setCreateTime(this.getCreateTime());
pojo.setTeacherId(this.getTeacherId());
return pojo;
}
@ -161,4 +173,12 @@ public class TeacherOpenCourseQuery extends PageParam {
public void set_given(String _given) {
this._given = _given;
}
public Long getTeacherId() {
return teacherId;
}
public void setTeacherId(Long teacherId) {
this.teacherId = teacherId;
}
}

@ -1,295 +1,303 @@
queryByCondition
===
* 根据不为空的参数进行分页查询
select
@pageTag(){
t.*
@}
from teacher_open_course t
where 1=1
@//数据权限该sql语句功能点,如果不考虑数据权限,可以删除此行
and #function("teacherOpenCourse.query")#
@if(!isEmpty(teacherOpenCourseId)){
and t.teacher_open_course_id =#teacherOpenCourseId#
@}
@if(!isEmpty(teacherOpenCourseIdPlural)){
and find_in_set(t.teacher_open_course_id,#teacherOpenCourseIdPlural#)
@}
@if(!isEmpty(teacherOpenCourseTitle)){
and t.teacher_open_course_title =#teacherOpenCourseTitle#
@}
@if(!isEmpty(teacherOpenCourseCode)){
and t.teacher_open_course_code =#teacherOpenCourseCode#
@}
@if(!isEmpty(teacherOpenCourseCover)){
and t.teacher_open_course_cover =#teacherOpenCourseCover#
@}
@if(!isEmpty(teacherOpenCourseStatus)){
and t.teacher_open_course_status =#teacherOpenCourseStatus#
@}
@if(!isEmpty(teacherOpenCourseStatusPlural)){
and find_in_set(t.teacher_open_course_status,#teacherOpenCourseStatusPlural#)
@}
@if(!isEmpty(teacherId)){
and t.teacher_id =#teacherId#
@}
@if(!isEmpty(teacherIdPlural)){
and find_in_set(t.teacher_id,#teacherIdPlural#)
@}
@if(!isEmpty(startTime)){
and t.start_time =#startTime#
@}
@if(!isEmpty(endTime)){
and t.end_time =#endTime#
@}
@if(!isEmpty(orgId)){
and t.org_id =#orgId#
@}
@if(!isEmpty(orgIdPlural)){
and find_in_set(t.org_id,#orgIdPlural#)
@}
@if(!isEmpty(userId)){
and t.user_id =#userId#
@}
@if(!isEmpty(userIdPlural)){
and find_in_set(t.user_id,#userIdPlural#)
@}
@if(!isEmpty(createTime)){
and t.create_time =#createTime#
@}
select
@pageTag(){
t.*
@}
from teacher_open_course t
where 1=1
@//数据权限该sql语句功能点,如果不考虑数据权限,可以删除此行
and #function("teacherOpenCourse.query")#
@if(!isEmpty(teacherOpenCourseId)){
and t.teacher_open_course_id =#teacherOpenCourseId#
@}
@if(!isEmpty(teacherOpenCourseIdPlural)){
and find_in_set(t.teacher_open_course_id,#teacherOpenCourseIdPlural#)
@}
@if(!isEmpty(teacherOpenCourseTitle)){
and t.teacher_open_course_title =#teacherOpenCourseTitle#
@}
@if(!isEmpty(teacherOpenCourseCode)){
and t.teacher_open_course_code =#teacherOpenCourseCode#
@}
@if(!isEmpty(teacherOpenCourseCover)){
and t.teacher_open_course_cover =#teacherOpenCourseCover#
@}
@if(!isEmpty(teacherOpenCourseStatus)){
and t.teacher_open_course_status =#teacherOpenCourseStatus#
@}
@if(!isEmpty(teacherOpenCourseStatusPlural)){
and find_in_set(t.teacher_open_course_status,#teacherOpenCourseStatusPlural#)
@}
@if(!isEmpty(startTime)){
and t.start_time =#startTime#
@}
@if(!isEmpty(endTime)){
and t.end_time =#endTime#
@}
@if(!isEmpty(orgId)){
and t.org_id =#orgId#
@}
@if(!isEmpty(orgIdPlural)){
and find_in_set(t.org_id,#orgIdPlural#)
@}
@if(!isEmpty(userId)){
and t.user_id =#userId#
@}
@if(!isEmpty(userIdPlural)){
and find_in_set(t.user_id,#userIdPlural#)
@}
@if(!isEmpty(createTime)){
and t.create_time =#createTime#
@}
queryByConditionQuery
===
* 根据不为空的参数进行分页查询(无权限)
select
@pageTag(){
t.*
@}
from teacher_open_course t
where 1=1
@if(!isEmpty(teacherOpenCourseId)){
and t.teacher_open_course_id =#teacherOpenCourseId#
@}
@if(!isEmpty(teacherOpenCourseIdPlural)){
and find_in_set(t.teacher_open_course_id,#teacherOpenCourseIdPlural#)
@}
@if(!isEmpty(teacherOpenCourseTitle)){
and t.teacher_open_course_title =#teacherOpenCourseTitle#
@}
@if(!isEmpty(teacherOpenCourseCode)){
and t.teacher_open_course_code =#teacherOpenCourseCode#
@}
@if(!isEmpty(teacherOpenCourseCover)){
and t.teacher_open_course_cover =#teacherOpenCourseCover#
@}
@if(!isEmpty(teacherOpenCourseStatus)){
and t.teacher_open_course_status =#teacherOpenCourseStatus#
@}
@if(!isEmpty(teacherOpenCourseStatusPlural)){
and find_in_set(t.teacher_open_course_status,#teacherOpenCourseStatusPlural#)
@}
@if(!isEmpty(teacherId)){
and t.teacher_id =#teacherId#
@}
@if(!isEmpty(teacherIdPlural)){
and find_in_set(t.teacher_id,#teacherIdPlural#)
@}
@if(!isEmpty(startTime)){
and t.start_time =#startTime#
@}
@if(!isEmpty(endTime)){
and t.end_time =#endTime#
@}
@if(!isEmpty(orgId)){
and t.org_id =#orgId#
@}
@if(!isEmpty(orgIdPlural)){
and find_in_set(t.org_id,#orgIdPlural#)
@}
@if(!isEmpty(userId)){
and t.user_id =#userId#
@}
@if(!isEmpty(userIdPlural)){
and find_in_set(t.user_id,#userIdPlural#)
@}
@if(!isEmpty(createTime)){
and t.create_time =#createTime#
@}
select
@pageTag(){
t.*
@}
from teacher_open_course t
where 1=1
@if(!isEmpty(teacherOpenCourseId)){
and t.teacher_open_course_id =#teacherOpenCourseId#
@}
@if(!isEmpty(teacherOpenCourseIdPlural)){
and find_in_set(t.teacher_open_course_id,#teacherOpenCourseIdPlural#)
@}
@if(!isEmpty(teacherOpenCourseTitle)){
and t.teacher_open_course_title =#teacherOpenCourseTitle#
@}
@if(!isEmpty(teacherOpenCourseCode)){
and t.teacher_open_course_code =#teacherOpenCourseCode#
@}
@if(!isEmpty(teacherOpenCourseCover)){
and t.teacher_open_course_cover =#teacherOpenCourseCover#
@}
@if(!isEmpty(teacherOpenCourseStatus)){
and t.teacher_open_course_status =#teacherOpenCourseStatus#
@}
@if(!isEmpty(teacherOpenCourseStatusPlural)){
and find_in_set(t.teacher_open_course_status,#teacherOpenCourseStatusPlural#)
@}
@if(!isEmpty(startTime)){
and t.start_time =#startTime#
@}
@if(!isEmpty(endTime)){
and t.end_time =#endTime#
@}
@if(!isEmpty(orgId)){
and t.org_id =#orgId#
@}
@if(!isEmpty(orgIdPlural)){
and find_in_set(t.org_id,#orgIdPlural#)
@}
@if(!isEmpty(userId)){
and t.user_id =#userId#
@}
@if(!isEmpty(userIdPlural)){
and find_in_set(t.user_id,#userIdPlural#)
@}
@if(!isEmpty(createTime)){
and t.create_time =#createTime#
@}
deleteTeacherOpenCourseByIds
===
* 批量删除
delete from teacher_open_course where find_in_set(teacher_open_course_id,#ids#)
delete from teacher_open_course where find_in_set(teacher_open_course_id,#ids#)
getByIds
===
select * from teacher_open_course where find_in_set(teacher_open_course_id,#ids#)
select * from teacher_open_course where find_in_set(teacher_open_course_id,#ids#)
updateGivenByIds
===
* 批量更新指定字段,无论此字段是否有值
update teacher_open_course
set
@if(contain("teacherOpenCourseTitle",_given)){
@if(isEmpty(teacherOpenCourseTitle)){
teacher_open_course_title = null ,
@}else{
teacher_open_course_title = #teacherOpenCourseTitle# ,
@}
@}
@if(contain("teacherOpenCourseCode",_given)){
@if(isEmpty(teacherOpenCourseCode)){
teacher_open_course_code = null ,
@}else{
teacher_open_course_code = #teacherOpenCourseCode# ,
@}
@}
@if(contain("teacherOpenCourseCover",_given)){
@if(isEmpty(teacherOpenCourseCover)){
teacher_open_course_cover = null ,
@}else{
teacher_open_course_cover = #teacherOpenCourseCover# ,
@}
@}
@if(contain("teacherOpenCourseStatus",_given)){
@if(isEmpty(teacherOpenCourseStatus)){
teacher_open_course_status = null ,
@}else{
teacher_open_course_status = #teacherOpenCourseStatus# ,
@}
@}
@if(contain("teacherId",_given)){
@if(isEmpty(teacherId)){
teacher_id = null ,
@}else{
teacher_id = #teacherId# ,
@}
@}
@if(contain("startTime",_given)){
@if(isEmpty(startTime)){
start_time = null ,
@}else{
start_time = #startTime# ,
@}
@}
@if(contain("endTime",_given)){
@if(isEmpty(endTime)){
end_time = null ,
@}else{
end_time = #endTime# ,
@}
@}
@if(contain("orgId",_given)){
@if(isEmpty(orgId)){
org_id = null ,
@}else{
org_id = #orgId# ,
@}
@}
@if(contain("userId",_given)){
@if(isEmpty(userId)){
user_id = null ,
@}else{
user_id = #userId# ,
@}
@}
@if(contain("createTime",_given)){
@if(isEmpty(createTime)){
create_time = null ,
@}else{
create_time = #createTime# ,
@}
@}
teacher_open_course_id = teacher_open_course_id
where find_in_set(teacher_open_course_id,#teacherOpenCourseIdPlural#)
update teacher_open_course
set
@if(contain("teacherOpenCourseTitle",_given)){
@if(isEmpty(teacherOpenCourseTitle)){
teacher_open_course_title = null ,
@}else{
teacher_open_course_title = #teacherOpenCourseTitle# ,
@}
@}
@if(contain("teacherOpenCourseCode",_given)){
@if(isEmpty(teacherOpenCourseCode)){
teacher_open_course_code = null ,
@}else{
teacher_open_course_code = #teacherOpenCourseCode# ,
@}
@}
@if(contain("teacherOpenCourseCover",_given)){
@if(isEmpty(teacherOpenCourseCover)){
teacher_open_course_cover = null ,
@}else{
teacher_open_course_cover = #teacherOpenCourseCover# ,
@}
@}
@if(contain("teacherOpenCourseStatus",_given)){
@if(isEmpty(teacherOpenCourseStatus)){
teacher_open_course_status = null ,
@}else{
teacher_open_course_status = #teacherOpenCourseStatus# ,
@}
@}
@if(contain("startTime",_given)){
@if(isEmpty(startTime)){
start_time = null ,
@}else{
start_time = #startTime# ,
@}
@}
@if(contain("endTime",_given)){
@if(isEmpty(endTime)){
end_time = null ,
@}else{
end_time = #endTime# ,
@}
@}
@if(contain("orgId",_given)){
@if(isEmpty(orgId)){
org_id = null ,
@}else{
org_id = #orgId# ,
@}
@}
@if(contain("userId",_given)){
@if(isEmpty(userId)){
user_id = null ,
@}else{
user_id = #userId# ,
@}
@}
@if(contain("createTime",_given)){
@if(isEmpty(createTime)){
create_time = null ,
@}else{
create_time = #createTime# ,
@}
@}
teacher_open_course_id = teacher_open_course_id
where find_in_set(teacher_open_course_id,#teacherOpenCourseIdPlural#)
getTeacherOpenCourseValues
===
* 根据不为空的参数进行查询
select t.*
from teacher_open_course t
where 1=1
@if(!isEmpty(teacherOpenCourseId)){
and t.teacher_open_course_id =#teacherOpenCourseId#
@}
@if(!isEmpty(teacherOpenCourseTitle)){
and t.teacher_open_course_title =#teacherOpenCourseTitle#
@}
@if(!isEmpty(teacherOpenCourseCode)){
and t.teacher_open_course_code =#teacherOpenCourseCode#
@}
@if(!isEmpty(teacherOpenCourseCover)){
and t.teacher_open_course_cover =#teacherOpenCourseCover#
@}
@if(!isEmpty(teacherOpenCourseStatus)){
and t.teacher_open_course_status =#teacherOpenCourseStatus#
@}
@if(!isEmpty(teacherId)){
and t.teacher_id =#teacherId#
@}
@if(!isEmpty(startTime)){
and t.start_time =#startTime#
@}
@if(!isEmpty(endTime)){
and t.end_time =#endTime#
@}
@if(!isEmpty(orgId)){
and t.org_id =#orgId#
@}
@if(!isEmpty(userId)){
and t.user_id =#userId#
@}
@if(!isEmpty(createTime)){
and t.create_time =#createTime#
@}
select t.*
from teacher_open_course t
where 1=1
@if(!isEmpty(teacherOpenCourseId)){
and t.teacher_open_course_id =#teacherOpenCourseId#
@}
@if(!isEmpty(teacherOpenCourseTitle)){
and t.teacher_open_course_title =#teacherOpenCourseTitle#
@}
@if(!isEmpty(teacherOpenCourseCode)){
and t.teacher_open_course_code =#teacherOpenCourseCode#
@}
@if(!isEmpty(teacherOpenCourseCover)){
and t.teacher_open_course_cover =#teacherOpenCourseCover#
@}
@if(!isEmpty(teacherOpenCourseStatus)){
and t.teacher_open_course_status =#teacherOpenCourseStatus#
@}
@if(!isEmpty(startTime)){
and t.start_time =#startTime#
@}
@if(!isEmpty(endTime)){
and t.end_time =#endTime#
@}
@if(!isEmpty(orgId)){
and t.org_id =#orgId#
@}
@if(!isEmpty(userId)){
and t.user_id =#userId#
@}
@if(!isEmpty(createTime)){
and t.create_time =#createTime#
@}
getValuesByQuery
===
* 根据不为空的参数进行查询
select t.*
from teacher_open_course t
where 1=1 and #function("teacherOpenCourse.query")#
@if(!isEmpty(teacherOpenCourseId)){
and t.teacher_open_course_id =#teacherOpenCourseId#
@}
@if(!isEmpty(teacherOpenCourseIdPlural)){
and find_in_set(t.teacher_open_course_id,#teacherOpenCourseIdPlural#)
@}
@if(!isEmpty(teacherOpenCourseTitle)){
and t.teacher_open_course_title =#teacherOpenCourseTitle#
@}
@if(!isEmpty(teacherOpenCourseCode)){
and t.teacher_open_course_code =#teacherOpenCourseCode#
@}
@if(!isEmpty(teacherOpenCourseCover)){
and t.teacher_open_course_cover =#teacherOpenCourseCover#
@}
@if(!isEmpty(teacherOpenCourseStatus)){
and t.teacher_open_course_status =#teacherOpenCourseStatus#
@}
@if(!isEmpty(teacherOpenCourseStatusPlural)){
and find_in_set(t.teacher_open_course_status,#teacherOpenCourseStatusPlural#)
@}
@if(!isEmpty(startTime)){
and t.start_time =#startTime#
@}
@if(!isEmpty(endTime)){
and t.end_time =#endTime#
@}
@if(!isEmpty(orgId)){
and t.org_id =#orgId#
@}
@if(!isEmpty(orgIdPlural)){
and find_in_set(t.org_id,#orgIdPlural#)
@}
@if(!isEmpty(userId)){
and t.user_id =#userId#
@}
@if(!isEmpty(userIdPlural)){
and find_in_set(t.user_id,#userIdPlural#)
@}
@if(!isEmpty(createTime)){
and t.create_time =#createTime#
@}
select t.*
from teacher_open_course t
where 1=1 and #function("teacherOpenCourse.query")#
@if(!isEmpty(teacherOpenCourseId)){
and t.teacher_open_course_id =#teacherOpenCourseId#
@}
@if(!isEmpty(teacherOpenCourseIdPlural)){
and find_in_set(t.teacher_open_course_id,#teacherOpenCourseIdPlural#)
@}
@if(!isEmpty(teacherOpenCourseTitle)){
and t.teacher_open_course_title =#teacherOpenCourseTitle#
@}
@if(!isEmpty(teacherOpenCourseCode)){
and t.teacher_open_course_code =#teacherOpenCourseCode#
@}
@if(!isEmpty(teacherOpenCourseCover)){
and t.teacher_open_course_cover =#teacherOpenCourseCover#
@}
@if(!isEmpty(teacherOpenCourseStatus)){
and t.teacher_open_course_status =#teacherOpenCourseStatus#
@}
@if(!isEmpty(teacherOpenCourseStatusPlural)){
and find_in_set(t.teacher_open_course_status,#teacherOpenCourseStatusPlural#)
@}
@if(!isEmpty(teacherId)){
and t.teacher_id =#teacherId#
@}
@if(!isEmpty(teacherIdPlural)){
and find_in_set(t.teacher_id,#teacherIdPlural#)
@}
@if(!isEmpty(startTime)){
and t.start_time =#startTime#
@}
@if(!isEmpty(endTime)){
and t.end_time =#endTime#
@}
@if(!isEmpty(orgId)){
and t.org_id =#orgId#
@}
@if(!isEmpty(orgIdPlural)){
and find_in_set(t.org_id,#orgIdPlural#)
@}
@if(!isEmpty(userId)){
and t.user_id =#userId#
@}
@if(!isEmpty(userIdPlural)){
and find_in_set(t.user_id,#userIdPlural#)
@}
@if(!isEmpty(createTime)){
and t.create_time =#createTime#
@}

@ -53,6 +53,13 @@ layui.define([ 'form', 'laydate', 'table' ], function(exports) {
hideField :false,
hide:$.isEmpty(sx_['teacherOpenCourseCode'])?false:sx_['teacherOpenCourseCode'],
},
{
field : 'teacherId',
title : '教师ID',
align:"center",
hideField :false,
hide:$.isEmpty(sx_['teacherId'])?false:sx_['teacherId'],
},
{
field : 'teacherOpenCourseCover',
// title : '封面列表JSON格式: {封面URLis默认封面}',

Loading…
Cancel
Save