This commit is contained in:
Looly
2022-03-19 21:36:45 +08:00
parent 20794884a7
commit b1b80730e4
2 changed files with 7 additions and 0 deletions

View File

@@ -50,6 +50,11 @@ public class ValueProviderToBeanCopier<T> extends AbsCopier<ValueProvider<String
return;
}
// 无字段内容跳过
if(false == source.containsKey(tFieldName)){
return;
}
// 检查目标字段可写性
if (null == tDesc || false == tDesc.isWritable(this.copyOptions.transientSupport)) {
// 字段不可写,跳过之