zhang
2025-05-20 1313906bb1eb983d3beece810035e7fc28d6a92f
zy-acs-common/src/main/java/com/zy/acs/common/utils/Utils.java
@@ -37,7 +37,7 @@
            if (parentId.equals(dParentId)) {
                R dId = idMapper.apply(d);
                List<T> children = toTreeData(data, dId, parentIdMapper, idMapper, consumer);
                if(children.size() > 0) {
                if(!children.isEmpty()) {
                    consumer.accept(d, children);
                }
                result.add(d);
@@ -63,8 +63,6 @@
    /**
     * 数组倒序
     * @param bytes
     * @param <T>
     */
    public static <T> byte[] reverse(byte[] bytes) {
        if (bytes == null) return null;