Browse Source

Auswertung Lehrveranstaltungen ergänzt #13

COStage_0.3_Release
Daniel Quathamer 2 years ago
parent
commit
a747688f52
  1. 140
      src-modules/module/costage/conf/costage.xml
  2. 67
      src-modules/module/costage/hilfstabellen/costage_st_lv_aggr_fuellen.sql
  3. 23
      src-modules/module/costage/hilfstabellen/costage_st_pruef_aggr_fuellen.sql
  4. 66
      src-modules/module/costage/hilfstabellen/costage_st_studien_aggr_fuellen.sql
  5. 45
      src-modules/module/costage/masken/43140_felderinfo.unl
  6. 1
      src-modules/module/costage/masken/43140_maske_system_bez.unl
  7. 17
      src-modules/module/costage/masken/43140_masken_felder_bez.unl
  8. 133
      src-modules/module/costage/masken/43140_maskeninfo.unl
  9. 1
      src-modules/module/costage/masken/43140_sachgeb_maske_bez.unl
  10. 113
      src-modules/module/costage/rohdaten/costage_unload.xml
  11. 3
      src-modules/module/costage/schluesseltabellen/sx_stylesheets_einfuegen.sql

140
src-modules/module/costage/conf/costage.xml

@ -621,6 +621,36 @@ rightname="CS_BIA_STANDARDREPORTS_ADMIN[CO]" />
<column name="summe" type ="INTEGER" size ="2" default ="" notnull ="false" description="Summe" /> <column name="summe" type ="INTEGER" size ="2" default ="" notnull ="false" description="Summe" />
</columns> </columns>
</table> </table>
<table name="costage_st_lv_aggr" thema="Lehre" caption="Lehrveranstaltsteilnahme (CO)" typ="Hilfstabelle" releaseUnload="empty">
<columns><column name="st_studium_nr" type ="INTEGER" size ="8" default ="" notnull ="true" description="Studium (ID)" />
<column name="st_studstamm_nr" type ="INTEGER" size ="8" default ="" notnull ="true" description="Studierendenstammdaten (ID)" />
<column name="matrikelnummer" type ="INTEGER" size ="8" default ="" notnull ="false" description="Matrikelnummer" />
<column name="semester" type ="INTEGER" size ="8" default ="" notnull ="false" description="Semester" ><comment></comment></column>
<column name="st_studiengang_nr" type ="INTEGER" size ="8" default ="" notnull ="false" description="Studiengang (ID)" />
<column name="st_studiengang_nr_msg" type ="INTEGER" size ="8" default ="" notnull ="false" description="Studiengang (ID) des MSG" ><comment>nur bei TSG</comment></column>
<column name="studienidentifikator" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Studienidentifikator"/>
<column name="stp_sp_nr" type ="INTEGER" size ="4" default ="" notnull ="false" description="Lehrveranstaltung (ID)"/>
<column name="titel_de" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Titel der Lehrveranstaltung (DEUTSCH)"/>
<column name="nummer" type ="VARCHAR" size ="255" default ="" notnull ="false" description="LV-Nummer mit Trennzeichen"/>
<column name="art_name_de" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Name der LV-Art (DEUTSCH)"/>
<column name="summe" type ="INTEGER" size ="2" default ="" notnull ="false" description="Summe" />
</columns>
<indexes>
<index name="ix_costage_st_lv_aggr1" unique="false">
<index-column name="st_studiengang_nr"/>
</index>
<index name="ix_costage_st_lv_aggr2" unique="false">
<index-column name="semester"/>
</index>
<index name="ix_costage_st_lv_aggr3" unique="false">
<index-column name="stp_sp_nr"/>
</index>
<index name="ix_costage_st_lv_aggr4" unique="false">
<index-column name="art_name_de"/>
</index>
</indexes>
</table>
<table name="costage_bw_bewerbungen" thema="Bewerbungen" caption="Bewerbungen (CO)" typ="Datentabelle" releaseUnload="empty"> <table name="costage_bw_bewerbungen" thema="Bewerbungen" caption="Bewerbungen (CO)" typ="Datentabelle" releaseUnload="empty">
<columns><column name="nr" type ="INTEGER" size ="4" default ="" notnull ="true" /> <columns><column name="nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="st_studstamm_nr" type ="INTEGER" size ="4" default ="" notnull ="true" /> <column name="st_studstamm_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
@ -802,7 +832,7 @@ rightname="CS_BIA_STANDARDREPORTS_ADMIN[CO]" />
</table> </table>
<table name="costage_abgeltungen" thema="Prüfungen und Leistungen" caption="Abgeltungen (CO)" typ="Datentabelle" releaseUnload="empty"> <table name="costage_abgeltungen" thema="Lehre" caption="Abgeltungen (CO)" typ="Datentabelle" releaseUnload="empty">
<columns><column name="la_abg_nr" type ="INTEGER" size ="4" default ="" notnull ="true" /> <columns><column name="la_abg_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="stp_sp_nr" type ="INTEGER" size ="4" default ="" notnull ="true" /> <column name="stp_sp_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="person_nr" type ="INTEGER" size ="4" default ="" notnull ="false" /> <column name="person_nr" type ="INTEGER" size ="4" default ="" notnull ="false" />
@ -849,11 +879,11 @@ rightname="CS_BIA_STANDARDREPORTS_ADMIN[CO]" />
</table> </table>
<table name="costage_gleichheitsknoten" thema="Prüfungen und Leistungen" caption="Leistungen Gleichheitsknoten (CO)" typ="Datentabelle" releaseUnload="empty"> <table name="costage_gleichheitsknoten" thema="Lehre" caption="Lehre Gleichheitsknoten (CO)" typ="Datentabelle" releaseUnload="empty">
<columns><column name="ghk_nr" type ="INTEGER" size ="4" default ="" notnull ="true" /> <columns><column name="ghk_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="typ_kurzbezeichnung" type ="VARCHAR" size ="4000" default ="" notnull ="false" /> <column name="typ_kurzbezeichnung" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="typ_name_de" type ="VARCHAR" size ="4000" default ="" notnull ="false" /> <column name="typ_name_de" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="typ_name_en" type ="VARCHAR" size ="4000" default ="" notnull ="false" /> <column name="typ_name_en" type ="VARCHAR" size ="255" default ="" notnull ="false" />
</columns> </columns>
<indexes></indexes> <indexes></indexes>
<primaryKeys><rs> <primaryKeys><rs>
@ -868,18 +898,18 @@ rightname="CS_BIA_STANDARDREPORTS_ADMIN[CO]" />
</table> </table>
<table name="costage_lehrveranstaltungen" thema="Prüfungen und Leistungen" caption="Lehrveranstaltungen (CO)" typ="Datentabelle" releaseUnload="empty"> <table name="costage_lehrveranstaltungen" thema="Lehre" caption="Lehrveranstaltungen (CO)" typ="Datentabelle" releaseUnload="empty">
<columns><column name="stp_sp_nr" type ="INTEGER" size ="4" default ="" notnull ="true" /> <columns><column name="stp_sp_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="ghk_nr" type ="INTEGER" size ="4" default ="" notnull ="true" /> <column name="ghk_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="titel_de" type ="VARCHAR" size ="200" default ="" notnull ="true" /> <column name="titel_de" type ="VARCHAR" size ="255" default ="" notnull ="true" />
<column name="titel_en" type ="VARCHAR" size ="200" default ="" notnull ="false" /> <column name="titel_en" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="nummer" type ="VARCHAR" size ="4000" default ="" notnull ="false" /> <column name="nummer" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="art_name_de" type ="VARCHAR" size ="100" default ="" notnull ="true" /> <column name="art_name_de" type ="VARCHAR" size ="255" default ="" notnull ="true" />
<column name="art_name_en" type ="VARCHAR" size ="100" default ="" notnull ="false" /> <column name="art_name_en" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="st_sem_nr" type ="INTEGER" size ="4" default ="" notnull ="true" /> <column name="st_sem_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="org_nr" type ="INTEGER" size ="4" default ="" notnull ="true" /> <column name="org_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="sws" type ="INTEGER" size ="4" default ="" notnull ="true" /> <column name="sws" type ="FLOAT" size ="4" default ="" notnull ="float" />
<column name="ects_credits" type ="INTEGER" size ="4" default ="" notnull ="false" /> <column name="ects_credits" type ="FLOAT" size ="4" default ="" notnull ="false" />
<column name="anerkennungsobjekt_flag" type ="CHAR" size ="1" default ="" notnull ="false" /> <column name="anerkennungsobjekt_flag" type ="CHAR" size ="1" default ="" notnull ="false" />
</columns> </columns>
<indexes></indexes> <indexes></indexes>
@ -984,11 +1014,11 @@ rightname="CS_BIA_STANDARDREPORTS_ADMIN[CO]" />
</table> </table>
<table name="costage_lv_teilnehmende" thema="Prüfungen und Leistungen" caption="Teilnahme (CO)" typ="Datentabelle" releaseUnload="empty"> <table name="costage_lv_teilnehmende" thema="Lehre" caption="Teilnahme (CO)" typ="Datentabelle" releaseUnload="empty">
<columns><column name="lv_grp_pers_nr" type ="INTEGER" size ="4" default ="" notnull ="true" /> <columns><column name="lv_grp_pers_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="st_studium_nr" type ="INTEGER" size ="4" default ="" notnull ="true" /> <column name="st_studium_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="stp_sp_nr" type ="INTEGER" size ="4" default ="" notnull ="false" /> <column name="stp_sp_nr" type ="INTEGER" size ="4" default ="" notnull ="false" />
<column name="lv_grp_name" type ="VARCHAR" size ="100" default ="" notnull ="true" /> <column name="lv_grp_name" type ="VARCHAR" size ="255" default ="" notnull ="true" />
</columns> </columns>
<indexes></indexes> <indexes></indexes>
<primaryKeys><rs> <primaryKeys><rs>
@ -1189,6 +1219,42 @@ rightname="CS_BIA_STANDARDREPORTS_ADMIN[CO]" />
</rs></privileges> </rs></privileges>
</table> </table>
<table name="costage_ergebnisse" thema="SPO" caption="Studienplankontexte (CO)" typ="Datentabelle" releaseUnload="empty">
<columns><column name="st_studien_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="stp_knoten_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="vorart_kb" type ="VARCHAR" size ="10" default ="" notnull ="true" />
<column name="flag" type ="VARCHAR" size ="1" default ="" notnull ="false" />
<column name="zahl" type ="INTEGER" size ="4" default ="" notnull ="false" />
<column name="drucktext" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="datum" type ="DATE" size ="7" default ="" notnull ="false" />
</columns>
<indexes></indexes>
<primaryKeys><rs>
</rs></primaryKeys>
<foreignKeys><rs>
</rs></foreignKeys>
<importedKeys><rs>
</rs></importedKeys>
<privileges></privileges>
</table>
<table name="costage_studienplankontexte" thema="SPO" caption="Studienplankontexte (CO)" typ="Datentabelle" releaseUnload="empty">
<columns><column name="st_studium_nr" type ="INTEGER" size ="4" default ="" notnull ="false" />
<column name="stp_stp_nr" type ="INTEGER" size ="4" default ="" notnull ="false" />
<column name="leistungs_nr" type ="INTEGER" size ="4" default ="" notnull ="false" />
<column name="context_type" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="stp_knoten_nr_sichtbar" type ="INTEGER" size ="4" default ="" notnull ="false" />
<column name="ghk_nr" type ="INTEGER" size ="4" default ="" notnull ="false" />
</columns>
<indexes></indexes>
<primaryKeys><rs>
</rs></primaryKeys>
<foreignKeys><rs>
</rs></foreignKeys>
<importedKeys><rs>
</rs></importedKeys>
<privileges></privileges>
</table>
<views> <views>
<view name="costage_abschluss_fach_stg" caption="Studiengänge nach Abschluss/Fach" thema="Studierende" typ="Schlüsseltabelle" releaseUnload="demo"> <view name="costage_abschluss_fach_stg" caption="Studiengänge nach Abschluss/Fach" thema="Studierende" typ="Schlüsseltabelle" releaseUnload="demo">
<description>Abschlüsse,Fächer und Studiengänge</description> <description>Abschlüsse,Fächer und Studiengänge</description>
@ -1275,6 +1341,11 @@ parent="CO Basisdaten">Studierende und Gebühren</thema>
parent="CO Basisdaten">Abfragen zu Studierenden und Gebühren</thema> parent="CO Basisdaten">Abfragen zu Studierenden und Gebühren</thema>
<thema name="Prüfungen und Leistungen" <thema name="Prüfungen und Leistungen"
parent="CO Basisdaten">Abfragen zu Prüfungen und Leistungen</thema> parent="CO Basisdaten">Abfragen zu Prüfungen und Leistungen</thema>
<thema name="Lehre"
parent="CO Basisdaten">Abfragen zu Lehrveranstaltungen</thema>
<thema name="SPO"
parent="CO Basisdaten">Abfragen zu Studienplänen und Ordnungen</thema>
</themen> </themen>
<masken> <masken>
@ -1307,7 +1378,14 @@ parent="CO Basisdaten">Abfragen zu Prüfungen und Leistungen</thema>
<src> <src>
<path>$COSTAGE_PFAD/masken</path> <path>$COSTAGE_PFAD/masken</path>
</src> </src>
</maske> </masken> </maske>
<maske tid="43140" name="Lehrveranstaltungen Datenblatt (CO)" thema="CO Basisdaten">
<description></description>
<src>
<path>$COSTAGE_PFAD/masken</path>
</src>
</maske>
</masken>
<data-integrity> <data-integrity>
<!--costage_st_studierendenstammdaten--> <!--costage_st_studierendenstammdaten-->
@ -1387,6 +1465,10 @@ parent="CO Basisdaten">Abfragen zu Prüfungen und Leistungen</thema>
<relation-column from="apnr" to="statustyp" /> <relation-column from="apnr" to="statustyp" />
<relation-column from="key" to="400" /> <relation-column from="key" to="400" />
</relation> </relation>
<relation from="cifx" to="costage_st_studien_aggr" delete="FALSE" displayType="select" visibleFields="druck" uniquenameField="uniquename" format="%s">
<relation-column from="apnr" to="statustyp_tsg" />
<relation-column from="key" to="400" />
</relation>
<relation from="cifx" to="costage_st_studien_aggr" delete="FALSE" displayType="select" visibleFields="druck" uniquenameField="uniquename" format="%s"> <relation from="cifx" to="costage_st_studien_aggr" delete="FALSE" displayType="select" visibleFields="druck" uniquenameField="uniquename" format="%s">
<relation-column from="apnr" to="hrst" /> <relation-column from="apnr" to="hrst" />
@ -1493,6 +1575,20 @@ parent="CO Basisdaten">Abfragen zu Prüfungen und Leistungen</thema>
displayType="select" visibleFields="matrikelnummer" format="%s"> displayType="select" visibleFields="matrikelnummer" format="%s">
<relation-column from="st_studstamm_nr" to="st_studstamm_nr" /> <relation-column from="st_studstamm_nr" to="st_studstamm_nr" />
</relation> </relation>
<!--costage_st_lv_aggr-->
<relation from="costage_st_semester" to="costage_st_lv_aggr" delete="FALSE"
displayType="select" visibleFields="semester_bezeichnung" format="%s">
<relation-column from="semester_tid" to="semester" />
</relation>
<relation from="costage_dim_studiengang" to="costage_st_lv_aggr" delete="FALSE"
displayType="select" visibleFields="studiengangs_bezeichnung" format="%s">
<relation-column from="st_studiengang_nr" to="st_studiengang_nr" />
</relation>
<relation from="costage_st_studierendenstammdaten" to="costage_st_lv_aggr" delete="FALSE"
displayType="select" visibleFields="matrikelnummer" format="%s">
<relation-column from="st_studstamm_nr" to="st_studstamm_nr" />
</relation>
</data-integrity> </data-integrity>
</database> </database>
@ -1535,14 +1631,8 @@ parent="CO Basisdaten">Abfragen zu Prüfungen und Leistungen</thema>
<loadtable refresh="true" delimiter="^" header="false" tabname="costage_land_subregionen"><file path="$COSTAGE_LOAD_PFAD/unl/costage_land_subregionen.unl"/></loadtable> <loadtable refresh="true" delimiter="^" header="false" tabname="costage_land_subregionen"><file path="$COSTAGE_LOAD_PFAD/unl/costage_land_subregionen.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="costage_k_hzbart"><file path="$COSTAGE_LOAD_PFAD/unl/costage_k_hzbart.unl"/></loadtable> <loadtable refresh="true" delimiter="^" header="false" tabname="costage_k_hzbart"><file path="$COSTAGE_LOAD_PFAD/unl/costage_k_hzbart.unl"/></loadtable>
<!--<loadtable refresh="true" delimiter="^" header="false" tabname="costage_abgeltungen"><file path="$COSTAGE_LOAD_PFAD/unl/costage_abgeltungen.unl"/></loadtable> <!--<loadtable refresh="true" delimiter="^" header="false" tabname="costage_abgeltungen"><file path="$COSTAGE_LOAD_PFAD/unl/costage_abgeltungen.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="costage_antritte"><file path="$COSTAGE_LOAD_PFAD/unl/costage_antritte.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="costage_gleichheitsknoten"><file path="$COSTAGE_LOAD_PFAD/unl/costage_gleichheitsknoten.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="costage_lehrveranstaltungen"><file path="$COSTAGE_LOAD_PFAD/unl/costage_lehrveranstaltungen.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="costage_leistungen"><file path="$COSTAGE_LOAD_PFAD/unl/costage_leistungen.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="costage_leistungen_detail_typen"><file path="$COSTAGE_LOAD_PFAD/unl/costage_leistungen_detail_typen.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="costage_leistungen_typen"><file path="$COSTAGE_LOAD_PFAD/unl/costage_leistungen_typen.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="costage_lv_teilnehmende"><file path="$COSTAGE_LOAD_PFAD/unl/costage_lv_teilnehmende.unl"/></loadtable>
--> -->
<loadtable refresh="true" delimiter="^" header="false" tabname="costage_st_studienformen"><file path="$COSTAGE_LOAD_PFAD/unl/costage_st_studienformen.unl"/></loadtable> <loadtable refresh="true" delimiter="^" header="false" tabname="costage_st_studienformen"><file path="$COSTAGE_LOAD_PFAD/unl/costage_st_studienformen.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="costage_st_adressen"><file path="$COSTAGE_LOAD_PFAD/unl/costage_st_adressen.unl"/></loadtable> <loadtable refresh="true" delimiter="^" header="false" tabname="costage_st_adressen"><file path="$COSTAGE_LOAD_PFAD/unl/costage_st_adressen.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="costage_st_urlaube"><file path="$COSTAGE_LOAD_PFAD/unl/costage_st_urlaube.unl"/></loadtable> <loadtable refresh="true" delimiter="^" header="false" tabname="costage_st_urlaube"><file path="$COSTAGE_LOAD_PFAD/unl/costage_st_urlaube.unl"/></loadtable>
@ -1555,6 +1645,9 @@ parent="CO Basisdaten">Abfragen zu Prüfungen und Leistungen</thema>
<loadtable refresh="true" delimiter="^" header="false" tabname="costage_leistungen_detail_typen"><file path="$COSTAGE_LOAD_PFAD/unl/costage_leistungen_detail_typen.unl"/></loadtable> <loadtable refresh="true" delimiter="^" header="false" tabname="costage_leistungen_detail_typen"><file path="$COSTAGE_LOAD_PFAD/unl/costage_leistungen_detail_typen.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="costage_leistungen_typen"><file path="$COSTAGE_LOAD_PFAD/unl/costage_leistungen_typen.unl"/></loadtable> <loadtable refresh="true" delimiter="^" header="false" tabname="costage_leistungen_typen"><file path="$COSTAGE_LOAD_PFAD/unl/costage_leistungen_typen.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="costage_antritte"><file path="$COSTAGE_LOAD_PFAD/unl/costage_antritte.unl"/></loadtable> <loadtable refresh="true" delimiter="^" header="false" tabname="costage_antritte"><file path="$COSTAGE_LOAD_PFAD/unl/costage_antritte.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="costage_gleichheitsknoten"><file path="$COSTAGE_LOAD_PFAD/unl/costage_gleichheitsknoten.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="costage_lehrveranstaltungen"><file path="$COSTAGE_LOAD_PFAD/unl/costage_lehrveranstaltungen.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="costage_lv_teilnehmende"><file path="$COSTAGE_LOAD_PFAD/unl/costage_lv_teilnehmende.unl"/></loadtable>
</action> </action>
</etl-step> </etl-step>
@ -1577,6 +1670,7 @@ parent="CO Basisdaten">Abfragen zu Prüfungen und Leistungen</thema>
<nativeaction sql="" scriptfile="$COSTAGE_PFAD/hilfstabellen/costage_st_studien_aggr_fuellen.sql" database=""/> <nativeaction sql="" scriptfile="$COSTAGE_PFAD/hilfstabellen/costage_st_studien_aggr_fuellen.sql" database=""/>
<nativeaction sql="" scriptfile="$COSTAGE_PFAD/hilfstabellen/costage_st_pruef_aggr_fuellen.sql" database=""/> <nativeaction sql="" scriptfile="$COSTAGE_PFAD/hilfstabellen/costage_st_pruef_aggr_fuellen.sql" database=""/>
<nativeaction sql="" scriptfile="$COSTAGE_PFAD/hilfstabellen/costage_bw_antr_aggr_fuellen.sql" database=""/> <nativeaction sql="" scriptfile="$COSTAGE_PFAD/hilfstabellen/costage_bw_antr_aggr_fuellen.sql" database=""/>
<nativeaction sql="" scriptfile="$COSTAGE_PFAD/hilfstabellen/costage_st_lv_aggr_fuellen.sql" database=""/>
<!--<nativeaction sql="" scriptfile="$COSTAGE_PFAD/schluesseltabellen/semester_bereinigen.sql" database=""> <!--<nativeaction sql="" scriptfile="$COSTAGE_PFAD/schluesseltabellen/semester_bereinigen.sql" database="">
<description>Ungenutzte Semester, d.h. Semester, die keine Bewegungsdaten enthalten (z.B. WS 1937/1938) entfernen</description> <description>Ungenutzte Semester, d.h. Semester, die keine Bewegungsdaten enthalten (z.B. WS 1937/1938) entfernen</description>
</nativeaction>--> </nativeaction>-->

