|
|
|
@ -29,7 +29,7 @@ public class DBTaskAckCommand implements Serializable {
|
|
|
|
|
private int taskInstanceId; |
|
|
|
|
private int status; |
|
|
|
|
|
|
|
|
|
public DBTaskAckCommand(int status,int taskInstanceId) { |
|
|
|
|
public DBTaskAckCommand(int status, int taskInstanceId) { |
|
|
|
|
this.status = status; |
|
|
|
|
this.taskInstanceId = taskInstanceId; |
|
|
|
|
} |
|
|
|
@ -52,9 +52,10 @@ public class DBTaskAckCommand implements Serializable {
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* package response command |
|
|
|
|
* |
|
|
|
|
* @return command |
|
|
|
|
*/ |
|
|
|
|
public Command convert2Command(){ |
|
|
|
|
public Command convert2Command() { |
|
|
|
|
Command command = new Command(); |
|
|
|
|
command.setType(CommandType.DB_TASK_ACK); |
|
|
|
|
byte[] body = JSONUtils.toJsonByteArray(this); |
|
|
|
|