#
luxiaotao1123
8 天以前 b0d63d1eecb2e0d88dde8fd1a5bf8574b56b9cbb
zy-acs-manager/src/main/java/com/zy/acs/manager/core/HandlerController.java
@@ -196,6 +196,7 @@
                if (!taskService.removeById(task.getId())) {
                    throw new BusinessException("failed to remove task");
                }
                task = null;
                if (!mainLockWrapService.buildMinorTask(agv.getId(), param.getTaskMode(), endCode.getData(), null)) {
                    return R.error();
                }
@@ -205,6 +206,7 @@
                if (!taskService.removeById(task.getId())) {
                    throw new BusinessException("failed to remove task");
                }
                task = null;
                if (!mainLockWrapService.buildMinorTask(agv.getId(), param.getTaskMode(), null, null)) {
                    return R.error();
                }
@@ -373,9 +375,11 @@
                break;
        }
        if (null != task) {
        if (!taskService.updateById(task)) {
            throw new BusinessException("任务更新失败");
        }
        }
        return R.ok();
    }