Browse Source

new tables in student domain #5

COStage_0.3_Release
Daniel Quathamer 3 years ago
parent
commit
804954af38
  1. 18
      README.md
  2. 159
      src-modules/module/costage/conf/costage.xml
  3. 212
      src-modules/module/costage/rohdaten/costage_unload.xml

18
README.md

@ -2,23 +2,19 @@ Nach dem Auschecken des Repository z.B. in /home/superx/git können Sie es wie f @@ -2,23 +2,19 @@ Nach dem Auschecken des Repository z.B. in /home/superx/git können Sie es wie f
#Installieren Sie ant, z.B. in /home/superx/tools
wget https://dlcdn.apache.org/ant/binaries/apache-ant-1.10.12-bin.tar.gz
wget https://dlcdn.apache.org/ant/binaries/apache-ant-1.10.12-bin.tar.gz
#Ergänzen Sie die SQL_ENV um die Zeilen
ANT_HOME=/home/superx/tools/apache-ant-1.10.12
export ANT_HOME
PATH=$PATH:$ANT_HOME/bin
export PATH
ANT_HOME=/home/superx/tools/apache-ant-1.10.12
export ANT_HOME
PATH=$PATH:$ANT_HOME/bin
export PATH
#Dann gehen Sie ins Verzeichnis
cd git/COSTAGE
cd git/COSTAGE
#und führen aus:
ant -DMODULE_PATH=$COSTAGE_PFAD -DBASE_DIR=. -DWEBAPP=$WEBAPP -DMODULE=costage all
ant -DMODULE_PATH=$COSTAGE_PFAD -DBASE_DIR=. -DWEBAPP=$WEBAPP -DMODULE=costage all

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

