|
|
@ -31,9 +31,8 @@ class StudentWork < ActiveRecord::Base
|
|
|
|
else
|
|
|
|
else
|
|
|
|
self.system_score = last_test.test_score
|
|
|
|
self.system_score = last_test.test_score
|
|
|
|
end
|
|
|
|
end
|
|
|
|
set_final_score self.homework_common,self
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
set_final_score self.homework_common,self
|
|
|
|
end
|
|
|
|
end
|
|
|
|
def set_src
|
|
|
|
def set_src
|
|
|
|
self.description = last_test.src if last_test
|
|
|
|
self.description = last_test.src if last_test
|
|
|
|