修改回来

dev_ec
daiao 6 years ago
parent dee79a3d75
commit eea7aae984

@ -527,7 +527,7 @@ class MyshixunsController < ApplicationController
logger.info("training_task_status start#3**#{game_id}**** #{Time.now.strftime("%Y-%m-%d %H:%M:%S.%L")}")
# status0表示评测成功
if compile_success.to_i == 1 && status == "0"
if status == "0"
if !resubmit.blank?
game.update_attributes!(:retry_status => 2, :resubmit_identifier => resubmit)
#if game.had_done == 1

Loading…
Cancel
Save