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