From ced8535b0c6ecbfde54f4bb77c9f2bbd391652af Mon Sep 17 00:00:00 2001 From: Imo John Date: Fri, 27 Nov 2026 07:48:56 +0100 Subject: [PATCH] =?UTF-8?q?Erweiterung=20fuer=20Kennzeichen=20storniert=20?= =?UTF-8?q?und=20zur=C3=BCckgezogen=20bei=20Bewerbungen=20#381809?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-modules/module/costage/conf/costage.xml | 2 ++ .../hilfstabellen/costage_bw_antr_aggr_fuellen.sql | 10 +++++++++- src-modules/module/costage/rohdaten/costage_unload.xml | 2 +- .../module/costage/rohdaten_zul/zul_costage_unload.xml | 4 +++- 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src-modules/module/costage/conf/costage.xml b/src-modules/module/costage/conf/costage.xml index 9031c23..397a4bf 100644 --- a/src-modules/module/costage/conf/costage.xml +++ b/src-modules/module/costage/conf/costage.xml @@ -830,6 +830,8 @@ rightname="CS_BIA_STANDARDREPORTS_ADMIN[CO]" /> + + diff --git a/src-modules/module/costage/hilfstabellen/costage_bw_antr_aggr_fuellen.sql b/src-modules/module/costage/hilfstabellen/costage_bw_antr_aggr_fuellen.sql index 5095ab2..6d4d62d 100644 --- a/src-modules/module/costage/hilfstabellen/costage_bw_antr_aggr_fuellen.sql +++ b/src-modules/module/costage/hilfstabellen/costage_bw_antr_aggr_fuellen.sql @@ -61,6 +61,8 @@ null::char(10) as bew_kz, null::char(10) as zul_kz, null::char(10) as annahme_kz, null::char(10) as einschreib_kz, +null::char(10) as zurueckgezogen_kz, -- where zurueckgezogen_am is not null +null::char(10) as storniert_kz, -- where storniert_am is not null null::CHAR(10) as hzb_art , null::DATE as hzb_datum , null::FLOAT as hzb_note , @@ -195,6 +197,8 @@ update tmp_bew set einschreib_kz='J' where status_evs='J' ; +update tmp_bew set zurueckgezogen_kz='J' where zurueckgezogen_am is not null; +update tmp_bew set storniert_kz='J' where storniert_am is not null; --TODO: update tmp_bew @@ -237,6 +241,8 @@ bew_kz, zul_kz, annahme_kz, einschreib_kz, +zurueckgezogen_kz, +storniert_kz, hzb_art, hzb_datum, hzb_note, @@ -266,6 +272,8 @@ bew_kz, zul_kz, annahme_kz, einschreib_kz, +zurueckgezogen_kz, +storniert_kz, hzb_art, hzb_datum, hzb_note, @@ -273,7 +281,7 @@ hzb_ort, hzb_staat, count(*) from tmp_bew - 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,28,29,30,31; + 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,28,29,30,31,32,33; drop table tmp_bew; diff --git a/src-modules/module/costage/rohdaten/costage_unload.xml b/src-modules/module/costage/rohdaten/costage_unload.xml index 4f3f37f..e6e7a84 100644 --- a/src-modules/module/costage/rohdaten/costage_unload.xml +++ b/src-modules/module/costage/rohdaten/costage_unload.xml @@ -413,7 +413,7 @@ and to_number('20' || replace(replace(S.semester_id,'S','1'),'W','2')) >= $COSTA and current_date+365 > S.semester_anfang and extract(year from S.semester_anfang) > 2000 and B.abgeschickt_datum is not null --TUG: abgeschickt_datum = Null sind zu filtern. Diese wurden dann nie an die Hochschule übermittelt. -and B.zurueckgezogen_am is null +--and B.zurueckgezogen_am is null ; ]]> diff --git a/src-modules/module/costage/rohdaten_zul/zul_costage_unload.xml b/src-modules/module/costage/rohdaten_zul/zul_costage_unload.xml index 41bdff2..abbf5aa 100644 --- a/src-modules/module/costage/rohdaten_zul/zul_costage_unload.xml +++ b/src-modules/module/costage/rohdaten_zul/zul_costage_unload.xml @@ -277,7 +277,9 @@ A.nr as satzid, null, -- pversion null, --zvs_ekritpaket_01, null , --zvs_ekritpaket_02 - null --updated_admission_relevant_data_at + null --updated_admission_relevant_data_at, + A.zurueckgezogen_kz, + A.storniert_kz FROM costage_bw_antr_aggr A, costage_st_studiengaenge G where A.st_studiengang_nr=G.st_studiengang_nr and A.bw_typ_kb !='MBW'