调整实训报告接口

pay_subject
cxt 5 years ago
parent 811bcf2ee5
commit d667d82e5c

@ -111,7 +111,7 @@ class StudentWork < ApplicationRecord
# 作品总体评价
def overall_appraisal
return nil if work_status == 0
return "--" if work_status == 0
case (self.work_score.to_f / homework_common.total_score).round(2)
when (0.90..1.00)
'优秀'

Loading…
Cancel
Save