万众报表名称

This commit is contained in:
Harryxzy 2025-02-26 15:32:04 +08:00
parent 9a528d4eef
commit 83da142ac1
2 changed files with 3 additions and 3 deletions

View File

@ -1562,7 +1562,7 @@ public class SalaryAcctResultServiceImpl extends Service implements SalaryAcctRe
rows.add(rowList);
}
return ExcelUtilPlus.genWorkbook4Wz(rows, "薪酬报表", false);
return ExcelUtilPlus.genWorkbook4Wz(rows, "月度工资计提表-财务使用", false);
}
return null;
}

View File

@ -1071,7 +1071,7 @@ public class SalaryAcctController {
}
XSSFWorkbook workbook = getSalaryAcctResultWrapper(user).exportDhSalaryReport(salaryMonth);
String time = LocalDate.now().toString();
String fileName = "薪酬报表" + time;
String fileName = "月度工资计提表-财务使用" + time;
try {
fileName = URLEncoder.encode(fileName + ".xlsx", "UTF-8");
} catch (UnsupportedEncodingException e) {
@ -1084,7 +1084,7 @@ public class SalaryAcctController {
response.setContentType("application/octet-stream");
return Response.ok(output).header("Content-disposition", "attachment;filename=" + fileName).header("Cache-Control", "no-cache").build();
} catch (Exception e) {
log.error("薪酬报表", e);
log.error("月度工资计提表-财务使用", e);
throw e;
}
}