From 7255dccbb4770d00501de54b9eb94c01e9c814d6 Mon Sep 17 00:00:00 2001 From: halvor Date: Tue, 4 Jun 2024 16:30:51 +0200 Subject: [PATCH] =?UTF-8?q?Gj=C3=B8r=20null-sjekk=20f=C3=B8r=20vi=20gj?= =?UTF-8?q?=C3=B8r=20sjekk=20om=20tom=20er=20st=C3=B8rre=20enn=20m=C3=A5ne?= =?UTF-8?q?d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ba/sak/kjerne/behandling/domene/BehandlingRepository.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/no/nav/familie/ba/sak/kjerne/behandling/domene/BehandlingRepository.kt b/src/main/kotlin/no/nav/familie/ba/sak/kjerne/behandling/domene/BehandlingRepository.kt index 4f68e94eb91..f5095feb1e1 100644 --- a/src/main/kotlin/no/nav/familie/ba/sak/kjerne/behandling/domene/BehandlingRepository.kt +++ b/src/main/kotlin/no/nav/familie/ba/sak/kjerne/behandling/domene/BehandlingRepository.kt @@ -79,7 +79,7 @@ interface BehandlingRepository : JpaRepository { 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