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