性能测试接口

This commit is contained in:
2025-04-15 13:34:55 +08:00
parent 949322600d
commit f9b050a569

View File

@@ -106,7 +106,7 @@ public class PerformanceTestServiceImpl implements IPerformanceTestService
Long id = performanceTest.getId();
List<PerformanceTestCaseQO> performanceTestCaseQOList = performanceTestQO.getPerformanceTestCaseVOList();
if (CollectionUtils.isEmpty(performanceTestCaseQOList)){
return 0L;
return id;
}
for (PerformanceTestCaseQO performanceTestCaseQO : performanceTestCaseQOList) {
PerformanceTestCase performanceTestCase = new PerformanceTestCase();
@@ -139,7 +139,7 @@ public class PerformanceTestServiceImpl implements IPerformanceTestService
//再新增
List<PerformanceTestCaseQO> performanceTestCaseQOList = performanceTestQO.getPerformanceTestCaseVOList();
if (CollectionUtils.isEmpty(performanceTestCaseQOList)){
return 0L;
return id;
}
for (PerformanceTestCaseQO performanceTestCaseQO : performanceTestCaseQOList) {
PerformanceTestCase performanceTestCase = new PerformanceTestCase();