huanghongfa
2021-09-02 177249c76aeea0b4bf8d8816d4994e3b445b45ce
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/utlis/CopyUtil.java
@@ -1,19 +1,20 @@
package com.panzhihua.common.utlis;
import cn.hutool.core.bean.BeanUtil;
import com.alibaba.fastjson.JSONObject;
import com.esotericsoftware.reflectasm.MethodAccess;
import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeanUtils;
import org.springframework.util.StringUtils;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeanUtils;
import org.springframework.util.StringUtils;
import com.alibaba.fastjson.JSONObject;
import com.esotericsoftware.reflectasm.MethodAccess;
import cn.hutool.core.bean.BeanUtil;
import lombok.extern.slf4j.Slf4j;
/**
 * 通用情况拷贝
@@ -38,7 +39,9 @@
    }
    /**
     * <p>对数组进行拷贝 </p>
     * <p>
     * 对数组进行拷贝
     * </p>
     *
     * @author tkq
     * @date 2018年12月19日
@@ -67,7 +70,9 @@
    }
    /**
     * <p>对数组进行拷贝 </p>
     * <p>
     * 对数组进行拷贝
     * </p>
     *
     * @author manailin
     * @date 2018年12月19日
@@ -118,8 +123,10 @@
    /**
     * 进行复制方法
     *
     * @param dataSource 源目标对象
     * @param target     目标对象
     * @param dataSource
     *            源目标对象
     * @param target
     *            目标对象
     * @author tkq
     * @date 14:37 2019-11-13
     */
@@ -162,7 +169,8 @@
    /**
     * 单例模式
     *
     * @param object 实体对象
     * @param object
     *            实体对象
     * @return MethodAccess
     * @author tkq
     * @date 14:36 2019/4/10
@@ -204,8 +212,10 @@
    /**
     * @description 复制属性
     * @param source 源数据
     * @param targetClass 目标对象类型
     * @param source
     *            源数据
     * @param targetClass
     *            目标对象类型
     * @return 
     * @author  weifei
     * @date 2020/8/20 10:38     
@@ -227,8 +237,10 @@
    /**
     * @description 复制属性
     * @param source 源数据
     * @param targetClass 目标对象类型
     * @param source
     *            源数据
     * @param targetClass
     *            目标对象类型
     * @return 
     * @author  weifei
     * @date 2020/12/16 10:12     
@@ -253,8 +265,10 @@
    /**
     * @description 深度复制对象
     * @param source 元数据
     * @param targetClass 目标对象类型
     * @param source
     *            元数据
     * @param targetClass
     *            目标对象类型
     * @return 
     * @author  weifei
     * @date 2021/3/1 14:21     
@@ -268,8 +282,10 @@
    /**
     * @description 深度复制list对象
     * @param source 元数据
     * @param targetClass 目标对象类型
     * @param source
     *            元数据
     * @param targetClass
     *            目标对象类型
     * @return
     * @author  weifei
     * @date 2021/3/1 14:26