This commit is contained in:
2022-08-05 16:46:33 +08:00
parent 959b1a0b77
commit 73efee55e7
48 changed files with 295 additions and 200 deletions

View File

@@ -112,7 +112,7 @@ public class UnitController {
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
List<UnitDTO> list = unitService.list(params);
ExcelUtils.exportExcelToTarget(response, null, list, UnitExcel.class);
ExcelUtils.exportExcelToTarget(response, "Unit", list, UnitExcel.class);
}
@PostMapping("status")