计算成绩的判断调整

dev_forum
cxt 5 years ago
parent 24799503e4
commit 1bfc279905

@ -240,7 +240,7 @@ class HomeworkCommonsController < ApplicationController
end
def update_score
tip_exception("作业还未发布,暂不能计算成绩") if @homework.end_or_late_none_group
tip_exception("作业还未发布,暂不能计算成绩") if @homework.publish_time.nil? || @homework.publish_time > Time.now
begin
if @homework.unified_setting
student_works = @homework.student_works

Loading…
Cancel
Save