diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionMapper.xml
index 508d04d6ba..3f5f849476 100644
--- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionMapper.xml
+++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionMapper.xml
@@ -121,10 +121,12 @@
- and api_definition.follow_people
+ and api_definition.id in (
+ select definition_id from api_definition_follow where follow_id
+ )
and api_definition.update_time
diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiScenarioMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiScenarioMapper.xml
index 44a3d77631..0cb8acc730 100644
--- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiScenarioMapper.xml
+++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiScenarioMapper.xml
@@ -87,10 +87,12 @@
- and api_scenario.follow_people
+ and api_scenario.id in (
+ select scenario_id from api_scenario_follow where follow_id
+ )
and api_scenario.update_time
diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestCaseMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestCaseMapper.xml
index b3532e15c5..b805e5d44b 100644
--- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestCaseMapper.xml
+++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestCaseMapper.xml
@@ -151,10 +151,12 @@
- and t1.follow_people
+ and t1.id in (
+ select case_id from api_test_case_follow where follow_id
+ )
and t1.update_time
@@ -218,10 +220,12 @@
- and api_test_case.follow_people
+ and api_test_case.id in (
+ select case_id from api_test_case_follow where follow_id
+ )
and api_test_case.update_time
diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtLoadTestMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtLoadTestMapper.xml
index 22b79edf42..4b4f096a81 100644
--- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtLoadTestMapper.xml
+++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtLoadTestMapper.xml
@@ -19,10 +19,12 @@
- and load_test.follow_people
+ and load_test.id in (
+ select test_id from load_test_follow where follow_id
+ )
AND load_test.update_time
@@ -64,10 +66,12 @@
- and load_test.follow_people
+ and load_test.id in (
+ select test_id from load_test_follow where follow_id
+ )
AND load_test.update_time
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 72b6df5301..07b26b05ee 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
@@ -10,10 +10,12 @@
- and test_case.follow_people
+ and test_case.id in (
+ select case_id from test_case_follow where follow_id
+ )
and test_case.node_path
diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseReviewMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseReviewMapper.xml
index aa4246a83e..4f68d87f1b 100644
--- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseReviewMapper.xml
+++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseReviewMapper.xml
@@ -23,10 +23,12 @@
- and test_case_review.follow_people
+ and test_case_review.id in (
+ select review_id from test_case_review_follow where follow_id
+ )
and test_case_review.create_user
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 c82d0e96c2..3a696bf3d9 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
@@ -59,10 +59,12 @@
- and test_plan.follow_people
+ and test_plan.id in (
+ select test_plan_id from test_plan_follow where follow_id
+ )
and project.name