Skip to content

Commit

Permalink
refactor: 마지막 학습지를 받은 구독자 기록 추가 (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
belljun3395 authored Jul 13, 2024
1 parent f888faf commit 6476ca6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ class WorkBookSubscriberWriter(
/** 마지막 학습지를 받은 구독자들은 구독을 해지한다.*/
dslContext.update(subscriptionT)
.set(subscriptionT.DELETED_AT, LocalDateTime.now())
.set(subscriptionT.UNSUBS_OPINION, "receive.all")
.where(subscriptionT.MEMBER_ID.`in`(receiveLastDayMembers))
.and(subscriptionT.TARGET_WORKBOOK_ID.`in`(targetWorkBookIds))
.execute()
Expand Down

0 comments on commit 6476ca6

Please sign in to comment.