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