This commit is contained in:
夏菊 2025-04-01 18:07:02 +08:00
parent 8d98e92167
commit 30feb635a3
1 changed files with 1 additions and 1 deletions

View File

@ -537,7 +537,7 @@ namespace FineUIPro.Web.Transfer
}
try
{
newUrl = uploadfilepath.Replace("DataOut", "DataOut\\PunchlistFrom").Replace("导出模板", "导出数据").Replace(".xlsx", DateTime.Now.ToString("yyyyMMddHHmmss") + ".xlsx");
newUrl = uploadfilepath.Replace("DataOut", "PunchlistFrom").Replace("导出模板", "导出数据").Replace(".xlsx", DateTime.Now.ToString("yyyyMMddHHmmss") + ".xlsx");
File.Copy(uploadfilepath, newUrl);
NPOI.SS.UserModel.IWorkbook workbook;
using (FileStream stream = new FileStream(newUrl, FileMode.Open, FileAccess.Read))