updated code for get all application api
This commit is contained in:
@@ -19,4 +19,8 @@ public interface ApplicationRepository extends JpaRepository<ApplicationEntity,L
|
||||
|
||||
@Query("SELECT a FROM ApplicationEntity a WHERE a.id = :id AND a.isDeleted = false")
|
||||
Optional<ApplicationEntity> findById(@Param("id") Long id);
|
||||
|
||||
public List<ApplicationEntity> findByCallIdAndIsDeletedFalse(Long callId);
|
||||
|
||||
public List<ApplicationEntity> findByIsDeletedFalse();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user