Skip to content

Commit

Permalink
Oppdater skript som sjekker distribusjonstatus
Browse files Browse the repository at this point in the history
  • Loading branch information
ugur93 committed Aug 28, 2024
1 parent f8551d4 commit 2f7fedc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ interface ForsendelseRepository : CrudRepository<Forsendelse, Long> {
"and (" +
"(f.distribusjonKanal != 'INGEN_DISTRIBUSJON' and f.distribusjonKanal != 'SENTRAL_UTSKRIFT') " +
"or f.distribusjonKanal is null " +
"or (f.distribusjonKanal = 'SENTRAL_UTSKRIFT' and f.bestiltNyDistribusjon = true)" +
"or (f.distribusjonKanal = 'SENTRAL_UTSKRIFT' and f.bestiltNyDistribusjon = false)" +
") " +
"and f.forsendelseType = 'UTGÅENDE' and f.opprettetTidspunkt < current_date",
)
Expand Down

0 comments on commit 2f7fedc

Please sign in to comment.