| | |
| | | return workOrderService.ywCondition(form); |
| | | } |
| | | |
| | | @PutMapping("/yw-condition-list") |
| | | @ApiOperation(value = "运维情况", notes = "运维情况") |
| | | public Result ywConditionList(@RequestBody @Validated WorkOrderYWConditionsForm form) { |
| | | System.out.println(form); |
| | | // return workOrderService.ywCondition(form); |
| | | return workOrderService.ywConditionList(form); |
| | | } |
| | | |
| | | //现在没用 |
| | | @PutMapping("/yw-result") |
| | | @ApiOperation(value = "运维结果", notes = "运维结果") |
| | |
| | | @DeleteMapping("/{id}") |
| | | @ApiOperation(value = "ID删除", notes = "ID删除") |
| | | @PreAuthorize("@ss.hasPermi('work:order:remove')") |
| | | @Log(title = "删除工单", businessType = BusinessType.DELETE) |
| | | public Result removeById(@PathVariable("id") String id) { |
| | | return workOrderService.removeById(id); |
| | | } |
| | |
| | | @DeleteMapping("/batchDelete") |
| | | @PreAuthorize("@ss.hasPermi('work:order:delete')") |
| | | @ApiOperation(value = "批量删除工单", notes = "批量删除工单") |
| | | @Log(title = "批量删除工单", businessType = BusinessType.DELETE) |
| | | public Result batchDeleteWorkOrder(@RequestBody List<String> workOrderNos) { |
| | | return workOrderService.batchDeleteWorkOrder(workOrderNos); |
| | | } |