[ Feature ] - account-service 거래 분류 및 TXN_ANALYSIS 저장 연동 - #104
Merged
Conversation
bigwaveBigwave
requested review from
KSBoscoKim,
Kimd0ng,
SOOsuhyuncho,
hanjyoon01 and
shinh09
August 8, 2026 08:59
hanjyoon01
approved these changes
Aug 8, 2026
shinh09
approved these changes
Aug 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
관련 이슈
작업 사항
AccountTransactionAnalysisClient공통 인터페이스 추가TXN_ANALYSIS저장 요청 DTO 추가ACCOUNT_TRANSACTION기반 분류 대상 출금 거래 조회 기능 추가TXN_ANALYSIS도메인·Mapper·XML·Service 구현account_transaction_id기준 유니크 제약조건 및 upsert 저장 로직 적용classified_at저장 시점 자동 기록TXN_ANALYSIS저장 DTO로 변환 및 전달userId쿼리 파라미터 제거Authentication에서 로그인 사용자 ID 추출 방식 적용Authorization: Bearer {accessToken}기반 사용자 식별 적용localhost:8080접속 확인참고 사항
TXN_ANALYSIS저장은 account-service가 담당account_transaction_id유니크 제약조건으로 동일 거래 재분류 시 기존 결과 갱신userId는 서비스 간 내부 처리용 값이므로 유지userId쿼리 파라미터를 사용하지 않음최종 API 형식:
현재 월간 배치의 전체 사용자 조회 Client는 아직 연결되지 않아 실제 사용자별 배치 실행은 후속 작업으로 진행 예정