diff --git a/app/controllers/student_works_controller.rb b/app/controllers/student_works_controller.rb index e3d4d604a..d71ca8037 100644 --- a/app/controllers/student_works_controller.rb +++ b/app/controllers/student_works_controller.rb @@ -879,6 +879,7 @@ class StudentWorksController < ApplicationController def update_none_commit_work work, homework if work.work_status == 0 work.work_status = 1 + work.compelete_status = 1 work.commit_time = homework.end_time work.update_time = Time.now end