67
src-modules/module/costage/hilfstabellen/costage_st_lv_aggr_fuellen.sql

@ -0,0 +1,67 @@
SELECT
L.stp_sp_nr,
L.ghk_nr,
L.titel_de,
L.titel_en,
L.nummer,
L.art_name_de,
L.art_name_en,
L.st_sem_nr,
L.org_nr,
L.sws,
L.ects_credits,
L.anerkennungsobjekt_flag,
U.st_studium_nr,
U.st_studstamm_nr,
U.st_studiengang_nr,
null::integer as st_studiengang_nr_msg,
null::varchar(255) as studienidentifikator,
val(S.matrikelnummer) as matrikelnummer,
E.semester_tid as semester
into temp tmp_lv
FROM costage_st_semester E, costage_lehrveranstaltungen L, costage_st_studierendenstammdaten S,
costage_lv_teilnehmende T, costage_st_studien U
where E.st_sem_nr=L.st_sem_nr
and T.stp_sp_nr=L.stp_sp_nr
and U.st_studium_nr=T.st_studium_nr
and U.st_studstamm_nr=S.st_studstamm_nr
;
update tmp_lv set studienidentifikator=S.studiengangs_identifikator
from costage_st_studiengaenge S
where S.st_studiengang_nr=tmp_lv.st_studiengang_nr
;
truncate table costage_st_lv_aggr;
insert into costage_st_lv_aggr(st_studium_nr,
st_studstamm_nr,
matrikelnummer,
semester,
st_studiengang_nr,
st_studiengang_nr_msg,
studienidentifikator,
stp_sp_nr,
titel_de,
nummer,
art_name_de,
summe)
select
st_studium_nr,
st_studstamm_nr,
matrikelnummer,
semester,
st_studiengang_nr,
st_studiengang_nr_msg,
studienidentifikator,
stp_sp_nr,
titel_de,
nummer,
art_name_de,
count(*)
from tmp_lv
group by 1,2,3,4,5,6,7,8,9,10,11;
drop table tmp_lv;

