diff --git a/sonic-server-controller/src/main/java/org/cloud/sonic/controller/services/impl/StepsServiceImpl.java b/sonic-server-controller/src/main/java/org/cloud/sonic/controller/services/impl/StepsServiceImpl.java index 469e1d11..6edc11b8 100644 --- a/sonic-server-controller/src/main/java/org/cloud/sonic/controller/services/impl/StepsServiceImpl.java +++ b/sonic-server-controller/src/main/java/org/cloud/sonic/controller/services/impl/StepsServiceImpl.java @@ -286,7 +286,7 @@ public CommentPage findByProjectIdAndPlatform(int projectId, int platf List stepsDTOList = page.getRecords() .stream().map(TypeConverter::convertTo).collect(Collectors.toList()); - handleSteps(stepsDTOList,false); + handleSteps(stepsDTOList, false); return CommentPage.convertFrom(page, stepsDTOList); } @@ -333,7 +333,7 @@ public CommentPage searchFindByProjectIdAndPlatform(int projectId, int List stepsDTOList = steps.getRecords() .stream().map(TypeConverter::convertTo).collect(Collectors.toList()); - handleSteps(stepsDTOList,false); + handleSteps(stepsDTOList, false); return CommentPage.convertFrom(pageList, stepsDTOList); } @@ -342,7 +342,7 @@ public CommentPage searchFindByProjectIdAndPlatform(int projectId, int @Transactional(rollbackFor = Exception.class) public Boolean copyStepsIdByCase(Integer stepId) { Steps steps = stepsMapper.selectById(stepId); - StepsDTO stepsCopyDTO = stepsService.handleStep(steps.convertTo(),false); + StepsDTO stepsCopyDTO = stepsService.handleStep(steps.convertTo(), false); save(steps.setId(null).setSort(stepsMapper.findMaxSort() + 1)); //关联ele