疯狂的狮子li
2022-07-05 0d8510b8b37c08092958e01f2f06f079343d38fd
ruoyi-common/src/main/java/com/ruoyi/common/utils/BeanCopyUtils.java
@@ -14,7 +14,6 @@
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
/**
 * bean深拷贝工具(基于 cglib 性能优异)
@@ -79,11 +78,11 @@
        if (CollUtil.isEmpty(sourceList)) {
            return CollUtil.newArrayList();
        }
        return sourceList.stream().map(source -> {
        return StreamUtils.toList(sourceList, source -> {
            V target = ReflectUtil.newInstanceIfPossible(desc);
            copy(source, target);
            return target;
        }).collect(Collectors.toList());
        });
    }
    /**