简单记录,对象复制 import org.springframework.beans.BeanUtils; # bean2 是新建的空对象 BeanUtils.copyProperties(bean1, bean2);