孔祥富
2021-03-01 1c7cb9c300fda246db57ef5c43d118c7eaef22d6
febs-server/febs-server-hr/src/main/java/cc/mrbird/febs/server/hr/controller/EmpLeaveInfoController.java
@@ -59,7 +59,7 @@
    @RequestMapping(value = "export",method= RequestMethod.POST)
    @ControllerEndpoint(operation = "导出用户数据", exceptionMessage = "导出Excel失败")
    public void export(QueryRequest request, EmpLeaveInfo empBaseinfo, HttpServletResponse response) {
        request.setPageSize(this.empLeaveinfoService.count());
        List<EmpLeaveInfo> records = this.empLeaveinfoService.findEmpLeaveInfos(request, empBaseinfo).getRecords();
        ExcelKit.$Export(EmpLeaveInfo.class, response).downXlsx(records, false);
    }