|
|
@@ -152,7 +152,7 @@ public class JxlsExportTestServiceImpl implements JxlsExportTestService {
|
|
|
byte escortSignUrl[] = getImageBytes(workLogTplVO.getWorkCycle().getEscortSignUrl());
|
|
|
|
|
|
// 获取模板文件
|
|
|
- String tplfileName = "circle_sign_tpl.xlsx";
|
|
|
+ String tplfileName = "work_log_tpl.xlsx";
|
|
|
String tmpFileName = FileUtil.getTmpFileName(FileUtil.getFilePrefix(tplfileName));
|
|
|
String tmpFilePath = FileUtils.getTempDirectoryPath() + File.separator + tmpFileName;
|
|
|
// 写文件
|
|
|
@@ -179,7 +179,7 @@ public class JxlsExportTestServiceImpl implements JxlsExportTestService {
|
|
|
os.close();
|
|
|
}
|
|
|
// 导出
|
|
|
- String newFileName = "circleSign.xlsx";
|
|
|
+ String newFileName = "workLog.xlsx";
|
|
|
// 输出文件
|
|
|
response.setHeader("Content-disposition", String.format("attachment; filename=\"%s\"", newFileName));
|
|
|
|