匿评分配数量默认为3
This commit is contained in:
parent
5b9c9312f5
commit
650d0c8cb5
|
@ -354,7 +354,7 @@ class UsersController < ApplicationController
|
|||
homework_detail_manual.comment_status = 1
|
||||
homework_detail_manual.evaluation_start = Time.now
|
||||
homework_detail_manual.evaluation_end = Time.now
|
||||
homework_detail_manual.evaluation_num = params[:evaluation_num]
|
||||
homework_detail_manual.evaluation_num = params[:evaluation_num] || 3
|
||||
homework_detail_manual.absence_penalty = 0
|
||||
homework.homework_detail_manual = homework_detail_manual
|
||||
|
||||
|
|
Loading…
Reference in New Issue