From db7ff10c4090564126bf78447fb038406812f321 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期二, 04 六月 2024 11:54:58 +0800 Subject: [PATCH] feat:题目查询、新增,内容直接存题目表 --- src/main/resources/mapper/ExamPaperQuestionCustomerAnswerMapper.xml | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/mapper/ExamPaperQuestionCustomerAnswerMapper.xml b/src/main/resources/mapper/ExamPaperQuestionCustomerAnswerMapper.xml index 713780b..e2e9067 100644 --- a/src/main/resources/mapper/ExamPaperQuestionCustomerAnswerMapper.xml +++ b/src/main/resources/mapper/ExamPaperQuestionCustomerAnswerMapper.xml @@ -10,7 +10,7 @@ <result column="subject_id" jdbcType="INTEGER" property="subjectId"/> <result column="customer_score" jdbcType="INTEGER" property="customerScore"/> <result column="question_score" jdbcType="INTEGER" property="questionScore"/> - <result column="question_text_content_id" jdbcType="INTEGER" property="questionTextContentId"/> + <result column="question_content" jdbcType="VARCHAR" property="questionContent"/> <result column="answer" jdbcType="VARCHAR" property="answer"/> <result column="text_content_id" jdbcType="INTEGER" property="textContentId"/> <result column="do_right" jdbcType="BIT" property="doRight"/> @@ -21,7 +21,7 @@ <sql id="Base_Column_List"> id , question_id, exam_paper_id, exam_paper_answer_id, question_type, subject_id, - customer_score, question_score, question_text_content_id, answer, text_content_id, + customer_score, question_score, question_content, answer, text_content_id, do_right, create_user, create_time, item_order </sql> @@ -51,7 +51,7 @@ subject_id, create_time, create_user, text_content_id, exam_paper_id, question_type, answer, customer_score, exam_paper_answer_id , - do_right,question_text_content_id,item_order) + do_right,question_content,item_order) values <foreach collection="list" item="item" index="index" separator=","> -- Gitblit v1.8.0