-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modify: #178
PaymentProviderType
- 타입 일치하지 않는 부분 수정
- Loading branch information
1 parent
31910ef
commit 3c4e1f2
Showing
3 changed files
with
4 additions
and
2 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
3 changes: 2 additions & 1 deletion
3
src/main/java/com/t3t/bookstoreapi/payment/repository/PaymentProviderRepository.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,10 +1,11 @@ | ||
package com.t3t.bookstoreapi.payment.repository; | ||
|
||
import com.t3t.bookstoreapi.payment.constant.PaymentProviderType; | ||
import com.t3t.bookstoreapi.payment.model.entity.PaymentProvider; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
import java.util.Optional; | ||
|
||
public interface PaymentProviderRepository extends JpaRepository<PaymentProvider, Long>{ | ||
Optional<PaymentProvider> findByName(String providerName); | ||
Optional<PaymentProvider> findByName(PaymentProviderType providerName); | ||
} |
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