From 8458e64aab474c0fc2f49ae4ff22fb11ce5cf6e2 Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: 星期一, 11 十一月 2024 16:55:28 +0800
Subject: [PATCH] 批次新增学员查询条件,新增题目导入接口

---
 exam-admin/src/main/resources/db/migration/V20240531005_course.sql |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/exam-admin/src/main/resources/db/migration/V20240531005_course.sql b/exam-admin/src/main/resources/db/migration/V20240531005_course.sql
index e54c7fa..3e57099 100644
--- a/exam-admin/src/main/resources/db/migration/V20240531005_course.sql
+++ b/exam-admin/src/main/resources/db/migration/V20240531005_course.sql
@@ -1,7 +1,6 @@
 -- ----------------------------
 -- 课程表
 -- ----------------------------
-drop table if exists `train_exam`.`ex_course`;
 CREATE TABLE `train_exam`.`ex_course`  (
 `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键' ,
 `status` tinyint NOT NULL DEFAULT 0 COMMENT '课程状态(0正常,1停用,默认0)',
@@ -10,10 +9,10 @@
 `name` varchar(50)  NOT NULL  COMMENT '课程名称',
 `logo` varchar(255) NOT NULL DEFAULT '' COMMENT '课程封面',
 `introduce` text NULL  COMMENT '课程简介',
-`state` tinyint NULL DEFAULT 1 COMMENT '审批状态(0创建,1待审核,2审批通过,3审批不通过  默认0)',
+`state` tinyint NULL DEFAULT 0 COMMENT '审批状态(0创建,1待审核,2审批通过,3审批不通过  默认0)',
+`message` varchar(50)  NULL  COMMENT '审批意见',
 `company_id` bigint(20) NULL COMMENT '提交公司id',
 `privatize` tinyint NOT NULL DEFAULT 0  COMMENT '课程公开私有属性(0私有,1公开  默认0)',
-`period` bigint(20) NOT NULL DEFAULT 0 COMMENT '课时(单位秒)',
 `del_flag` tinyint NULL DEFAULT 0 COMMENT '删除标志(0代表存在,2代表删除,默认0)',
 `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
 `create_by` varchar(50) NULL DEFAULT NULL COMMENT '创建人',

--
Gitblit v1.9.2