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}