Merge remote-tracking branch 'origin/master'

This commit is contained in:
wangyu 2021-09-29 11:34:17 +08:00
commit 372ae99c73

View File

@ -407,7 +407,10 @@ public class BeanProperty {
}
// 处理值生成策略此处可清除原策略
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))) {
property.extra.put(BeanProps.COMPONENT, "input-hidden");
}
} else {
property.extra.remove(BeanProps.GENERATED);
if ("input-hidden".equals(property.extra.get(BeanProps.COMPONENT))) {