diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml
index 4da6213863..a2bb7dc970 100644
--- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml
+++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml
@@ -574,6 +574,10 @@
and test_case.version_id in
+
+ and test_case.maintainer in
+
+
and test_case.id in (
select resource_id from custom_field_test_case where concat('custom',field_id) = #{key}