From 3ac7c4072de755a504e5eb3861b0db5356377fd5 Mon Sep 17 00:00:00 2001 From: r-ca Date: Sat, 27 Jan 2024 17:21:39 +0900 Subject: [PATCH] =?UTF-8?q?Document=E3=82=92=E4=BD=9C=E6=88=90=E3=81=99?= =?UTF-8?q?=E3=82=8B=E3=81=A8=E3=81=8D=E3=81=AB=E6=AD=A3=E3=81=97=E3=81=8F?= =?UTF-8?q?=E6=97=A2=E5=AE=9A=E5=80=A4=E3=82=92=E8=A8=AD=E5=AE=9A=E3=81=99?= =?UTF-8?q?=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/one/nem/lacerta/data/impl/DocumentImpl.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/src/main/java/one/nem/lacerta/data/impl/DocumentImpl.java b/data/src/main/java/one/nem/lacerta/data/impl/DocumentImpl.java index bcd3318e..40dc234e 100644 --- a/data/src/main/java/one/nem/lacerta/data/impl/DocumentImpl.java +++ b/data/src/main/java/one/nem/lacerta/data/impl/DocumentImpl.java @@ -81,6 +81,8 @@ public class DocumentImpl implements Document { documentEntity.updatedAt = meta.getUpdatedAt(); documentEntity.createdAt = meta.getCreatedAt(); documentEntity.parentId = meta.getParentId(); + documentEntity.isCombineChild = meta.getIsCombineChild(); + documentEntity.isCombineParent = meta.getIsCombineParent(); database.documentDao().insert(documentEntity); @@ -104,6 +106,8 @@ public class DocumentImpl implements Document { meta.setUpdatedAt(new Date()); meta.setCreatedAt(new Date()); meta.setParentId(null); + meta.setIsCombineChild(false); + meta.setIsCombineParent(false); return createDocument(meta); }