You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -594,7 +594,7 @@ FROM CandidateAssessmentSupervisors AS cas INNER JOIN
594
594
WHERE (ca.RemovedDate IS NULL) AND (cas.SupervisorDelegateId = @supervisorDelegateId) AND (cas.Removed IS NULL) AND (sa.ID = @selfAssessmentId)",new{selfAssessmentId,supervisorDelegateId}
@$"SELECT ca.ID, sa.ID AS SelfAssessmentID, sa.Name AS RoleName, sa.QuestionLabel, sa.DescriptionLabel, sa.ReviewerCommentsLabel,
@@ -611,7 +611,7 @@ FROM SelfAssessmentResultSupervisorVerifications AS sarsv
611
611
FROM CandidateAssessmentSupervisors AS cas INNER JOIN
612
612
CandidateAssessments AS ca ON cas.CandidateAssessmentID = ca.ID INNER JOIN
613
613
SelfAssessments AS sa ON sa.ID = ca.SelfAssessmentID
614
-
WHERE (ca.ID = @candidateAssessmentId)",new{candidateAssessmentId}
614
+
WHERE (ca.ID = @candidateAssessmentId) AND (ISNULL(@adminIdCategoryID, 0) = 0 OR sa.CategoryID = @adminIdCategoryId)",new{candidateAssessmentId,adminIdCategoryId}
0 commit comments