| | |
| | | |
| | | @PostMapping("/distribute/page") |
| | | @ApiOperation(value = "下发分页", notes = "下发分页") |
| | | @PreAuthorize("@ss.hasPermi('work:order:distribute')") |
| | | @PreAuthorize("@ss.hasPermi('work:order:distribute:page')") |
| | | public Result distributePage(@RequestBody DistributeWorkOrderQuery query) { |
| | | return workOrderService.distributePage(query); |
| | | } |
| | |
| | | |
| | | @GetMapping("/{id}") |
| | | @ApiOperation(value = "详情", notes = "详情") |
| | | @PreAuthorize("@ss.hasPermi('work:order:query')") |
| | | @PreAuthorize("@ss.hasPermi('work:order:detail')") |
| | | public Result detail(@PathVariable("id") String id) { |
| | | return workOrderService.detail(id); |
| | | } |