mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix
This commit is contained in:
@@ -239,7 +239,7 @@ public class BeanCopier<T> implements Copier<T>, Serializable {
|
|||||||
|
|
||||||
// 对key做映射,映射后为null的忽略之
|
// 对key做映射,映射后为null的忽略之
|
||||||
// 这里 copyOptions.editFieldName() 不能少,否则导致 CopyOptions setFieldNameEditor 失效
|
// 这里 copyOptions.editFieldName() 不能少,否则导致 CopyOptions setFieldNameEditor 失效
|
||||||
final String providerKey = copyOptions.editFieldName(copyOptions.getMappedFieldName(fieldName, false));
|
final String providerKey = copyOptions.editFieldName(copyOptions.getMappedFieldName(fieldName, true));
|
||||||
if(null == providerKey){
|
if(null == providerKey){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user