zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/utils/Utils.java
@@ -39,7 +39,9 @@ if (parentId.equals(dParentId)) { R dId = idMapper.apply(d); List<T> children = toTreeData(data, dId, parentIdMapper, idMapper, consumer); consumer.accept(d, children); if(children.size() > 0) { consumer.accept(d, children); } result.add(d); } }