fix(接口测试): 修复接口定义回收站点击时查询的是所有版本回收站用例的问题
--bug=1015936 --user=宋天阳 【接口测试】接口定义-查看回收站-左侧模块是接口的全部用例数量-右侧显示正确 https://www.tapd.cn/55049933/s/1226578
This commit is contained in:
parent
5707969264
commit
95bbcf8c91
|
@ -1197,6 +1197,9 @@
|
||||||
<if test="versionId != null">
|
<if test="versionId != null">
|
||||||
AND version_id = #{versionId}
|
AND version_id = #{versionId}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="versionId == null">
|
||||||
|
AND latest IS TRUE
|
||||||
|
</if>
|
||||||
</select>
|
</select>
|
||||||
<sql id="Same_Where_Clause">
|
<sql id="Same_Where_Clause">
|
||||||
<where>
|
<where>
|
||||||
|
|
Loading…
Reference in New Issue