申请高校消息500问题
This commit is contained in:
parent
309cd06009
commit
8f8fc6200c
|
@ -12,7 +12,7 @@
|
|||
<span style="font-size:14px" title="<%= operator %>已拒绝">
|
||||
<%= operator %>已拒绝
|
||||
</span>
|
||||
<% elsif ma.status == 5 %>
|
||||
<% elsif ma.status == 5 && !AppliedMessage.where("applied_id=? and user_id=? and status = 4", ma.applied_id, ma.applied_user_id).first.nil? %>
|
||||
<% operator_message = AppliedMessage.where("applied_id=? and user_id=? and status = 4", ma.applied_id, ma.applied_user_id).first %>
|
||||
<% operator = User.find(operator_message.applied_user_id).try(:show_name) %>
|
||||
<span style="font-size:14px" title="<%= operator %>已拒绝">
|
||||
|
|
Loading…
Reference in New Issue