fix(接口测试): 报告列表能查看到没有执行结束的报告
This commit is contained in:
parent
99a123d6b9
commit
287efc7644
|
@ -37,6 +37,7 @@
|
||||||
<if test="request.projectId != null and request.projectId != ''">
|
<if test="request.projectId != null and request.projectId != ''">
|
||||||
and ar.project_id = #{request.projectId}
|
and ar.project_id = #{request.projectId}
|
||||||
</if>
|
</if>
|
||||||
|
and status in ('SUCCESS', 'ERROR', 'FAKE_ERROR')
|
||||||
<include refid="filters">
|
<include refid="filters">
|
||||||
<property name="filter" value="request.filter"/>
|
<property name="filter" value="request.filter"/>
|
||||||
</include>
|
</include>
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
<if test="request.projectId != null and request.projectId != ''">
|
<if test="request.projectId != null and request.projectId != ''">
|
||||||
and asr.project_id = #{request.projectId}
|
and asr.project_id = #{request.projectId}
|
||||||
</if>
|
</if>
|
||||||
|
and status in ('SUCCESS', 'ERROR', 'FAKE_ERROR')
|
||||||
<include refid="filters">
|
<include refid="filters">
|
||||||
<property name="filter" value="request.filter"/>
|
<property name="filter" value="request.filter"/>
|
||||||
</include>
|
</include>
|
||||||
|
|
|
@ -297,6 +297,7 @@
|
||||||
<sql id="queryWhereCondition">
|
<sql id="queryWhereCondition">
|
||||||
<where>
|
<where>
|
||||||
tpr.deleted = 0
|
tpr.deleted = 0
|
||||||
|
and tpr.result_status in ('SUCCESS', 'ERROR', 'FAKE_ERROR')
|
||||||
<if test="request.projectId != null and request.projectId != ''">
|
<if test="request.projectId != null and request.projectId != ''">
|
||||||
and tpr.project_id = #{request.projectId}
|
and tpr.project_id = #{request.projectId}
|
||||||
</if>
|
</if>
|
||||||
|
|
Loading…
Reference in New Issue