fix(测试跟踪): 修复测试计划无法查看case执行结果的缺陷 (#15828)

--bug=1014884 --user=王孝刚 【测试跟踪】测试计划关联接口case,批量执行case,点击执行结果没有弹框 https://www.tapd.cn/55049933/s/1202673

Co-authored-by: wxg0103 <727495428@qq.com>
This commit is contained in:
MeterSphere Bot 2022-07-15 17:24:19 +08:00 committed by GitHub
parent 790f077394
commit 76ae965d7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -219,7 +219,11 @@
select * select *
from api_definition_exec_result from api_definition_exec_result
where resource_id = #{resourceId,jdbcType=VARCHAR} where resource_id = #{resourceId,jdbcType=VARCHAR}
and `type` = #{type, jdbcType=VARCHAR} <if test="type != 'API_PLAN'.toString()">
and
`type` = #{type, jdbcType=VARCHAR}
</if>
ORDER BY start_time DESC LIMIT 1 ORDER BY start_time DESC LIMIT 1
</select> </select>