1、package org.springframework.beans;
中的
BeanUtils.copyProperties(A,B);
是A中的值付给B
2、package org.apache.commons.beanutils;(常用)
中的
BeanUtils.copyProperties(A,B);
是B中的值付给A
BeanUtils.copyProperties(A,B)
猜你喜欢
转载自blog.csdn.net/xnattack/article/details/91959885
今日推荐
周排行