性能测试接口
This commit is contained in:
@@ -106,7 +106,7 @@ public class PerformanceTestServiceImpl implements IPerformanceTestService
|
|||||||
Long id = performanceTest.getId();
|
Long id = performanceTest.getId();
|
||||||
List<PerformanceTestCaseQO> performanceTestCaseQOList = performanceTestQO.getPerformanceTestCaseVOList();
|
List<PerformanceTestCaseQO> performanceTestCaseQOList = performanceTestQO.getPerformanceTestCaseVOList();
|
||||||
if (CollectionUtils.isEmpty(performanceTestCaseQOList)){
|
if (CollectionUtils.isEmpty(performanceTestCaseQOList)){
|
||||||
return 0L;
|
return id;
|
||||||
}
|
}
|
||||||
for (PerformanceTestCaseQO performanceTestCaseQO : performanceTestCaseQOList) {
|
for (PerformanceTestCaseQO performanceTestCaseQO : performanceTestCaseQOList) {
|
||||||
PerformanceTestCase performanceTestCase = new PerformanceTestCase();
|
PerformanceTestCase performanceTestCase = new PerformanceTestCase();
|
||||||
@@ -139,7 +139,7 @@ public class PerformanceTestServiceImpl implements IPerformanceTestService
|
|||||||
//再新增
|
//再新增
|
||||||
List<PerformanceTestCaseQO> performanceTestCaseQOList = performanceTestQO.getPerformanceTestCaseVOList();
|
List<PerformanceTestCaseQO> performanceTestCaseQOList = performanceTestQO.getPerformanceTestCaseVOList();
|
||||||
if (CollectionUtils.isEmpty(performanceTestCaseQOList)){
|
if (CollectionUtils.isEmpty(performanceTestCaseQOList)){
|
||||||
return 0L;
|
return id;
|
||||||
}
|
}
|
||||||
for (PerformanceTestCaseQO performanceTestCaseQO : performanceTestCaseQOList) {
|
for (PerformanceTestCaseQO performanceTestCaseQO : performanceTestCaseQOList) {
|
||||||
PerformanceTestCase performanceTestCase = new PerformanceTestCase();
|
PerformanceTestCase performanceTestCase = new PerformanceTestCase();
|
||||||
|
|||||||
Reference in New Issue
Block a user