fix
This commit is contained in:
parent
e7dc9e1a57
commit
bcc44fe65e
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue