Browse Source

Übergabe COSTAGE an SOS korrigiert

COStage_0.3_Release
Daniel Quathamer 2 years ago
parent
commit
4fd0c79d42
  1. 4
      src-modules/module/costage/conf/costage.xml
  2. 1
      src-modules/module/costage/hilfstabellen/costage_st_studien_aggr_fuellen.sql
  3. 28
      src-modules/module/costage/rohdaten_sos/sos_costage_unload.xml

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

@ -1315,6 +1315,10 @@ parent="CO Basisdaten">Abfragen zu Prüfungen und Leistungen</thema>
<relation-column from="apnr" to="geschlecht" /> <relation-column from="apnr" to="geschlecht" />
<relation-column from="key" to="9003" /> <relation-column from="key" to="9003" />
</relation> </relation>
<relation from="cif" to="costage_st_studierendenstammdaten" delete="FALSE" displayType="select" visibleFields="druck" uniquenameField="" format="%s">
<relation-column from="apnr" to="ca12_staat" />
<relation-column from="key" to="12" />
</relation>
<relation from="costage_st_laender" to="costage_st_studierendenstammdaten" delete="FALSE" <relation from="costage_st_laender" to="costage_st_studierendenstammdaten" delete="FALSE"
displayType="select" visibleFields="name" format="%s"> displayType="select" visibleFields="name" format="%s">
<relation-column from="st_land_nr" to="st_land1_nr" /> <relation-column from="st_land_nr" to="st_land1_nr" />

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

@ -62,6 +62,7 @@ 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 ('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

28
src-modules/module/costage/rohdaten_sos/sos_costage_unload.xml

@ -2511,16 +2511,16 @@ P.matrikelnummer,
P.studiengang_nr, P.studiengang_nr,
P.fach_nr, P.fach_nr,
G.abschluss, G.abschluss,
P.semester_veranst, P.semester,
P.leistungsdatum, P.leistungsdatum,
G.stg, G.skz_key as stg,
null::integer as vert, null::integer as vert,
null::integer as schwp, null::integer as schwp,
G.fachkennzeichen, string_not_null(G.fachkennzeichen),
round(P.note::decimal(15,4),2) as note, round(P.note::decimal(15,4),2) as note,
null::integer as vken1, null::integer as vken1,
null::char(7), --pruefungsamt_nr null::char(7), --pruefungsamt_nr
P.pnr, P.abschnitt as pnr,
val(G.pversion), val(G.pversion),
P.leistungsstatus_map_kb as pstatus, P.leistungsstatus_map_kb as pstatus,
P.fachsemester , P.fachsemester ,
@ -3809,7 +3809,19 @@ SELECT distinct
from cif from cif
where key=9003 where key=9003
and apnr != -999990 and apnr != -999990
union
select 9010,
-1,
2 as apnr,
'Haupt',
'Hauptprüfung' as druck,
'Hauptprüfung' as lang,
null , --astat
null,
'' ,--sortc1
null,
'' --sprache
from xdummy
]]> ]]>
</extraction-sql> </extraction-sql>
@ -5923,7 +5935,7 @@ SELECT substring(G.studiengangs_identifikator from 1 for 10) ,--abstgv,
null::integer,--vglgrp, null::integer,--vglgrp,
K.struktur_c as fb, K.struktur_c as fb,
null::integer,--stutyp, null::integer,--stutyp,
G.fachkennzeichen as kzfa, string_not_null(G.fachkennzeichen) as kzfa,
null::integer,--immsemkz, null::integer,--immsemkz,
null::integer,--kzfaarray, null::integer,--kzfaarray,
null::integer,--stort, null::integer,--stort,
@ -5934,7 +5946,7 @@ SELECT substring(G.studiengangs_identifikator from 1 for 10) ,--abstgv,
null::integer,--prax1fsem, null::integer,--prax1fsem,
null::integer,--prax2fsem, null::integer,--prax2fsem,
abschluss, abschluss,
stg, G.skz_key as stg,
null::integer,--vert, null::integer,--vert,
null::integer,--schwp, null::integer,--schwp,
null::integer,--stuart, null::integer,--stuart,
@ -5949,7 +5961,7 @@ SELECT substring(G.studiengangs_identifikator from 1 for 10) ,--abstgv,
null::integer -- ects null::integer -- ects
FROM costage_st_studiengaenge G, cifx K FROM costage_st_studiengaenge G, cifx K
where K.key=30 where K.key=30
and K.apnr=G.stg and K.apnr=G.skz_key
; ;
]]> ]]>
</extraction-sql> </extraction-sql>

Loading…
Cancel
Save