@ -846,8 +846,155 @@ rightname="CS_BIA_STANDARDREPORTS_ADMIN[CO]" /> @@ -846,8 +846,155 @@ rightname="CS_BIA_STANDARDREPORTS_ADMIN[CO]" />
</row>
</rs></privileges>
</table>
<!-- neu am 25.3.3022-->
<table name="costage_st_adressen" thema="Studierende und Gebühren" caption="Studierende Adressen (CO)" typ="Datentabelle" releaseUnload="empty">
<columns><column name="st_adresse_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="st_adresse_typ" type ="VARCHAR" size ="1" default ="" notnull ="true" />
<column name="st_studstamm_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="zustellhinweis" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="strasse" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="plz" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="ort" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="st_land_nr" type ="INTEGER" size ="4" default ="" notnull ="false" />
<column name="land_kfz_kennzeichen" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="land_kfz_kennzeichen_subregion" type ="VARCHAR" size ="255" default ="" notnull ="false" />
</columns>
<indexes></indexes>
<primaryKeys><rs>
</rs></primaryKeys>
<foreignKeys><rs>
</rs></foreignKeys>
<importedKeys><rs>
</rs></importedKeys>
<privileges><rs>
</rs></privileges>
</table>
<table name="costage_st_urlaube" thema="Studierende und Gebühren" caption="Studierende Beurlaubungen (CO)" typ="Datentabelle" releaseUnload="empty">
<columns><column name="st_urlaub_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="st_urlaub_typ_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="st_studstamm_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="st_sem_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="st_studium_nr" type ="INTEGER" size ="4" default ="" notnull ="false" />
</columns>
<indexes></indexes>
<primaryKeys><rs>
</rs></primaryKeys>
<foreignKeys><rs>
</rs></foreignKeys>
<importedKeys><rs>
</rs></importedKeys>
<privileges><rs>
</rs></privileges>
</table>
<table name="costage_st_urlaubs_typen" thema="Studierende und Gebühren" caption="Urlaubstypen (CO)" typ="Schlüsseltabelle" releaseUnload="empty">
<columns><column name="st_urlaub_typ_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="name" type ="VARCHAR" size ="255" default ="" notnull ="true" />
<column name="kurzbezeichnung" type ="VARCHAR" size ="255" default ="" notnull ="true" />
<column name="statistik_code" type ="VARCHAR" size ="1" default ="" notnull ="false" />
</columns>
<indexes></indexes>
<primaryKeys><rs>
</rs></primaryKeys>
<foreignKeys><rs>
</rs></foreignKeys>
<importedKeys><rs>
</rs></importedKeys>
<privileges><rs>
</rs></privileges>
</table>
<table name="costage_st_abmeldungsarten" thema="Studierende und Gebühren" caption="Abmeldungsarten (CO)" typ="Schlüsseltabelle" releaseUnload="empty">
<columns><column name="st_abm_art_kurzbezeichnung" type ="VARCHAR" size ="255" default ="" notnull ="true" />
<column name="name" type ="VARCHAR" size ="255" default ="" notnull ="true" />
<column name="name_lang" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="bezug" type ="VARCHAR" size ="1" default ="" notnull ="false" />
<column name="statistik_code" type ="VARCHAR" size ="2" default ="" notnull ="false" />
</columns>
<indexes></indexes>
<primaryKeys><rs>
</rs></primaryKeys>
<foreignKeys><rs>
</rs></foreignKeys>
<importedKeys><rs>
</rs></importedKeys>
<privileges><rs>
</rs></privileges>
</table>
<table name="costage_st_personen_abmeldungen" thema="Studierende und Gebühren" caption="Studierende Abmeldungen (CO)" typ="Datentabelle" releaseUnload="empty">
<columns><column name="st_person_abmeldung_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="st_studstamm_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="st_studium_nr" type ="INTEGER" size ="4" default ="" notnull ="false" />
<column name="st_sem_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="st_abm_art_kurzbezeichung" type ="VARCHAR" size ="255" default ="" notnull ="true" />
<column name="person_flag" type ="VARCHAR" size ="1" default ="" notnull ="true" />
<column name="st_studienstatus_nr" type ="INTEGER" size ="4" default ="" notnull ="false" />
</columns>
<indexes></indexes>
<primaryKeys><rs>
</rs></primaryKeys>
<foreignKeys><rs>
</rs></foreignKeys>
<importedKeys><rs>
</rs></importedKeys>
<privileges><rs>
</rs></privileges>
</table>
<table name="costage_st_ersthochschulen" thema="Studierende und Gebühren" caption="Studierende Ersthochschule (CO)" typ="Datentabelle" releaseUnload="empty">
<columns><column name="st_studstamm_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="unikey_ersthochschule" type ="VARCHAR" size ="255" default ="" notnull ="false" />
</columns>
<indexes></indexes>
<primaryKeys><rs>
</rs></primaryKeys>
<foreignKeys><rs>
</rs></foreignKeys>
<importedKeys><rs>
</rs></importedKeys>
<privileges><rs>
</rs></privileges>
</table>
<table name="costage_st_hochschulsemester" thema="Studierende und Gebühren" caption="Studierende Hochschulsemester (CO)" typ="Datentabelle" releaseUnload="empty">
<columns><column name="st_studstamm_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="st_sem_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="anzahl_hochschulsemester" type ="INTEGER" size ="4" default ="" notnull ="false" />
</columns>
<indexes></indexes>
<primaryKeys><rs>
</rs></primaryKeys>
<foreignKeys><rs>
</rs></foreignKeys>
<importedKeys><rs>
</rs></importedKeys>
<privileges><rs>
</rs></privileges>
</table>
<table name="costage_leistungen_status_typen" thema="Prüfungen und Leistungen" caption="Leistungsstati Typen (CO)" typ="Schlüsseltabelle" releaseUnload="empty">
<columns><column name="leistungsstatus_nr" type ="INTEGER" size ="4" default ="" notnull ="true" />
<column name="kurzbezeichnung" type ="VARCHAR" size ="255" default ="" notnull ="true" />
<column name="name_de" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="name_en" type ="VARCHAR" size ="255" default ="" notnull ="false" />
</columns>
<indexes></indexes>
<primaryKeys><rs>
</rs></primaryKeys>
<foreignKeys><rs>
</rs></foreignKeys>
<importedKeys><rs>
</rs></importedKeys>
<privileges><rs>
</rs></privileges>
</table>
<views>
@ -1021,6 +1168,18 @@ parent="CO Basisdaten">Abfragen zu Prüfungen und Leistungen</thema> @@ -1021,6 +1168,18 @@ parent="CO Basisdaten">Abfragen zu Prüfungen und Leistungen</thema>
<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_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_urlaubs_typen"><file path="$COSTAGE_LOAD_PFAD/unl/costage_st_urlaubs_typen.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="costage_st_abmeldungsarten"><file path="$COSTAGE_LOAD_PFAD/unl/costage_st_abmeldungsarten.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="costage_st_personen_abmeldungen"><file path="$COSTAGE_LOAD_PFAD/unl/costage_st_personen_abmeldungen.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="costage_st_ersthochschulen"><file path="$COSTAGE_LOAD_PFAD/unl/costage_st_ersthochschulen.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="costage_st_hochschulsemester"><file path="$COSTAGE_LOAD_PFAD/unl/costage_st_hochschulsemester.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_antritte"><file path="$COSTAGE_LOAD_PFAD/unl/costage_antritte.unl"/></loadtable>
<nativeaction sql="" scriptfile="$COSTAGE_PFAD/schluesseltabellen/cifx_fuellen.sql" database=""/>
</action>
</etl-step>

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

