diff --git a/ruoyi-modules/rouyi-scale/src/main/resources/mapper/scale/SysScaleAnswerMapper.xml b/ruoyi-modules/rouyi-scale/src/main/resources/mapper/scale/SysScaleAnswerMapper.xml index 31fbcde..6ae78d2 100644 --- a/ruoyi-modules/rouyi-scale/src/main/resources/mapper/scale/SysScaleAnswerMapper.xml +++ b/ruoyi-modules/rouyi-scale/src/main/resources/mapper/scale/SysScaleAnswerMapper.xml @@ -4,10 +4,10 @@ "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - insert into sys_scale_answer(answer_id, question_id, scale_id, answer_option, score, type) values + insert into sys_scale_answer(answer_id, question_id, scale_id, answer_option, score, type, sort) values (#{item.answerId}, #{item.questionId}, #{item.scaleId}, #{item.answerOption}, - #{item.score}, #{item.type}) + #{item.score}, #{item.type}, #{item.sort})