From f32057d5649447cf1f85d2ed011c62775e8c61c8 Mon Sep 17 00:00:00 2001 From: Daniel Quathamer Date: Mon, 26 May 2025 09:06:42 +0200 Subject: [PATCH] Dashboard beschleunigen mit RPTA-Technik #7 --- src-modules/module/viz/masken/44280_felderinfo.unl | 8 ++++---- src-modules/module/viz/masken/44310_felderinfo.unl | 8 ++++---- src-modules/module/viz/masken/44340_felderinfo.unl | 8 ++++---- src-modules/module/viz/masken/44600_felderinfo.unl | 8 ++++---- .../rpta_column_layout_sos_stud_region_fuellen.sql | 4 ++-- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src-modules/module/viz/masken/44280_felderinfo.unl b/src-modules/module/viz/masken/44280_felderinfo.unl index 972f8a5..3c697c5 100644 --- a/src-modules/module/viz/masken/44280_felderinfo.unl +++ b/src-modules/module/viz/masken/44280_felderinfo.unl @@ -1,16 +1,16 @@ 44280^Spaltenlayout^3000^350^-1^140^180^1^char^30^1^1^<>SELECT uniquename,\ caption\ FROM rpta_column_layout \ -where resultset_id in (select R.tid from rpta_resultset R where R.uniquename in ('sos_stud_astat')\ +where resultset_id in (select R.tid from rpta_resultset R where R.uniquename in ('sos_stud_astat_dashboard')\ and R.systeminfo_id=7)\ -and uniquename in ('sos_stud_fak')\ +and uniquename in ('sos_stud_fak_dashboard')\ order by sortnr, caption\ ;^^<>SELECT uniquename,\ caption\ FROM rpta_column_layout \ -where resultset_id in (select R.tid from rpta_resultset R where R.uniquename in ('sos_stud_astat')\ +where resultset_id in (select R.tid from rpta_resultset R where R.uniquename in ('sos_stud_astat_dashboard')\ and R.systeminfo_id=7)\ -and uniquename in ('sos_stud_fak')\ +and uniquename in ('sos_stud_fak_dashboard')\ order by sortnr, caption limit 1\ ;^ 44281^Seit Semester^10^0^0^140^80^1^integer^30^0^1^<> select tid, eintrag from semester order by tid DESC;^ ^<> select tid,eintrag from semester where today() between sem_beginn and sem_ende;^ diff --git a/src-modules/module/viz/masken/44310_felderinfo.unl b/src-modules/module/viz/masken/44310_felderinfo.unl index 70a8b93..e9b7708 100644 --- a/src-modules/module/viz/masken/44310_felderinfo.unl +++ b/src-modules/module/viz/masken/44310_felderinfo.unl @@ -1,16 +1,16 @@ 44310^Spaltenlayout^3000^350^-1^140^180^1^char^30^1^1^<>SELECT uniquename,\ caption\ FROM rpta_column_layout \ -where resultset_id in (select R.tid from rpta_resultset R where R.uniquename in ('sos_stud_astat')\ +where resultset_id in (select R.tid from rpta_resultset R where R.uniquename in ('sos_stud_astat_dashboard')\ and R.systeminfo_id=7)\ -and uniquename in ('sos_stud_abgrp','sos_stud_la')\ +and uniquename in ('sos_stud_abgrp_dashboard','sos_stud_la_dashboard')\ order by sortnr, caption\ ;^^<>SELECT uniquename,\ caption\ FROM rpta_column_layout \ -where resultset_id in (select R.tid from rpta_resultset R where R.uniquename in ('sos_stud_astat')\ +where resultset_id in (select R.tid from rpta_resultset R where R.uniquename in ('sos_stud_astat_dashboard')\ and R.systeminfo_id=7)\ -and uniquename in ('sos_stud_abgrp')\ +and uniquename in ('sos_stud_abgrp_dashboard')\ order by sortnr, caption limit 1\ ;^ 44311^Seit Semester^10^0^0^140^80^1^integer^30^0^1^<> select tid, eintrag from semester order by tid DESC;^ ^<> select tid,eintrag from semester where today() between sem_beginn and sem_ende;^ diff --git a/src-modules/module/viz/masken/44340_felderinfo.unl b/src-modules/module/viz/masken/44340_felderinfo.unl index 02b0fe8..ddba88e 100644 --- a/src-modules/module/viz/masken/44340_felderinfo.unl +++ b/src-modules/module/viz/masken/44340_felderinfo.unl @@ -1,16 +1,16 @@ 44340^Spaltenlayout^3000^350^-1^140^180^1^char^30^1^1^<>SELECT uniquename,\ caption\ FROM rpta_column_layout \ -where resultset_id in (select R.tid from rpta_resultset R where R.uniquename in ('sos_stud_astat')\ +where resultset_id in (select R.tid from rpta_resultset R where R.uniquename in ('sos_stud_astat_dashboard')\ and R.systeminfo_id=7)\ -and uniquename in ('sos_stud_bildungstyp')\ +and uniquename in ('sos_stud_bildungstyp_dashboard')\ order by sortnr, caption\ ;^^<>SELECT uniquename,\ caption\ FROM rpta_column_layout \ -where resultset_id in (select R.tid from rpta_resultset R where R.uniquename in ('sos_stud_astat')\ +where resultset_id in (select R.tid from rpta_resultset R where R.uniquename in ('sos_stud_astat_dashboard')\ and R.systeminfo_id=7)\ -and uniquename in ('sos_stud_bildungstyp')\ +and uniquename in ('sos_stud_bildungstyp_dashboard')\ order by sortnr, caption limit 1\ ;^ 44341^Seit Semester^10^0^0^140^80^1^integer^30^0^1^<> select tid, eintrag from semester order by tid DESC;^ ^<> select tid,eintrag from semester where today() between sem_beginn and sem_ende;^ diff --git a/src-modules/module/viz/masken/44600_felderinfo.unl b/src-modules/module/viz/masken/44600_felderinfo.unl index 7f37255..eb0c1b2 100644 --- a/src-modules/module/viz/masken/44600_felderinfo.unl +++ b/src-modules/module/viz/masken/44600_felderinfo.unl @@ -1,16 +1,16 @@ 44600^Spaltenlayout^3000^350^-1^140^180^1^char^30^1^1^<>SELECT uniquename,\ caption\ FROM rpta_column_layout \ -where resultset_id in (select R.tid from rpta_resultset R where R.uniquename in ('sos_stud_astat')\ +where resultset_id in (select R.tid from rpta_resultset R where R.uniquename in ('sos_stud_astat_dashboard')\ and R.systeminfo_id=7)\ -and (uniquename like 'sos_stud_%_bland' or uniquename like 'sos_stud_%_lkreis')\ +and (uniquename like 'sos_stud_%_bland_dashboard' or uniquename like 'sos_stud_%_lkreis')\ order by sortnr, caption\ ;^ ^<>SELECT uniquename,\ caption\ FROM rpta_column_layout \ -where resultset_id in (select R.tid from rpta_resultset R where R.uniquename in ('sos_stud_astat')\ +where resultset_id in (select R.tid from rpta_resultset R where R.uniquename in ('sos_stud_astat_dashboard')\ and R.systeminfo_id=7)\ -and uniquename in ('sos_stud_hzb_bland')\ +and uniquename in ('sos_stud_hzb_bland_dashboard')\ order by sortnr, caption limit 1\ ;^ 44601^Seit Semester^10^0^0^140^80^1^integer^30^0^1^<> select tid, eintrag from semester order by tid DESC;^ ^<> select tid,eintrag from semester where today() between sem_beginn and sem_ende;^ diff --git a/src-modules/module/viz/schluesseltabellen/rpta_column_layout_sos_stud_region_fuellen.sql b/src-modules/module/viz/schluesseltabellen/rpta_column_layout_sos_stud_region_fuellen.sql index 1128879..ec34e34 100644 --- a/src-modules/module/viz/schluesseltabellen/rpta_column_layout_sos_stud_region_fuellen.sql +++ b/src-modules/module/viz/schluesseltabellen/rpta_column_layout_sos_stud_region_fuellen.sql @@ -5,9 +5,9 @@ select count(*) from systeminfo where tid=330; <#assign rpta_column_layout = -{"uniquename":"sos_stud_hzb_bland", +{"uniquename":"sos_stud_hzb_bland_dashboard", "caption":"Studierende nach HZB-Bundesland", -"rpta_resultset":"sos_stud_astat", +"rpta_resultset":"sos_stud_astat_dashboard", "whereclause":"", "description":"Studierende nach HZB-Bundesland" }