-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DDING-82] OSIV 비활성화로 인한 지연로딩 에러 수정 (#226)
(cherry picked from commit b5c3729)
- Loading branch information
Showing
10 changed files
with
26 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,5 @@ public interface ClubService { | |
|
||
void delete(Long clubId); | ||
|
||
|
||
|
||
Club getByUserIdWithFetch(Long userId); | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
8 changes: 4 additions & 4 deletions
8
...ong/ddingdongBE/domain/scorehistory/service/dto/query/AdminClubScoreHistoryListQuery.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
package ddingdong.ddingdongBE.domain.scorehistory.service.dto.query; | ||
|
||
import ddingdong.ddingdongBE.domain.club.entity.Club; | ||
import ddingdong.ddingdongBE.domain.scorehistory.entity.ScoreHistory; | ||
import java.math.BigDecimal; | ||
import java.util.List; | ||
|
||
public record AdminClubScoreHistoryListQuery( | ||
Club club, | ||
BigDecimal clubTotalScore, | ||
List<ScoreHistory> scoreHistories | ||
) { | ||
|
||
public static AdminClubScoreHistoryListQuery of(Club club, List<ScoreHistory> scoreHistories) { | ||
return new AdminClubScoreHistoryListQuery(club, scoreHistories); | ||
public static AdminClubScoreHistoryListQuery of(BigDecimal clubTotalScore, List<ScoreHistory> scoreHistories) { | ||
return new AdminClubScoreHistoryListQuery(clubTotalScore, scoreHistories); | ||
} | ||
} |
8 changes: 4 additions & 4 deletions
8
...dingdong/ddingdongBE/domain/scorehistory/service/dto/query/ClubScoreHistoryListQuery.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
package ddingdong.ddingdongBE.domain.scorehistory.service.dto.query; | ||
|
||
import ddingdong.ddingdongBE.domain.club.entity.Club; | ||
import ddingdong.ddingdongBE.domain.scorehistory.entity.ScoreHistory; | ||
import java.math.BigDecimal; | ||
import java.util.List; | ||
|
||
public record ClubScoreHistoryListQuery( | ||
Club club, | ||
BigDecimal clubTotalScore, | ||
List<ScoreHistory> scoreHistories | ||
) { | ||
|
||
public static ClubScoreHistoryListQuery of(Club club, List<ScoreHistory> scoreHistories) { | ||
return new ClubScoreHistoryListQuery(club, scoreHistories); | ||
public static ClubScoreHistoryListQuery of(BigDecimal clubTotalScore, List<ScoreHistory> scoreHistories) { | ||
return new ClubScoreHistoryListQuery(clubTotalScore, scoreHistories); | ||
} | ||
} |