Import fix
This commit is contained in:
@@ -279,7 +279,6 @@ public class LayersController : Controller
|
|||||||
.Where(x =>
|
.Where(x =>
|
||||||
x.Records!.Any(y => y.Code == "Type" && y.Desc1 == "ImportWorker") &&
|
x.Records!.Any(y => y.Code == "Type" && y.Desc1 == "ImportWorker") &&
|
||||||
x.Records!.Any(y => y.Code == "IsEnabled" && y.Desc1 == "True")
|
x.Records!.Any(y => y.Code == "IsEnabled" && y.Desc1 == "True")
|
||||||
&& x.Number == 2989
|
|
||||||
)
|
)
|
||||||
.OrderBy(x => x.CreatedAt)
|
.OrderBy(x => x.CreatedAt)
|
||||||
.ToList();
|
.ToList();
|
||||||
@@ -303,6 +302,7 @@ public class LayersController : Controller
|
|||||||
{
|
{
|
||||||
var type = importWorker.Records!.FirstOrDefault(x => x.Code == "ImportType")?.Desc1 ??
|
var type = importWorker.Records!.FirstOrDefault(x => x.Code == "ImportType")?.Desc1 ??
|
||||||
"Standard";
|
"Standard";
|
||||||
|
var name = importWorker.Name;
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
case "D1":
|
case "D1":
|
||||||
|
|||||||
Reference in New Issue
Block a user