From 3d22cb738156a04f45ee5855fa841b6469ba280b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Golberg?= Date: Wed, 4 Dec 2024 10:04:43 +0100 Subject: [PATCH] legger til soeknad mottat revurdering dao (#6554) --- .../src/main/kotlin/behandling/revurdering/RevurderingDao.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/etterlatte-behandling/src/main/kotlin/behandling/revurdering/RevurderingDao.kt b/apps/etterlatte-behandling/src/main/kotlin/behandling/revurdering/RevurderingDao.kt index 690b4447784..4649261bdf0 100644 --- a/apps/etterlatte-behandling/src/main/kotlin/behandling/revurdering/RevurderingDao.kt +++ b/apps/etterlatte-behandling/src/main/kotlin/behandling/revurdering/RevurderingDao.kt @@ -13,6 +13,8 @@ import no.nav.etterlatte.libs.common.behandling.Prosesstype import no.nav.etterlatte.libs.common.behandling.Revurderingaarsak import no.nav.etterlatte.libs.common.grunnlag.Grunnlagsopplysning import no.nav.etterlatte.libs.common.sak.Sak +import no.nav.etterlatte.libs.common.tidspunkt.getTidspunktOrNull +import no.nav.etterlatte.libs.common.tidspunkt.toLocalDatetimeUTC import no.nav.etterlatte.libs.database.setJsonb import no.nav.etterlatte.libs.database.singleOrNull import java.sql.PreparedStatement @@ -97,6 +99,7 @@ class RevurderingDao( relatertBehandlingId = rs.getString("relatert_behandling"), sendeBrev = rs.getBoolean("sende_brev"), opphoerFraOgMed = rs.getString("opphoer_fom")?.let { objectMapper.readValue(it) }, + soeknadMottattDato = rs.getTidspunktOrNull("soeknad_mottatt_dato")?.toLocalDatetimeUTC(), ) } }