fix(接口测试): 报告列表能查看到没有执行结束的报告

This commit is contained in:
AgAngle 2024-10-22 11:29:32 +08:00 committed by Craftsman
parent 99a123d6b9
commit 287efc7644
3 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,7 @@
<if test="request.projectId != null and request.projectId != ''">
and ar.project_id = #{request.projectId}
</if>
and status in ('SUCCESS', 'ERROR', 'FAKE_ERROR')
<include refid="filters">
<property name="filter" value="request.filter"/>
</include>

View File

@ -36,6 +36,7 @@
<if test="request.projectId != null and request.projectId != ''">
and asr.project_id = #{request.projectId}
</if>
and status in ('SUCCESS', 'ERROR', 'FAKE_ERROR')
<include refid="filters">
<property name="filter" value="request.filter"/>
</include>

View File

@ -297,6 +297,7 @@
<sql id="queryWhereCondition">
<where>
tpr.deleted = 0
and tpr.result_status in ('SUCCESS', 'ERROR', 'FAKE_ERROR')
<if test="request.projectId != null and request.projectId != ''">
and tpr.project_id = #{request.projectId}
</if>