fix(接口测试): 解决重复导入接口消失问题

--user=郭雨琦
--bug=1014786
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001014786
This commit is contained in:
guoyuqi 2022-07-13 12:36:47 +08:00 committed by xiaomeinvG
parent e25545f8ed
commit a137eb7917
1 changed files with 1 additions and 1 deletions

View File

@ -1035,7 +1035,7 @@
JOIN project_version JOIN project_version
ON tmp.project_id = project_version.project_id AND ON tmp.project_id = project_version.project_id AND
tmp.version_id = project_version.id AND project_version.latest = TRUE tmp.version_id = project_version.id AND project_version.latest = TRUE
WHERE ref_id = #{refId,jdbcType=VARCHAR} WHERE ref_id = #{refId,jdbcType=VARCHAR} and tmp.status != 'Trash'
LIMIT 1 LIMIT 1
) )
UNION ALL UNION ALL