From bb197101587968371f34608b48270ed0d67dac61 Mon Sep 17 00:00:00 2001
From: cxt <853663049@qq.com>
Date: Sun, 23 Jun 2019 15:36:16 +0800
Subject: [PATCH] =?UTF-8?q?=E7=AD=94=E6=A1=88=E6=8A=84=E8=A2=AD=E7=9A=84?=
=?UTF-8?q?=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/views/exercise/_exercise_student_result.html.erb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/views/exercise/_exercise_student_result.html.erb b/app/views/exercise/_exercise_student_result.html.erb
index b9f39e15..8b6f7ab6 100644
--- a/app/views/exercise/_exercise_student_result.html.erb
+++ b/app/views/exercise/_exercise_student_result.html.erb
@@ -295,7 +295,7 @@
调分
<% end %>
- <% if game.present? && game.status == 2 && !is_answer_correct && game.answer_open %>
+ <% if game.present? && game.status == 2 && @exercise_user.end_at && game.end_time < @exercise_user.end_at && !is_answer_correct && game.answer_open %>
(答案抄袭)
<% end %>
<% score = exercise_shixun_answer.present? ? exercise_shixun_answer.try(:score) : 0 %>