update complaint
This commit is contained in:
@@ -9,6 +9,11 @@ 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);
|
||||
// @Query("from BBPSMastersData where mid = ?1 and isDeleted = false")
|
||||
// public BBPSMastersData findByMid(String mid);
|
||||
|
||||
@Query(value = "SELECT * FROM bbps_master_data WHERE mid = ?1 AND is_deleted = false",
|
||||
nativeQuery = true)
|
||||
BBPSMastersData findByMid(String mid);
|
||||
|
||||
}
|
||||
|
||||
+9
-4
@@ -1,12 +1,17 @@
|
||||
package com.billpaymentservice.bbps.repository;
|
||||
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.data.jpa.repository.Query;
|
||||
import org.springframework.data.repository.query.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import com.billpaymentservice.bbps.entites.BharatConnectMaster;
|
||||
|
||||
@Repository
|
||||
public interface BharatConnectMasterRepository extends JpaRepository<BharatConnectMaster,String>
|
||||
{
|
||||
public BharatConnectMaster findByOrgId(String orgId);
|
||||
|
||||
public interface BharatConnectMasterRepository extends JpaRepository<BharatConnectMaster, String> {
|
||||
// public BharatConnectMaster findByOrgId(String orgId);
|
||||
|
||||
@Query(value = "SELECT * FROM bharat_connect_master WHERE org_id = :orgId", nativeQuery = true)
|
||||
BharatConnectMaster findByOrgId(@Param("orgId") String orgId);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user