From 82f63e712ffe89a2f909362d704af0c916f536d4 Mon Sep 17 00:00:00 2001 From: SylorHuang Date: Thu, 27 Jun 2019 09:02:41 +0800 Subject: [PATCH] fix bug --- app/models/poll.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/poll.rb b/app/models/poll.rb index b498eda4e..ce5da17dd 100644 --- a/app/models/poll.rb +++ b/app/models/poll.rb @@ -145,7 +145,8 @@ class Poll < ApplicationRecord end if poll_answer_user.present? && poll_answer_user.start_at.blank? && user_poll_status == 3 - user_status = 4 + # user_status = 4 + user_status = 5 #问卷用户存在,且未开始答题,且问卷已截止时,返回未提交标示 end user_status