This commit is contained in:
2025-04-01 18:01:08 +08:00
parent 0a71c7d118
commit b3fba6dc01
6 changed files with 168 additions and 149 deletions
@@ -537,7 +537,7 @@ namespace FineUIPro.Web.Transfer
}
try
{
newUrl = uploadfilepath.Replace("导出模板", "导出数据").Replace(".xlsx", DateTime.Now.ToString("yyyyMMddHHmmss") + ".xlsx");
newUrl = uploadfilepath.Replace("DataOut", "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))