From 23b376b640b3e262c0da77bd0bfee3a301f39e48 Mon Sep 17 00:00:00 2001 From: cxt <853663049@qq.com> Date: Sat, 12 Oct 2019 15:57:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E8=AE=AD=E9=A2=98=E8=B0=83=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/exercise_questions_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/exercise_questions_controller.rb b/app/controllers/exercise_questions_controller.rb index 9eeba6adc..aacef6bc7 100644 --- a/app/controllers/exercise_questions_controller.rb +++ b/app/controllers/exercise_questions_controller.rb @@ -619,7 +619,7 @@ class ExerciseQuestionsController < ApplicationController :status => 0 } ExerciseShixunAnswer.create(ex_shixun_option) - new_obj_score = @c_score + new_obj_score = ex_obj_score + @c_score end total_scores = new_obj_score + ex_subj_score if total_scores < 0.0