Skip to content

Commit

Permalink
Merge branch 'dst-dev-1.2.1.0' of https://github.com/AvanishDuggiredd…
Browse files Browse the repository at this point in the history
…dy/admin-services into dst-dev-1.2.1.0
  • Loading branch information
AvanishDuggiredddy committed Dec 18, 2024
2 parents 0269f46 + a60ae52 commit 598d592
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ List<LocationHierarchy> findAllByLevelAndLangCodeAndIsDeletedFalseorIsDeletedIsN
*
* @return List Location Hierarchy details fetched from database
*/
@Query("FROM LocationHierarchy l where l.langCode = ?1 and (l.isDeleted is null or l.isDeleted = false) and l.isActive = true")
@Query("FROM LocationHierarchy l where l.langCode = ?1 and (l.isDeleted is null or l.isDeleted = false) and l.isActive = true ORDER BY l.hierarchyLevel ASC")
List<LocationHierarchy> findAllByLangCodeAndIsDeletedFalseOrIsDeletedIsNull(String langCode);

@Query("FROM LocationHierarchy l WHERE (l.createdDateTime BETWEEN ?1 AND ?2 ) OR (l.updatedDateTime BETWEEN ?1 AND ?2 ) OR (l.deletedDateTime BETWEEN ?1 AND ?2 ) ")
Expand Down

0 comments on commit 598d592

Please sign in to comment.