Skip to content

Commit

Permalink
Merge pull request #448 from caofengbin/feature/optimizationPublicSte…
Browse files Browse the repository at this point in the history
…pPage

【feat】优化公共步骤页面的打开速度
  • Loading branch information
ZhouYixun authored Jun 4, 2024
2 parents c303b90 + ffee334 commit d1c8f38
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,6 @@ public CommentPage<PublicStepsDTO> findByProjectId(int projectId, Page<PublicSte
List<PublicStepsDTO> 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);
}

Expand Down

0 comments on commit d1c8f38

Please sign in to comment.