linwe
2024-06-06 4b5e2c8e9e3ca586f395cf269ab1c9090f8b3cf5
src/main/java/org/springblade/modules/discuss/controller/TopicsController.java
@@ -131,6 +131,7 @@
         List<TopicsDTO> children = topics.getChildren();
         for (TopicsDTO child : children) {
            child.setParentId(topics.getId());
            child.setDiscussContent(topics.getDiscussContent());
            child.setLevel(2);
            boolean b2 = topicsService.saveOrUpdate(child);
         }