Skip to content

Commit

Permalink
Gjør null-sjekk før vi gjør sjekk om tom er større enn måned
Browse files Browse the repository at this point in the history
  • Loading branch information
halvorbmundal committed Jun 4, 2024
1 parent 588eab4 commit 7255dcc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ interface BehandlingRepository : JpaRepository<Behandling, Long> {
WHERE f.status = 'LØPENDE'
AND f.arkivert = false
AND ty.stonad_tom >= :måned
AND (v.tom >= :måned OR v.tom IS null)""",
AND (v.tom IS null OR v.tom >= :måned)""",
nativeQuery = true,
)
fun finnAlleFagsakerMedLøpendeValutakursIMåned(måned: YearMonth): List<Long>
Expand Down

0 comments on commit 7255dcc

Please sign in to comment.