交叉评阅的评分

dev_ec
cxt 5 years ago
parent 1c6a718c63
commit 06a4a5a4d6

@ -308,7 +308,7 @@ class GraduationWorksController < ApplicationController
end
end
if @task.status == 3 && @task.formal_graduation_work_comment_assignations.where(graduation_work_id: @work.id, user_id: current_user.id).count > 0
if @work.formal_graduation_work_comment_assignations.where(user_id: current_user.id).count > 0
new_score.reviewer_role = 2
else
new_score.reviewer_role = 1

Loading…
Cancel
Save