修改同步文件删除

This commit is contained in:
2026-07-10 14:47:00 +08:00
parent a77b709548
commit e24774c143
2 changed files with 54 additions and 8 deletions
+8
View File
@@ -206,6 +206,14 @@ 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));
try
{
File.Delete(zipFilePath);
}
catch (Exception delEx)
{
writeLog("删除临时文件失败: " + delEx.Message);
}
}
}