修改同步文件删除
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user