Browse Source

weitere Parameter für Prüfungswürfel

xcube0.1
Marlies Winterstein 1 year ago
parent
commit
6a0538ee13
  1. 14
      src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql

14
src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql

@ -16,6 +16,20 @@ update xcube set restriction='<<Köpfe oder Fälle ?>>
<#if "<<HZB-Note>>"!=""> and ${.vars["HZB-Note"].selectedItems[0].strukturStr?replace("$1","hzbnote")}</#if> <#if "<<HZB-Note>>"!=""> and ${.vars["HZB-Note"].selectedItems[0].strukturStr?replace("$1","hzbnote")}</#if>
' where maskeninfo_id=21000; ' where maskeninfo_id=21000;
update xcube set restriction=
--nur Abschlussprüfungen
'pnr = 1 and pstatus = ''BE'' and abschnitt = 2
and <<Köpfe oder Fälle ?>>
and sem_der_pruefung >= <<Seit Semester>>
/*and sem_der_pruefung <= <<Bis Semester>>*/
/* and stichtag = <<Stichtag>> */
/* and tid_stg in (select tid from dim_studiengang where abschluss in <@printkeys Abschluss.allNeededKeysList />) --<<Abschluss>> */
/* and ''s_'' || tid_stg::char(10) in <@printkeys Studiengang.allNeededKeysList /> --<<Studiengang>> */
/* and '''' || ca12_staat in <@printkeys Staatsangehörigkeit.allNeededKeysList/> --<<Staatsangehörigkeit>> */
/* and geschlecht=<<Geschlecht>> */
<#if "<<Alter>>"!=""> and ${Alter.selectedItems[0].strukturStr?replace("$1","alter")}</#if>
<#if "<<Note>>"!=""> and ${.vars["Note"].selectedItems[0].strukturStr?replace("$1","note")}</#if>
' where maskeninfo_id=21100;
update xcube set restriction=' update xcube set restriction='
(bukz!=''PE'' or bukz is null) (bukz!=''PE'' or bukz is null)

Loading…
Cancel
Save