Browse Source

Enladen klin. Semester, Umgang mit gleichzeitigen Statusänderungen #23

COStage_0.6_Release
Daniel Quathamer 4 months ago
parent
commit
a93bb1d706
  1. 4
      src-modules/module/costage/hilfstabellen/costage_st_studien_aggr_fuellen.sql
  2. 2
      src-modules/module/costage/rohdaten/db-co.properties.sam
  3. 2
      src-modules/module/costage/rohdaten_sos/sos_costage_unload.xml

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

@ -63,7 +63,7 @@ null::integer as hzb_jahr,
null::date as hzb_datum , null::date as hzb_datum ,
null::decimal(14,7) as hzb_note, null::decimal(14,7) as hzb_note,
null::char(10) as abm_art_s, null::char(10) as abm_art_s,
rank () over (partition by SM.st_sem_nr, S.st_studstamm_nr, SG.studiengangs_identifikator order by SA.gueltig_ab desc) as status_historie rank () over (partition by SM.st_sem_nr, S.st_studstamm_nr, SG.studiengangs_identifikator order by SA.gueltig_ab desc,SA.studienstatustyp desc) as status_historie
--rank () over (partition by SM.st_sem_nr, S.st_studstamm_nr, SG.studiengangs_identifikator order by (case when SA.gueltig_ab =SM.semester_ende then date_val('01.01.1900') else SA.gueltig_ab end) desc) as status_historie --rank () over (partition by SM.st_sem_nr, S.st_studstamm_nr, SG.studiengangs_identifikator order by (case when SA.gueltig_ab =SM.semester_ende then date_val('01.01.1900') else SA.gueltig_ab end) desc) as status_historie
into temp tmp_studien into temp tmp_studien
FROM costage_st_studierendenstammdaten S, FROM costage_st_studierendenstammdaten S,
@ -88,7 +88,7 @@ and (SA.studienstatustyp not in ('Z','X') or (
and SA.gueltig_ab <= today() and SA.gueltig_ab <= today()
and date(SA.gueltig_ab) < date(SM.semester_ende) and date(SA.gueltig_ab) < date(SM.semester_ende)
)) --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 )) --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','z')
--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
and ${COSTAGE_STUDENT_FILTER} and ${COSTAGE_STUDENT_FILTER}
and SM.semester_tid >= ${beginn_semester} and SM.semester_tid >= ${beginn_semester}

2
src-modules/module/costage/rohdaten/db-co.properties.sam

@ -3,7 +3,7 @@ driverName=oracle.jdbc.OracleDriver
maxIdle= maxIdle=
logLevelXML=FINEST logLevelXML=FINEST
maxActive= maxActive=
connectionName=CO_INTERFACE_PX_SUPERX connectionName=CO_INTERFACE_PUBLIC_EXTERNAL
minIdle=5 minIdle=5
logLevelSQL=FINEST logLevelSQL=FINEST
connectionURL=jdbc\:oracle\:thin\:@192.168.0.11\:1521\:coprod connectionURL=jdbc\:oracle\:thin\:@192.168.0.11\:1521\:coprod

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

@ -217,7 +217,7 @@ F.hssem,
(case when praxissemester >0 then '3' else '' end) as stuart, (case when praxissemester >0 then '3' else '' end) as stuart,
'' ,--stutyp, '' ,--stutyp,
F.stufrm, F.stufrm,
'' ,--stort, G.stort_nr ,--stort,
F.ruebeudat, F.ruebeudat,
null::char(1) ,--semgewicht, null::char(1) ,--semgewicht,
null::char(1) ,--stggewicht, null::char(1) ,--stggewicht,

Loading…
Cancel
Save