fix(接口测试): 任务中心数量统计调整统计(running,starting,waiting)三种状态
This commit is contained in:
parent
6ec13df043
commit
dad453b1fb
|
@ -93,7 +93,7 @@
|
||||||
<if test="request.executor != null and request.executor != ''">
|
<if test="request.executor != null and request.executor != ''">
|
||||||
and t.user_id = #{request.executor}
|
and t.user_id = #{request.executor}
|
||||||
</if>
|
</if>
|
||||||
and t.status not in ("saved","completed","success","error","STOP")
|
and t.status in ("running","starting","waiting")
|
||||||
)
|
)
|
||||||
UNION ALL
|
UNION ALL
|
||||||
(select t.id,'API' as executionModule, t.report_type, ifnull(t2.name,'LOCAL') as actuator, t1.`name` as executor,t.create_time as executionTime, ifnull(t.trigger_mode,'MANUAL') as triggerMode ,ifnull(t.status,'Saved') as executionStatus
|
(select t.id,'API' as executionModule, t.report_type, ifnull(t2.name,'LOCAL') as actuator, t1.`name` as executor,t.create_time as executionTime, ifnull(t.trigger_mode,'MANUAL') as triggerMode ,ifnull(t.status,'Saved') as executionStatus
|
||||||
|
@ -113,7 +113,7 @@
|
||||||
and t.user_id = #{request.executor}
|
and t.user_id = #{request.executor}
|
||||||
</if>
|
</if>
|
||||||
and (t.integrated_report_id is null or t.integrated_report_id = 'null')
|
and (t.integrated_report_id is null or t.integrated_report_id = 'null')
|
||||||
and t.status not in ("saved","completed","success","error","STOP")
|
and t.status in ("running","starting","waiting")
|
||||||
)
|
)
|
||||||
UNION ALL
|
UNION ALL
|
||||||
(select t.id,'PERFORMANCE' as executionModule,'PERFORMANCE' as report_type, ifnull(t2.name,'LOCAL') as actuator, t1.`name` as executor,t.create_time as executionTime, t.trigger_mode as triggerMode ,t.`status` as executionStatus
|
(select t.id,'PERFORMANCE' as executionModule,'PERFORMANCE' as report_type, ifnull(t2.name,'LOCAL') as actuator, t1.`name` as executor,t.create_time as executionTime, t.trigger_mode as triggerMode ,t.`status` as executionStatus
|
||||||
|
@ -131,7 +131,7 @@
|
||||||
<if test="request.executor != null and request.executor != ''">
|
<if test="request.executor != null and request.executor != ''">
|
||||||
and t.user_id = #{request.executor}
|
and t.user_id = #{request.executor}
|
||||||
</if>
|
</if>
|
||||||
and t.status not in ("saved","completed","success","error")
|
and t.status in ("running","starting","waiting")
|
||||||
)
|
)
|
||||||
)tt;
|
)tt;
|
||||||
</select>
|
</select>
|
||||||
|
|
Loading…
Reference in New Issue