From f16523d785e1c058d395febb5171b0c9b726c9fb Mon Sep 17 00:00:00 2001 From: zhuyiyi <649091362@qq.com> Date: Mon, 2 Jun 2025 15:42:00 +0800 Subject: [PATCH] edit --- supplierBuildFile.aspx.cs | 1 + uploadFile.aspx.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/supplierBuildFile.aspx.cs b/supplierBuildFile.aspx.cs index c52a0ac..935d3b3 100644 --- a/supplierBuildFile.aspx.cs +++ b/supplierBuildFile.aspx.cs @@ -226,6 +226,7 @@ public partial class supplierBuildFile : System.Web.UI.Page { upStatus = 2; updateSql += string.Format("insert into CE_ErpTradeLog(tid,orderstate,userid,operatetime,con) select ctid,{1},{2},getdate(),'{3}' from ce_erptradecell where ctid in ({0}) ;", string.Join(",", tids), (int)OrderState.下单完成, 0, "下载设计文件"); + updateSql += string.Format("update ce_erptradecell set UpdateTime=getdate() where ctid in ({0}) ;", string.Join(",", tids)); } } diff --git a/uploadFile.aspx.cs b/uploadFile.aspx.cs index 4f7b4d9..8847b02 100644 --- a/uploadFile.aspx.cs +++ b/uploadFile.aspx.cs @@ -310,7 +310,7 @@ public partial class uploadFile : System.Web.UI.Page postFile.SaveAs(saveFile); entity.FileMd5 = GetMD5HashFromFile(postFile); //XLog.SaveLog(0, saveFile); - + entity.UpdateTime = DateTime.Now; entity.Update(); //CeErpTradeCell.UpdateRelationOrder(entity); CeErpTradeCell.UpdateRelationOrder(entity.ctid);