| | |
| | | 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; |
| | | |
| | | /** |
| | | * 通用情况拷贝 |
| | |
| | | } |
| | | |
| | | /** |
| | | * <p>对数组进行拷贝 </p> |
| | | * <p> |
| | | * 对数组进行拷贝 |
| | | * </p> |
| | | * |
| | | * @author tkq |
| | | * @date 2018年12月19日 |
| | |
| | | } |
| | | |
| | | /** |
| | | * <p>对数组进行拷贝 </p> |
| | | * <p> |
| | | * 对数组进行拷贝 |
| | | * </p> |
| | | * |
| | | * @author manailin |
| | | * @date 2018年12月19日 |
| | |
| | | /** |
| | | * 进行复制方法 |
| | | * |
| | | * @param dataSource 源目标对象 |
| | | * @param target 目标对象 |
| | | * @param dataSource |
| | | * 源目标对象 |
| | | * @param target |
| | | * 目标对象 |
| | | * @author tkq |
| | | * @date 14:37 2019-11-13 |
| | | */ |
| | |
| | | /** |
| | | * 单例模式 |
| | | * |
| | | * @param object 实体对象 |
| | | * @param object |
| | | * 实体对象 |
| | | * @return MethodAccess |
| | | * @author tkq |
| | | * @date 14:36 2019/4/10 |
| | |
| | | |
| | | /** |
| | | * @description 复制属性 |
| | | * @param source 源数据 |
| | | * @param targetClass 目标对象类型 |
| | | * @param source |
| | | * 源数据 |
| | | * @param targetClass |
| | | * 目标对象类型 |
| | | * @return |
| | | * @author weifei |
| | | * @date 2020/8/20 10:38 |
| | |
| | | |
| | | /** |
| | | * @description 复制属性 |
| | | * @param source 源数据 |
| | | * @param targetClass 目标对象类型 |
| | | * @param source |
| | | * 源数据 |
| | | * @param targetClass |
| | | * 目标对象类型 |
| | | * @return |
| | | * @author weifei |
| | | * @date 2020/12/16 10:12 |
| | |
| | | |
| | | /** |
| | | * @description 深度复制对象 |
| | | * @param source 元数据 |
| | | * @param targetClass 目标对象类型 |
| | | * @param source |
| | | * 元数据 |
| | | * @param targetClass |
| | | * 目标对象类型 |
| | | * @return |
| | | * @author weifei |
| | | * @date 2021/3/1 14:21 |
| | |
| | | |
| | | /** |
| | | * @description 深度复制list对象 |
| | | * @param source 元数据 |
| | | * @param targetClass 目标对象类型 |
| | | * @param source |
| | | * 元数据 |
| | | * @param targetClass |
| | | * 目标对象类型 |
| | | * @return |
| | | * @author weifei |
| | | * @date 2021/3/1 14:26 |