Browse Source

U8同步2

Branch_PaiNaWeiSJob
徐莉 3 months ago
parent
commit
5da5f22476
  1. 6
      ICSSoft.FromERP/ICSInventoryFromU8.cs
  2. 6
      ICSSoft.FromERP/ICSMoFromU8.cs
  3. 6
      ICSSoft.FromERP/IcsMainCategoryCodeFromU8.cs
  4. 6
      ICSSoft.FromERP/IcsSBomFromU8.cs

6
ICSSoft.FromERP/ICSInventoryFromU8.cs

@ -46,11 +46,11 @@ namespace ICSSoft.FromERP
List<WorkpointERPDBLink> ListDB = new List<WorkpointERPDBLink>();
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);
}
}

6
ICSSoft.FromERP/ICSMoFromU8.cs

@ -46,11 +46,11 @@ namespace ICSSoft.FromERP
List<WorkpointERPDBLink> ListDB = new List<WorkpointERPDBLink>();
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);
}
}

6
ICSSoft.FromERP/IcsMainCategoryCodeFromU8.cs

@ -45,11 +45,11 @@ namespace ICSSoft.FromERP
List<WorkpointERPDBLink> ListDB = new List<WorkpointERPDBLink>();
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);
}
}

6
ICSSoft.FromERP/IcsSBomFromU8.cs

@ -47,11 +47,11 @@ namespace ICSSoft.FromERP
List<WorkpointERPDBLink> ListDB = new List<WorkpointERPDBLink>();
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);
}
}

Loading…
Cancel
Save