Commit c0347c54 by zhangkb

元数据管理导出excel文件名加上时间戳

parent 622f0f57
......@@ -69,7 +69,8 @@ public class TagFileService {
toExportTagMeta.add(tagMeta);
}
// 导出操作
ExcelUtils.exportExcel(toExportTagMeta, null , "sheet1", TagMetadata.class, "tagMetadata.xlsx", response);
ExcelUtils.exportExcel(toExportTagMeta, null , "sheet1", TagMetadata.class,
"tagMetadata_"+System.currentTimeMillis()+".xlsx", response);
return toExportTagMeta.size();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment