Skip to content

Commit

Permalink
dataprodukt tar nesteSteg på sakOpprettet
Browse files Browse the repository at this point in the history
  • Loading branch information
ebelegu committed Oct 1, 2024
1 parent 111e252 commit a8b98b1
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -399,9 +399,9 @@ class DataproduktModel(
database.nonTransactionalExecuteUpdate(
"""
insert into sak (
sak_id, grupperings_id, produsent_id, merkelapp, tittel, tilleggsinformasjon, lenke, oppgitt_tidspunkt, mottatt_tidspunkt, soft_deleted_tidspunkt
sak_id, grupperings_id, produsent_id, merkelapp, tittel, tilleggsinformasjon, neste_steg, lenke, oppgitt_tidspunkt, mottatt_tidspunkt, soft_deleted_tidspunkt
)
values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
on conflict do nothing
"""
) {
Expand All @@ -411,6 +411,7 @@ class DataproduktModel(
text(hendelse.merkelapp)
text(hendelse.tittel)
nullableText(hendelse.tilleggsinformasjon)
nullableText(hendelse.nesteSteg)
nullableText(hendelse.lenke)
nullableInstantAsText(hendelse.oppgittTidspunkt?.toInstant())
instantAsText(hendelse.mottattTidspunkt?.toInstant() ?: metadata.timestamp)
Expand Down

0 comments on commit a8b98b1

Please sign in to comment.