diff --git a/sonic-server-controller/src/main/java/org/cloud/sonic/controller/services/impl/PublicStepsServiceImpl.java b/sonic-server-controller/src/main/java/org/cloud/sonic/controller/services/impl/PublicStepsServiceImpl.java index d65d935e..373f98d4 100644 --- a/sonic-server-controller/src/main/java/org/cloud/sonic/controller/services/impl/PublicStepsServiceImpl.java +++ b/sonic-server-controller/src/main/java/org/cloud/sonic/controller/services/impl/PublicStepsServiceImpl.java @@ -76,10 +76,6 @@ public CommentPage findByProjectId(int projectId, Page publicStepsDTOList = page.getRecords() .stream().map(TypeConverter::convertTo).collect(Collectors.toList()); - publicStepsDTOList.forEach( - e -> e.setSteps(findById(e.getId(), false).getSteps()) - ); - return CommentPage.convertFrom(page, publicStepsDTOList); }