diff --git a/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanCollectionMinderService.java b/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanCollectionMinderService.java index f3c4f88504..28b2d17acd 100644 --- a/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanCollectionMinderService.java +++ b/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanCollectionMinderService.java @@ -85,7 +85,7 @@ public class TestPlanCollectionMinderService { t.setPoolName(Translator.get("resource_pool_not_exist")); t.setNoResourcePool(true); } else { - t.setPoolName(t.getPoolName()); + t.setPoolName(resourcePoolMap.get(t.getTestResourcePoolId())); } });