Refactored code

This commit is contained in:
harish
2024-10-11 14:25:30 +05:30
parent f7c97c1080
commit 478f16d566
9 changed files with 95 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ public interface DocumentRepository extends JpaRepository<DocumentEntity, Long>
Optional<DocumentEntity> findByIdAndSourceIdAndIsDeletedFalse(Long id, Long sourceId);
List<DocumentEntity> findBySource(String source);
List<DocumentEntity> findBySourceIdAndSourceAndTypeAndIsDeletedFalse(Long sourceId, String source, String type);
}