R1-T3 processor
This commit is contained in:
@@ -273,6 +273,7 @@ namespace WebAPI.Controllers
|
||||
"T3-MultiSourceYearSummary",
|
||||
"T3-MultiSourceCopySelectedCodes",
|
||||
"T3-MultiSourceCopySelectedCodesYearSummary"
|
||||
"T3-R1"
|
||||
};
|
||||
|
||||
foreach (string type in processTypes)
|
||||
@@ -404,6 +405,21 @@ namespace WebAPI.Controllers
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (processType == "T3-R1")
|
||||
{
|
||||
T3R1Processor processor = new T3R1Processor(db, googleSheetValues, this, logsController);
|
||||
processor.process(processWorker!);
|
||||
|
||||
logsController.AddEntry(new LogEntry
|
||||
{
|
||||
Title = $"{processWorker!.Name}, {processWorker.Id}",
|
||||
Type = LogEntryType.info,
|
||||
LogType = LogType.process,
|
||||
Message = "Success",
|
||||
CreatedAt = DateTime.UtcNow
|
||||
});
|
||||
return;
|
||||
}
|
||||
string? month = processWorker?.Records?.SingleOrDefault(x => x.Code == "Month")?.Desc1;
|
||||
if (month == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user