Browse Source

Geschlossene TSG nie Primärfach, Duplikate vermeiden #10

COStage_0.3_Release
Daniel Quathamer 2 years ago
parent
commit
cc54ffa929
  1. 2
      src-modules/module/costage/conf/costage.xml
  2. 2
      src-modules/module/costage/hilfstabellen/costage_st_studien_aggr_fuellen.sql

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

@ -1187,7 +1187,7 @@ parent="CO Basisdaten">Abfragen zu Prüfungen und Leistungen</thema>
<relation from="costage_land_subregionen" to="costage_st_studien_aggr" delete="FALSE" <relation from="costage_land_subregionen" to="costage_st_studien_aggr" delete="FALSE"
displayType="select" visibleFields="name" format="%s"> displayType="select" visibleFields="name" format="%s">
<relation-column from="nr" to="hzb_ort" /> <relation-column from="land_sub_reg_nr" to="hzb_ort" />
</relation> </relation>
<relation from="costage_st_laender" to="costage_st_studien_aggr" delete="FALSE" <relation from="costage_st_laender" to="costage_st_studien_aggr" delete="FALSE"
displayType="select" visibleFields="name" format="%s"> displayType="select" visibleFields="name" format="%s">

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

@ -230,7 +230,7 @@ S.hrst,
S.hssem, S.hssem,
null::char(10) as statustyp_tsg, null::char(10) as statustyp_tsg,
1 as tsg_generated, 1 as tsg_generated,
S.primaerflag, 0 as primaerflag, --geschlossene TSG können kein Primärflag haben
S.hzb_art, S.hzb_art,
max(S.fachsemester) max(S.fachsemester)
from tmp_studien_msg_tsg_fehlend M, tmp_studien2 S --,costage_st_semester E from tmp_studien_msg_tsg_fehlend M, tmp_studien2 S --,costage_st_semester E

Loading…
Cancel
Save