Skip to content

Commit

Permalink
henter fnr for alle fagsaker ikke bare aktive i konsistensavstemming (#…
Browse files Browse the repository at this point in the history
…5062)

For å kunne kjøre konsistensavstemming midt på dagen må vi hente alle
fnr også for avsluttede fagsaker
  • Loading branch information
hensol authored Feb 7, 2025
1 parent dc493ce commit 7fece57
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ interface BehandlingRepository : JpaRepository<Behandling, Long> {
"SELECT new kotlin.Pair(b.id, p.fødselsnummer) from Behandling b " +
"INNER JOIN Fagsak f ON f.id = b.fagsak.id INNER JOIN Aktør a on f.aktør.aktørId = a.aktørId " +
"INNER JOIN Personident p on p.aktør.aktørId = a.aktørId " +
"where b.id in (:behandlingIder) AND p.aktiv=true AND f.status = 'LØPENDE' ",
"where b.id in (:behandlingIder) AND p.aktiv=true AND f.arkivert = false",
)
fun finnAktivtFødselsnummerForBehandlinger(behandlingIder: List<Long>): List<Pair<Long, String>>

Expand Down

0 comments on commit 7fece57

Please sign in to comment.