From fe8bac3634ddf68f2d6d8be8467102a9e9166722 Mon Sep 17 00:00:00 2001 From: Marlies Winterstein Date: Tue, 2 May 2023 17:26:10 +0200 Subject: [PATCH] =?UTF-8?q?Einschr=C3=A4nkung=20f=C3=BCr=20Pr=C3=BCfungen?= =?UTF-8?q?=20auf=20pnr=3D1=20raus,=20=C3=9Cberpr=C3=BCfung=20auf=20tid=5F?= =?UTF-8?q?stg=20in=20lehr=5Fstg=5Fab=20rein?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../schluesseltabellen/xcube_install_restrictions.sql | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql b/src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql index 17d30bc..b0efa39 100644 --- a/src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql +++ b/src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql @@ -17,12 +17,15 @@ update xcube set restriction='<> ' where maskeninfo_id=21000; update xcube set restriction= - --nur Abschlussprüfungen - 'pnr = 1 and abschnitt = 2 + --nur Abschlussprüfungen, interessanterweise gibt es auch pnr=11!? + + 'abschnitt = 2 + --alle normalen Abfragen joinen mit lehr_stg_ab, deshalb sicherheitshalber + and tid_stg in (select tid from lehr_stg_ab) and pstatus = <> and <> and sem_der_pruefung >= <> - /*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 /> --<> */