|
|
@ -82,7 +82,7 @@ class CreateShixunStudentWorks < ActiveRecord::Migration
|
|
|
|
end
|
|
|
|
end
|
|
|
|
work.update_column("myshixun_id", myshixun.id)
|
|
|
|
work.update_column("myshixun_id", myshixun.id)
|
|
|
|
else
|
|
|
|
else
|
|
|
|
work.update_attributes(:myshixun_id => 0)
|
|
|
|
work.update_attributes(:myshixun_id => 0, :work_status => 0)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|