Skip to content

Commit

Permalink
[chore] 과거 수상내역 기수 0으로 저장
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunihs committed Aug 16, 2023
1 parent 7f837b2 commit 2f24ee7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public AllAwardsResponse getAllAwards(int pageNum, int limit) {
List<GenerationAwardsResponse> generationAwardsResponses = new ArrayList<>();

int maxGeneration = projectRepository.findMaxGeneration();
for (int i = maxGeneration; i > 0; i--) {
for (int i = maxGeneration; i >= 0; i--) {
Optional<StartDate> s = startDateRepository.findById(i);
String startDate = null;
if (s.isPresent()) {
Expand Down

0 comments on commit 2f24ee7

Please sign in to comment.