T3SourceSummary processor

This commit is contained in:
Michał Zieliński
2023-11-06 17:19:20 +01:00
parent c0b8d71ec3
commit 1a140af04b
3 changed files with 185 additions and 61 deletions

View File

@@ -123,7 +123,7 @@ namespace WebAPI.dataProcessors
List<Record> allRecords = dataSources.SelectMany(x => x.Records!).ToList();
foreach (Record baseRecord in dataSources.First()?.Records!)
foreach (Record baseRecord in dataSources.Last()?.Records!)
{
List<Record> codeRecords = allRecords.Where(x => x.Code == baseRecord.Code).ToList();