打回重做的修改commit_method

competitions
SylorHuang 5 years ago
parent e1bea29dcb
commit b8cc352c52

@ -978,7 +978,8 @@ class ExercisesController < ApplicationController
:status => nil, :status => nil,
:commit_status => 0, :commit_status => 0,
:objective_score => 0.0, :objective_score => 0.0,
:subjective_score => -1.0 :subjective_score => -1.0,
:commit_method => 0
} }
redo_exercise_users = @exercise_users.exercise_commit_users(user_ids) redo_exercise_users = @exercise_users.exercise_commit_users(user_ids)
redo_exercise_users.update_all(redo_option) redo_exercise_users.update_all(redo_option)

Loading…
Cancel
Save