a,b为对象
BeanUtils.copyProperties(a, b);
1,BeanUtils是org.springframework.beans.BeanUtils, a拷贝到b
2,BeanUtils是org.apache.commons.beanutils.BeanUtils,b拷贝到a
微信扫一扫
a,b为对象
BeanUtils.copyProperties(a, b);
1,BeanUtils是org.springframework.beans.BeanUtils, a拷贝到b
2,BeanUtils是org.apache.commons.beanutils.BeanUtils,b拷贝到a
相关推荐