|
|
@ -123,7 +123,7 @@ class GraduationWork < ApplicationRecord
|
|
|
|
|
|
|
|
|
|
|
|
# 作品是否被评阅过
|
|
|
|
# 作品是否被评阅过
|
|
|
|
def scored?
|
|
|
|
def scored?
|
|
|
|
graduation_work_scores.where.not(core: nil).exists?
|
|
|
|
graduation_work_scores.where.not(score: nil).exists?
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
def work_cross_teacher_ids
|
|
|
|
def work_cross_teacher_ids
|
|
|
|