-
Notifications
You must be signed in to change notification settings - Fork 1
prod : 가상 계좌 부분 삭제 및 휴대폰 번호 UID 변경 #366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
9e17857
86b9170
d0a3eeb
c8c22ba
dd9540b
935c887
df0a1e7
0a1cf8d
837c739
24b5758
727d61f
0b8846c
c15eeab
a750e71
718b1a9
5cff4f7
3403f48
3776e5e
a8a66fa
16e53be
55d9a0b
ec94654
6ed7a8f
e9c91e0
929e98f
ceebc49
6141749
fb22412
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,7 +21,7 @@ public InquiryAnswerJpaEntity toEntity(Long postId, UserJpaEntity user) { | |
| .title(title) | ||
| .content(content) | ||
| .userId(user.getId()) | ||
| .author(user.getName()) | ||
| .author("관리자") | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
예시: public final class AdminConstants {
public static final String ADMIN_AUTHOR_NAME = "관리자";
private AdminConstants() {}
}사용: .author(AdminConstants.ADMIN_AUTHOR_NAME) |
||
| .build(); | ||
| } | ||
| } | ||
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
가상계좌 입금 성공 시 신청(Application)의 상태를
PENDING에서APPROVED로 변경하는 로직이 추가되어 데이터 정합성을 높이는 좋은 개선입니다.다만, 이 로직이 추가되면서 바로 뒤에 이어지는 알림 생성 로직(
LunaNotificationEvent.create(...))에서 잠재적인 문제가 발생할 수 있어 보입니다.LunaNotificationStatus.APPLICATION_GUEST_SUCCESS로 알림 유형이 고정되어 있습니다. 만약 로그인한 일반 사용자가 가상계좌로 결제하는 경우에도 게스트용 알림이 발송될 수 있어 사용자에게 혼란을 줄 수 있습니다.findFirst()를 사용하여 첫 번째 시험 정보(exam.getId())만 알림에 사용하고 있습니다. 이로 인해 사용자는 전체 신청 건 중 일부에 대한 정보만 받게 될 수 있습니다.추가하신 로직과 함께 주변 코드의 상호작용을 고려하여, 사용자의 유형(게스트/일반 회원)을 구분하고 신청에 포함된 모든 시험 정보를 올바르게 처리하도록 알림 로직을 개선하는 것을 검토해 보시는 것이 좋겠습니다.