fix(用例管理): 修复用例评审详情页关联的接口和场景用例删除进入回收站还显示问题

--bug=1040542 --user=郭雨琦
https://www.tapd.cn/55049933/bugtrace/bugs/view?bug_id=1155049933001040542
This commit is contained in:
guoyuqi 2024-05-22 11:03:28 +08:00 committed by Craftsman
parent a32ba8d291
commit 73e173310c
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@
LEFT JOIN api_test_case atc ON fct.source_id = atc.id
LEFT JOIN api_scenario scenario ON fct.source_id = scenario.id
WHERE fct.case_id = #{request.sourceId}
AND atc.deleted = false AND scenario.deleted = false
<if test="request.sourceType != null and request.sourceType != ''">
AND fct.source_type = #{request.sourceType}
</if>