Переглянути джерело

fix bug: error command id is 0.

baoliang 6 роки тому
батько
коміт
fce91b15e1

+ 1 - 0
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();