Feat:用户模块启用异步仓库

This commit is contained in:
wangyu 2021-01-09 17:50:16 +08:00
parent 52659e1c5e
commit be17a84462

View File

@ -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));