| | |
| | | @GetMapping(value = "/download") |
| | | @PreAuthorize("@el.check('taskDaliy:download')") |
| | | public void exportTaskDaliy(HttpServletResponse response, TaskDaliyQueryCriteria criteria) throws IOException { |
| | | taskDaliyService.download(taskDaliyService.queryAll(criteria), response); |
| | | //taskDaliyService.download(taskDaliyService.queryAll(criteria), response); |
| | | } |
| | | |
| | | @GetMapping |
| | |
| | | @ApiOperation("查询任务日报") |
| | | @PreAuthorize("@el.check('taskDaliy:list')") |
| | | public ResponseEntity<Object> queryTaskDaliyWithTaskUser(TaskDaliyQueryCriteria criteria, Pageable pageable){ |
| | | return new ResponseEntity<>(taskDaliyService.queryAllWithTaskUser(criteria,pageable),HttpStatus.OK); |
| | | //return new ResponseEntity<>(taskDaliyService.queryAllWithTaskUser(criteria,pageable),HttpStatus.OK); |
| | | return null; |
| | | } |
| | | |
| | | @GetMapping(value = "/all") |