refactor(任务中心): 后台任务返回资源num用于跳转
This commit is contained in:
parent
a1a5abb021
commit
7499e0d519
|
@ -63,4 +63,7 @@ public class TaskHubScheduleDTO implements Serializable {
|
||||||
@Schema(description = "操作时间")
|
@Schema(description = "操作时间")
|
||||||
private Long createTime;
|
private Long createTime;
|
||||||
|
|
||||||
|
@Schema(description = "资源num")
|
||||||
|
private String resourceNum;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -266,7 +266,8 @@
|
||||||
schedule.create_time,
|
schedule.create_time,
|
||||||
QRTZ_TRIGGERS.NEXT_FIRE_TIME AS next_time,
|
QRTZ_TRIGGERS.NEXT_FIRE_TIME AS next_time,
|
||||||
project.organization_id,
|
project.organization_id,
|
||||||
project.name as projectName
|
project.name as projectName,
|
||||||
|
ads.num as resourceNum
|
||||||
FROM
|
FROM
|
||||||
schedule
|
schedule
|
||||||
inner join api_definition_swagger ads on schedule.resource_id = ads.id
|
inner join api_definition_swagger ads on schedule.resource_id = ads.id
|
||||||
|
@ -287,7 +288,8 @@
|
||||||
schedule.create_time,
|
schedule.create_time,
|
||||||
QRTZ_TRIGGERS.NEXT_FIRE_TIME AS next_time,
|
QRTZ_TRIGGERS.NEXT_FIRE_TIME AS next_time,
|
||||||
project.organization_id,
|
project.organization_id,
|
||||||
project.name as projectName
|
project.name as projectName,
|
||||||
|
api_scenario.num as resourceNum
|
||||||
FROM
|
FROM
|
||||||
schedule
|
schedule
|
||||||
inner join api_scenario on schedule.resource_id = api_scenario.id
|
inner join api_scenario on schedule.resource_id = api_scenario.id
|
||||||
|
@ -308,7 +310,8 @@
|
||||||
schedule.create_time,
|
schedule.create_time,
|
||||||
QRTZ_TRIGGERS.NEXT_FIRE_TIME AS next_time,
|
QRTZ_TRIGGERS.NEXT_FIRE_TIME AS next_time,
|
||||||
project.organization_id,
|
project.organization_id,
|
||||||
project.name as projectName
|
project.name as projectName,
|
||||||
|
test_plan.num as resourceNum
|
||||||
FROM
|
FROM
|
||||||
schedule
|
schedule
|
||||||
inner join test_plan on schedule.resource_id = test_plan.id
|
inner join test_plan on schedule.resource_id = test_plan.id
|
||||||
|
@ -329,7 +332,8 @@
|
||||||
schedule.create_time,
|
schedule.create_time,
|
||||||
QRTZ_TRIGGERS.NEXT_FIRE_TIME AS next_time,
|
QRTZ_TRIGGERS.NEXT_FIRE_TIME AS next_time,
|
||||||
project.organization_id,
|
project.organization_id,
|
||||||
project.name as projectName
|
project.name as projectName,
|
||||||
|
project.num as resourceNum
|
||||||
FROM
|
FROM
|
||||||
schedule
|
schedule
|
||||||
left join project on schedule.project_id = project.id
|
left join project on schedule.project_id = project.id
|
||||||
|
@ -351,7 +355,8 @@
|
||||||
schedule.create_time,
|
schedule.create_time,
|
||||||
QRTZ_TRIGGERS.NEXT_FIRE_TIME AS nextTime,
|
QRTZ_TRIGGERS.NEXT_FIRE_TIME AS nextTime,
|
||||||
project.organization_id,
|
project.organization_id,
|
||||||
project.name as projectName
|
project.name as projectName,
|
||||||
|
project.num as resourceNum
|
||||||
FROM
|
FROM
|
||||||
schedule
|
schedule
|
||||||
left join project on schedule.project_id = project.id
|
left join project on schedule.project_id = project.id
|
||||||
|
|
Loading…
Reference in New Issue