23
src-modules/module/costage/hilfstabellen/costage_st_pruef_aggr_fuellen.sql

@ -180,21 +180,37 @@ from tmp_pruef
where leistungsdetailtyp_kb !='TSAB' where leistungsdetailtyp_kb !='TSAB'
; ;
--Dann Nr., Datum und Semster des MSG nachladen (TODO: ggf. noch Fachsemester?)
update tmp_pruef set leistung_nr_msg=T.leistung_nr, update tmp_pruef set leistung_nr_msg=T.leistung_nr,
leistungsdatum_msg=T.leistungsdatum, leistungsdatum_msg=T.leistungsdatum,
semester_msg=T.semester semester_msg=T.semester
from tmp_pruef2 T from tmp_pruef2 T
where tmp_pruef.leistungsdetailtyp_kb ='TSAB' where tmp_pruef.st_studiengang_nr_msg=T.st_studiengang_nr
and tmp_pruef.leistungsdetailtyp_kb ='TSAB'
and T.matrikelnummer=tmp_pruef.matrikelnummer and T.matrikelnummer=tmp_pruef.matrikelnummer
and T.st_studiengang_nr=tmp_pruef.st_studiengang_nr_msg
; ;
--Leistungsdatum determiniert Semester auch bei MSG:
-- update tmp_pruef set semester=E.semester_tid
-- FROM costage_st_semester E
-- where tmp_pruef.leistungsdatum_msg between E.semester_anfang and E.semester_ende
-- and tmp_pruef.leistungsdetailtyp_kb !='TSAB'
-- and tmp_pruef.leistungsdatum_msg is not null;
update tmp_pruef set leistung_nr_msg=leistung_nr, update tmp_pruef set leistung_nr_msg=leistung_nr,
leistungsdatum_msg=leistungsdatum, leistungsdatum_msg=leistungsdatum,
semester_msg=semester semester_msg=semester
where tmp_pruef.leistungsdetailtyp_kb !='TSAB' where tmp_pruef.leistungsdetailtyp_kb !='TSAB'
; ;
--unikey setzen, wenn noch nicht vorhanden (z.B. bei MSG):
update tmp_pruef set unikey=K.unikey
from costage_st_studiengaenge G, costage_st_studienkennzahlen K
where G.st_studiengang_nr=tmp_pruef.st_studiengang_nr
and K.st_skz_nr=G.st_skz_nr
and tmp_pruef.unikey is null
;
truncate table costage_st_pruef_aggr; truncate table costage_st_pruef_aggr;
insert into costage_st_pruef_aggr(st_studium_nr, insert into costage_st_pruef_aggr(st_studium_nr,
@ -258,4 +274,5 @@ select
group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27; group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27;
drop table tmp_pruef; drop table tmp_pruef;
drop table tmp_pruef2;

66
src-modules/module/costage/hilfstabellen/costage_st_studien_aggr_fuellen.sql

@ -62,8 +62,8 @@ and SG.studiengangs_typ_kb in ('ESG','TSG','MSG')
and SA.st_studium_nr=ST.st_studium_nr and SA.st_studium_nr=ST.st_studium_nr
and SA.st_sem_nr=SM.st_sem_nr and SA.st_sem_nr=SM.st_sem_nr
and SA.gueltig_ab <=SM.semester_ende --nur letzter Status im jew. Semester interessiert, nicht danach and SA.gueltig_ab <=SM.semester_ende --nur letzter Status im jew. Semester interessiert, nicht danach
and SA.gueltig_ab <= today() --Studis werden in der Semestermitte exmatr. zum Endedatum Semesterende, wenn dieses Datum in der Zukunft liegt soll der Studi mit dem vorherigen Status erscheinen and (SA.studienstatustyp not in ('Z','X') or (SA.studienstatustyp in ('Z','X') and SA.gueltig_ab <= today())) --Studis außer erst/neueinschr/rückmeld/beurlaubt werden in der Semestermitte exmatr. zum Endedatum Semesterende, wenn dieses Datum in der Zukunft liegt soll der Studi mit dem vorherigen Status erscheinen
and SA.studienstatustyp not in ('a','o') --and SA.studienstatustyp not in ('a','o')
and ${COSTAGE_STUDENT_FILTER} and ${COSTAGE_STUDENT_FILTER}
--group by 1,2,3,4,5,6,7,8,9,10,11,12,13 --group by 1,2,3,4,5,6,7,8,9,10,11,12,13
; ;
@ -124,14 +124,52 @@ on (H.st_studstamm_nr=T.st_studstamm_nr
--Ermittlung msg bei TSG: --Ermittlung msg bei TSG:
--es kann pro Studi und Semester und Abschlussziel mehrere MSG geben,
--daqher zuerst den jeweils letzten ermiteln. Dieser ist dann der Default-MSG:
select st_sem_nr,st_absz_nr,st_studstamm_nr,max(beginn_datum) as beginn_datum
into temp tmp_last_msg_per_term
from tmp_studien
where studiengangs_typ_kb='MSG'
group by 1,2,3
;
update tmp_studien2 set st_studiengang_nr_msg=M.st_studiengang_nr_msg --nur Diagnose Einzelschritt:
from costage_st_studiengaenge_mtsg M, costage_st_studien ST --select st_studiengang_nr_msg,* from tmp_studien2 where semester=20222
where ST.st_studiengang_nr=M.st_studiengang_nr_msg --;
and ST.st_studstamm_nr=tmp_studien2.st_studstamm_nr
and M.st_studiengang_nr_tsg=tmp_studien2.st_studiengang_nr --zuerst den jeweils letzten (=jüngsten) MSG zuweisen:
update tmp_studien2 set st_studiengang_nr_msg=T.st_studiengang_nr_msg
from tmp_studien T,tmp_last_msg_per_term E, costage_st_studiengaenge_mtsg M
where M.st_studiengang_nr_tsg=tmp_studien2.st_studiengang_nr
and M.st_studiengang_nr_msg=T.st_studiengang_nr_msg
and T.st_sem_nr=tmp_studien2.st_sem_nr
and T.st_studstamm_nr=tmp_studien2.st_studstamm_nr
and E.st_sem_nr=tmp_studien2.st_sem_nr
and E.st_studstamm_nr=tmp_studien2.st_studstamm_nr
and E.st_absz_nr=tmp_studien2.st_absz_nr
and E.beginn_datum=T.beginn_datum
and T.studiengangs_typ_kb='MSG'
and T.st_absz_nr=tmp_studien2.st_absz_nr
and T.st_studiengang_nr_msg is not null
and tmp_studien2.studiengangs_typ_kb ='TSG'
;
--wenn der jüngste MSG nicht paßt, wird der nächste passende
--zugewiesen:
update tmp_studien2 set st_studiengang_nr_msg=T.st_studiengang_nr_msg
from tmp_studien T,costage_st_studiengaenge_mtsg M
where M.st_studiengang_nr_tsg=tmp_studien2.st_studiengang_nr
and M.st_studiengang_nr_msg=T.st_studiengang_nr_msg
and T.st_sem_nr=tmp_studien2.st_sem_nr
and T.st_studstamm_nr=tmp_studien2.st_studstamm_nr
and T.studiengangs_typ_kb='MSG'
and T.st_absz_nr=tmp_studien2.st_absz_nr
and T.st_studiengang_nr_msg is not null
and tmp_studien2.studiengangs_typ_kb ='TSG' and tmp_studien2.studiengangs_typ_kb ='TSG'
and tmp_studien2.st_studiengang_nr_msg is null
; ;
--statustyp bei TSG aus MSG nachladen: --statustyp bei TSG aus MSG nachladen:
update tmp_studien2 set studienstatustyp=S.studienstatustyp update tmp_studien2 set studienstatustyp=S.studienstatustyp
from tmp_studien S from tmp_studien S
@ -144,6 +182,8 @@ and S.status_historie=1
; ;
drop table tmp_last_msg_per_term;
<#if K_COSTAGE_TSG_GENERATE == 1> <#if K_COSTAGE_TSG_GENERATE == 1>
@ -432,8 +472,8 @@ select st_studium_nr,
end) as fach_nr, end) as fach_nr,
unikey, unikey,
beginn_datum as anfdat, beginn_datum as anfdat,
(case when studienstatustyp not in ('Z','X') then null::date (case when studienstatustyp not in ('Z','X') then gueltig_ab
else gueltig_ab end) as ruebeudat, else null::date end) as ruebeudat,
(case when studienstatustyp in ('Z','X') then gueltig_ab (case when studienstatustyp in ('Z','X') then gueltig_ab
else null::date end) as endedat, else null::date end) as endedat,
studienform_statistik_code as stufrm, studienform_statistik_code as stufrm,
@ -441,9 +481,7 @@ select st_studium_nr,
hzb_art, hzb_art,
1 as summe 1 as summe
from tmp_studien2 from tmp_studien2
-- where semester = 20202 where kz_rueck_beur_ein is not null
--and matrikelnummer = '5545242'
where kz_rueck_beur_ein is not null
; ;
-- The below code appends the data for the records having kz_rueck_beur_ein as NULL, this data could be helpful for other diagonostic purpose; here this is segregated -- The below code appends the data for the records having kz_rueck_beur_ein as NULL, this data could be helpful for other diagonostic purpose; here this is segregated
@ -504,8 +542,8 @@ cast (NULL as int) as studiengang_nr2,
end) as fach_nr, end) as fach_nr,
unikey, unikey,
beginn_datum as anfdat, beginn_datum as anfdat,
(case when studienstatustyp not in ('Z','X') then null::date (case when studienstatustyp not in ('Z','X') then gueltig_ab
else gueltig_ab end) as ruebeudat, else null::date end) as ruebeudat,
(case when studienstatustyp in ('Z','X') then gueltig_ab (case when studienstatustyp in ('Z','X') then gueltig_ab
else null::date end) as endedat, else null::date end) as endedat,
studienform_statistik_code as stufrm, studienform_statistik_code as stufrm,

