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.
✨ Related Issue
📝 기능 구현 명세
1️⃣ DB 전력량 데이터 세팅
TEstBEd 페이지가 정적 데이터 형식을 사용하도록 구현되어 있어, Jsoup을 이용하여 구현했습니다.
2024-1-CECD1-1921-3/server/src/main/java/org/cecd/server/service/EnergyDataService.java
Lines 40 to 46 in d7d77da
2️⃣ 전력량 계산 기능 구현
2024-1-CECD1-1921-3/server/src/main/java/org/cecd/server/service/EnergyDataService.java
Lines 186 to 207 in 8541f63
2024-1-CECD1-1921-3/server/src/main/java/org/cecd/server/service/EnergyDataService.java
Line 42 in 8541f63
3️⃣ 전력량 데이터 반환 API 구현
2024-1-CECD1-1921-3/server/src/main/java/org/cecd/server/controller/EnergyDataController.java
Lines 21 to 24 in 3ccf59c
4️⃣ 데이터 초기화
2024-1-CECD1-1921-3/server/src/main/java/org/cecd/server/service/EnergyDataService.java
Lines 152 to 176 in 8541f63
⭐️ 결과
1) 데이터 크롤링
2) API 테스트