|
|
@ -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) |
|
|
|