[fix] Command id type

This commit is contained in:
Jay Chung 2022-12-05 15:16:08 +08:00
parent a28e206166
commit 26ef7f82ea
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}