45
src-modules/module/costage/masken/43140_felderinfo.unl

@ -0,0 +1,45 @@
43141^Seit Semester^3^0^0^140^80^1^integer^30^0^1^<<SQL>> select semester_tid, semester_bezeichnung from costage_st_semester order by 1 DESC;^ ^<<SQL>> select semester_tid, semester_bezeichnung from costage_st_semester where today()-365 between date(semester_anfang) and date(semester_ende);^
43142^Studiengang^9^0^0^130^150^50^char^30^0^12^<<SQL>> select tid,name,sortnr from sichten where art in ('COSTAGE-Studiengang-Sicht') order by 3,2;^^^
43143^Staatsangehörigkeit^36^0^0^130^150^10^sql^30^0^1^<<SQL>> SELECT st_land_nr, name from costage_st_laender order by 2;^hidden^^
43146^Weitere Tabellen^123^0^0^140^140^10^char^30^0^1^<<SQL>> \
--freemarker template\
select name,string_not_null(caption) || ' - ' || name from sx_tables where name in ('costage_st_studierendenstammdaten','costage_dim_studiengang')\
<#if <<tablestylesheet>>!='tabelle_html_datenblatt.xsl'>\
and name in (select distinct tablename from stylesheet_field where stylesheet_id in (select tid from sx_stylesheets where filename=<<tablestylesheet>>)) \
</#if>\
order by 2^ ^^
43147^bis Fachsemester^20^350^-1^140^10^1^integer^30^0^0^ ^hidden^ ^
43149^Bis Semester^4^350^-1^140^80^1^integer^30^0^1^<<SQL>> select semester_tid, semester_bezeichnung from costage_st_semester order by 1 DESC;^ ^<<SQL>> select semester_tid, semester_bezeichnung from costage_st_semester where today() between date(semester_anfang) and date(semester_ende);^
43150^Titelstichwort^119^0^0^140^150^1^char^20^0^13^ ^ ^^
43151^Geschlecht^37^0^0^140^80^1^integer^30^0^1^<<SQL>> SELECT apnr,druck FROM cif WHERE cif.key = 9003 order by 2;^hidden^^
43152^Felder^125^0^0^150^190^10^char^30^0^1^<<SQL>>\
--freemarker template\
select trim(F.table_name) || '.' || F.name,trim(T.caption) || ':' || trim(F.caption) || ' - ' || trim(F.name) from sx_fields F,\
sx_tables T where F.table_name=T.name and F.currentlyused=1\
<#if <<tablestylesheet>>='tabelle_html_datenblatt.xsl'>\
and (F.table_name ='costage_st_lv_aggr'\
/* or F.table_name in (<<Weitere Tabellen>>) */) \
<#else>\
and trim(F.table_name) || '.' || F.name in (select trim(tablename)||'.'||trim(fieldname) from stylesheet_field where stylesheet_id in \
(select tid from sx_stylesheets where filename=<<tablestylesheet>>))\
</#if>\
order by 2;^^^
43153^Fach^6^0^0^140^150^50^char^30^0^1^<<SQL>>\
SELECT \
skz_key,\
skz_name\
FROM costage_st_studienkennzahlen\
/* where unikey=<<Hochschule>> */\
order by 2\
;^^^
43154^Schlüssel anzeigen^150^0^0^100^100^1^integer^30^1^1^<<SQL>> select 1,'Ja' from xdummy union select 0,'Nein' from xdummy^^<<SQL>> select 1,'Ja' from xdummy^
43155^tablestylesheet^121^0^0^100^200^1^char^200^1^1^<<SQL>> select distinct filename,X.caption,ord from sx_stylesheets X,sx_mask_style S where X.tid=S.stylesheet_id and S.maskeninfo_id=43140 order by ord^^<<SQL>> select distinct filename,X.caption from sx_stylesheets X,sx_mask_style S where X.tid=S.stylesheet_id and S.maskeninfo_id=43080 and S.ord=1^
43156^Ausgabeformat^2001^0^0^100^150^1^char^200^1^1^<<SQL>> select element_value,description from menu_element where element='Ausgabeformat' and nature::smallint<100 order by nature::smallint^^<<SQL>> select element_value,description from menu_element where element='Ausgabeformat' and description='HTML'^
43160^##line##^10^0^0^100^100^1^char^5000^0^8^^^1^
43161^Abschluss^7^0^0^140^170^5^char^30^0^1^<<SQL>> SELECT \
code,\
name\
FROM costage_st_abschlussziele_lokal\
order by 2;^^^
43162^Matrikel-Nr.^30^350^-1^150^180^1^char^200^0^0^^hidden^^
43163^##line##^40^0^0^100^100^1^char^5000^0^8^^^1^

