fix(接口测试): 修复查询部分未执行场景时查不到的问题

--bug=1017155 --user=宋天阳 【接口测试】接口首页场景用例数量未执行进行跳转,跳转页面显示条目数与首页记录条目数不一致
https://www.tapd.cn/55049933/s/1249915
This commit is contained in:
song-tianyang 2022-09-22 11:14:31 +08:00 committed by 建国
parent d695c65e03
commit 1b2a5eb920
1 changed files with 2 additions and 2 deletions

View File

@ -277,7 +277,7 @@
and (api_scenario.status is null or api_scenario.status != 'Trash') and (api_scenario.status is null or api_scenario.status != 'Trash')
</if> </if>
<if test="request.executeStatus == 'unExecute' and request.selectDataType != 'schedule' "> <if test="request.executeStatus == 'unExecute' and request.selectDataType != 'schedule' ">
and (api_scenario.last_result IS NULL or api_scenario.last_result = 'unexecute') and (api_scenario.last_result IS NULL or api_scenario.last_result = 'unexecute' or api_scenario.last_result = '')
</if> </if>
<if test="request.executeStatus == 'executeFailed' and request.selectDataType != 'schedule' "> <if test="request.executeStatus == 'executeFailed' and request.selectDataType != 'schedule' ">
and api_scenario.last_result = 'Fail' and api_scenario.last_result = 'Fail'
@ -696,7 +696,7 @@
</foreach> </foreach>
</if> </if>
<if test="request.executeStatus == 'unExecute'"> <if test="request.executeStatus == 'unExecute'">
and api_scenario.last_result IS NULL and (api_scenario.last_result IS NULL OR api_scenario.last_result = '')
</if> </if>
<if test="request.executeStatus == 'executeFailed'"> <if test="request.executeStatus == 'executeFailed'">
and api_scenario.last_result = 'Fail' and api_scenario.last_result = 'Fail'