Browse Source

调整接口

master
lilili 2 years ago
parent
commit
1c4cf5b8b5
  1. 2
      ICSSoft.FromERP/ICSSoft.FromERP/ICSDispatchDoc.cs
  2. 8
      ICSSoft.FromERP/ICSSoft.Test/Program.cs
  3. 2
      ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSalesService.cs

2
ICSSoft.FromERP/ICSSoft.FromERP/ICSDispatchDoc.cs

@ -81,7 +81,7 @@ namespace ICSSoft.FromERP
string Colspan = ""; string Colspan = "";
if (Item.SOBKZ == "E") if (Item.SOBKZ == "E")
{ {
Colspan = Item.KDAUF + "~~~~" + Item.KDPOS + "~~~~~~~~~~";
Colspan = Item.KDAUF + "~~~" + Item.KDPOS + "~~~~~~~~~~";
} }
else else
{ {

8
ICSSoft.FromERP/ICSSoft.Test/Program.cs

@ -16,11 +16,11 @@ namespace ICSSoft.Test
//ICSSAPDocGet test = new ICSSAPDocGet(); //ICSSAPDocGet test = new ICSSAPDocGet();
//test.Execute(); //test.Execute();
//ICSSAPDocGet test = new ICSSAPDocGet();
//test.Execute();
ICSWareHouseLotInfoDoc test = new ICSWareHouseLotInfoDoc();
ICSDispatchDoc test = new ICSDispatchDoc();
test.Execute(); test.Execute();
//ICSWareHouseLotInfoDoc test = new ICSWareHouseLotInfoDoc();
//test.Execute();
} }
} }

2
ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSalesService.cs

@ -103,7 +103,7 @@ namespace ICSSoft.DataProject
{ {
string updatesql = @"Update ICSSDN set EATTRIBUTE1='待过账' where SDNCode='{0}' AND WorkPoint='{1}'"; string updatesql = @"Update ICSSDN set EATTRIBUTE1='待过账' where SDNCode='{0}' AND WorkPoint='{1}'";
updatesql = string.Format(updatesql, dt.Rows[i]["SDNCode"].ToString(), dt.Rows[i]["WorkPoint"].ToString()); updatesql = string.Format(updatesql, dt.Rows[i]["SDNCode"].ToString(), dt.Rows[i]["WorkPoint"].ToString());
if (!DBHelper.ExecuteNonQuery(chksql, cmd))
if (!DBHelper.ExecuteNonQuery(updatesql, cmd))
{ {
throw new Exception(language.GetNameByCode("WMSAPIInfo141"));//"销售领料单更新失败!"); throw new Exception(language.GetNameByCode("WMSAPIInfo141"));//"销售领料单更新失败!");
} }

Loading…
Cancel
Save