diff --git a/performance-test/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanLoadCaseMapper.xml b/performance-test/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanLoadCaseMapper.xml index 94f3da5501..c92feeb710 100644 --- a/performance-test/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanLoadCaseMapper.xml +++ b/performance-test/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanLoadCaseMapper.xml @@ -372,16 +372,14 @@ diff --git a/performance-test/backend/src/main/java/io/metersphere/plan/controller/TestPlanLoadCaseController.java b/performance-test/backend/src/main/java/io/metersphere/plan/controller/TestPlanLoadCaseController.java index 38d1fc4e0e..530ac6dbf7 100644 --- a/performance-test/backend/src/main/java/io/metersphere/plan/controller/TestPlanLoadCaseController.java +++ b/performance-test/backend/src/main/java/io/metersphere/plan/controller/TestPlanLoadCaseController.java @@ -181,7 +181,7 @@ public class TestPlanLoadCaseController { @GetMapping("/resource/pool/{planId}") public List getResourcePoolByPlanId(@PathVariable String planId) { - return testPlanLoadCaseService.getResourcePoolByPlanId(planId); + return testPlanLoadCaseService.getResourcePoolFromReportByPlanId(planId); } @GetMapping("/resource/pool/case/{planId}") diff --git a/performance-test/backend/src/main/java/io/metersphere/plan/service/TestPlanLoadCaseService.java b/performance-test/backend/src/main/java/io/metersphere/plan/service/TestPlanLoadCaseService.java index f9d9fc6a3b..7e56434213 100644 --- a/performance-test/backend/src/main/java/io/metersphere/plan/service/TestPlanLoadCaseService.java +++ b/performance-test/backend/src/main/java/io/metersphere/plan/service/TestPlanLoadCaseService.java @@ -713,7 +713,7 @@ public class TestPlanLoadCaseService { .collect(Collectors.toList()).isEmpty(); } - public List getResourcePoolByPlanId(String planId) { + public List getResourcePoolFromReportByPlanId(String planId) { return extTestPlanLoadCaseMapper.getResourcePoolByPlanId(planId); }