Feat:用户模块启用异步仓库
This commit is contained in:
parent
52659e1c5e
commit
be17a84462
@ -59,7 +59,7 @@ public class BeanProperty {
|
||||
property.setType(BeanPropertyType.of(descriptor, beanClass));
|
||||
Class<?> clazz = descriptor.getPropertyType();
|
||||
if (property.getType() == BeanPropertyType.OBJECT) {
|
||||
Field field = FieldUtils.getDeclaredField(beanClass, property.getName());
|
||||
Field field = FieldUtils.getDeclaredField(beanClass, property.getName(), true);
|
||||
// 有子bean注解才处理
|
||||
if (null != field && field.isAnnotationPresent(SubBean.class)) {
|
||||
property.setChildren(from(clazz));
|
||||
|
Loading…
Reference in New Issue
Block a user