zyy
2025-09-18 87a73c3b49c9203ab3c797c575b9c2b9dea10e7a
1
2
3
4
5
6
7
8
9
10
11
12
package com.nq.Repository;
 
import com.nq.pojo.ExchangeRate;
import org.springframework.data.jpa.repository.JpaRepository;
 
import java.util.Optional;
 
public interface ExchangeRateRepository extends JpaRepository<ExchangeRate, Integer> {
 
    Optional<ExchangeRate> findExchangeRateByCurrencyAndConversionCurrency(String currency, String conversionCurrency);
 
}