feat:框架完善,增加完整的支持

This commit is contained in:
wangyu 2021-09-29 10:50:26 +08:00
parent 6f5c0a17dd
commit 7d2eedb231
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ public class BeanProperty {
} }
// 处理值生成策略此处可清除原策略 // 处理值生成策略此处可清除原策略
if (ArrayUtils.isNotEmpty(prop.generated())) { if (ArrayUtils.isNotEmpty(prop.generated())) {
property.extra.put(BeanProps.GENERATED, MergedAnnotations.from(prop.mapping()).get(MappedTo.class).asMap()); property.extra.put(BeanProps.GENERATED, MergedAnnotations.from(prop.generated()).get(Generation.class).asMap());
if (StringUtils.isBlank((String)property.extra.get(BeanProps.COMPONENT))) { if (StringUtils.isBlank((String)property.extra.get(BeanProps.COMPONENT))) {
property.extra.put(BeanProps.COMPONENT, "input-hidden"); property.extra.put(BeanProps.COMPONENT, "input-hidden");
} }