diff --git a/.vs/ICSSoft.FromERP/v16/.suo b/.vs/ICSSoft.FromERP/v16/.suo index bc8b38b..3752917 100644 Binary files a/.vs/ICSSoft.FromERP/v16/.suo and b/.vs/ICSSoft.FromERP/v16/.suo differ diff --git a/ICSSoft.FromERP/App.config b/ICSSoft.FromERP/App.config index 25031cc..5ac5e9a 100644 --- a/ICSSoft.FromERP/App.config +++ b/ICSSoft.FromERP/App.config @@ -6,8 +6,8 @@ - - + + diff --git a/ICSSoft.FromERP/ICSInventory_Rhtyon.cs b/ICSSoft.FromERP/ICSInventory_Rhtyon.cs index 0319242..6cb3cdf 100644 --- a/ICSSoft.FromERP/ICSInventory_Rhtyon.cs +++ b/ICSSoft.FromERP/ICSInventory_Rhtyon.cs @@ -54,7 +54,11 @@ namespace ICSSoft.FromERP A.Code AS ItemCode ,a.ItemFormAttribute ,dbo.GetReplaceStr(A.Name) AS ItemName, -a.DescFlexField_PrivateDescSeg2 ItemDrawingNo +a.DescFlexField_PrivateDescSeg1 ItemDrawingNo +,a.DescFlexField_PrivateDescSeg2 as Default2 +,a.DescFlexField_PrivateDescSeg8 as Default1 +,a.DescFlexField_PrivateDescSeg9 Default3 +,a.DescFlexField_PrivateDescSeg11 Default4 ,b.Description ItemDesc, dbo.GetReplaceStr(A.SPECS) AS ItemStd, D.Name AS ItemUnit, @@ -127,6 +131,10 @@ a.DescFlexField_PrivateDescSeg2 ItemDrawingNo values.Add("ItemControlType", "d.ItemControlType");//操作时间 values.Add("ItemDrawingNo", "b.ItemDrawingNo");//操作时间 values.Add("ItemType", "'itemtype_finishedproduct'"); + values.Add("Default1", "b.Default1"); + values.Add("Default2", "b.Default2"); + values.Add("Default3", "b.Default3"); + values.Add("Default4", "b.Default4"); //更新存在数据 sql += ICSHelper.UpdateSQL("b", values) diff --git a/ICSSoft.Test/Program.cs b/ICSSoft.Test/Program.cs index 5f28912..a17a407 100644 --- a/ICSSoft.Test/Program.cs +++ b/ICSSoft.Test/Program.cs @@ -13,7 +13,7 @@ namespace ICSSoft.Test //ICSVendor test = new ICSVendor(); //test.Execute(); - IcsSBom_Rhtyon test = new IcsSBom_Rhtyon(); + ICSMo test = new ICSMo(); test.Execute();