潘志宝
2024-09-30 303715d81f0c1cd8b32cd659b7734c01565369a6
iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/controller/admin/FileMenuController.java
@@ -50,10 +50,12 @@
        List<FileMenuDTO> list = fileMenuService.list();
        list.forEach(menu -> {
            TreeLabelDTO tree0 = new TreeLabelDTO();
            tree0.setValue(menu.getName());
            tree0.setLabel(menu.getName());
            List<TreeLabelDTO> groups = new ArrayList<>();
            menu.getGroups().forEach(group -> {
                TreeLabelDTO tree1 = new TreeLabelDTO();
                tree1.setValue(group.getName());
                tree1.setLabel(group.getName());
                groups.add(tree1);
            });