-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/club-close-leave
해결된 충돌: - src/main/java/likelion/MZConnent/api/culture/CultureController.java - src/main/java/likelion/MZConnent/repository/culture/CultureInterestRepository.java - src/main/java/likelion/MZConnent/service/culture/CultureService.java 로컬 변경 사항: - src/main/java/likelion/MZConnent/api/club/MyClubController.java - src/main/java/likelion/MZConnent/service/club/ClubInfoService.java - src/main/java/likelion/MZConnent/service/club/MyClubService.java - src/main/java/likelion/MZConnent/service/club/RegionCategoryService.java
- Loading branch information
Showing
7 changed files
with
169 additions
and
64 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
11 changes: 10 additions & 1 deletion
11
src/main/java/likelion/MZConnent/repository/culture/CultureInterestRepository.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,9 +1,18 @@ | ||
package likelion.MZConnent.repository.culture; | ||
|
||
import likelion.MZConnent.domain.culture.Culture; | ||
import likelion.MZConnent.domain.culture.CultureInterest; | ||
import likelion.MZConnent.domain.member.Member; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
import org.springframework.data.jpa.repository.Query; | ||
import org.springframework.stereotype.Repository; | ||
|
||
import java.util.Optional; | ||
|
||
@Repository | ||
public interface CultureInterestRepository extends JpaRepository<CultureInterest, Long> { | ||
} | ||
|
||
boolean existsByMemberAndCulture(Member member, Culture culture); | ||
|
||
Optional<CultureInterest> findByMemberAndCulture(Member member, Culture culture); | ||
} |
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