From 00bf81267d38ad1d8bea7064d3e9a27401963b45 Mon Sep 17 00:00:00 2001 From: Shaobin Date: Thu, 2 Jan 2025 13:19:30 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ICSSoft.ToERP/SQL/CreateVendorInventoryPrice.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ICSSoft.ToERP/SQL/CreateVendorInventoryPrice.cs b/ICSSoft.ToERP/SQL/CreateVendorInventoryPrice.cs index 64aac3f..bd6f318 100644 --- a/ICSSoft.ToERP/SQL/CreateVendorInventoryPrice.cs +++ b/ICSSoft.ToERP/SQL/CreateVendorInventoryPrice.cs @@ -178,7 +178,7 @@ namespace ICSSoft.ERPWMS.SQL //将上个版本的失效日期改为当前生效日期的前一天 foreach (DataRow dr in dtNew.Rows) { - UpdateSQL += " Update {0}.dbo.Ven_Inv_Price Set dDisableDate ='{1}',dEnableDate ='{1}' Where Autoid ='{2}';"; + UpdateSQL += " Update {0}.dbo.Ven_Inv_Price Set dDisableDate ='{1}' Where Autoid ='{2}';"; UpdateSQL = string.Format(UpdateSQL, WorkPoint, Convert.ToDateTime(entity.list[0].dEnableDate).AddDays(-1), dr["Autoid"].ToString()); } }