fix(接口测试): 解决重复导入接口消失问题
--user=郭雨琦 --bug=1014786 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001014786
This commit is contained in:
parent
e25545f8ed
commit
a137eb7917
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue