Skip to content

Commit

Permalink
doc: format
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhouYixun committed Mar 17, 2023
1 parent 224a658 commit 6f79ee5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ public CommentPage<StepsDTO> findByProjectIdAndPlatform(int projectId, int platf

List<StepsDTO> stepsDTOList = page.getRecords()
.stream().map(TypeConverter::convertTo).collect(Collectors.toList());
handleSteps(stepsDTOList,false);
handleSteps(stepsDTOList, false);

return CommentPage.convertFrom(page, stepsDTOList);
}
Expand Down Expand Up @@ -333,7 +333,7 @@ public CommentPage<StepsDTO> searchFindByProjectIdAndPlatform(int projectId, int
List<StepsDTO> stepsDTOList = steps.getRecords()
.stream().map(TypeConverter::convertTo).collect(Collectors.toList());

handleSteps(stepsDTOList,false);
handleSteps(stepsDTOList, false);

return CommentPage.convertFrom(pageList, stepsDTOList);
}
Expand All @@ -342,7 +342,7 @@ public CommentPage<StepsDTO> 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
Expand Down

0 comments on commit 6f79ee5

Please sign in to comment.