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