feat:修改错误的映射

This commit is contained in:
wangyu 2021-12-11 17:25:57 +08:00
parent 5f2aaf5a55
commit 0355957595
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ public class BeanProperty {
} else { } else {
MergedAnnotation<ComputedProps> single = annotations.get(ComputedProps.class); MergedAnnotation<ComputedProps> single = annotations.get(ComputedProps.class);
if (single.isPresent()) { if (single.isPresent()) {
property.extra.put(BeanProps.LINKED, Collections.singletonList(links.asMap())); property.extra.put(BeanProps.LINKED, Collections.singletonList(single.asMap()));
} }
} }
// 优雅的设置额外的属性 // 优雅的设置额外的属性