From 95eff30f34190727bd3901854b9779f8eee2db9f Mon Sep 17 00:00:00 2001 From: Marlies Winterstein Date: Fri, 14 Feb 2025 15:07:27 +0100 Subject: [PATCH] =?UTF-8?q?Korrektur,=20neue=20Layouts=20wurden=20nicht=20?= =?UTF-8?q?eingef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../module/rpta/schluesseltabellen/fm_templates.unl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src-modules/module/rpta/schluesseltabellen/fm_templates.unl b/src-modules/module/rpta/schluesseltabellen/fm_templates.unl index d328ff8..13ae1ec 100644 --- a/src-modules/module/rpta/schluesseltabellen/fm_templates.unl +++ b/src-modules/module/rpta/schluesseltabellen/fm_templates.unl @@ -86,8 +86,8 @@ and L.uniquename='${rpta_column_layout.uniquename}'\ )\ ; \ \ -select * into temp tmp_rpta_column_layout_target\ -from tmp_rpta_column_layout --tmp_ eingefügt\ +select uniquename into temp tmp_rpta_column_layout_target\ +from rpta_column_layout \ where resultset_id in (select tid\ FROM rpta_resultset\ where uniquename='${rpta_column_layout.rpta_resultset}')\ @@ -106,8 +106,8 @@ insert into rpta_column_layout\ whereclause,\ description\ FROM tmp_rpta_column_layout T\ -where 0=(select count(*) from tmp_rpta_column_layout_target T2\ -where T.uniquename=T2.uniquename);\ +where not exists (select uniquename from tmp_rpta_column_layout_target);\ +\ --falls geändert, uniquename muss bleiben\ update rpta_column_layout\ set (caption, resultset_id, whereclause, description)\