solved duplicate key problem on getBillerData

This commit is contained in:
Lincpay Tech
2025-11-05 13:58:53 +05:30
parent 1e7b3c8a6b
commit d18caaeed9
6 changed files with 71 additions and 38 deletions
@@ -7,9 +7,11 @@ import org.springframework.stereotype.Repository;
import com.billpaymentservice.bbps.entites.BillerDetails;
import java.util.List;
import java.util.Optional;
@Repository
public interface BillerDataRepository extends JpaRepository<BillerDetails, String> {
Optional<BillerDetails> findByBillerId(String billerId);
}