Browse Source

物料修改,锐腾

Branch_PaiNaWeiSJob
xusc 3 months ago
parent
commit
3119a31b68
  1. BIN
      .vs/ICSSoft.FromERP/v16/.suo
  2. 4
      ICSSoft.FromERP/App.config
  3. 10
      ICSSoft.FromERP/ICSInventory_Rhtyon.cs
  4. 2
      ICSSoft.Test/Program.cs

BIN
.vs/ICSSoft.FromERP/v16/.suo

Binary file not shown.

4
ICSSoft.FromERP/App.config

@ -6,8 +6,8 @@
<add key="Workpoint_ERPDB" value="zhc|[MESTOU8].[UFDATA_001_2017]"/>
</appSettings>
<connectionStrings>
<!--<add name="SysConnectionString" connectionString="Data Source=119.3.29.177;Database=ICSMESBase;Uid=gitea;Pwd=aA123456;"/>-->
<add name="SysConnectionString" connectionString="server=192.168.93.135; Database=ICSMESBase_RuiTeng; User ID=sa; Password=rhyt0n***;MultipleActiveResultSets=True;Connect Timeout=300;"/>
<add name="SysConnectionString" connectionString="Data Source=119.3.29.177;Database=ICSMESBase;Uid=gitea;Pwd=aA123456;"/>
<!--<add name="SysConnectionString" connectionString="server=192.168.93.135; Database=ICSMESBase_RuiTeng; User ID=sa; Password=rhyt0n***;MultipleActiveResultSets=True;Connect Timeout=300;"/>-->
<add name="APIAddStdWorkHour" connectionString="http://192.168.1.110:9097/api/APIAddStdWorkHour"/>
<add name="MailOpen" connectionString="true"/>
<add name="SendHost" connectionString="mail.huahengweld.com"/>

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

2
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();

Loading…
Cancel
Save