[fix] Command id type
This commit is contained in:
parent
a28e206166
commit
26ef7f82ea
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue