-
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.
Merge branch 'develop' of https://github.com/samtuap/dongsanginong-se…
…rver into develop
- Loading branch information
Showing
5 changed files
with
29 additions
and
31 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
16 changes: 0 additions & 16 deletions
16
...ct/src/main/java/org/samtuap/inong/domain/notification/repository/FcmTokenRepository.java
This file was deleted.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
.../main/java/org/samtuap/inong/domain/notification/repository/SellerFcmTokenRepository.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package org.samtuap.inong.domain.notification.repository; | ||
|
||
import org.samtuap.inong.domain.notification.entity.SellerFcmToken; | ||
import org.samtuap.inong.domain.seller.entity.Seller; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
import java.util.List; | ||
import java.util.Optional; | ||
|
||
public interface SellerFcmTokenRepository extends JpaRepository<SellerFcmToken, Long> { | ||
List<SellerFcmToken> findAllBySeller(Seller seller); | ||
|
||
Optional<SellerFcmToken> findByToken(String token); | ||
|
||
Optional<SellerFcmToken> findBySellerAndToken(Seller seller, String fcmToken); | ||
} |
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