Skip to content

Commit

Permalink
legg til brukerpassbytter i sjekk på saker som har stoppet opp
Browse files Browse the repository at this point in the history
  • Loading branch information
olesls committed Feb 19, 2024
1 parent 7a6b0f5 commit 8f88f31
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ internal class SøknadStorePostgres(private val ds: DataSource) : SøknadStore {
ON status.ID = (
SELECT ID FROM V1_STATUS WHERE SOKNADS_ID = soknad.SOKNADS_ID ORDER BY created DESC LIMIT 1
)
WHERE status.STATUS IN (?, ?, ?)
WHERE status.STATUS IN (?, ?, ?, ?)
AND (soknad.CREATED + interval '$dager day') < now()
AND soknad.oppgaveid IS NULL
AND soknad.created > '2021-04-13' -- OPPGAVEID kolonnen ble lagt til 2021-04-12. Alt før dette har OPPGAVEID == NULL
Expand All @@ -647,6 +647,7 @@ internal class SøknadStorePostgres(private val ds: DataSource) : SøknadStore {
Status.GODKJENT_MED_FULLMAKT.name,
Status.GODKJENT.name,
Status.INNSENDT_FULLMAKT_IKKE_PÅKREVD.name,
Status.BRUKERPASSBYTTE_INNSENDT.name,
).map {
it.string("SOKNADS_ID")
}.asList
Expand Down

0 comments on commit 8f88f31

Please sign in to comment.