diff --git a/flyfish-web/src/main/java/com/flyfish/framework/beans/meta/BeanProperty.java b/flyfish-web/src/main/java/com/flyfish/framework/beans/meta/BeanProperty.java index 476af95..b207caf 100644 --- a/flyfish-web/src/main/java/com/flyfish/framework/beans/meta/BeanProperty.java +++ b/flyfish-web/src/main/java/com/flyfish/framework/beans/meta/BeanProperty.java @@ -231,7 +231,7 @@ public class BeanProperty { DBRefValue dbRefValue = annotations.get(DBRefValue.class).synthesize(); processDbRef(dbRefValue.value()).ifPresent(ref -> { property.setType(BeanPropertyType.DB_REF); - property.prop("uri", ref).prop("multiple", "true"); + property.prop("uri", ref).prop("mode", "multiple"); }); } }