-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fd290d2
commit 206f7f3
Showing
8 changed files
with
21 additions
and
15 deletions.
There are no files selected for viewing
7 changes: 4 additions & 3 deletions
7
...main/java/com/tukorea/planding/domain/group/repository/GroupFavoriteRepositoryCustom.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,14 +1,15 @@ | ||
package com.tukorea.planding.domain.group.repository; | ||
|
||
import com.tukorea.planding.domain.group.entity.GroupFavorite; | ||
import com.tukorea.planding.domain.group.entity.GroupRoom; | ||
import com.tukorea.planding.domain.user.entity.User; | ||
|
||
import java.util.List; | ||
|
||
public interface GroupFavoriteRepositoryCustom { | ||
Long countMyFavoriteGroup(String userCode); | ||
|
||
Boolean existsByUserAndGroupRoom(String userCode); | ||
GroupFavorite findByUserAndGroupRoom(User user, GroupRoom groupRoom); | ||
|
||
GroupFavorite findByUserIdAndGroupId(Long userId, Long groupRoomId); | ||
|
||
List<GroupFavorite> findByUserFavorite(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
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