Skip to content

Commit 633ceb0

Browse files
authored
Merge branch 'Release-2024.32' into Develop/Fixes/TD-3930-AllDelegatesControllerRefactor
2 parents 90f0c2d + 9b7f13e commit 633ceb0

34 files changed

+531
-451
lines changed

DigitalLearningSolutions.Data/DataServices/ProgressDataService.cs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ public interface IProgressDataService
1515
{
1616
IEnumerable<Progress> GetDelegateProgressForCourse(int delegateId, int customisationId);
1717

18-
void UpdateProgressSupervisorAndCompleteByDate(int progressId, int supervisorAdminId, DateTime? completeByDate, int enrollmentMethodID);
19-
18+
void UpdateProgressSupervisorAndCompleteByDate(int progressId, int supervisorAdminId, DateTime? completeByDate, int enrollmentMethodID, DateTime? firstSubmittedTime);
2019
int CreateNewDelegateProgress(
2120
int delegateId,
2221
int customisationId,
@@ -144,16 +143,18 @@ public void UpdateProgressSupervisorAndCompleteByDate(
144143
int progressId,
145144
int supervisorAdminId,
146145
DateTime? completeByDate,
147-
int enrollmentMethodID
146+
int enrollmentMethodID,
147+
DateTime? firstSubmittedTime
148148
)
149149
{
150150
connection.Execute(
151151
@"UPDATE Progress SET
152152
SupervisorAdminID = @supervisorAdminId,
153153
CompleteByDate = @completeByDate,
154-
EnrollmentMethodID = @enrollmentMethodID
154+
EnrollmentMethodID = @enrollmentMethodID,
155+
FirstSubmittedTime= @firstSubmittedTime
155156
WHERE ProgressID = @progressId",
156-
new { progressId, supervisorAdminId, completeByDate, enrollmentMethodID }
157+
new { progressId, supervisorAdminId, completeByDate, enrollmentMethodID, @firstSubmittedTime }
157158
);
158159
}
159160

0 commit comments

Comments
 (0)