一、 org.springframework.beans.BeanUtils ,a对象拷贝到b对象
BeanUtils.copyProperties(a, b);
二、org.apache.commons.beanutils.BeanUtils,b对象拷贝到a对象
BeanUtils.copyProperties(a, b);
一、 org.springframework.beans.BeanUtils ,a对象拷贝到b对象
BeanUtils.copyProperties(a, b);
二、org.apache.commons.beanutils.BeanUtils,b对象拷贝到a对象
BeanUtils.copyProperties(a, b);