From 1c4cf5b8b5449508534fee3cbbfa09fe6dddc124 Mon Sep 17 00:00:00 2001 From: lilili Date: Tue, 16 May 2023 14:58:02 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ICSSoft.FromERP/ICSSoft.FromERP/ICSDispatchDoc.cs | 2 +- ICSSoft.FromERP/ICSSoft.Test/Program.cs | 8 ++++---- ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSalesService.cs | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ICSSoft.FromERP/ICSSoft.FromERP/ICSDispatchDoc.cs b/ICSSoft.FromERP/ICSSoft.FromERP/ICSDispatchDoc.cs index 6a308df..0e49af0 100644 --- a/ICSSoft.FromERP/ICSSoft.FromERP/ICSDispatchDoc.cs +++ b/ICSSoft.FromERP/ICSSoft.FromERP/ICSDispatchDoc.cs @@ -81,7 +81,7 @@ namespace ICSSoft.FromERP string Colspan = ""; if (Item.SOBKZ == "E") { - Colspan = Item.KDAUF + "~~~~" + Item.KDPOS + "~~~~~~~~~~"; + Colspan = Item.KDAUF + "~~~" + Item.KDPOS + "~~~~~~~~~~"; } else { diff --git a/ICSSoft.FromERP/ICSSoft.Test/Program.cs b/ICSSoft.FromERP/ICSSoft.Test/Program.cs index 73355e1..8b8933c 100644 --- a/ICSSoft.FromERP/ICSSoft.Test/Program.cs +++ b/ICSSoft.FromERP/ICSSoft.Test/Program.cs @@ -16,11 +16,11 @@ namespace ICSSoft.Test //ICSSAPDocGet test = new ICSSAPDocGet(); //test.Execute(); - //ICSSAPDocGet test = new ICSSAPDocGet(); - //test.Execute(); - - ICSWareHouseLotInfoDoc test = new ICSWareHouseLotInfoDoc(); + ICSDispatchDoc test = new ICSDispatchDoc(); test.Execute(); + + //ICSWareHouseLotInfoDoc test = new ICSWareHouseLotInfoDoc(); + //test.Execute(); } } diff --git a/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSalesService.cs b/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSalesService.cs index 41f91a6..fe839f4 100644 --- a/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSalesService.cs +++ b/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}'"; 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"));//"销售领料单更新失败!"); }