...
|
...
|
@@ -13,15 +13,15 @@ public class SellerTaskDTO<T> { |
|
|
//任务类型
|
|
|
private int taskType;
|
|
|
//任务描述,会保存,json
|
|
|
private String taskDesc;
|
|
|
private String taskMeta;
|
|
|
private final ISellerTaskHandler taskHandler;
|
|
|
private T processData;
|
|
|
|
|
|
public SellerTaskDTO(int uid, int taskType, ISellerTaskHandler taskHandler, String taskDesc, T processData) {
|
|
|
public SellerTaskDTO(int uid, int taskType, ISellerTaskHandler taskHandler, String taskMeta, T processData) {
|
|
|
this.uid = uid;
|
|
|
this.taskType = taskType;
|
|
|
this.taskHandler = taskHandler;
|
|
|
this.taskDesc = taskDesc;
|
|
|
this.taskMeta = taskMeta;
|
|
|
this.processData = processData;
|
|
|
}
|
|
|
|
...
|
...
|
@@ -49,7 +49,8 @@ public class SellerTaskDTO<T> { |
|
|
return taskType;
|
|
|
}
|
|
|
|
|
|
public String getTaskDesc() {
|
|
|
return taskDesc;
|
|
|
public String getTaskMeta() {
|
|
|
return taskMeta;
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
|