fix(接口测试): 修复全选某一版本case执行时,会执行所有版本case的缺陷
--bug=1020794 --user=王孝刚 [BUG]接口定义-CASE处,选择某一版本所有数据批量执行,其他版本的CASE也执行了。 #20584 https://www.tapd.cn/55049933/s/1315522
This commit is contained in:
parent
5e0ae35227
commit
a2b4c68319
|
@ -53,4 +53,6 @@ public class RunScenarioRequest {
|
||||||
private String serialReportId;
|
private String serialReportId;
|
||||||
private Map<String, ApiScenarioReportResult> reportMap;
|
private Map<String, ApiScenarioReportResult> reportMap;
|
||||||
|
|
||||||
|
private String versionId;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -836,6 +836,9 @@
|
||||||
<if test="request.protocol != null and request.protocol !=''">
|
<if test="request.protocol != null and request.protocol !=''">
|
||||||
and a.protocol = #{request.protocol}
|
and a.protocol = #{request.protocol}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="request.versionId !='' and request.versionId != null">
|
||||||
|
and t1.version_id =#{request.versionId}
|
||||||
|
</if>
|
||||||
<if test="request.combine != null">
|
<if test="request.combine != null">
|
||||||
<include refid="combine">
|
<include refid="combine">
|
||||||
<property name="condition" value="request.combine"/>
|
<property name="condition" value="request.combine"/>
|
||||||
|
|
Loading…
Reference in New Issue