import org.apache.commons.beanutils.BeanUtils;
Test test= new Test ();
BeanUtils.copyProperties(被转的实体,test);
java 实体与实体相互转换
于 2021-11-08 15:07:33 首次发布
import org.apache.commons.beanutils.BeanUtils;
Test test= new Test ();
BeanUtils.copyProperties(被转的实体,test);