refactor(任务中心): 查看结果返回数据增加状态字段
This commit is contained in:
parent
b4a40f26a7
commit
372a94aa27
|
@ -26,6 +26,9 @@ public class ApiTaskReportDTO {
|
|||
@Schema(description = "结果")
|
||||
private String result;
|
||||
|
||||
@Schema(description = "状态")
|
||||
private String status;
|
||||
|
||||
@Schema(description = "资源池ID")
|
||||
private String resourcePoolId;
|
||||
@Schema(description = "资源池名称")
|
||||
|
|
|
@ -23,6 +23,9 @@ public class ExecTaskDetailDTO extends ApiScenarioReportDTO{
|
|||
@Schema(description = "结果")
|
||||
private String result;
|
||||
|
||||
@Schema(description = "状态")
|
||||
private String status;
|
||||
|
||||
@Schema(description = "节点")
|
||||
private String resourcePoolNode;
|
||||
|
||||
|
|
|
@ -33,6 +33,9 @@ public class ExecTaskItemDetailDTO implements Serializable {
|
|||
@Schema(description = "结果")
|
||||
private String result;
|
||||
|
||||
@Schema(description = "状态")
|
||||
private String status;
|
||||
|
||||
@Schema(description = "资源池ID", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String resourcePoolId;
|
||||
|
||||
|
|
|
@ -125,6 +125,7 @@
|
|||
exec_task.integrated,
|
||||
exec_task.create_time as createTime,
|
||||
exec_task_item.result as result,
|
||||
exec_task_item.status as status,
|
||||
exec_task_item.resource_pool_id as resourcePoolId,
|
||||
exec_task_item.resource_pool_node as resourcePoolNode,
|
||||
exec_task_item.thread_id as threadId,
|
||||
|
|
Loading…
Reference in New Issue