diff --git a/test-test/src/main/java/com/test/test/service/impl/PerformanceTestServiceImpl.java b/test-test/src/main/java/com/test/test/service/impl/PerformanceTestServiceImpl.java index 6a5fe83..bacaf8a 100644 --- a/test-test/src/main/java/com/test/test/service/impl/PerformanceTestServiceImpl.java +++ b/test-test/src/main/java/com/test/test/service/impl/PerformanceTestServiceImpl.java @@ -62,7 +62,7 @@ public class PerformanceTestServiceImpl implements IPerformanceTestService performanceTestCaseVOList.add(performanceTestCaseVO); } for (PerformanceTestCaseVO performanceTestCaseVO : performanceTestCaseVOList) { - TestCase caseEntity = testCaseMapper.selectTestCaseById(performanceTestCaseVO.getId()); + TestCase caseEntity = testCaseMapper.selectTestCaseById(performanceTestCaseVO.getTestCaseId()); performanceTestCaseVO.setTestCaseName(caseEntity.getName()); } return performanceTestVO;