Merge branch 'develop' into feature/callbackpaymentintent
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
package com.billpaymentservice.bbps.repository;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
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.ComplaintResponseEntity;
|
||||
@@ -8,4 +12,6 @@ import com.billpaymentservice.bbps.entites.ComplaintResponseEntity;
|
||||
@Repository
|
||||
public interface ComplaintResponseRepository extends JpaRepository<ComplaintResponseEntity, Long> {
|
||||
|
||||
@Query("SELECT c FROM ComplaintResponseEntity c WHERE c.userId = :userId")
|
||||
List<ComplaintResponseEntity> findByUserIdCustom(@Param("userId") String userId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user