From 8b86d32cad6b90830a5ba1d521d8c4b4450b8969 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Zieli=C5=84ski?= Date: Tue, 31 Dec 2024 17:35:33 +0100 Subject: [PATCH] Enable all process layers --- .idea/.idea.DiunaBI/.idea/sqldialects.xml | 19 ------------------- WebAPI/Controllers/LayersController.cs | 17 ++++++++--------- 2 files changed, 8 insertions(+), 28 deletions(-) delete mode 100644 .idea/.idea.DiunaBI/.idea/sqldialects.xml diff --git a/.idea/.idea.DiunaBI/.idea/sqldialects.xml b/.idea/.idea.DiunaBI/.idea/sqldialects.xml deleted file mode 100644 index 1e0e080..0000000 --- a/.idea/.idea.DiunaBI/.idea/sqldialects.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/WebAPI/Controllers/LayersController.cs b/WebAPI/Controllers/LayersController.cs index 0a3fcbc..9f39654 100644 --- a/WebAPI/Controllers/LayersController.cs +++ b/WebAPI/Controllers/LayersController.cs @@ -451,15 +451,15 @@ public class LayersController : Controller string[] processTypes = [ - //"T3-SingleSource", - //"T3-SourceYearSummary", - //"T3-MultiSourceSummary", // AA - //"T3-MultiSourceYearSummary", // AA/13 - //"T4-SingleSource", - //"T5-LastValues", + "T3-SingleSource", + "T3-SourceYearSummary", + "T3-MultiSourceSummary", // AA + "T3-MultiSourceYearSummary", // AA/13 + "T4-SingleSource", + "T5-LastValues", //"T1-R1_OLD", - //"T1-R1", - //"T4-R2", + "T1-R1", + "T4-R2", "T1-R3" ]; @@ -481,7 +481,6 @@ public class LayersController : Controller x.Records!.Any(y => y.Code == "Type" && y.Desc1 == "ProcessWorker") && x.Records!.Any(y => y.Code == "IsEnabled" && y.Desc1 == "True") && x.Records!.Any(y => y.Code == "ProcessType" && y.Desc1 == type) - && x.Number == 4175 ) .OrderBy(x => x.CreatedAt) .ToList();