fix(接口测试): 修复接口定义回收站点击时查询的是所有版本回收站用例的问题

--bug=1015936 --user=宋天阳 【接口测试】接口定义-查看回收站-左侧模块是接口的全部用例数量-右侧显示正确
https://www.tapd.cn/55049933/s/1226578
This commit is contained in:
song-tianyang 2022-08-18 14:17:02 +08:00 committed by 建国
parent 5707969264
commit 95bbcf8c91
1 changed files with 3 additions and 0 deletions

View File

@ -1197,6 +1197,9 @@
<if test="versionId != null">
AND version_id = #{versionId}
</if>
<if test="versionId == null">
AND latest IS TRUE
</if>
</select>
<sql id="Same_Where_Clause">
<where>