From 5697eae75a626999150bd59b6913ab6650ffa173 Mon Sep 17 00:00:00 2001 From: weizhihong Date: Thu, 29 Jun 2023 16:26:20 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E5=A4=8D=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E4=B8=8D=E7=94=9F=E6=95=88BUG=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../joylink/xiannccda/repository/impl/DraftingRepository.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/club/joylink/xiannccda/repository/impl/DraftingRepository.java b/src/main/java/club/joylink/xiannccda/repository/impl/DraftingRepository.java index b7b8391..1070268 100644 --- a/src/main/java/club/joylink/xiannccda/repository/impl/DraftingRepository.java +++ b/src/main/java/club/joylink/xiannccda/repository/impl/DraftingRepository.java @@ -52,6 +52,7 @@ public class DraftingRepository extends ServiceImpl BusinessExceptionAssertEnum.DATA_NOT_EXIST.assertNotNull(d, "草稿数据不存在"); BusinessExceptionAssertEnum.NOT_HAVE_AUTHORIZATION.assertTrue( Objects.equals(creatorId, d.getCreatorId())); + d.setProto(proto); d.setUpdateAt(LocalDateTime.now()); return this.updateById(d); }