fix(接口定义) 修复查看引用问题

--bug=1006730 --user=赵勇 【接口测试】接口定义-用例列表-自动生成的用例-查看引用,测试计划引用不显示 https://www.tapd.cn/55049933/s/1048168
This commit is contained in:
fit2-zhao 2021-09-17 18:07:26 +08:00 committed by fit2-zhao
parent 88b1a74cc8
commit dccd6a4a21
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@
AND p.id IN (SELECT test_plan_id FROM test_plan_api_scenario WHERE api_scenario_id = #{request.scenarioId} )
</if>
<if test="request.apiId != null">
AND p.id IN (SELECT test_plan_id FROM test_plan_api_case WHERE id = #{request.apiId})
AND p.id IN (SELECT test_plan_id FROM test_plan_api_case WHERE api_case_id = #{request.apiId})
</if>
<if test="request.loadId != null">
AND p.id IN (SELECT test_plan_id FROM test_plan_load_case WHERE load_case_id = #{request.loadId})