| | |
| | | @PreAuthorize("hasAuthority('asrs:waitPakinLog:list')") |
| | | @PostMapping("/waitPakinLog/export") |
| | | public void export(@RequestBody Map<String, Object> map, HttpServletResponse response) throws Exception { |
| | | ExcelUtil.build(ExcelUtil.create(waitPakinLogService.list(), WaitPakinLog.class), response); |
| | | BaseParam baseParam = buildParam(map, BaseParam.class); |
| | | PageParam<WaitPakinLog, BaseParam> pageParam = new PageParam<>(baseParam, WaitPakinLog.class); |
| | | List<WaitPakinLog> data = waitPakinLogService.list(pageParam.buildWrapper(true)); |
| | | |
| | | ExcelUtil.build(ExcelUtil.create(data, WaitPakinLog.class), response); |
| | | } |
| | | |
| | | } |