refactor(任务中心): 查看结果返回数据增加状态字段

This commit is contained in:
WangXu10 2024-10-22 18:29:30 +08:00 committed by Craftsman
parent b4a40f26a7
commit 372a94aa27
4 changed files with 10 additions and 0 deletions

View File

@ -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 = "资源池名称")

View File

@ -23,6 +23,9 @@ public class ExecTaskDetailDTO extends ApiScenarioReportDTO{
@Schema(description = "结果")
private String result;
@Schema(description = "状态")
private String status;
@Schema(description = "节点")
private String resourcePoolNode;

View File

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

View File

@ -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,