From 6a0538ee1397cb27ff448b837f6e22b478357f6e Mon Sep 17 00:00:00 2001 From: Marlies Winterstein Date: Thu, 20 Apr 2023 11:40:24 +0200 Subject: [PATCH] =?UTF-8?q?weitere=20Parameter=20f=C3=BCr=20Pr=C3=BCfungsw?= =?UTF-8?q?=C3=BCrfel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xcube_install_restrictions.sql | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql b/src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql index d67be36..1ed9cd2 100644 --- a/src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql +++ b/src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql @@ -16,7 +16,21 @@ update xcube set restriction='<> <#if "<>"!=""> and ${.vars["HZB-Note"].selectedItems[0].strukturStr?replace("$1","hzbnote")} ' where maskeninfo_id=21000; - + update xcube set restriction= + --nur Abschlussprüfungen + 'pnr = 1 and pstatus = ''BE'' and abschnitt = 2 + and <> + and sem_der_pruefung >= <> + /*and sem_der_pruefung <= <>*/ + /* and stichtag = <> */ + /* and tid_stg in (select tid from dim_studiengang where abschluss in <@printkeys Abschluss.allNeededKeysList />) --<> */ + /* and ''s_'' || tid_stg::char(10) in <@printkeys Studiengang.allNeededKeysList /> --<> */ + /* and '''' || ca12_staat in <@printkeys Staatsangehörigkeit.allNeededKeysList/> --<> */ + /* and geschlecht=<> */ + <#if "<>"!=""> and ${Alter.selectedItems[0].strukturStr?replace("$1","alter")} + <#if "<>"!=""> and ${.vars["Note"].selectedItems[0].strukturStr?replace("$1","note")} + ' where maskeninfo_id=21100; + update xcube set restriction=' (bukz!=''PE'' or bukz is null) /* and jahr=<> */