-
Notifications
You must be signed in to change notification settings - Fork 0
feature: 계좌 해지 및 자동이체 처리 #29
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
base: dev
Are you sure you want to change the base?
Conversation
-. 계좌 상태가 ACTIVE가 아니면 입금불가 구현 -. 최대 입금한도 100만원을 초과할경우 입근 불가 -.계좌 해지 시 잔액이 존재하면 사용자가 지정한 출금 계좌로 자동 이체 refactor: -. AccountManagementService 생성 및 계좌 해지, 복구, 만료 삭제 책임 분리 - 트랜잭션 응답 Record 객체 일관화 (TransferResponseRecord, DepositRecord 등) - 거래 내역 기간/정렬 조회 기능 refactoring
-. 필터검색을 dto로 만들어서 관리하도록 변경 -.validatePendingLoanOrAutoTransfer 메서드 분리하여 단일책임 원칙 적용
-. 필터검색을 dto로 만들어서 관리하도록 변경 -.validatePendingLoanOrAutoTransfer 메서드 분리하여 단일책임 원칙 적용
…LoanOrAutoTransfer 메서드 분리하여 단일책임 원칙 적용
| @RequestParam @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME) LocalDateTime startDate, | ||
| @RequestParam @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME) LocalDateTime endDate, | ||
| @RequestParam(defaultValue = "true") boolean sortDesc, | ||
| @ModelAttribute TransferSearchRequestRecord searchRequest, |
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.
-
ModelAttribute로 TransferSearchRequestRecord를 받으셨는데, 사용은 안하시네요? 필터 비지니스 로직이 들어가야하지 않나요?
-
DTO를 2개 못 받으셔서 ModelAttribute로 받으신 거 같은데, TransferRequestRecord 하나의 DTO에 filter 조건도 한번에 받으시면 안되시는 건가요?
Paransaik
left a comment
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.
PR전에 스쿼시 부탁드려요!!!!!
| this.account = account; | ||
| this.balance = dto.balance(); | ||
| // this.loanDate = LocalDateTime.now(); | ||
| this.loanDate = LocalDateTime.now(); |
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.
자동정렬 안하신 것 같습니다.
| Boolean sortDesc, | ||
|
|
||
| String transactionType | ||
| ) {} |
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.
다른 record와 같이 양식 맞춰주세요~
| private final UserRepository userRepository; | ||
|
|
||
| public Account createAccount(Account account) { | ||
| return accountRepository.save(account); |
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.
account 만드실 때 user 넣어주셔야 하는데, 아래 메소드 사용하시는게 맞지 않을까요?
#️⃣ Issue Number
📝 요약(Summary)
🛠️ PR 유형
어떤 변경 사항이 있나요?
개발 상세 내역
✅ 1. 계좌 관련 기능 개선
✅ 2. 구조 개선 및 리팩토링
✅ 3. ENUM ERRORCODE추가