diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanTestCaseMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanTestCaseMapper.xml
index 5bf152714d..72ab407931 100644
--- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanTestCaseMapper.xml
+++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanTestCaseMapper.xml
@@ -237,7 +237,19 @@
left join test_case_node on test_case_node.id = test_case.node_id
inner join project on project.id = test_case.project_id
-
+
+ order by
+
+
+
+ customNum ${order.type}
+
+
+ ${order.name} ${order.type}
+
+
+
+