From 184d1ce5787779fa0dc872a79397eeed2c3e8b6f Mon Sep 17 00:00:00 2001 From: dlaren Date: Wed, 20 Aug 2025 21:37:03 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=96=B0=E5=A2=9E=E3=80=91=20C?= =?UTF-8?q?=E8=AF=AD=E8=A8=80=E8=AF=95=E9=A2=98=E6=96=B0=E5=A2=9E=E7=AD=94?= =?UTF-8?q?=E6=A1=88=E6=A8=A1=E6=9D=BF=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pp/module/exam/dal/dataobject/ExamQuestion.java | 6 ++++++ .../main/resources/mapper/exam/ExamQuestionMapper.xml | 10 ++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/exam-module-exam/exam-module-exam-biz/src/main/java/pc/exam/pp/module/exam/dal/dataobject/ExamQuestion.java b/exam-module-exam/exam-module-exam-biz/src/main/java/pc/exam/pp/module/exam/dal/dataobject/ExamQuestion.java index 9e5ddf39..384225b6 100644 --- a/exam-module-exam/exam-module-exam-biz/src/main/java/pc/exam/pp/module/exam/dal/dataobject/ExamQuestion.java +++ b/exam-module-exam/exam-module-exam-biz/src/main/java/pc/exam/pp/module/exam/dal/dataobject/ExamQuestion.java @@ -82,6 +82,12 @@ public class ExamQuestion extends TenantBaseDO { // @Excel(name = "解析(带样式)") private String analysis; + /** + * 答题模板 + */ + // @Excel(name = "解析(带样式)") + private String answerEmplate; + /** * c语言参考答案 */ diff --git a/exam-module-exam/exam-module-exam-biz/src/main/resources/mapper/exam/ExamQuestionMapper.xml b/exam-module-exam/exam-module-exam-biz/src/main/resources/mapper/exam/ExamQuestionMapper.xml index 2c0196a9..2629d113 100644 --- a/exam-module-exam/exam-module-exam-biz/src/main/resources/mapper/exam/ExamQuestionMapper.xml +++ b/exam-module-exam/exam-module-exam-biz/src/main/resources/mapper/exam/ExamQuestionMapper.xml @@ -28,6 +28,7 @@ + @@ -75,7 +76,8 @@ course_name, specialty_name, tname, - school_id + school_id, + answer_emplate from exam_question @@ -209,6 +211,7 @@ course_name, specialty_name, school_id, + answer_emplate, tenant_id, @@ -237,6 +240,7 @@ #{courseName}, #{specialtyName}, #{schoolId}, + #{answerEmplate}, #{tenantId}, @@ -250,7 +254,7 @@ (#{item.quId}, #{item.quBankId},#{item.tname},#{item.quNum}, #{item.chapteridDictText}, #{item.subjectName}, #{item.specialtyName}, #{item.courseName}, #{item.quLevel}, #{item.content}, #{item.audit} , #{item.status}, #{item.contentText}, #{item.analysis}, #{item.pointNames}, #{item.keywords}, - #{item.manual}, #{item.schoolId}, #{createTime}, #{creator}, #{updateTime}, #{updater}) + #{item.manual}, #{item.schoolId}, #{answerEmplate}, #{createTime}, #{creator}, #{updateTime}, #{updater}) ON DUPLICATE KEY UPDATE tname = VALUES(tname), @@ -268,6 +272,7 @@ keywords = VALUES(keywords), manual = VALUES(manual), school_id = VALUES(school_id), + answer_emplate = VALUES(answer_emplate), create_time = VALUES(create_time), creator = VALUES(creator), update_time = VALUES(update_time), @@ -300,6 +305,7 @@ course_name = #{courseName}, specialty_name = #{specialtyName}, school_id = #{schoolId}, + answer_emplate = #{answerEmplate}, tenant_id = #{tenantId}, where qu_id = #{quId}