fix: 修复首页数据统计-运行中的任务不显示场景定时任务的问题
修复首页数据统计-运行中的任务不显示场景定时任务的问题
This commit is contained in:
parent
8653a24896
commit
3c2dae7b8c
|
@ -51,5 +51,11 @@
|
|||
INNER JOIN `schedule` sch ON apiTest.id = sch.resource_id
|
||||
INNER JOIN `user` u ON u.id = sch.user_id
|
||||
WHERE sch.`enable` = true AND sch.workspace_id = #{0,jdbcType=VARCHAR}
|
||||
UNION
|
||||
SELECT apiTest.`name` AS scenario,sch.id AS taskID,sch.`value` AS rule,sch.`enable` AS `taskStatus`,u.`name` AS creator,sch.update_time AS updateTime
|
||||
FROM api_scenario apiTest
|
||||
INNER JOIN `schedule` sch ON apiTest.id = sch.resource_id
|
||||
INNER JOIN `user` u ON u.id = sch.user_id
|
||||
WHERE sch.`enable` = true AND sch.workspace_id = #{0,jdbcType=VARCHAR}
|
||||
</select>
|
||||
</mapper>
|
Loading…
Reference in New Issue