diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanMapper.xml index fbbec25394..04b38d8783 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanMapper.xml @@ -100,6 +100,7 @@ parameterType="io.metersphere.track.request.testcase.QueryTestPlanRequest"> select test_plan.*, user.name as user_name from test_plan LEFT JOIN user ON user.id = test_plan.principal + JOIN test_plan_project on test_plan.id = test_plan_id JOIN project on project.id = project_id