Repository navigation
refactor: ShinhanXlsxParser에서 xlsx 시트 읽기를 XlsxSheetReader로 나눈다 - #163
Merged
Merged
Conversation
…o chore/merge-train
…nto chore/merge-train
… chore/merge-train
…o chore/merge-train
…to chore/merge-train
…chore/merge-train
…to chore/merge-train
…into chore/merge-train # Conflicts: # src/main/java/com/bcsdlab/bcsdinternalapiv2/curriculum/service/AdminCurriculumService.java
…o chore/merge-train
zip → 첫 시트 경로 → sharedStrings → 행 목록까지(OOXML 읽기)를 XlsxSheetReader로 옮기고, ShinhanXlsxParser에는 헤더 찾기·거래 변환·금액 규칙(신한 형식 해석)만 남긴다. 오류 메시지, 검사 순서, 한도 값은 그대로다.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 7 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ff1451
marked this pull request as ready for review
October 18, 2026 13:39
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.
요약
ShinhanXlsxParser(422줄)를 두 클래스로 나눴습니다.XlsxSheetReader(새로 추가, package-private)XlsxZipGuard) → workbook.rels로 첫 시트 찾기 → sharedStrings → 행 목록. XXE 차단, 행 수·셀 길이 한도ShinhanXlsxParser(211줄)MAX_SHEET_ROWS등)은 그대로입니다. 공개 API(parse,normalizeCounterparty,ParsedTransaction)도 바뀌지 않습니다.headerColumns와missingColumns에 같은 헤더 매칭 코드가 두 번 있던 것을matchedColumns하나로 합쳤습니다.머지 순서
#148~#157 머지 후 main으로 rebase하고 ready로 바꿉니다. 이 PR의 변경은 마지막 커밋 하나입니다. 다른 리팩토링 PR과 파일이 겹치지 않습니다.
검증
ShinhanXlsxParserTest30개 통과(XXE, 압축 해제 한도, 형식 변형, 비정상 파일, rowKey, 같은 초 순서).ShinhanXlsxAcceptanceTest는 실제 은행 파일이 있어야 돌아서 원래부터 건너뜁니다.