zhoushihao
2025-05-12 fbd31387721424c65b173cbb23b03202f3e7dce6
hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/opctask/controller/EdgStorageDeviceController.java
@@ -26,7 +26,7 @@
    @Resource
    private EdgStorageDeviceTaskService edgStorageDeviceTaskService;
    @ApiOperation(value = "重置任务:按照设备id重置任务")
    @ApiOperation(value = "重置任务/任务失败处理:按照设备id重置任务")
    @PostMapping("/resetTask")
    public Result<Boolean> resetTask(Integer deviceId) {
        Boolean flag = edgStorageDeviceTaskService.resetTask(deviceId);
@@ -36,4 +36,10 @@
            return Result.build(200, "无任务,无需重置", flag);
        }
    }
    @ApiOperation("任务成功处理")
    @PostMapping("/taskSuccess")
    public Result<Boolean> taskSuccess(Integer deviceId) {
        return Result.build(200, "处理成功", edgStorageDeviceTaskService.taskSuccess(deviceId));
    }
}