1
src-modules/module/costage/masken/43140_maske_system_bez.unl

@ -0,0 +1 @@
43140^310^

17
src-modules/module/costage/masken/43140_masken_felder_bez.unl

@ -0,0 +1,17 @@
43140^43141^
43140^43142^
43140^43143^
43140^43146^
43140^43147^
43140^43149^
43140^43150^
43140^43151^
43140^43152^
43140^43153^
43140^43154^
43140^43155^
43140^43156^
43140^43160^
43140^43161^
43140^43162^
43140^43163^

133
src-modules/module/costage/masken/43140_maskeninfo.unl

@ -0,0 +1,133 @@
43140^Lehrveranstaltungsteilnahme Datenblatt (CO)^--Freemarker Template\
<#include "SQL_lingua_franca"/>\
<#include "SuperX_general"/>\
<#include "SQL_multitable_output"/>\
\
--ram excelexport \
\
<sqlvars>\
<sqlvar name="get_tables"><![CDATA[\
SELECT distinct name,name\
from sx_tables\
where name in ('costage_st_lv_aggr'\
${DatenblattTables(<<tablestylesheet>>,"<<Weitere Tabellen>>",.vars["Weitere TabellenObject"].allKeys)}\
\
)\
order by 2;]]>\
</sqlvar>\
<sqlvar name="get_table_joins"><![CDATA[\
select table_name || '.' || name || '=' || foreignkey_tab || '.' || foreignkey_col,table_name \
from sx_fields where table_name in ('costage_st_lv_aggr'\
${DatenblattTables(<<tablestylesheet>>,"<<Weitere Tabellen>>",.vars["Weitere TabellenObject"].allKeys)} )\
and foreignkey_tab in ('costage_st_lv_aggr'\
${DatenblattTables(<<tablestylesheet>>,"<<Weitere Tabellen>>",.vars["Weitere TabellenObject"].allKeys)})\
;]]>\
</sqlvar>\
<sqlvar name="get_felder"><![CDATA[\
SELECT name,\
caption,\
(trim(field_type) || '#' || is_primarykey || '#' || trim(string_not_null(foreignkey_tab)) || '#' || trim(string_not_null(foreignkey_col))\
|| '#' || trim(string_not_null(foreignkey_cap))\
|| '#' || trim(string_not_null(foreignkey_cond))\
|| '#' || trim(string_not_null(foreignkey_func))\
|| '#' || trim(string_not_null(table_name))\
|| '#' || trim(string_not_null(foreignkey_uniquename)))::char(255) as strukturStr\
from sx_fields\
where table_name in ('costage_st_lv_aggr'\
${DatenblattTables(<<tablestylesheet>>,"<<Weitere Tabellen>>",.vars["Weitere TabellenObject"].allKeys)}\
)\
and currentlyused=1\
${DatenblattFields(<<tablestylesheet>>,"<<Felder>>",FelderObject.allKeys)}\
order by 2,3;]]>\
</sqlvar>\
<sqlvar name="get_felder_fk"><![CDATA[\
SELECT name,\
caption,\
(trim(table_name)\
|| '#' || trim(string_not_null(foreignkey_tab))\
|| '#' || trim(string_not_null(foreignkey_uniquename)))::char(255) as strukturStr\
from sx_fields\
where table_name in ('costage_st_lv_aggr' ${DatenblattTables(<<tablestylesheet>>,"<<Weitere Tabellen>>",.vars["Weitere TabellenObject"].allKeys)}\
)\
and currentlyused=1\
${DatenblattFields(<<tablestylesheet>>,"<<Felder>>",FelderObject.allKeys)}\
order by 2,3;]]>\
</sqlvar>\
</sqlvars>\
\
<@generate_multitable_list />\
<@generate_field_list_multitable aggregationsfeld="summe" aggregatfunktion="sum(" />\
<@generate_foreign_fields_multitable />\
\
\
<#assign filter="\
/* and costage_st_lv_aggr.st_studiengang_nr in (select G.st_studiengang_nr from costage_st_studiengaenge G where G.abschluss in (<<Abschluss>>)) */\
/* and studiengang_nr =<<Studiengang-Nr.>> */\
/* and costage_st_lv_aggr.st_studstamm_nr in (select S.st_studstamm_nr from costage_st_studierendenstammdaten S where S.st_land1_nr in (<<Staatsangehörigkeit>>) ) */\
/* and costage_st_lv_aggr.st_studstamm_nr in (select S2.st_studstamm_nr from costage_st_studierendenstammdaten S2 where S2.geschlecht = <<Geschlecht>> ) */\
/* and semester >= <<Seit Semester>> */\
/* and semester <= <<Bis Semester>> */\
" />\
\
/* <#assign filter = filter + " and 's_' || costage_st_lv_aggr.st_studiengang_nr in "+Studiengang.allNeededKeysList /> --<<Studiengang>> */ \
\
<#if "<<Matrikel-Nr.>>"!="">\
<#assign filter=filter+" and costage_st_lv_aggr.matrikelnummer in (<<Matrikel-Nr.>>)"?replace("'","")/>\
</#if>\
\
\
<#assign fach_filter="1=1" />\
--Default: TSG\
/* <#assign fach_filter="costage_st_lv_aggr.st_studiengang_nr in (select G.st_studiengang_nr from costage_st_studiengaenge G where G.skz_key in (<<Fach>>)) "/> \
*/\
\
\
<#assign filter=filter +" and " + fach_filter />\
\
<@generate_resultset_multitable tabellen=table_list\
p_show_keys=<<Schlüssel anzeigen>>\
p_field_list_select=field_list_select\
p_foreign_fields=foreign_fields\
p_filter=filter\
p_field_list_groupby=field_list_groupby\
p_join_clause=join_clause\
/>^--Freemarker Template \
<sqlvars>\
<sqlvar name="basetable">select 'costage_st_lv_aggr' from xdummy</sqlvar>\
<sqlvar name="restriction"><![CDATA[\
<#assign restrict=DatenblattTables(<<tablestylesheet>>,"<<Weitere Tabellen>>",.vars["Weitere TabellenObject"].allKeys)/>;\
select '${restrict?replace("\\x0027","\\x0027\\x0027")}' from xdummy;]]>\
</sqlvar>\
<sqlvar name="get_felder"><![CDATA[\
SELECT caption,\
foreignkey_tab,\
description as strukturStr\
from sx_fields\
where table_name in ('${basetable}'\
${restriction}\
)\
and currentlyused=1\
${DatenblattFields(<<tablestylesheet>>,"<<Felder>>",FelderObject.allKeys)}\
order by 1;]]>\
</sqlvar>\
</sqlvars>\
XIL List\
sizable_columns horizontal_scrolling\
white_space_color=COLOR_WHITE fixed_columns=1\
min_heading_height=35\
<#assign i=1 />\
<#if get_felder?has_content >\
<#foreach myfield in get_felder>\
<#assign i=i+1 />\
Column CID=${i} heading_text="${myfield.key}" explanation="${myfield.strukturStr}" center_heading\
row_selectable col_selectable rightJust heading_platform readonly\
width=20\
<#if myfield.name != '' && <<Schlüssel anzeigen>>==1>\
<#assign i=i+1 />\
Column CID=${i} heading_text="${myfield.key}\\n(Schlüssel)" explanation="Schlüssel des Feldes ${myfield.key}" center_heading\
row_selectable col_selectable rightJust heading_platform readonly\
width=20\
</#if>\
</#foreach>\
</#if>\
@@@^Altersgruppe^Anzahl^Lehrveranstaltungen Datenblatt aus CO^drop table tmp_tabelle;^ ^2^700^360^0^1^ ^

