From 45dd39fd9543b58407a6c192700f9f118984e5b9 Mon Sep 17 00:00:00 2001 From: wangyu <727842003@qq.com> Date: Thu, 14 Oct 2021 16:25:32 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E5=A2=9E=E5=8A=A0=E6=9F=A5?= =?UTF-8?q?=E6=89=BE=E6=9B=BF=E6=8D=A2=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/flyfish/framework/beans/meta/BeanProperty.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }); } }