Browse Source

..

Branch_PaiNaWeiSJob
xusc 3 months ago
parent
commit
a207953efa
  1. BIN
      .vs/ICSSoft.FromERP/v16/.suo
  2. 8
      ICSSoft.FromERP/App.config
  3. 2
      ICSSoft.FromERP/ICSInventory.cs
  4. 12
      ICSSoft.FromERP/ICSInventory_Rhtyon.cs
  5. 2
      ICSSoft.Test/Program.cs

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

Binary file not shown.

8
ICSSoft.FromERP/App.config

@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="ERPDB" value="[U9Ctest]"/>
<!--<add key="ERPDB" value="[192.168.93.132].[U9TEST0628]"/>-->
<!--<add key="ERPDB" value="[U9Ctest]"/>-->
<add key="ERPDB" value="[192.168.93.132].[U9TEST0628]"/>
<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"/>

2
ICSSoft.FromERP/ICSInventory.cs

@ -127,7 +127,7 @@ a.DescFlexField_PrivateDescSeg2 ItemDrawingNo
values.Add("ItemType", "d.ItemType");//操作时间
values.Add("ItemContype", "d.ItemContype");//操作时间
values.Add("ItemControlType", "d.ItemControlType");//操作时间
values.Add("ItemDrawingNo", "b.ItemDrawingNo");//操作时间
values.Add("ItemDrawingNo", "a.ItemDrawingNo");//操作时间
//更新存在数据

12
ICSSoft.FromERP/ICSInventory_Rhtyon.cs

@ -130,12 +130,12 @@ a.DescFlexField_PrivateDescSeg1 ItemDrawingNo
//values.Add("ItemType", "d.ItemType");//操作时间
values.Add("ItemContype", "d.ItemContype");//操作时间
values.Add("ItemControlType", "d.ItemControlType");//操作时间
values.Add("ItemDrawingNo", "b.ItemDrawingNo");//操作时间
values.Add("ItemDrawingNo", "a.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");
values.Add("Default1", "a.Default1");
values.Add("Default2", "a.Default2");
values.Add("Default3", "a.Default3");
values.Add("Default4", "a.Default4");
// values.Add("Default5", "b.Default4");
//更新存在数据
@ -159,7 +159,7 @@ a.DescFlexField_PrivateDescSeg1 ItemDrawingNo
sql += " DROP TABLE #TempINV " +
" DROP TABLE #tableICSINVENTORY ";
sql = string.Format(sql, TenantId, erpName, ErpId);
// return;
//return;
ICSHelper.ExecuteDate(conStr, sql);
#endregion
}

2
ICSSoft.Test/Program.cs

@ -13,7 +13,7 @@ namespace ICSSoft.Test
//ICSVendor test = new ICSVendor();
//test.Execute();
ICSMo test = new ICSMo();
ICSInventory_Rhtyon test = new ICSInventory_Rhtyon();
test.Execute();

Loading…
Cancel
Save