diff --git a/app/views/managements/evaluate_simple.html.erb b/app/views/managements/evaluate_simple.html.erb
index 30e8cd39..514223a3 100644
--- a/app/views/managements/evaluate_simple.html.erb
+++ b/app/views/managements/evaluate_simple.html.erb
@@ -5,7 +5,6 @@
<%= record.id %> |
<%= record.consume_time %> |
- <%= record.student_work %> |
<%= record.file_update %> |
<%= record.brige %> |
<%= record.git_pull %> |
@@ -37,8 +36,9 @@
<%= record.test_cases %> |
<%= format_time record.created_at %> |
<% challenge = Game.find(record.game_id).challenge %>
+ <%= record.try(:exec_time) %> |
<%= challenge.try(:exec_time) %> |
- <%= record.shixun.try(:identifier) %> |
+ <%= record.try(:identifier) %> |
<%= link_to record.shixun.try(:name), task_path(record.game), :target => "_blank", :title => "#{record.shixun.try(:name)}" %> |
<% end %>
diff --git a/db/migrate/20190803022733_add_exec_time_to_evaluate_records.rb b/db/migrate/20190803022733_add_exec_time_to_evaluate_records.rb
new file mode 100644
index 00000000..0b054e3c
--- /dev/null
+++ b/db/migrate/20190803022733_add_exec_time_to_evaluate_records.rb
@@ -0,0 +1,5 @@
+class AddExecTimeToEvaluateRecords < ActiveRecord::Migration
+ def change
+ add_column :evaluate_records, :exec_time, :integer
+ end
+end