io.mosip.pmp.partner.repository.PartnerContactRepository Maven / Gradle / Ivy
package io.mosip.pmp.partner.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import io.mosip.pmp.partner.entity.PartnerContact;
@Repository
public interface PartnerContactRepository extends JpaRepository{
@Query(value = "select * from partner_contact pc where pc.partner_id=?1 and pc.email_id = ?2", nativeQuery = true )
public PartnerContact findByPartnerAndEmail(String partnerId, String emailId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy