正确的:BeanUtils.copyProperties(source,target,new String[]{"id","name"});
错误的:BeanUtils.copyProperties(source,target,new String[]{"id,name"});
太着急导致的。
正确的:BeanUtils.copyProperties(source,target,new String[]{"id","name"});
错误的:BeanUtils.copyProperties(source,target,new String[]{"id,name"});
太着急导致的。