mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 03:58:33 +08:00
fix: 接口/场景查看引用的测试计划显示重复
修复接口/场景查看引用的测试计划显示重复的问题的问题
This commit is contained in:
parent
f71d60fe54
commit
62c7c00c04
@ -231,6 +231,7 @@
|
||||
<select id="selectTestPlanByRelevancy" resultMap="BaseResultMap" parameterType="io.metersphere.track.request.testcase.QueryTestPlanRequest">
|
||||
SELECT * FROM TEST_PLAN p LEFT JOIN test_plan_project t ON t.test_plan_id=p.id
|
||||
<where>
|
||||
AND t.project_id = #{request.projectId}
|
||||
<if test="request.scenarioId != null">
|
||||
AND p.id IN (SELECT test_plan_id FROM test_plan_api_scenario WHERE api_scenario_id = #{request.scenarioId} )
|
||||
</if>
|
||||
|
Loading…
Reference in New Issue
Block a user