feat: 근로자 명단 파일 가져오기와 행 검증 API 구현 - #116
Merged
Merged
Conversation
CSV·XLSX 명단을 임시 저장하고 행 단위 검증·수정·선택 등록할 수 있도록 구현합니다. 모든 등록 요청의 멱등성 이력을 보존하고 XLSX 날짜 셀을 ISO 날짜로 정규화합니다. Import 테이블과 PostgreSQL RLS 정책은 main 기준 V30·V31 Migration으로 추가합니다.
Contributor
Author
|
다시팠어요 ㅠㅠ |
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.
왜 필요한가요?
Closes #14
기존 #113은 OCR PR #112의 브랜치를 Base로 병합되어 Import 기능이
main에 반영되지 않았습니다.이 PR은 #113의 근로자 명단 Import 변경만 최신
main기준으로 분리한 PR입니다. OCR 코드와 설정은 포함하지 않습니다.사용 흐름
상태는
UPLOADED → MAPPED → REVIEW_REQUIRED 또는 READY → COMMITTED로 관리합니다.무엇이 바뀌나요?
주요 API
POST /api/v1/importsGET /api/v1/imports/{importId}PUT /api/v1/imports/{importId}/mappingsPOST /api/v1/imports/{importId}/validatePATCH /api/v1/imports/{importId}/rowsPOST /api/v1/imports/{importId}/commitPOST /api/v1/imports/{importId}/retryMigration
V30__create_worker_import.sqlV31__prepare_worker_import_rls.sql검증
./gradlew clean test성공후속 작업
V32·V33으로 조정한 뒤 다시 검증합니다.