Skip to content

Commit

Permalink
Merge pull request EveryUniv#187 from gutanbug/dev_deploy
Browse files Browse the repository at this point in the history
fix : 축제 라인업 날짜 기능 수정
  • Loading branch information
gutanbug authored May 12, 2024
2 parents 8976826 + 7983cf2 commit 68815a5
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,15 @@ public List<ResponseFestivalDateDto> listFestivalDate() {
if (result.isEmpty()) {
result.add(lineUp);
} else {
boolean flag = false;
for(LineUp resultLineUp : result) {
if(!resultLineUp.getFestivalDate().equals(lineUp.getFestivalDate())) {
result.add(lineUp);
break;
if(resultLineUp.getFestivalDate().equals(lineUp.getFestivalDate())) {
flag = true;
}
}
if (!flag) {
result.add(lineUp);
}
}
}

Expand Down

0 comments on commit 68815a5

Please sign in to comment.