mason.park BE 사전 과제 제출 #11
Open
pmsu2007 wants to merge 24 commits into
Open
Conversation
- spring-boot-starter-validation - mysql-connector-j
- application-local.yml를 .gitignore에 추가 - DB 연결 설정
- ApiException : 공통 예외 처리 클래스 - AppHttpStatus: 커스텀 예외
- findAllByCompanyCode : companyCode, startDate, endDate를 인자로 받고 StockInfo를 반환
- getStockInfoByCompanyCode : companyCode, startDate, endDate를 인자로 받고 StockInfoResponse를 반환
- 특정 기업의 주식(종가)를 조회하는 엔드포인트 구현
- StockRepository를 StockHistoryRepository와 CompanyRepository로 분리 - CompanyCode로 Company가 존재하는지 확인하는 로직 추가 - CompanyCode, startDate, endDate로 일치하는 StockHistory 조회하는 로직 추가 - 변수명 수정 stocks -> stockHistories
- StockService의 getStockInfoByCompanyCode
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.
특별히 신경 쓴 부분
애로 사항
라이브러리 선택 이유