| | |
| | | |
| | | private final WorkOrderService workOrderService; |
| | | |
| | | @GetMapping("/process/{workOrderNo}") |
| | | @ApiOperation(value = "过程图", notes = "过程图") |
| | | @PreAuthorize("@ss.hasPermi('work:order:process')") |
| | | public Result processImg(@PathVariable("workOrderNo") String workOrderNo) { |
| | | return workOrderService.processImg(workOrderNo); |
| | | } |
| | | |
| | | @PostMapping |
| | | @ApiOperation(value = "添加", notes = "添加") |
| | | @PreAuthorize("@ss.hasPermi('work:order:add')") |
| | |
| | | @ApiOperation(value = "运维情况", notes = "运维情况") |
| | | public Result ywCondition(@RequestBody @Validated(Update.class) WorkOrderYWConditionForm form) { |
| | | return workOrderService.ywCondition(form); |
| | | } |
| | | |
| | | @GetMapping("/yw-condition/{id}") |
| | | @ApiOperation(value = "运维情况", notes = "运维情况") |
| | | public Result ywCondition(@PathVariable Integer id) { |
| | | return workOrderService.selectYwConditionByYwId(id); |
| | | } |
| | | |
| | | @GetMapping("/yw-auditing-list/{id}") |
| | | @ApiOperation(value = "运维审核记录", notes = "运维审核记录") |
| | | public Result ywAuditingByYwId(@PathVariable @Validated(Update.class) String id) { |
| | | return workOrderService.selectYwAuditingListByYwId(id); |
| | | } |
| | | |
| | | @PutMapping("/yw-result") |
| | |
| | | } |
| | | |
| | | @PostMapping("/distribute/ids") |
| | | @ApiOperation(value = "下发选择", notes = "下发选择") |
| | | @ApiOperation(value = "下发选择的工单", notes = "下发选择选择的工单") |
| | | @PreAuthorize("@ss.hasPermi('work:order:distribute')") |
| | | public Result selectedIdsDistribute(@RequestBody DistributeWorkOrderQuery query) { |
| | | return workOrderService.selectedIdsDistribute(query); |