Skip to content
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

[BE] 계좌 정보를 은행 정보과 계좌 번호로 분리해서 응답 #608

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

3Juhwan
Copy link
Contributor

@3Juhwan 3Juhwan commented Sep 24, 2024

issue

구현 사항

  • dto에 account 대신에 bankName과 accountNumber를 반환하도록 수정
  • entity에 getBankName()과 getAccountNumber() 추가

논의하고 싶은 부분(선택)

현재 엔티티 내부에 account 필드가 있습니다.
account를 bankName과 accountNumber로 변환해야 하지만, 그러지 않았습니다.
이유는 현재 스키마 마이그레이션이 진행 중으로, 관련 작업에 영향을 주지 않기 위함입니다.

🫡 참고사항

@3Juhwan 3Juhwan added this to the lev4 milestone Sep 24, 2024
@3Juhwan 3Juhwan self-assigned this Sep 24, 2024
Copy link

Test Results

 22 files   22 suites   3s ⏱️
125 tests 125 ✅ 0 💤 0 ❌
129 runs  129 ✅ 0 💤 0 ❌

Results for commit fde29e7.

Comment on lines +101 to +105
String[] bankNameAndAccountNumber = account.split(" ");
if (bankNameAndAccountNumber.length > 0) {
return bankNameAndAccountNumber[0];
}
return "";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bankName, accountNumber에 쓰인 문자열 상수로 선언 해주세요

@kunsanglee kunsanglee merged commit e0b5080 into be-dev Sep 24, 2024
3 checks passed
@kunsanglee kunsanglee deleted the feature/#606 branch September 24, 2024 12:59
@Todari Todari added this to the v2.0.0 milestone Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

4 participants