|
|
|
@ -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
|
|
|
|
|