feat(接口测试): 接口定义用例执行结果为空筛选有误

--bug=1047857 --user=宋昌昌 【接口测试】定义-CASE-高级搜索-执行结果 为空-未搜索到数据-实际有执行结果为 -的数据 https://www.tapd.cn/55049933/s/1596471
This commit is contained in:
song-cc-rock 2024-10-23 15:23:13 +08:00 committed by Craftsman
parent c747b28efa
commit b9ef3d9004
1 changed files with 14 additions and 4 deletions

View File

@ -687,10 +687,20 @@
</if> </if>
<!-- 执行结果 --> <!-- 执行结果 -->
<if test="condition.name == 'lastReportStatus'"> <if test="condition.name == 'lastReportStatus'">
<include refid="io.metersphere.system.mapper.BaseMapper.condition"> <choose>
<property name="condition" value="condition"/> <when test="condition.operator == 'EMPTY'">
<property name="column" value="atc.last_report_status"/> atc.last_report_status is null or atc.last_report_status = '' or atc.last_report_status = 'PENDING'
</include> </when>
<when test="condition.operator == 'NOT_EMPTY'">
atc.last_report_status is not null and atc.last_report_status != '' and atc.last_report_status != 'PENDING'
</when>
<otherwise>
<include refid="io.metersphere.system.mapper.BaseMapper.condition">
<property name="condition" value="condition"/>
<property name="column" value="atc.last_report_status"/>
</include>
</otherwise>
</choose>
</if> </if>
<!-- 接口存在更新 --> <!-- 接口存在更新 -->
<if test="condition.name == 'apiChange'"> <if test="condition.name == 'apiChange'">