Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/Triumers/Newsnippet-Back
Browse files Browse the repository at this point in the history
…into user
  • Loading branch information
moomint8 committed Apr 16, 2024
2 parents 0a58ad4 + 8d26619 commit 84055f3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
### PR 타입(하나 이상의 PR 타입을 선택해주세요)
-[ ] 기능 추가
-[ ] 기능 삭제
-[ ] 버그 수정
-[ ] 의존성, 환경 변수, 빌드 관련 코드 업데이트
- [ ] 기능 추가
- [ ] 기능 삭제
- [ ] 버그 수정
- [ ] 의존성, 환경 변수, 빌드 관련 코드 업데이트

### 반영 브랜치
ex) feat/login -> dev
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ private double calculateCorrectRate(int correctCnt, int solvedCnt) {
if (solvedCnt == 0) {
return 0.0;
}
return (double) correctCnt / solvedCnt * 100;
return (double) correctCnt / solvedCnt;
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

@Repository
public interface QuizRepository extends JpaRepository<Quiz, Integer> {
Quiz findByDateAndNo(LocalDate date, int no);

Quiz findAnswerById(int quizId);

Quiz findCategoryIdAndContentAndOptionAAndOptionBAndOptionCAndOptionDAndAnswerById(int quizId);
Expand Down

0 comments on commit 84055f3

Please sign in to comment.