refactor(接口测试): 优化CASE失败重跑查询方法
This commit is contained in:
parent
fefd3017a3
commit
58dab48d77
|
@ -52,4 +52,6 @@ public interface ExtApiDefinitionExecResultMapper {
|
|||
List<String> selectDistinctStatusByReportId(String reportId);
|
||||
|
||||
String selectResourceId(String id);
|
||||
|
||||
List<ApiDefinitionExecResultWithBLOBs> selectRerunResult(@Param("reportId") String reportId);
|
||||
}
|
||||
|
|
|
@ -429,4 +429,10 @@
|
|||
FROM api_definition_exec_result
|
||||
WHERE id = #{0}
|
||||
</select>
|
||||
<select id="selectRerunResult" resultType="io.metersphere.base.domain.ApiDefinitionExecResultWithBLOBs">
|
||||
SELECT * FROM api_definition_exec_result
|
||||
WHERE
|
||||
status != 'success' AND id = #{reportId} order by create_time asc
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
|
Loading…
Reference in New Issue