This commit is contained in:
钱涛 2022-06-27 14:45:23 +08:00
parent e7dc9e1a57
commit bcc44fe65e
1 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ public class AddUpSituationController {
XSSFWorkbook workbook = getAddUpSituationWrapper(user).export(queryParam);
String fileName = "累计情况" + LocalDate.now();
String fileName = "往期累计情况" + LocalDate.now();
try {
fileName = URLEncoder.encode(fileName + ".xlsx", "UTF-8");
} catch (UnsupportedEncodingException e) {
@ -142,7 +142,7 @@ public class AddUpSituationController {
.header("Content-disposition", "attachment;filename=" + fileName)
.header("Cache-Control", "no-cache").build();
} catch (Exception e) {
log.error("累计情况导出异常", e);
log.error("往期累计情况导出异常", e);
throw e;
}
}