From 01c324538c241f531f987179be77d4b36de2d2e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20N=2E=20Wed=C3=B8e?= Date: Tue, 21 May 2024 11:52:27 +0200 Subject: [PATCH 1/3] Set single behandling to avsluttet, as it was completed outside og Kabal. --- src/main/resources/db/migration/V128__ferdigstill.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/main/resources/db/migration/V128__ferdigstill.sql diff --git a/src/main/resources/db/migration/V128__ferdigstill.sql b/src/main/resources/db/migration/V128__ferdigstill.sql new file mode 100644 index 000000000..d56e29b78 --- /dev/null +++ b/src/main/resources/db/migration/V128__ferdigstill.sql @@ -0,0 +1,6 @@ +UPDATE klage.behandling +SET utfall_id = '6', + dato_behandling_avsluttet = now(), + dato_behandling_avsluttet_av_saksbehandler = now(), + kjennelse_mottatt = now() +WHERE id = 'a6304bf6-6c63-4c1c-a2c2-022939df713a'; \ No newline at end of file From bab20cfbd264eb290c442fddc46fef94f8f184d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20N=2E=20Wed=C3=B8e?= Date: Tue, 21 May 2024 12:33:43 +0200 Subject: [PATCH 2/3] Added tildelt_saksbehandlerident. --- src/main/resources/db/migration/V128__ferdigstill.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/resources/db/migration/V128__ferdigstill.sql b/src/main/resources/db/migration/V128__ferdigstill.sql index d56e29b78..1ee1487a5 100644 --- a/src/main/resources/db/migration/V128__ferdigstill.sql +++ b/src/main/resources/db/migration/V128__ferdigstill.sql @@ -2,5 +2,6 @@ UPDATE klage.behandling SET utfall_id = '6', dato_behandling_avsluttet = now(), dato_behandling_avsluttet_av_saksbehandler = now(), - kjennelse_mottatt = now() + kjennelse_mottatt = now(), + tildelt_saksbehandlerident = 'F128901' WHERE id = 'a6304bf6-6c63-4c1c-a2c2-022939df713a'; \ No newline at end of file From 5e1662fd6de6aa20ead3c3add8fefcff317b0f88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20N=2E=20Wed=C3=B8e?= Date: Tue, 21 May 2024 12:44:16 +0200 Subject: [PATCH 3/3] Added missing fields. --- src/main/resources/db/migration/V128__ferdigstill.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/resources/db/migration/V128__ferdigstill.sql b/src/main/resources/db/migration/V128__ferdigstill.sql index 1ee1487a5..c2019bc52 100644 --- a/src/main/resources/db/migration/V128__ferdigstill.sql +++ b/src/main/resources/db/migration/V128__ferdigstill.sql @@ -3,5 +3,7 @@ SET utfall_id = '6', dato_behandling_avsluttet = now(), dato_behandling_avsluttet_av_saksbehandler = now(), kjennelse_mottatt = now(), - tildelt_saksbehandlerident = 'F128901' + tildelt_saksbehandlerident = 'F128901', + tildelt_enhet = '4293', + dato_behandling_tildelt = now() WHERE id = 'a6304bf6-6c63-4c1c-a2c2-022939df713a'; \ No newline at end of file