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