|
|
|
@ -80,12 +80,12 @@ class Competition < ApplicationRecord
|
|
|
|
|
|
|
|
|
|
# 老师是否能多次报名
|
|
|
|
|
def teacher_multiple_limited?
|
|
|
|
|
teacher_staff.mutiple_limited?
|
|
|
|
|
teacher_staff&.mutiple_limited?
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
# 队员是否能多次报名
|
|
|
|
|
def member_multiple_limited?
|
|
|
|
|
member_staff.mutiple_limited?
|
|
|
|
|
member_staff&.mutiple_limited?
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def max_min_stage_time
|
|
|
|
|