Skip to content

Commit

Permalink
MAN-317 - exclude soft deleted and inactive requirements (#4556)
Browse files Browse the repository at this point in the history
* MAN-317 - exclude soft deleted and inactive requirements

* MAN-317 - exclude soft deleted and inactive requirements
  • Loading branch information
achimber-moj authored Jan 21, 2025
1 parent 5929d06 commit f9d6fe6
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ interface RequirementRepository : JpaRepository<Requirement, Long> {
AND e.event_number = :eventNumber
AND e.soft_deleted = 0
AND e.active_flag = 1
AND r.active_flag = 1
AND r.soft_deleted = 0
ORDER BY rrtmc.description
""", nativeQuery = true
)
Expand Down Expand Up @@ -205,7 +207,8 @@ interface RequirementRepository : JpaRepository<Requirement, Long> {
WHERE r.rqmnt_id = :id
AND e.soft_deleted = 0
AND e.active_flag = 1
ORDER BY rrtmc.description
AND r.active_flag = 1
AND r.soft_deleted = 0
""", nativeQuery = true
)
fun getRequirement(id: Long): RequirementDetails?
Expand Down

0 comments on commit f9d6fe6

Please sign in to comment.