From 26ef7f82eabe3a057a6eb681a511c94d144b0bf1 Mon Sep 17 00:00:00 2001 From: Jay Chung Date: Mon, 5 Dec 2022 15:16:08 +0800 Subject: [PATCH] [fix] Command id type --- .../org/apache/dolphinscheduler/dao/entity/Command.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/Command.java b/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/Command.java index ae2ff6258a..b243a8648d 100644 --- a/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/Command.java +++ b/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/Command.java @@ -40,7 +40,7 @@ public class Command { * id */ @TableId(value = "id", type = IdType.AUTO) - private int id; + private Integer id; /** * command type @@ -189,11 +189,11 @@ public class Command { this.taskDependType = taskDependType; } - public int getId() { + public Integer getId() { return id; } - public void setId(int id) { + public void setId(Integer id) { this.id = id; }