From b2c3f3a8c9dae6548bea0ea0a30bbe43d6b8fb04 Mon Sep 17 00:00:00 2001 From: cooper Date: Fri, 11 Jul 2025 12:40:13 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=EC=B2=B4=ED=81=AC=EB=A6=AC=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8=20=EC=8A=B9=EC=9D=B8/=EB=B0=98=EB=A0=A4=20=EC=9E=98?= =?UTF-8?q?=EB=AA=BB=EB=90=9C=20actorName=20=EB=85=B8=EC=B6=9C=20=EC=9D=B4?= =?UTF-8?q?=EC=8A=88=20(#354)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 원인 : authorName 이 추가된 이슈 - 해결 : memberName 으로 변경 --- .../listener/CheckListNotificationTxListener.java | 4 ++-- .../listener/event/CheckListApprovalNotificationEvent.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/kr/mywork/domain/project_checklist/listener/CheckListNotificationTxListener.java b/src/main/java/kr/mywork/domain/project_checklist/listener/CheckListNotificationTxListener.java index 7872521b..d2bbb14f 100644 --- a/src/main/java/kr/mywork/domain/project_checklist/listener/CheckListNotificationTxListener.java +++ b/src/main/java/kr/mywork/domain/project_checklist/listener/CheckListNotificationTxListener.java @@ -33,8 +33,8 @@ private void saveNotification(final CheckListApprovalNotificationEvent event) { event.authorId(), event.authorName(), event.checkListTitle(), - event.authorName(), - event.memberId(), + event.actorName(), + event.actorId(), event.targetType(), event.checkListId(), event.notificationActionType(), diff --git a/src/main/java/kr/mywork/domain/project_checklist/listener/event/CheckListApprovalNotificationEvent.java b/src/main/java/kr/mywork/domain/project_checklist/listener/event/CheckListApprovalNotificationEvent.java index c452430b..bf38f49b 100644 --- a/src/main/java/kr/mywork/domain/project_checklist/listener/event/CheckListApprovalNotificationEvent.java +++ b/src/main/java/kr/mywork/domain/project_checklist/listener/event/CheckListApprovalNotificationEvent.java @@ -7,7 +7,7 @@ import kr.mywork.domain.notification.model.TargetType; public record CheckListApprovalNotificationEvent(UUID authorId, String authorName, String checkListTitle, - String memberName, UUID memberId, TargetType targetType, + String actorName, UUID actorId, TargetType targetType, UUID checkListId, NotificationActionType notificationActionType, LocalDateTime modifiedAt, UUID projectId, UUID projectStepId) { From 9bdfa3a85ff854bc6a5281bb1560af6b93cda4f7 Mon Sep 17 00:00:00 2001 From: cooper Date: Fri, 11 Jul 2025 12:40:41 +0900 Subject: [PATCH 2/2] =?UTF-8?q?refactor:=20=EB=B3=80=EC=88=98=EB=AA=85=20m?= =?UTF-8?q?emberName=20->=20actorName=20=EB=B3=80=EA=B2=BD=20(#354)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../post/listener/PostApprovalNotificationTxListener.java | 2 +- .../post/listener/event/PostApprovalNotificationEvent.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/kr/mywork/domain/post/listener/PostApprovalNotificationTxListener.java b/src/main/java/kr/mywork/domain/post/listener/PostApprovalNotificationTxListener.java index b71fbcc2..cc9975df 100644 --- a/src/main/java/kr/mywork/domain/post/listener/PostApprovalNotificationTxListener.java +++ b/src/main/java/kr/mywork/domain/post/listener/PostApprovalNotificationTxListener.java @@ -30,7 +30,7 @@ public void handlePostApprovalAlarmEvent(final PostApprovalNotificationEvent eve private void saveNotification(final PostApprovalNotificationEvent event) { notificationService.save( - event.authorId(), event.authorName(), event.postTitle(), event.memberName(), event.memberId(), + event.authorId(), event.authorName(), event.postTitle(), event.actorName(), event.actorId(), event.targetType(), event.postId(), event.notificationActionType(), event.modifiedAt(), event.projectId(), event.projectStepId()); } diff --git a/src/main/java/kr/mywork/domain/post/listener/event/PostApprovalNotificationEvent.java b/src/main/java/kr/mywork/domain/post/listener/event/PostApprovalNotificationEvent.java index 39481a75..f970df68 100644 --- a/src/main/java/kr/mywork/domain/post/listener/event/PostApprovalNotificationEvent.java +++ b/src/main/java/kr/mywork/domain/post/listener/event/PostApprovalNotificationEvent.java @@ -6,8 +6,8 @@ import kr.mywork.domain.notification.model.NotificationActionType; import kr.mywork.domain.notification.model.TargetType; -public record PostApprovalNotificationEvent(UUID authorId, String authorName, String postTitle, UUID memberId, - String memberName, TargetType targetType, UUID postId, +public record PostApprovalNotificationEvent(UUID authorId, String authorName, String postTitle, UUID actorId, + String actorName, TargetType targetType, UUID postId, NotificationActionType notificationActionType, LocalDateTime modifiedAt, UUID projectId, UUID projectStepId) { }