Merge branch 'dev_aliyun' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun

dev_forum
jingquan huang 6 years ago
commit 4c84839da2

@ -24,7 +24,7 @@ namespace :homework_evaluation do
student_works = homework_common.student_works.has_committed student_works = homework_common.student_works.has_committed
end end
if student_works.size >= 2 if student_works.present? && student_works.length >= 2
HomeworkEvaluationCommentAssginJob.perform_later(homework_common.id) HomeworkEvaluationCommentAssginJob.perform_later(homework_common.id)
homework_detail_manual.update_column('comment_status', 3) homework_detail_manual.update_column('comment_status', 3)

Loading…
Cancel
Save