Updated scanner and table names.
This commit is contained in:
@@ -28,6 +28,9 @@ public class VoiceWorkUpdater(AppDbContext dbContext, ITimeProvider timeProvider
|
||||
}
|
||||
|
||||
result.Status = Upsert(ingest, upsertContext);
|
||||
|
||||
VoiceWork voiceWork = upsertContext.VoiceWorks[ingest.ProductId];
|
||||
result.UpdateStatus = (VoiceWorkStatus)voiceWork.Status;
|
||||
}
|
||||
|
||||
await dbContext.SaveChangesAsync(cancellationToken);
|
||||
@@ -125,7 +128,7 @@ public class VoiceWorkUpdater(AppDbContext dbContext, ITimeProvider timeProvider
|
||||
|
||||
if (voiceWork.SalesDate is not null && ingest.SalesDate is null)
|
||||
{
|
||||
string message = $"Voice work has a sales date of {voiceWork.SalesDate.Value.ToShortDateString()}, but ingest does not";
|
||||
string message = $"Voice work has a sales date of {voiceWork.SalesDate.Value:d}, but ingest does not";
|
||||
result.Issues.Add(new(message, VoiceWorkUpsertIssueSeverity.Error));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user