diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanApiCaseMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanApiCaseMapper.xml
index d34981b39b..c63a7c4114 100644
--- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanApiCaseMapper.xml
+++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanApiCaseMapper.xml
@@ -56,8 +56,7 @@
a.protocol,
t.status execResult,
a.user_id,
- a.version_id versionId,
- project_version.name versionName
+ a.version_id versionId
from
test_plan_api_case t
inner join
@@ -70,7 +69,7 @@
api_definition a
on
c.api_definition_id = a.id
- inner join project_version on a.version_id = project_version.id and a.project_id = project_version.project_id
+ where 1
and a.protocol = #{request.protocol}
@@ -91,7 +90,6 @@
and t.status = #{request.status}
- where 1
and a.projectId = #{request.projectId}
diff --git a/backend/src/main/java/io/metersphere/excel/listener/TestCaseNoModelDataListener.java b/backend/src/main/java/io/metersphere/excel/listener/TestCaseNoModelDataListener.java
index d40bb981c9..67e928d936 100644
--- a/backend/src/main/java/io/metersphere/excel/listener/TestCaseNoModelDataListener.java
+++ b/backend/src/main/java/io/metersphere/excel/listener/TestCaseNoModelDataListener.java
@@ -47,7 +47,7 @@ public class TestCaseNoModelDataListener extends AnalysisEventListener