1
src-modules/module/costage/masken/43140_sachgeb_maske_bez.unl

@ -0,0 +1 @@
310^43140^

113
src-modules/module/costage/rohdaten/costage_unload.xml

@ -7,6 +7,7 @@
<param name="COSTAGE_start_st_sem" defaultValue="19911" description="Startsemester Studierende"><comment>Ab welchem Semester sollen Studierende entladen werden? z.B. 20011 für SS 2001</comment></param> <param name="COSTAGE_start_st_sem" defaultValue="19911" description="Startsemester Studierende"><comment>Ab welchem Semester sollen Studierende entladen werden? z.B. 20011 für SS 2001</comment></param>
<param name="COSTAGE_start_bw_sem" defaultValue="19911" description="Startsemester Bewerbungen"><comment>Ab welchem Semester sollen Bewerbungen entladen werden? z.B. 20011 für SS 2001</comment></param> <param name="COSTAGE_start_bw_sem" defaultValue="19911" description="Startsemester Bewerbungen"><comment>Ab welchem Semester sollen Bewerbungen entladen werden? z.B. 20011 für SS 2001</comment></param>
<param name="COSTAGE_start_leistungen_sem" defaultValue="19911" description="Startsemester Prüfungen"><comment>Ab welchem Semester sollen Leistungen entladen werden? z.B. 20011 für SS 2001</comment></param> <param name="COSTAGE_start_leistungen_sem" defaultValue="19911" description="Startsemester Prüfungen"><comment>Ab welchem Semester sollen Leistungen entladen werden? z.B. 20011 für SS 2001</comment></param>
<param name="COSTAGE_start_lv_sem" defaultValue="19911" description="Startsemester Lehrveranstaltungen"><comment>Ab welchem Semester sollen Lehrveranstaltungen entladen werden? z.B. 20011 für SS 2001</comment></param>
</parameters> </parameters>
<sourcesystems> <sourcesystems>
<sourcesystem name="co" description="CampusOnline-Datenbank" default="true"/> <sourcesystem name="co" description="CampusOnline-Datenbank" default="true"/>
@ -755,5 +756,117 @@ where hzb_art_stla_code is not null
]]> ]]>
</extraction-sql> </extraction-sql>
</unload-job> </unload-job>
<!--Lehre-->
<unload-job id="px_abgeltungen_v" target-table="costage_abgeltungen" extraction-script="" transfer-unload-file="unl/costage_abgeltungen.unl" >
<comment>Abgeltungen mit Lehraufträgen </comment>
<extraction-sql sourcesystem="co" database="" version="">
<![CDATA[
SELECT la_abg_nr,
stp_sp_nr,
person_nr,
sws_beauftragt_gewichtet,
sws_beauftragt_ungewichtet,
sws_zustandegek_gewichtet,
sws_zustandegek_ungewichtet,
sws_abgehalten_gewichtet,
sws_abgehalten_ungewichtet,
la_typ_code,
la_nr,
la_la_nr,
la_fktn_kurzbezeichnung
FROM px_abgeltungen_v
;
]]>
</extraction-sql>
</unload-job>
<unload-job id="px_gleichheitsknoten_v" target-table="costage_gleichheitsknoten" extraction-script="" transfer-unload-file="unl/costage_gleichheitsknoten.unl" >
<comment>Gleichheitsknoten</comment>
<extraction-sql sourcesystem="co" database="" version="">
<![CDATA[
SELECT ghk_nr,
substr(typ_kurzbezeichnung,0,254) ,
substr(typ_name_de,0,254) ,
substr(typ_name_en,0,254)
FROM px_gleichheitsknoten_v
;
]]>
</extraction-sql>
</unload-job>
<unload-job id="px_lehrveranstaltungen_v" target-table="costage_lehrveranstaltungen" extraction-script="" transfer-unload-file="unl/costage_lehrveranstaltungen.unl" >
<comment>Lehrveranstaltungen und Fach-/Modulprüfungen</comment>
<extraction-sql sourcesystem="co" database="" version="">
<![CDATA[
SELECT L.stp_sp_nr,
L.ghk_nr,
L.titel_de,
L.titel_en,
substr(L.nummer,0,254) ,
L.art_name_de,
L.art_name_en,
L.st_sem_nr,
L.org_nr,
L.sws,
L.ects_credits,
L.anerkennungsobjekt_flag
FROM px_lehrveranstaltungen_v L,px_st_semester_v S
where S.st_sem_nr=L.st_sem_nr
and to_number('20' || replace(replace(S.semester_id,'S','1'),'W','2')) >= $COSTAGE_start_lv_sem
;
]]>
</extraction-sql>
</unload-job>
<unload-job id="px_lv_teilnehmende_v" target-table="costage_lv_teilnehmende" extraction-script="" transfer-unload-file="unl/costage_lv_teilnehmende.unl" >
<comment>Fixplatzanmeldungen</comment>
<extraction-sql sourcesystem="co" database="" version="">
<![CDATA[
SELECT lv_grp_pers_nr,
st_studium_nr,
stp_sp_nr,
lv_grp_name
FROM px_lv_teilnehmende_v
;
]]>
</extraction-sql>
</unload-job>
<!--SPO-->
<unload-job id="px_ergebnisse_v" target-table="costage_ergebnisse" extraction-script="" transfer-unload-file="unl/costage_ergebnisse.unl" >
<comment>Ergebnisse</comment>
<extraction-sql sourcesystem="co" database="" version="">
<![CDATA[
SELECT st_studien_nr,
stp_knoten_nr,
vorart_kb,
flag,
zahl,
text,
datum
FROM px_ergebnisse_v
;
]]>
</extraction-sql>
</unload-job>
<unload-job id="px_studienplankontexte_v" target-table="costage_studienplankontexte" extraction-script="" transfer-unload-file="unl/costage_studienplankontexte.unl" >
<comment>Studienplankontexte</comment>
<extraction-sql sourcesystem="co" database="" version="">
<![CDATA[
SELECT st_studium_nr,
stp_stp_nr,
leistungs_nr,
substr(context_type,0,254) ,
stp_knoten_nr_sichtbar,
ghk_nr
FROM px_studienplankontexte_v
;
]]>
</extraction-sql>
</unload-job>
</superx-unload> </superx-unload>

3
src-modules/module/costage/schluesseltabellen/sx_stylesheets_einfuegen.sql

@ -6,7 +6,8 @@
<#assign masken = [ <#assign masken = [
{"mask":"43040", "filename":"tabelle_html_datenblatt.xsl", "ord":"1"}, {"mask":"43040", "filename":"tabelle_html_datenblatt.xsl", "ord":"1"},
{"mask":"43080", "filename":"tabelle_html_datenblatt.xsl", "ord":"1"}, {"mask":"43080", "filename":"tabelle_html_datenblatt.xsl", "ord":"1"},
{"mask":"43110", "filename":"tabelle_html_datenblatt.xsl", "ord":"1"} {"mask":"43110", "filename":"tabelle_html_datenblatt.xsl", "ord":"1"},
{"mask":"43140", "filename":"tabelle_html_datenblatt.xsl", "ord":"1"}
] /> ] />
<#assign stylesheet = [ <#assign stylesheet = [

Loading…
Cancel
Save