Skip to content

Commit

Permalink
refactor: 재구독시 해지 이유 null 처리 (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
belljun3395 authored Jul 8, 2024
1 parent ba2498f commit 30af305
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 30af305

Please sign in to comment.