From fce91b15e13d15ecb0130ec294d7574fd55bc4ad Mon Sep 17 00:00:00 2001 From: baoliang Date: Tue, 30 Apr 2019 15:07:41 +0800 Subject: [PATCH] fix bug: error command id is 0. --- .../src/main/java/cn/escheduler/dao/model/ErrorCommand.java | 1 + 1 file changed, 1 insertion(+) diff --git a/escheduler-dao/src/main/java/cn/escheduler/dao/model/ErrorCommand.java b/escheduler-dao/src/main/java/cn/escheduler/dao/model/ErrorCommand.java index 3f839c5868..cdf144f16b 100644 --- a/escheduler-dao/src/main/java/cn/escheduler/dao/model/ErrorCommand.java +++ b/escheduler-dao/src/main/java/cn/escheduler/dao/model/ErrorCommand.java @@ -102,6 +102,7 @@ public class ErrorCommand { public ErrorCommand(Command command, String message){ + this.id = command.getId(); this.commandType = command.getCommandType(); this.executorId = command.getExecutorId(); this.processDefinitionId = command.getProcessDefinitionId();