|
|
@ -116,9 +116,9 @@ public class CraftsController { |
|
|
|
|
|
|
|
|
|
|
|
@Operation(summary = "断电执行工艺删除") |
|
|
|
@DeleteMapping("/remove/{id}") |
|
|
|
public Result<String> removeMonitor(@PathVariable Long id) { |
|
|
|
craftsService.removeMonitor(id); |
|
|
|
@DeleteMapping("/remove") |
|
|
|
public Result<String> removeMonitor(Long monitorId) { |
|
|
|
craftsService.removeMonitor(monitorId); |
|
|
|
return Result.success(); |
|
|
|
} |
|
|
|
@Operation(summary = "断电执行工艺恢复") |
|
|
|