From 5da5f22476d255cdaaf25e333d5d34a16a1eed1c Mon Sep 17 00:00:00 2001 From: xuli Date: Fri, 2 Aug 2024 15:42:21 +0800 Subject: [PATCH] =?UTF-8?q?U8=E5=90=8C=E6=AD=A52?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ICSSoft.FromERP/ICSInventoryFromU8.cs | 6 +++--- ICSSoft.FromERP/ICSMoFromU8.cs | 6 +++--- ICSSoft.FromERP/IcsMainCategoryCodeFromU8.cs | 6 +++--- ICSSoft.FromERP/IcsSBomFromU8.cs | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ICSSoft.FromERP/ICSInventoryFromU8.cs b/ICSSoft.FromERP/ICSInventoryFromU8.cs index 9511bfb..5cd12da 100644 --- a/ICSSoft.FromERP/ICSInventoryFromU8.cs +++ b/ICSSoft.FromERP/ICSInventoryFromU8.cs @@ -46,11 +46,11 @@ namespace ICSSoft.FromERP List ListDB = new List(); foreach (string DB in DBS) { - if (DB.Split('_') != null && DB.Split('_').Count() > 1) + if (DB.Split('|') != null && DB.Split('|').Count() > 1) { WorkpointERPDBLink wd = new WorkpointERPDBLink(); - wd.Workpoint = DB.Split('_')[0]; - wd.ERPDB = DB.Split('_')[1]; + wd.Workpoint = DB.Split('|')[0]; + wd.ERPDB = DB.Split('|')[1]; ListDB.Add(wd); } } diff --git a/ICSSoft.FromERP/ICSMoFromU8.cs b/ICSSoft.FromERP/ICSMoFromU8.cs index d7c25ab..b30ae01 100644 --- a/ICSSoft.FromERP/ICSMoFromU8.cs +++ b/ICSSoft.FromERP/ICSMoFromU8.cs @@ -46,11 +46,11 @@ namespace ICSSoft.FromERP List ListDB = new List(); foreach (string DB in DBS) { - if (DB.Split('_') != null && DB.Split('_').Count() > 1) + if (DB.Split('|') != null && DB.Split('|').Count() > 1) { WorkpointERPDBLink wd = new WorkpointERPDBLink(); - wd.Workpoint = DB.Split('_')[0]; - wd.ERPDB = DB.Split('_')[1]; + wd.Workpoint = DB.Split('|')[0]; + wd.ERPDB = DB.Split('|')[1]; ListDB.Add(wd); } } diff --git a/ICSSoft.FromERP/IcsMainCategoryCodeFromU8.cs b/ICSSoft.FromERP/IcsMainCategoryCodeFromU8.cs index 6908e25..954f14b 100644 --- a/ICSSoft.FromERP/IcsMainCategoryCodeFromU8.cs +++ b/ICSSoft.FromERP/IcsMainCategoryCodeFromU8.cs @@ -45,11 +45,11 @@ namespace ICSSoft.FromERP List ListDB = new List(); foreach (string DB in DBS) { - if (DB.Split('_') != null && DB.Split('_').Count() > 1) + if (DB.Split('|') != null && DB.Split('|').Count() > 1) { WorkpointERPDBLink wd = new WorkpointERPDBLink(); - wd.Workpoint = DB.Split('_')[0]; - wd.ERPDB = DB.Split('_')[1]; + wd.Workpoint = DB.Split('|')[0]; + wd.ERPDB = DB.Split('|')[1]; ListDB.Add(wd); } } diff --git a/ICSSoft.FromERP/IcsSBomFromU8.cs b/ICSSoft.FromERP/IcsSBomFromU8.cs index 373ad8a..23c181c 100644 --- a/ICSSoft.FromERP/IcsSBomFromU8.cs +++ b/ICSSoft.FromERP/IcsSBomFromU8.cs @@ -47,11 +47,11 @@ namespace ICSSoft.FromERP List ListDB = new List(); foreach (string DB in DBS) { - if (DB.Split('_') != null && DB.Split('_').Count() > 1) + if (DB.Split('|') != null && DB.Split('|').Count() > 1) { WorkpointERPDBLink wd = new WorkpointERPDBLink(); - wd.Workpoint = DB.Split('_')[0]; - wd.ERPDB = DB.Split('_')[1]; + wd.Workpoint = DB.Split('|')[0]; + wd.ERPDB = DB.Split('|')[1]; ListDB.Add(wd); } }