This commit is contained in:
parent
2c74bec311
commit
4e650b273d
|
@ -479,7 +479,7 @@ namespace FineUIPro.Web.PZHGL.GJSX
|
|||
string filePath = string.Empty;
|
||||
initTemplatePath = Const.GJSXOutTemplateUrl;
|
||||
uploadfilepath = rootPath + initTemplatePath;
|
||||
newUrl = uploadfilepath.Replace(".xlsx", "(" + DateTime.Now.ToString("yyyyMMdd") + ").xlsx");
|
||||
newUrl = uploadfilepath.Replace(".xlsx", "(" + DateTime.Now.ToString("yyyyMMddHHmmss") + ").xlsx");
|
||||
File.Copy(uploadfilepath, newUrl);
|
||||
// 第一步:读取文件流
|
||||
NPOI.SS.UserModel.IWorkbook workbook;
|
||||
|
|
Loading…
Reference in New Issue