dev_haigong
huang 6 years ago
commit b05308baf0

@ -6817,6 +6817,7 @@ end
# 用户评测时更新实训作业成绩
def update_myshixun_work_score myshixun
ActiveRecord::Base.transaction do
student_works = myshixun.student_works
#logger.info("#############student_works_count: #{student_works.count}")
if student_works.count > 0
@ -6883,6 +6884,7 @@ def update_myshixun_work_score myshixun
end
end
end
end
# 用户开启实训时更新作品状态
def update_myshixun_work_status myshixun

Loading…
Cancel
Save