This commit is contained in:
@@ -613,7 +613,7 @@ namespace AyaNova.Biz
|
||||
if (!string.IsNullOrWhiteSpace(raw))
|
||||
ImportSerials = raw.Split(',').Select(x => x.Trim()).Where(x => !string.IsNullOrWhiteSpace(x)).ToList();
|
||||
}
|
||||
todo: deal with serials, then mega test figure out what's not done here yet
|
||||
|
||||
|
||||
|
||||
long existingId = await ct.Part.AsNoTracking().Where(z => z.Name == (string)j["Name"]).Select(x => x.Id).FirstOrDefaultAsync();
|
||||
@@ -643,6 +643,8 @@ namespace AyaNova.Biz
|
||||
}
|
||||
else
|
||||
{
|
||||
if (j["PartSerialsViz"] != null)
|
||||
await PutSerialsAsync(res.Id, ImportSerials);
|
||||
ImportResult.Add($"✔️ {Target.Name}");
|
||||
}
|
||||
}
|
||||
@@ -674,6 +676,8 @@ namespace AyaNova.Biz
|
||||
}
|
||||
else
|
||||
{
|
||||
if (j["PartSerialsViz"] != null)
|
||||
await PutSerialsAsync(res.Id, ImportSerials);
|
||||
ImportResult.Add($"✔️ {Target.Name}");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user