Commit feccee0b authored by yajun.zhang's avatar yajun.zhang

优化路径

parent aa9e348b
......@@ -391,7 +391,7 @@ public class ThirdWorkOrderServiceImpl implements IThirdWorkOrderService {
}
String date = DateUtil.format(new Date(), DateUtil.YYYYMMDDHHMMSS);
String path = System.getProperty("java.io.tmpdir")+ "工单导出"+DateUtil.format(new Date(),DateUtil.YYYYMMDDHHMMSS) +".xlsx";
String path = System.getProperty("java.io.tmpdir") +File.separator + "工单导出"+DateUtil.format(new Date(),DateUtil.YYYYMMDDHHMMSS) +".xlsx";
log.info("下载文件路径:{}",path);
File file = new File(path);
EasyExcelUtil.write(path,ThirdWorkOrderExportVo.class,exportVos);
......
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