summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerghei Cebotari <serghei@cebotari.ru>2025-01-28 04:44:52 +0300
committerSerghei Cebotari <serghei@cebotari.ru>2025-01-28 04:44:52 +0300
commit66e8300b567c58d3cdd599c092b612249f267323 (patch)
treedbddd6204b528b005cf5b5cff833d60dedd2a35c
parent97d601999c0d6ff16e3cd93c8ee0f6d4756bb60d (diff)
Turn deprecated skus parse off
-rw-r--r--RhSolutions.Api/Services/ClosedXMLParser.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/RhSolutions.Api/Services/ClosedXMLParser.cs b/RhSolutions.Api/Services/ClosedXMLParser.cs
index 81dccf5..1d33b88 100644
--- a/RhSolutions.Api/Services/ClosedXMLParser.cs
+++ b/RhSolutions.Api/Services/ClosedXMLParser.cs
@@ -58,8 +58,8 @@ namespace RhSolutions.Api.Services
.First();
ProductSku.TryParse(row.Field("Актуальный материал")
.GetString(), out IEnumerable<ProductSku> productSkus);
- ProductSku.TryParse(row.Field("Прежний материал")
- .GetString(), out IEnumerable<ProductSku> deprecatedSkus);
+ // ProductSku.TryParse(row.Field("Прежний материал")
+ // .GetString(), out IEnumerable<ProductSku> deprecatedSkus);
string measureField = new string(row.Field("Ед. изм.")
.GetString()
@@ -123,7 +123,7 @@ namespace RhSolutions.Api.Services
{
ProductLines = new List<string>() { productLine },
Name = productName,
- DeprecatedSkus = deprecatedSkus.ToList(),
+ // DeprecatedSkus = deprecatedSkus.ToList(),
ProductMeasure = productMeasure,
DeliveryMakeUp = productWarehouseCount,
IsOnWarehouse = IsOnWarehouse,