From 3de220bc628b17db1db7955146500a1f703db8ef Mon Sep 17 00:00:00 2001 From: tiger_zhou <123456> Date: Wed, 12 Oct 2022 16:52:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=90=86=E8=AE=BA=E8=AF=95=E9=A2=98=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E4=BF=AE=E6=94=B9=E8=A1=A8=E6=98=8E=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E2=80=9Crts=5F=E2=80=9D=E5=89=8D=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sql/202201010-zhouyin.sql | 2 +- sql/20220921-zhouyin.sql | 4 +-- .../rtss/dao/paper/PaperQuestionDAO.java | 2 +- .../mybatis/mapper/PaperQuestionDAO.xml | 28 +++++++++---------- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/sql/202201010-zhouyin.sql b/sql/202201010-zhouyin.sql index c5ffd9ba8..9eabbdf77 100644 --- a/sql/202201010-zhouyin.sql +++ b/sql/202201010-zhouyin.sql @@ -1,3 +1,3 @@ -- 新实训标添加组织id -alter table published_training2 add column org_id bigint; +alter table rts_published_training2 add column org_id bigint; diff --git a/sql/20220921-zhouyin.sql b/sql/20220921-zhouyin.sql index 7a938cfe3..e50200198 100644 --- a/sql/20220921-zhouyin.sql +++ b/sql/20220921-zhouyin.sql @@ -1,6 +1,6 @@ -- 新题库 -DROP TABLE IF EXISTS `paper_question`; -CREATE TABLE `paper_question` ( +DROP TABLE IF EXISTS `rts_paper_question`; +CREATE TABLE `rts_paper_question` ( `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id', `type` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '类型 选择题=select,判断题=judge,多选题=multi', `question` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci COMMENT '问题内容', diff --git a/src/main/java/club/joylink/rtss/dao/paper/PaperQuestionDAO.java b/src/main/java/club/joylink/rtss/dao/paper/PaperQuestionDAO.java index af87d9172..696a4590f 100644 --- a/src/main/java/club/joylink/rtss/dao/paper/PaperQuestionDAO.java +++ b/src/main/java/club/joylink/rtss/dao/paper/PaperQuestionDAO.java @@ -15,7 +15,7 @@ import java.util.List; @Repository public interface PaperQuestionDAO { @Select("