04-11-25
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package com.billpaymentservice.bbps.repository;
|
||||
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.data.jpa.repository.Query;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import com.billpaymentservice.bbps.entites.BBPSMastersData;
|
||||
|
||||
@Repository
|
||||
public interface BBPSMasterDataRepo extends JpaRepository<BBPSMastersData, Long> {
|
||||
|
||||
@Query("from BBPSMastersData where mid = ?1 and isDeleted = false")
|
||||
public BBPSMastersData findByMid(String mid);
|
||||
}
|
||||
@@ -2,9 +2,11 @@ package com.billpaymentservice.bbps.repository;
|
||||
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.data.jpa.repository.Query;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import com.billpaymentservice.bbps.entites.BBPSMerchantValidation;
|
||||
|
||||
@Repository
|
||||
public interface MerchantRepository extends JpaRepository<BBPSMerchantValidation, Long> {
|
||||
|
||||
@Query("from BBPSMerchantValidation where mid = ?1 and is_deleted = false")
|
||||
|
||||
Reference in New Issue
Block a user