id
, question_id, exam_paper_id, exam_paper_answer_id, question_type, subject_id,
customer_score, question_score, question_content, answer, text_content_id,
do_right, create_user, create_time, item_order
insert into t_exam_paper_question_customer_answer ( question_id, question_score,
subject_id, create_time, create_user,
text_content_id, exam_paper_id, question_type,
answer, customer_score, exam_paper_answer_id ,
do_right,question_content,item_order)
values
( #{item.questionId,jdbcType=INTEGER}, #{item.questionScore,jdbcType=INTEGER},
#{item.subjectId,jdbcType=INTEGER}, #{item.createTime,jdbcType=TIMESTAMP},
#{item.createUser,jdbcType=INTEGER},
#{item.textContentId,jdbcType=INTEGER}, #{item.examPaperId,jdbcType=INTEGER},
#{item.questionType,jdbcType=INTEGER},
#{item.answer,jdbcType=VARCHAR}, #{item.customerScore,jdbcType=INTEGER},
#{item.examPaperAnswerId,jdbcType=INTEGER},
#{item.doRight,jdbcType=BIT},#{item.questionTextContentId,jdbcType=INTEGER},#{item.itemOrder,jdbcType=INTEGER})
update t_exam_paper_question_customer_answer
set customer_score=#{item.customerScore} , do_right=#{item.doRight}
where id=#{item.id} ;