From 7ed4c011a829293092962e869b6dcc11d9d50483 Mon Sep 17 00:00:00 2001 From: xiaoCJ <406612557@qq.com> Date: Thu, 21 Dec 2023 15:54:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=80=80=E5=87=BA=E6=97=B6?= =?UTF-8?q?=E6=9C=BA=E8=A1=A8=EF=BC=8C=E5=AE=8C=E6=88=90=E6=8A=95=E8=B5=84?= =?UTF-8?q?=E6=8A=A5=E5=91=8A=E9=A1=B5=E9=9D=A2=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mappers/QuestionAnswerMapper.xml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/resources/mappers/QuestionAnswerMapper.xml b/src/main/resources/mappers/QuestionAnswerMapper.xml index 4b95f50..2382ca5 100644 --- a/src/main/resources/mappers/QuestionAnswerMapper.xml +++ b/src/main/resources/mappers/QuestionAnswerMapper.xml @@ -5,7 +5,7 @@ - + @@ -128,7 +128,7 @@ question_time, question_content, reply_content ) values (#{id,jdbcType=VARCHAR}, #{flowId,jdbcType=VARCHAR}, #{schoolid,jdbcType=VARCHAR}, - #{questionTime,jdbcType=DATE}, #{questionContent,jdbcType=LONGVARCHAR}, #{replyContent,jdbcType=LONGVARCHAR} + #{questionTime,jdbcType=TIMESTAMP}, #{questionContent,jdbcType=LONGVARCHAR}, #{replyContent,jdbcType=LONGVARCHAR} ) @@ -164,7 +164,7 @@ #{schoolid,jdbcType=VARCHAR}, - #{questionTime,jdbcType=DATE}, + #{questionTime,jdbcType=TIMESTAMP}, #{questionContent,jdbcType=LONGVARCHAR}, @@ -193,7 +193,7 @@ schoolId = #{record.schoolid,jdbcType=VARCHAR}, - question_time = #{record.questionTime,jdbcType=DATE}, + question_time = #{record.questionTime,jdbcType=TIMESTAMP}, question_content = #{record.questionContent,jdbcType=LONGVARCHAR}, @@ -211,7 +211,7 @@ set id = #{record.id,jdbcType=VARCHAR}, flow_id = #{record.flowId,jdbcType=VARCHAR}, schoolId = #{record.schoolid,jdbcType=VARCHAR}, - question_time = #{record.questionTime,jdbcType=DATE}, + question_time = #{record.questionTime,jdbcType=TIMESTAMP}, question_content = #{record.questionContent,jdbcType=LONGVARCHAR}, reply_content = #{record.replyContent,jdbcType=LONGVARCHAR} @@ -223,7 +223,7 @@ set id = #{record.id,jdbcType=VARCHAR}, flow_id = #{record.flowId,jdbcType=VARCHAR}, schoolId = #{record.schoolid,jdbcType=VARCHAR}, - question_time = #{record.questionTime,jdbcType=DATE} + question_time = #{record.questionTime,jdbcType=TIMESTAMP} @@ -238,7 +238,7 @@ schoolId = #{schoolid,jdbcType=VARCHAR}, - question_time = #{questionTime,jdbcType=DATE}, + question_time = #{questionTime,jdbcType=TIMESTAMP}, question_content = #{questionContent,jdbcType=LONGVARCHAR}, @@ -253,7 +253,7 @@ update question_answer set flow_id = #{flowId,jdbcType=VARCHAR}, schoolId = #{schoolid,jdbcType=VARCHAR}, - question_time = #{questionTime,jdbcType=DATE}, + question_time = #{questionTime,jdbcType=TIMESTAMP}, question_content = #{questionContent,jdbcType=LONGVARCHAR}, reply_content = #{replyContent,jdbcType=LONGVARCHAR} where id = #{id,jdbcType=VARCHAR} @@ -262,7 +262,7 @@ update question_answer set flow_id = #{flowId,jdbcType=VARCHAR}, schoolId = #{schoolid,jdbcType=VARCHAR}, - question_time = #{questionTime,jdbcType=DATE} + question_time = #{questionTime,jdbcType=TIMESTAMP} where id = #{id,jdbcType=VARCHAR} \ No newline at end of file