From 30af3058acd5d0f93972c0231a955bbf9d834cb3 Mon Sep 17 00:00:00 2001 From: belljun3395 <195850@jnu.ac.kr> Date: Mon, 8 Jul 2024 12:32:43 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EC=9E=AC=EA=B5=AC=EB=8F=85?= =?UTF-8?q?=EC=8B=9C=20=ED=95=B4=EC=A7=80=20=EC=9D=B4=EC=9C=A0=20null=20?= =?UTF-8?q?=EC=B2=98=EB=A6=AC=20(#161)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kotlin/com/few/api/repo/dao/subscription/SubscriptionDao.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/api-repo/src/main/kotlin/com/few/api/repo/dao/subscription/SubscriptionDao.kt b/api-repo/src/main/kotlin/com/few/api/repo/dao/subscription/SubscriptionDao.kt index 3db94dabf..b9b9e8ee7 100644 --- a/api-repo/src/main/kotlin/com/few/api/repo/dao/subscription/SubscriptionDao.kt +++ b/api-repo/src/main/kotlin/com/few/api/repo/dao/subscription/SubscriptionDao.kt @@ -28,6 +28,7 @@ class SubscriptionDao( fun reSubscribeWorkbookSubscription(command: InsertWorkbookSubscriptionCommand) { dslContext.update(SUBSCRIPTION) .set(SUBSCRIPTION.DELETED_AT, null as LocalDateTime?) + .set(SUBSCRIPTION.UNSUBS_OPINION, null as String?) .where(SUBSCRIPTION.MEMBER_ID.eq(command.memberId)) .and(SUBSCRIPTION.TARGET_WORKBOOK_ID.eq(command.workbookId)) .execute()