problem_set
cxt 5 years ago
parent 2bf952388b
commit c6987f9062

@ -80,7 +80,7 @@ class MigrateExerciseAnswerScore < ActiveRecord::Migration[5.2]
} }
ExerciseShixunAnswer.create!(sx_option) ExerciseShixunAnswer.create!(sx_option)
else else
ex_shixun_answer_content.first.update_attributes!(score:exercise_cha_score.round(1),answer_text:code,answer_status:answer_status) ex_shixun_answer_content.first.update_attributes!(score:exercise_cha_score.round(1),answer_text:code,status:answer_status)
end end
score5 += exercise_cha_score score5 += exercise_cha_score
else else

Loading…
Cancel
Save