@ -485,5 +485,217 @@ FROM st_studienformen_v @@ -485,5 +485,217 @@ FROM st_studienformen_v
</extraction-sql>
</unload-job>
<!--neu ab 25.3.2022-->
<unload-job id="px_st_adressen_v" extraction-table="" extraction-script="" transfer-unload-file="unl/costage_st_adressen.unl" >
<comment> </comment>
<extraction-sql sourcesystem="co" database="" version="">
<![CDATA[
SELECT st_adresse_nr,
st_adresse_typ,
st_studstamm_nr,
zustellhinweis,
strasse,
plz,
ort,
st_land_nr,
land_kfz_kennzeichen,
land_kfz_kennzeichen_subregion
FROM px_st_adressen_v
;
]]>
</extraction-sql>
</unload-job>
<unload-job id="px_st_urlaube_v" extraction-table="" extraction-script="" transfer-unload-file="unl/costage_st_urlaube.unl" >
<comment> </comment>
<extraction-sql sourcesystem="co" database="" version="">
<![CDATA[
SELECT st_urlaub_nr,
st_urlaub_typ_nr,
st_studstamm_nr,
st_sem_nr,
st_studium_nr
FROM px_st_urlaube_v
;
]]>
</extraction-sql>
</unload-job>
<unload-job id="px_st_urlaubs_typen_v" extraction-table="" extraction-script="" transfer-unload-file="unl/costage_st_urlaubs_typen.unl" >
<comment> </comment>
<extraction-sql sourcesystem="co" database="" version="">
<![CDATA[
SELECT st_urlaub_typ_nr,
name,
kurzbezeichnung,
statistik_code
FROM px_st_urlaubs_typen_v
;
]]>
</extraction-sql>
</unload-job>
<unload-job id="px_st_abmeldungsarten_v" extraction-table="" extraction-script="" transfer-unload-file="unl/costage_st_abmeldungsarten.unl" >
<comment> </comment>
<extraction-sql sourcesystem="co" database="" version="">
<![CDATA[
SELECT st_abm_art_kurzbezeichnung,
name,
name_lang,
bezug,
statistik_code
FROM px_st_abmeldungsarten_v
;
]]>
</extraction-sql>
</unload-job>
<unload-job id="px_st_personen_abmeldungen_v" extraction-table="" extraction-script="" transfer-unload-file="unl/costage_st_personen_abmeldungen.unl" >
<comment> </comment>
<extraction-sql sourcesystem="co" database="" version="">
<![CDATA[
SELECT st_person_abmeldung_nr,
st_studstamm_nr,
st_studium_nr,
st_sem_nr,
st_abm_art_kurzbezeichung,
person_flag,
st_studienstatus_nr
FROM px_st_personen_abmeldungen_v
;
]]>
</extraction-sql>
</unload-job>
<unload-job id="px_st_ersthochschulen_v" extraction-table="" extraction-script="" transfer-unload-file="unl/costage_st_ersthochschulen.unl" >
<comment> </comment>
<extraction-sql sourcesystem="co" database="" version="">
<![CDATA[
SELECT st_studstamm_nr,
unikey_ersthochschule
FROM px_st_ersthochschulen_v
;
]]>
</extraction-sql>
</unload-job>
<unload-job id="px_st_hochschulsemester_v" extraction-table="" extraction-script="" transfer-unload-file="unl/costage_st_hochschulsemester.unl" >
<comment> </comment>
<extraction-sql sourcesystem="co" database="" version="">
<![CDATA[
SELECT st_studstamm_nr,
st_sem_nr,
anzahl_hochschulsemester
FROM px_st_hochschulsemester_v
;
]]>
</extraction-sql>
</unload-job>
<unload-job id="px_leistungen_v" extraction-table="" extraction-script="" transfer-unload-file="unl/costage_leistungen.unl" >
<comment>klappt noch nicht:
SELECT leistung_nr,
leistungstyp_nr,
leistungsdetailtyp_kb,
matrikelnummer,
vorname,
nachname,
st_studium_nr,
studienidentifikator,
spov_abschluss,
stp_sp_nr,
veranstaltung_nummer,
veranstaltung_semester,
veranstaltung_titel,
veranstaltung_art,
semesterstunden,
unterrichtseinheiten,
thema_individuell,
pv_notenskala_nr,
note,
note_name,
note_zahl,
pv_pruef_zusatz_typen_nr,
note_zusatz,
note_zusatz_name,
note_positiv_flag,
note_negativ_flag,
pv_notenskala_typ_nr,
pv_notenskala_typ_kb,
pv_notenskala_typ_name,
credits,
leistungsdatum,
anerkannt_flag,
zusatzleistung_flag,
leistungsstatus_nr
FROM px_leistungen_v
;</comment>
<extraction-sql sourcesystem="co" database="" version="">
<![CDATA[
SELECT *
FROM px_st_semester_v
where 1=0
;
]]>
</extraction-sql>
</unload-job>
<unload-job id="px_leistungen_detail_typen_v" extraction-table="" extraction-script="" transfer-unload-file="unl/costage_leistungen_detail_typen.unl" >
<comment> </comment>
<extraction-sql sourcesystem="co" database="" version="">
<![CDATA[
SELECT leistungsdetailtyp_kb,
substr(name_de,1, 255),
substr(name_en,1, 255),
name_zusatz_de,
name_zusatz_en,
sortierung
FROM px_leistungen_detail_typen_v
;
]]>
</extraction-sql>
</unload-job>
<unload-job id="px_leistungen_typen_v" extraction-table="" extraction-script="" transfer-unload-file="unl/costage_leistungen_typen.unl" >
<comment> </comment>
<extraction-sql sourcesystem="co" database="" version="">
<![CDATA[
SELECT leistungstyp_nr,
kurzbezeichnung,
substr(name_de,1, 255),
substr(name_en,1, 255)
FROM px_leistungen_typen_v
;
]]>
</extraction-sql>
</unload-job>
<unload-job id="px_antritte_v" extraction-table="" extraction-script="" transfer-unload-file="unl/costage_antritte.unl" >
<comment> </comment>
<extraction-sql sourcesystem="co" database="" version="">
<![CDATA[
SELECT leistung_nr,
pruefungsantritt_spo,
pruefungsantritt_lv_prv,
pruefungsantritt_index_lv_prv
FROM px_antritte_v
where 1=0
;
]]>
</extraction-sql>
</unload-job>
<unload-job id="px_leistungen_status_typen_v" extraction-table="" extraction-script="" transfer-unload-file="unl/costage_leistungen_status_typen.unl" >
<comment> </comment>
<extraction-sql sourcesystem="co" database="" version="">
<![CDATA[
SELECT leistungsstatus_nr,
kurzbezeichnung,
substr(name_de,1, 255),
substr(name_en,1, 255)
FROM px_leistungen_status_typen_v
;
]]>
</extraction-sql>
</unload-job>
</superx-unload>

Loading…
Cancel
Save