forked from Fastcampus-Final-Team3/jober-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
여러 BlockStrategy의 saveBlocks 메서드 리팩토링 (Fastcampus-Final-Team3#191)
* recommit : processBlocks 메서드 분리 오류 해결 * feat : save 메서드를 saveAll로 변경하기 위해 saveAll 메서드 추가 (Fastcampus-Final-Team3#190) * refactor : 여러 BlockStrategy의 saveBlocks 메서드 분리 및 saveAll 사용 (Fastcampus-Final-Team3#190) 1. subData를 각 SaveRequest로 변환하는 부분을 convertSubDataToBlockSaveRequests 메서드로 분리 2. SaveRequest를 Entity로 변환하는 부분을 convertToBlocks 메서드로 분리 3. 모든 Entity를 저장하는 부분을 saveAllBlock 메서드로 변경하여 한 번에 모든 Entity들을 저장 4. 저장된 블록들의 정보를 배열에 추가하는 부분을 addToBlockInfoArray 메서드로 분리
- Loading branch information
Showing
10 changed files
with
182 additions
and
58 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.