D1 importer - handle not completed data

This commit is contained in:
Michał Zieliński
2025-04-29 17:06:52 +02:00
parent dd150f3c39
commit 903d5cacc1
3 changed files with 22 additions and 17 deletions

View File

@@ -338,6 +338,7 @@ public class LayersController : Controller
x.Name != null && x.Name.Contains(nameFilter) &&
x.Records!.Any(y => y.Code == "Type" && y.Desc1 == "ImportWorker") &&
x.Records!.Any(y => y.Code == "IsEnabled" && y.Desc1 == "True")
&& x.Number == 5375
)
.OrderByDescending(x => x.CreatedAt)
.AsNoTracking()