From c245d32a873c3ac6ae2ee31f6861c5168e97363c Mon Sep 17 00:00:00 2001 From: Imo John Date: Thu, 20 Feb 2025 09:16:11 +0100 Subject: [PATCH] =?UTF-8?q?Erg=C3=A4nze=20rpta=5Fexam=5Funit.sourcesystem?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-modules/module/rpta/conf/rpta.xml | 24 +++++++++++-------- .../hilfstabellen/rpta_exam_unit_fuellen.sql | 17 +++++++++++++ 2 files changed, 31 insertions(+), 10 deletions(-) diff --git a/src-modules/module/rpta/conf/rpta.xml b/src-modules/module/rpta/conf/rpta.xml index 2ca1fbf..2e51a40 100644 --- a/src-modules/module/rpta/conf/rpta.xml +++ b/src-modules/module/rpta/conf/rpta.xml @@ -238,9 +238,12 @@ rightname="CS_BIA_STANDARDREPORTS_ADMIN[RPTA]" /> - +
+ + z.B. 5=sospos,6=HISinOne + @@ -373,12 +376,21 @@ parent="Berichtsassistent">Abfragen zur Administration von Berichtsassistent + + + + - + + + + + + @@ -428,15 +440,7 @@ parent="Berichtsassistent">Abfragen zur Administration von Berichtsassistent - - - - - - - - diff --git a/src-modules/module/rpta/hilfstabellen/rpta_exam_unit_fuellen.sql b/src-modules/module/rpta/hilfstabellen/rpta_exam_unit_fuellen.sql index affd5d9..dde7112 100644 --- a/src-modules/module/rpta/hilfstabellen/rpta_exam_unit_fuellen.sql +++ b/src-modules/module/rpta/hilfstabellen/rpta_exam_unit_fuellen.sql @@ -1,7 +1,21 @@ +--freemarker Template + + + + select sp_table_exists('lm_exam_unit') from xdummy; + + + select sp_table_exists('sos_lab_pord') from xdummy; + + + +<#if lm_exam_unit_exists=1 && sos_lab_pord_exists=1> + insert into rpta_exam_unit SELECT matrikel_nr, labnr, + sourcesystem, tid_stg, sem_der_pruefung, note, @@ -24,6 +38,7 @@ FROM lm_exam_unit UNION SELECT matrikel_nr, labnr, + sourcesystem, tid_stg, sem_der_pruefung, note, @@ -44,3 +59,5 @@ UNION SELECT FROM sos_lab_pord WHERE sourcesystem = 5 ; + + \ No newline at end of file