Skip to content

Commit 5981ef1

Browse files
committed
TD-6307-set complete by date on re-enrol self-assessement
1 parent 5de5a2a commit 5981ef1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DigitalLearningSolutions.Data/DataServices/SupervisorDataService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -893,14 +893,14 @@ FROM CandidateAssessments
893893
@"UPDATE CandidateAssessments
894894
SET DelegateUserID = @delegateUserId,
895895
SelfAssessmentID = @selfAssessmentId,
896-
CompleteByDate = NULL,
896+
CompleteByDate = @completeByDate,
897897
EnrolmentMethodId = 2,
898898
EnrolledByAdminId = @adminId,
899899
CentreID = @centreId,
900900
RemovedDate = NULL,
901901
NonReportable = CASE WHEN NonReportable = 1 THEN NonReportable ELSE @isLoggedInUser END
902902
WHERE ID = @existingCandidateAssessmentId",
903-
new { delegateUserId, selfAssessmentId, adminId, centreId, existingCandidateAssessmentId, isLoggedInUser });
903+
new { delegateUserId, selfAssessmentId, adminId, centreId, existingCandidateAssessmentId, isLoggedInUser, completeByDate });
904904

905905
if (numberOfAffectedRows < 1)
906906
{

0 commit comments

Comments
 (0)