Compare commits

..

No commits in common. 'master' and 'qa_0.6_Release' have entirely different histories.

  1. 2
      rsync_to_superx.x
  2. 2
      src-modules/module/qa/conf/includes.txt
  3. 126
      src-modules/module/qa/conf/qa.xml
  4. 12
      src-modules/module/qa/datentabellen/qa_dbtest_ausfuehren.sql
  5. 3
      src-modules/module/qa/datentabellen/vacuum_pg.sql
  6. 351
      src-modules/module/qa/hilfstabellen/qa_sos_stg_aggr_astat_fuellen.sql
  7. 63
      src-modules/module/qa/hilfstabellen/qa_sos_stg_aggr_int_fuellen.sql
  8. 1
      src-modules/module/qa/masken/37020_felderinfo.unl
  9. 1
      src-modules/module/qa/masken/37020_masken_felder_bez.unl
  10. 5
      src-modules/module/qa/masken/37020_maskeninfo.unl
  11. 24
      src-modules/module/qa/masken/37060_felderinfo.unl
  12. 337
      src-modules/module/qa/masken/37060_maskeninfo.unl
  13. 11
      src-modules/module/qa/masken/37180_felderinfo.unl
  14. 1
      src-modules/module/qa/masken/37180_maske_system_bez.unl
  15. 9
      src-modules/module/qa/masken/37180_masken_felder_bez.unl
  16. 75
      src-modules/module/qa/masken/37180_maskeninfo.unl
  17. 1
      src-modules/module/qa/masken/37180_sachgeb_maske_bez.unl
  18. 2
      src-modules/module/qa/qa_mask_execution_loop.x
  19. 141
      src-modules/module/qa/schluesseltabellen/qa_tablecomp_profile_sos_stud_astat_fuellen.sql
  20. 141
      src-modules/module/qa/schluesseltabellen/qa_tablecomp_profile_sos_stud_astat_nach_fach_abschluss_s0_fuellen.sql
  21. 141
      src-modules/module/qa/schluesseltabellen/qa_tablecomp_profile_sos_stud_astat_nach_fach_abschluss_s1_fuellen.sql
  22. 4
      src-modules/module/qa/upgrade/qa_pre_upgrade_ids.sql
  23. 4
      src-modules/module/qa/upgrade/qa_pre_upgrade_pg.sql
  24. 5
      src-modules/module/qa/upgrade/qa_upgrade_man.sql
  25. 11
      superx/WEB-INF/conf/edustore/db/bin/qa_tc_execution_mail.x
  26. BIN
      superx/WEB-INF/lib_ext/superx5.0_fuer_h1.jar
  27. 68
      superx/WEB-INF/reports/qa_table.jrtx
  28. 147
      superx/WEB-INF/reports/tabelle_37020_mit_summary.jrxml

2
rsync_to_superx.x

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
#Synchronisierung webapp zum Zielpfad #Synchronisierung webapp zum Zielpfad
ant -DMODULE_PATH=$QA_PFAD -DBASE_DIR=. -DMODULE=qa all ant -DMODULE_PATH=$MEINMODUL_PFAD -DBASE_DIR=. -DMODULE=meinmodul all

2
src-modules/module/qa/conf/includes.txt

@ -3,7 +3,5 @@ WEB-INF/conf/edustore/db/bin/SQL_ENV_qa.sam
WEB-INF/conf/edustore/db/bin/qa_mask_execution.x WEB-INF/conf/edustore/db/bin/qa_mask_execution.x
WEB-INF/conf/edustore/db/bin/qa_tc_execution_mail.x WEB-INF/conf/edustore/db/bin/qa_tc_execution_mail.x
WEB-INF/lib/superx-qa.jar WEB-INF/lib/superx-qa.jar
WEB-INF/lib_ext/superx5.0_fuer_h1.jar
WEB-INF/reports/qa_table.jrtx
WEB-INF/reports/tabelle_37020_mit_summary.jrxml WEB-INF/reports/tabelle_37020_mit_summary.jrxml
xml/tabelle_html_qa.xsl xml/tabelle_html_qa.xsl

126
src-modules/module/qa/conf/qa.xml

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!--<!DOCTYPE module SYSTEM "../../../conf/superx-module.dtd"> --> <!--<!DOCTYPE module SYSTEM "../../../conf/superx-module.dtd"> -->
<module name="qa" version="0.7" sachgebiet_id="260" <module name="qa" version="0.6" sachgebiet_id="260"
sachgebiet="Qualitätssicherung" systeminfo_id="260" sachgebiet="Qualitätssicherung" systeminfo_id="260"
system="Qualitätssicherung" thema="Qualitätssicherung" thema_parent="Abfragen"> system="Qualitätssicherung" thema="Qualitätssicherung" thema_parent="Abfragen">
<database name="superx" version="3.0" system="superx"> <database name="superx" version="3.0" system="superx">
@ -95,11 +95,9 @@ notnull="false" currentlyUsed="false">
<comment></comment> <comment></comment>
</column> </column>
<column name="uniquename" type="VARCHAR" size="255" default="" description="Schlüssel" <column name="uniquename" type="VARCHAR" size="255" default="" description="Schlüssel"
notnull="true" > notnull="false" >
<comment></comment> <comment></comment>
</column> </column>
<column name="created_at" type ="DATE" size ="5" default ="" notnull ="false" description="Erzeugt am"/>
</columns> </columns>
<primaryKeys> <primaryKeys>
<rs> <rs>
@ -112,10 +110,6 @@ notnull="true" >
<fld name='pk_name'>pk_qa_mask_execution1</fld> <fld name='pk_name'>pk_qa_mask_execution1</fld>
</row> </row>
</rs></primaryKeys> </rs></primaryKeys>
<indexes><index name="ix_qa_mask_execution_uniquename" type="unique">
<index-column name="uniquename"/>
</index>
</indexes>
<!-- TODO indices--> <!-- TODO indices-->
</table> </table>
<table name="qa_mask_field_sel" thema="Qualitätssicherung" typ="Schlüsseltabelle" > <table name="qa_mask_field_sel" thema="Qualitätssicherung" typ="Schlüsseltabelle" >
@ -403,14 +397,6 @@ notnull="true">
<column name="systeminfo_id" type="INTEGER" size="100" default="" notnull="false" description="Komponente"> <column name="systeminfo_id" type="INTEGER" size="100" default="" notnull="false" description="Komponente">
<comment></comment> <comment></comment>
</column> </column>
<column name="table_1_filter" type="TEXT" size="255" default="" description="Tabelle 1 Filter"
notnull="false" >
<comment>Zusätzlicher Filter für Tabelle 1</comment>
</column>
<column name="table_2_filter" type="TEXT" size="255" default="" description="Tabelle 2 Filter"
notnull="false" >
<comment>Zusätzlicher Filter für Tabelle 2</comment>
</column>
</columns> </columns>
<primaryKeys> <primaryKeys>
<rs> <rs>
@ -486,9 +472,6 @@ notnull="false">
<column name="name" type="varchar" size="255" default="" notnull="true" description="Name"> <column name="name" type="varchar" size="255" default="" notnull="true" description="Name">
<comment>Feldname</comment> <comment>Feldname</comment>
</column> </column>
<column name="caption" type="varchar" size="255" default="" notnull="false" description="Feldbezeichnung">
<comment>Feldbezeichnung</comment>
</column>
<column name="priority" type="CHAR" size="10" default="" notnull="false" description="Priorität"> <column name="priority" type="CHAR" size="10" default="" notnull="false" description="Priorität">
<comment></comment> <comment></comment>
</column> </column>
@ -517,15 +500,12 @@ notnull="false">
<comment>ID</comment> <comment>ID</comment>
</column> </column>
<column name="qa_tablecomp_profile_id" type="INTEGER" size="" default="" description="Profil" <column name="qa_tablecomp_profile_id" type="INTEGER" size="" default="" description="Profil"
notnull="false" isKey="true"> notnull="false">
<comment></comment> <comment></comment>
</column> </column>
<column name="fieldname" type="varchar" size="255" default="" notnull="true" description="Name"> <column name="fieldname" type="varchar" size="255" default="" notnull="true" description="Name">
<comment>Interner Name</comment> <comment>Interner Name</comment>
</column> </column>
<column name="fieldcaption" type="varchar" size="255" default="" notnull="false" description="Bezeichnung">
<comment>Interner Name</comment>
</column>
</columns> </columns>
<primaryKeys> <primaryKeys>
<rs> <rs>
@ -553,8 +533,6 @@ notnull="false">
<column name="fieldname" type="varchar" size="255" default="" notnull="true" description="Name"> <column name="fieldname" type="varchar" size="255" default="" notnull="true" description="Name">
<comment>Interner Name</comment> <comment>Interner Name</comment>
</column> </column>
<column name="fieldcaption" type="varchar" size="255" default="" notnull="false" description="Bezeichnung">
</column>
</columns> </columns>
<primaryKeys> <primaryKeys>
<rs> <rs>
@ -662,7 +640,6 @@ notnull="false">
<column name="whereclause" type ="TEXT" size ="2147483647" default ="" notnull ="false" description="Bedingung"><comment>formuliert als SQL-where-Ausdruck</comment></column> <column name="whereclause" type ="TEXT" size ="2147483647" default ="" notnull ="false" description="Bedingung"><comment>formuliert als SQL-where-Ausdruck</comment></column>
<column name="description" type ="TEXT" size ="2147483647" default ="" notnull ="false" description="Beschreibung"><comment></comment></column> <column name="description" type ="TEXT" size ="2147483647" default ="" notnull ="false" description="Beschreibung"><comment></comment></column>
<column name="active" type ="SMALLINT" size ="5" default ="1" notnull ="false" description="Aktiv"/> <column name="active" type ="SMALLINT" size ="5" default ="1" notnull ="false" description="Aktiv"/>
<column name="created_at" type ="DATE" size ="5" default ="" notnull ="false" description="Erzeugt am"/>
</columns> </columns>
<indexes> <indexes>
<index name="ix_qa_dbtest_id" type="unique"> <index name="ix_qa_dbtest_id" type="unique">
@ -763,78 +740,7 @@ notnull="false">
<privileges><rs> <privileges><rs>
</rs></privileges> </rs></privileges>
</table> </table>
<table name="qa_sos_stg_aggr_astat" caption="Amtl. Studierendenstatistik für QA" thema="Qualitätssicherung" typ="Hilfstabelle">
<columns><column name="hs_nr" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="studiengang_nr" type ="SMALLINT" size ="5" default ="" notnull ="false" />
<column name="fach_nr" type ="SMALLINT" size ="5" default ="" notnull ="false" />
<column name="matrikel_nr" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="geschlecht" type ="SMALLINT" size ="5" default ="" notnull ="false" />
<column name="ca12_staat" type ="SMALLINT" size ="5" default ="" notnull ="false" />
<column name="sem_rueck_beur_ein" type ="SMALLINT" size ="5" default ="" notnull ="false" />
<column name="stg" type ="CHAR" size ="4" default ="" notnull ="false" />
<column name="abschluss" type ="CHAR" size ="2" default ="" notnull ="false" />
<column name="fgr" type ="CHAR" size ="10" default ="" notnull ="false" />
<column name="abgrp" type ="CHAR" size ="255" default ="" notnull ="false" />
<column name="regel" type ="SMALLINT" size ="5" default ="" notnull ="false" />
<column name="kz_rueck_beur_ein" type ="SMALLINT" size ="5" default ="" notnull ="false" />
<column name="fach_sem_zahl" type ="SMALLINT" size ="5" default ="" notnull ="false" />
<column name="hssem" type ="SMALLINT" size ="5" default ="" notnull ="false" />
<column name="stort" type ="CHAR" size ="10" default ="" notnull ="false" />
<column name="stuart" type ="CHAR" size ="10" default ="" notnull ="false" />
<column name="stufrm" type ="CHAR" size ="10" default ="" notnull ="false" />
<column name="hzbart_astat" type ="CHAR" size ="10" default ="" notnull ="false" />
<column name="hzbkfzkz" type ="CHAR" size ="2" default ="" notnull ="false" />
<column name="hrst" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="letzte_pruefung_stort" type ="CHAR" size ="10" default ="" notnull ="false" />
<column name="letzte_pruefung_staat" type ="SMALLINT" size ="5" default ="" notnull ="false" />
<column name="letzte_pruefung_abschluss" type ="CHAR" size ="2" default ="" notnull ="false" />
<column name="letzte_pruefung_ergebnis" type ="SMALLINT" size ="5" default ="" notnull ="false" />
<column name="vorletzte_pruefung_stort" type ="CHAR" size ="10" default ="" notnull ="false" />
<column name="vorletzte_pruefung_staat" type ="SMALLINT" size ="5" default ="" notnull ="false" />
<column name="vorletzte_pruefung_abschluss" type ="CHAR" size ="2" default ="" notnull ="false" />
<column name="vorletzte_pruefung_ergebnis" type ="SMALLINT" size ="5" default ="" notnull ="false" />
<column name="datum" type ="DATE" size ="13" default ="" notnull ="false" />
<column name="summe" type ="INTEGER" size ="10" default ="" notnull ="false" />
</columns>
<indexes></indexes>
<primaryKeys><rs>
</rs></primaryKeys>
<foreignKeys><rs>
</rs></foreignKeys>
<importedKeys><rs>
</rs></importedKeys>
<privileges><rs>
</rs></privileges>
</table>
<table name="qa_sos_stg_aggr_int" caption="Interne Studierendenstatistik für QA" thema="Qualitätssicherung" typ="Hilfstabelle">
<columns><column name="ca12_staat" type ="SMALLINT" size ="5" default ="" notnull ="false" />
<column name="geschlecht" type ="SMALLINT" size ="5" default ="" notnull ="false" />
<column name="hrst" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="studiengang_nr" type ="SMALLINT" size ="5" default ="" notnull ="false" />
<column name="fach_nr" type ="SMALLINT" size ="5" default ="" notnull ="false" />
<column name="fach_sem_zahl" type ="SMALLINT" size ="5" default ="" notnull ="false" />
<column name="sem_rueck_beur_ein" type ="SMALLINT" size ="5" default ="" notnull ="false" />
<column name="kz_rueck_beur_ein" type ="SMALLINT" size ="5" default ="" notnull ="false" />
<column name="hssem" type ="SMALLINT" size ="5" default ="" notnull ="false" />
<column name="stuart" type ="CHAR" size ="10" default ="" notnull ="false" />
<column name="stutyp" type ="CHAR" size ="10" default ="" notnull ="false" />
<column name="stufrm" type ="CHAR" size ="10" default ="" notnull ="false" />
<column name="summe" type ="NUMERIC" size ="(19,6)" default ="" notnull ="false" />
<column name="matrikel_nr" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="stg" type ="CHAR" size ="10" default ="" notnull ="false" />
<column name="abschluss" type ="CHAR" size ="10" default ="" notnull ="false" />
<column name="stichtag" type ="INTEGER" size ="10" default ="" notnull ="false" />
</columns>
<indexes></indexes>
<primaryKeys><rs>
</rs></primaryKeys>
<foreignKeys><rs>
</rs></foreignKeys>
<importedKeys><rs>
</rs></importedKeys>
<privileges><rs>
</rs></privileges>
</table>
<views> <views>
<view name="qa_k_priority" version="0.6"> <view name="qa_k_priority" version="0.6">
<description>View PO-Version</description> <description>View PO-Version</description>
@ -904,12 +810,6 @@ parent="Qualitätssicherung">Abfragen zur Administration</thema>
<path>$QA_PFAD/masken</path> <path>$QA_PFAD/masken</path>
</src> </src>
</maske> </maske>
<maske tid="37180" name="Tabellen-Abgleich Differenzen" thema="Administration Qualitätssicherung">
<description>Detailabfrage zur Anzeige von Differenzen</description>
<src>
<path>$QA_PFAD/masken</path>
</src>
</maske>
</masken> </masken>
<data-integrity> <data-integrity>
<!-- qa_mask_execution --> <!-- qa_mask_execution -->
@ -1075,10 +975,6 @@ format="%s">
<!-- ********************* Liste der ETL-Prozesse ************************** --> <!-- ********************* Liste der ETL-Prozesse ************************** -->
<etl> <etl>
<etl-step name="Load" type="load">
<action>
</action>
</etl-step>
<etl-step name="Transformation" type="trans"> <etl-step name="Transformation" type="trans">
<action> <action>
<nativeaction sql="" scriptfile="$QA_PFAD/schluesseltabellen/qa_mask_execution_update.sql" <nativeaction sql="" scriptfile="$QA_PFAD/schluesseltabellen/qa_mask_execution_update.sql"
@ -1091,14 +987,7 @@ format="%s">
database=""/> database=""/>
<nativeaction sql="update systeminfo set datum=today() where tid in (260);" scriptfile="" database=""/> <nativeaction sql="update systeminfo set datum=today() where tid in (260);" scriptfile="" database=""/>
</action> </action>
</etl-step> <action error="stop">
<etl-step name="Aggregation" type="aggr">
<action>
<nativeaction sql="" scriptfile="$QA_PFAD/hilfstabellen/qa_sos_stg_aggr_astat_fuellen.sql"
database=""/>
<nativeaction sql="" scriptfile="$QA_PFAD/hilfstabellen/qa_sos_stg_aggr_int_fuellen.sql"
database=""/>
<nativeaction sql="" scriptfile="$QA_PFAD/datentabellen/vacuum_pg.sql" <nativeaction sql="" scriptfile="$QA_PFAD/datentabellen/vacuum_pg.sql"
database="POSTGRES"/> database="POSTGRES"/>
</action> </action>
@ -1111,8 +1000,7 @@ format="%s">
<nativeaction sql="" scriptfile="$QA_PFAD/schluesseltabellen/sx_jobs_fuellen.sql" database=""/> <nativeaction sql="" scriptfile="$QA_PFAD/schluesseltabellen/sx_jobs_fuellen.sql" database=""/>
<nativeaction sql="" scriptfile="$QA_PFAD/schluesseltabellen/sx_stylesheets_einfuegen.sql" database=""/> <nativeaction sql="" scriptfile="$QA_PFAD/schluesseltabellen/sx_stylesheets_einfuegen.sql" database=""/>
<nativeaction sql="" scriptfile="$QA_PFAD/schluesseltabellen/sachgebiete_fuellen.sql" database=""/> <nativeaction sql="" scriptfile="$QA_PFAD/schluesseltabellen/sachgebiete_fuellen.sql" database=""/>
<!--<nativeaction sql="" scriptfile="$QA_PFAD/schluesseltabellen/qa_tablecomp_profile_sos_stud_astat_nach_fach_abschluss_s0_fuellen.sql" database=""/>-->
<nativeaction sql="" scriptfile="$QA_PFAD/schluesseltabellen/qa_tablecomp_profile_sos_stud_astat_nach_fach_abschluss_s1_fuellen.sql" database=""/>
</action> </action>
</install-step> </install-step>
</install> </install>
@ -1124,8 +1012,6 @@ format="%s">
<nativeaction sql="" scriptfile="$QA_PFAD/schluesseltabellen/sx_jobs_fuellen.sql" database=""/> <nativeaction sql="" scriptfile="$QA_PFAD/schluesseltabellen/sx_jobs_fuellen.sql" database=""/>
<nativeaction sql="" scriptfile="$QA_PFAD/schluesseltabellen/sx_stylesheets_einfuegen.sql" database=""/> <nativeaction sql="" scriptfile="$QA_PFAD/schluesseltabellen/sx_stylesheets_einfuegen.sql" database=""/>
<nativeaction sql="" scriptfile="$QA_PFAD/schluesseltabellen/sachgebiete_fuellen.sql" database=""/> <nativeaction sql="" scriptfile="$QA_PFAD/schluesseltabellen/sachgebiete_fuellen.sql" database=""/>
<!--<nativeaction sql="" scriptfile="$QA_PFAD/schluesseltabellen/qa_tablecomp_profile_sos_stud_astat_nach_fach_abschluss_s0_fuellen.sql" database=""/>-->
<nativeaction sql="" scriptfile="$QA_PFAD/schluesseltabellen/qa_tablecomp_profile_sos_stud_astat_nach_fach_abschluss_s1_fuellen.sql" database=""/>
<nativeaction sql="" scriptfile="$QA_PFAD/upgrade/qa_upgrade_man.sql" database=""/> <nativeaction sql="" scriptfile="$QA_PFAD/upgrade/qa_upgrade_man.sql" database=""/>
</action> </action>

12
src-modules/module/qa/datentabellen/qa_dbtest_ausfuehren.sql

@ -95,13 +95,6 @@ select
${dbtest_assertion.tid}, ${dbtest_assertion.tid},
A.beginn, A.beginn,
now(), now(),
<#if dbtest_assertion.def_col_value="">
--Test wenn Zielspalte leer sein soll:
case when T.${dbtest_assertion.def_col_name} is null or '' || T.${dbtest_assertion.def_col_name}=''
then 0
else 1 end
<#else>
case when T.${dbtest_assertion.def_col_name}= case when T.${dbtest_assertion.def_col_name}=
<#if dbtest_assertion.def_col_function !=""> <#if dbtest_assertion.def_col_function !="">
${dbtest_assertion.def_col_function}('${dbtest_assertion.def_col_value}') ${dbtest_assertion.def_col_function}('${dbtest_assertion.def_col_value}')
@ -109,10 +102,7 @@ ${dbtest_assertion.def_col_function}('${dbtest_assertion.def_col_value}')
'${dbtest_assertion.def_col_value}' '${dbtest_assertion.def_col_value}'
</#if> </#if>
then 0 then 0
else 1 end else 1 end as result_code,
</#if>
as result_code,
T.${dbtest_assertion.def_col_name} as result_value T.${dbtest_assertion.def_col_name} as result_value
from tmp_anfang A left outer join tmp_rs T from tmp_anfang A left outer join tmp_rs T
on (A.dbtest_id=${dbtest_assertion.dbtest_id} on (A.dbtest_id=${dbtest_assertion.dbtest_id}

3
src-modules/module/qa/datentabellen/vacuum_pg.sql

@ -8,5 +8,4 @@ commit;
vacuum qa_mask_execution_result; vacuum qa_mask_execution_result;
vacuum qa_mask_execution_assert_result; vacuum qa_mask_execution_assert_result;
vacuum qa_sos_stg_aggr_int;
vacuum qa_sos_stg_aggr_astat;

351
src-modules/module/qa/hilfstabellen/qa_sos_stg_aggr_astat_fuellen.sql

@ -1,351 +0,0 @@
--(c) 2024 Daniel Quathamer
--freemarker template
<sqlvars>
<sqlvar name="sos_stg_aggr_exists">
select sp_table_exists('sos_stg_aggr') from xdummy
</sqlvar>
<sqlvar name="qa_tablecomp_profile_is_active"><![CDATA[
select 1 from xdummy where 0 < (select count(*) from qa_tablecomp_profile P where P.uniquename='sos_stud_astat_stg_abschluss_s1' and is_active=1)
union
select 0 from xdummy where 0 = (select count(*) from qa_tablecomp_profile P where P.uniquename='sos_stud_astat_stg_abschluss_s1' and is_active=1)
]]></sqlvar>
</sqlvars>
<#if qa_tablecomp_profile_is_active==1 && sos_stg_aggr_exists==1>
--zuerst bereinigen:es darf nur 2015er oder 2016er Lieferung geben.
--2016 hat Priorität:
create temp table tmp_sem
(
semester integer,
format integer
);
insert into tmp_sem
select distinct semester,2015
from kenn_sos_astat_2015
;
insert into tmp_sem
select distinct semester,2016
from kenn_sos_astat
;
insert into kenn_pruefrout (datum,tabelle_quelle,problem,aktion)
select distinct today(),'kenn_sos_astat'::char(18),'Semester '|| semester || ' liegt in 2015er und 2016er Format vor, 2015 wird gelöscht', 'Info'::char(10)
from kenn_sos_astat_2015
where semester in (select T.semester
from tmp_sem T
where T.format=2016) ;
delete from kenn_sos_astat_2015
where semester in (select T.semester
from tmp_sem T
where T.format=2016);
drop table tmp_sem;
--Unplausible Werte korrigieren:
update kenn_sos_astat set ef010=null where substring(ef010 from 1 for 1) not in ('0','1','2','3','4','5','6','7','8','9');
create temp table tmp_stg_aggr_astat(
hs_nr INTEGER ,
studiengang_nr SMALLINT ,
fach_nr SMALLINT ,
matrikel_nr integer,
geschlecht SMALLINT ,
ca12_staat SMALLINT ,
sem_rueck_beur_ein SMALLINT ,
stg CHAR(4) ,
sb char(19),
fgr char(10),
abschluss CHAR(2) ,
abschlussart char(10),
abgrp char(255),
regel SMALLINT ,
kz_rueck_beur_ein SMALLINT ,
fach_sem_zahl SMALLINT ,
hssem SMALLINT ,
kz_fach CHAR(1) ,
stort CHAR(10) ,
stuart CHAR(10) ,
stufrm CHAR(10) ,
hzbart_astat CHAR(10) ,
hzbkfzkz CHAR(2) ,
hrst integer ,
letzte_pruefung_stort CHAR(10) ,
letzte_pruefung_staat SMALLINT ,
letzte_pruefung_abschluss CHAR(2) ,
letzte_pruefung_ergebnis SMALLINT ,
vorletzte_pruefung_stort CHAR(10) ,
vorletzte_pruefung_staat SMALLINT ,
vorletzte_pruefung_abschluss CHAR(2) ,
vorletzte_pruefung_ergebnis SMALLINT ,
datum date ,
summe INTEGER
)
;
<#assign studiengang_nr_fach_nr = [
{"studiengang_nr":"1", "fach_nr":"1", "fach":"ef036","abschluss":"ef033u2","stufrm":"ef033u1", "regel":"ef035", "kz_rueck_beur_ein":"ef028", "fach_sem_zahl":"ef032","stuart":"ef030"},
{"studiengang_nr":"1", "fach_nr":"2", "fach":"ef037","abschluss":"ef033u2","stufrm":"ef033u1", "regel":"ef035", "kz_rueck_beur_ein":"ef028", "fach_sem_zahl":"ef032","stuart":"ef030"},
{"studiengang_nr":"1", "fach_nr":"3", "fach":"ef039","abschluss":"ef033u2","stufrm":"ef033u1", "regel":"ef035", "kz_rueck_beur_ein":"ef028", "fach_sem_zahl":"ef032","stuart":"ef030"},
{"studiengang_nr":"2", "fach_nr":"1", "fach":"ef052","abschluss":"ef049u2","stufrm":"ef049u1", "regel":"ef051", "kz_rueck_beur_ein":"ef044", "fach_sem_zahl":"ef048","stuart":"ef046"},
{"studiengang_nr":"2", "fach_nr":"2", "fach":"ef053","abschluss":"ef049u2","stufrm":"ef049u1", "regel":"ef051", "kz_rueck_beur_ein":"ef044", "fach_sem_zahl":"ef048","stuart":"ef046"},
{"studiengang_nr":"2", "fach_nr":"3", "fach":"ef055","abschluss":"ef049u2","stufrm":"ef049u1", "regel":"ef051", "kz_rueck_beur_ein":"ef044", "fach_sem_zahl":"ef048","stuart":"ef046"}
] />
<#assign studiengang_nr_fach_nr_2015 = [
{"studiengang_nr":"1", "fach_nr":"1", "fach":"ef032","abschluss":"ef031u2","stufrm":"ef031u1", "regel":"null::char(1)", "kz_rueck_beur_ein":"ef026", "fach_sem_zahl":"ef030","stuart":"ef028"},
{"studiengang_nr":"1", "fach_nr":"2", "fach":"ef034","abschluss":"ef031u2","stufrm":"ef031u1", "regel":"null::char(1)", "kz_rueck_beur_ein":"ef026", "fach_sem_zahl":"ef030","stuart":"ef028"},
{"studiengang_nr":"1", "fach_nr":"3", "fach":"ef036","abschluss":"ef031u2","stufrm":"ef031u1", "regel":"null::char(1)", "kz_rueck_beur_ein":"ef026", "fach_sem_zahl":"ef030","stuart":"ef028"},
{"studiengang_nr":"2", "fach_nr":"1", "fach":"ef047","abschluss":"ef046u2","stufrm":"ef046u1", "regel":"null::char(1)", "kz_rueck_beur_ein":"ef041", "fach_sem_zahl":"ef045","stuart":"ef043"},
{"studiengang_nr":"2", "fach_nr":"2", "fach":"ef049","abschluss":"ef046u2","stufrm":"ef046u1", "regel":"null::char(1)", "kz_rueck_beur_ein":"ef041", "fach_sem_zahl":"ef045","stuart":"ef043"},
{"studiengang_nr":"2", "fach_nr":"3", "fach":"ef050","abschluss":"ef046u2","stufrm":"ef046u1", "regel":"null::char(1)", "kz_rueck_beur_ein":"ef041", "fach_sem_zahl":"ef045","stuart":"ef043"}
] />
<#assign vorherige_pruefungen=[
{"art":"letzte", "pruefung_stort":"ef089", "pruefung_staat":"ef090", "pruefung_abschluss":"substring(ef091 from 2 for 2)", "pruefung_ergebnis":"ef097"},
{"art":"vorletzte", "pruefung_stort":"ef103", "pruefung_staat":"ef104", "pruefung_abschluss":"substring(ef105 from 2 for 2)", "pruefung_ergebnis":"ef111"}
] />
<#assign vorherige_pruefungen_2015=[
{"art":"letzte", "pruefung_stort":"null::char(1)", "pruefung_staat":"null::char(1)", "pruefung_abschluss":"ef091u2", "pruefung_ergebnis":"ef098"},
{"art":"vorletzte", "pruefung_stort":"null::char(1)", "pruefung_staat":"null::char(1)", "pruefung_abschluss":"ef100u2", "pruefung_ergebnis":"ef107"}
] />
<#foreach stgnr in studiengang_nr_fach_nr>
--${stgnr.studiengang_nr}. Studiengang, ${stgnr.fach_nr}. Fach:
insert into tmp_stg_aggr_astat(
hs_nr,
studiengang_nr,
fach_nr,
matrikel_nr,
geschlecht,
ca12_staat,
sem_rueck_beur_ein,
stg,
abschluss,
regel,
kz_rueck_beur_ein,
fach_sem_zahl,
hssem,
stort,
stuart,
stufrm,
hzbart_astat,
hzbkfzkz,
hrst,
<#if stgnr.studiengang_nr=="1" && stgnr.fach_nr=="1">
<#foreach vorherige_pruefung in vorherige_pruefungen>
${vorherige_pruefung.art}_pruefung_stort,
${vorherige_pruefung.art}_pruefung_staat,
${vorherige_pruefung.art}_pruefung_abschluss,
${vorherige_pruefung.art}_pruefung_ergebnis,
</#foreach>
</#if>
datum,
summe)
select
hs_nr,
${stgnr.studiengang_nr} as studiengang_nr,
${stgnr.fach_nr} as fach_nr,
val(ef006) as matrikel_nr,
val(ef007) as geschlecht,
val(ef010) as ca12_staat,
semester as sem_rueck_beur_ein,
${stgnr.fach} as stg,
${stgnr.abschluss} as abschluss,
val(${stgnr.regel}) as regel,
val(${stgnr.kz_rueck_beur_ein}) as kz_rueck_beur_ein,
val(${stgnr.fach_sem_zahl}) as fach_sem_zahl,
val(ef021) as hssem,
ef004 as stort,
val(${stgnr.stuart}) as stuart,
${stgnr.stufrm} as stufrm,
ef118 as hzbart_astat,
ef119u1 as hzbkfzkz,
val(ef014) as hrst,
<#if stgnr.studiengang_nr=="1" && stgnr.fach_nr=="1">
<#foreach vorherige_pruefung in vorherige_pruefungen>
${vorherige_pruefung.pruefung_stort},
val(${vorherige_pruefung.pruefung_staat}),
${vorherige_pruefung.pruefung_abschluss},
val(${vorherige_pruefung.pruefung_ergebnis}),
</#foreach>
</#if>
today(),
count(*) as summe
FROM kenn_sos_astat
where ${stgnr.abschluss} is not null --keine im Vorsemester exmatrikulierte
and ${stgnr.fach} is not null
group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20
<#if stgnr.studiengang_nr=="1" && stgnr.fach_nr=="1">
,21,22,23,24,25,26,27,28
</#if>
;
</#foreach>
--nun 2015, wenn vorhanden:
<#foreach stgnr in studiengang_nr_fach_nr_2015>
--${stgnr.studiengang_nr}. Studiengang, ${stgnr.fach_nr}. Fach:
insert into tmp_stg_aggr_astat(
hs_nr,
studiengang_nr,
fach_nr,
matrikel_nr,
geschlecht,
ca12_staat,
sem_rueck_beur_ein,
stg,
abschluss,
regel,
kz_rueck_beur_ein,
fach_sem_zahl,
hssem,
stort,
stuart,
stufrm,
hzbart_astat,
hzbkfzkz,
hrst,
<#if stgnr.studiengang_nr=="1" && stgnr.fach_nr=="1">
<#foreach vorherige_pruefung in vorherige_pruefungen_2015>
${vorherige_pruefung.art}_pruefung_stort,
${vorherige_pruefung.art}_pruefung_staat,
${vorherige_pruefung.art}_pruefung_abschluss,
${vorherige_pruefung.art}_pruefung_ergebnis,
</#foreach>
</#if>
datum,
summe)
select
hs_nr,
${stgnr.studiengang_nr} as studiengang_nr,
${stgnr.fach_nr} as fach_nr,
val(ef006) as matrikel_nr,
val(ef007) as geschlecht,
val(ef009) as ca12_staat,
semester as sem_rueck_beur_ein,
${stgnr.fach} as stg,
${stgnr.abschluss} as abschluss,
val(${stgnr.regel}) as regel,
val(${stgnr.kz_rueck_beur_ein}) as kz_rueck_beur_ein,
val(${stgnr.fach_sem_zahl}) as fach_sem_zahl,
(case when ef026='1' then 1
else val(ef019) end ) as hssem,
ef004 as stort,
val(${stgnr.stuart}) as stuart,
${stgnr.stufrm} as stufrm,
ef110 as hzbart_astat,
ef111u1 as hzbkfzkz,
val(ef012) as hrst,
<#if stgnr.studiengang_nr=="1" && stgnr.fach_nr=="1">
<#foreach vorherige_pruefung in vorherige_pruefungen_2015>
${vorherige_pruefung.pruefung_stort},
val(${vorherige_pruefung.pruefung_staat}),
${vorherige_pruefung.pruefung_abschluss},
val(${vorherige_pruefung.pruefung_ergebnis}),
</#foreach>
</#if>
today(),
count(*) as summe
FROM kenn_sos_astat_2015
where ${stgnr.abschluss} is not null
and ${stgnr.fach} is not null
and ${stgnr.kz_rueck_beur_ein} !='5' --keine im Vorsemester exmatrikulierte
group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20
<#if stgnr.studiengang_nr=="1" && stgnr.fach_nr=="1">
,21,22,23,24,25,26,27,28
</#if>
;
</#foreach>
delete from qa_sos_stg_aggr_astat
where sem_rueck_beur_ein in (select distinct K.sem_rueck_beur_ein
from tmp_stg_aggr_astat K)
;
insert into qa_sos_stg_aggr_astat(hs_nr,
studiengang_nr,
fach_nr,
matrikel_nr,
geschlecht,
ca12_staat,
sem_rueck_beur_ein,
stg,
abschluss,
fgr,
abgrp,
regel,
kz_rueck_beur_ein,
fach_sem_zahl,
hssem,
-- kz_fach,
stort,
stuart,
stufrm,
hzbart_astat,
hzbkfzkz,
hrst,
letzte_pruefung_stort,
letzte_pruefung_staat,
letzte_pruefung_abschluss,
letzte_pruefung_ergebnis,
vorletzte_pruefung_stort,
vorletzte_pruefung_staat,
vorletzte_pruefung_abschluss,
vorletzte_pruefung_ergebnis,
datum,
summe)
select hs_nr,
studiengang_nr,
fach_nr,
matrikel_nr,
geschlecht,
ca12_staat,
sem_rueck_beur_ein,
stg,
abschluss,
fgr,
abgrp,
regel,
kz_rueck_beur_ein,
fach_sem_zahl,
hssem,
-- kz_fach,
stort,
stuart,
stufrm,
hzbart_astat,
hzbkfzkz,
hrst,
letzte_pruefung_stort,
letzte_pruefung_staat,
letzte_pruefung_abschluss,
letzte_pruefung_ergebnis,
vorletzte_pruefung_stort,
vorletzte_pruefung_staat,
vorletzte_pruefung_abschluss,
vorletzte_pruefung_ergebnis,
datum,
sum(summe)
from tmp_stg_aggr_astat
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
;
drop table tmp_stg_aggr_astat;
</#if>

63
src-modules/module/qa/hilfstabellen/qa_sos_stg_aggr_int_fuellen.sql

@ -1,63 +0,0 @@
--(c) 2024 Daniel Quathamer
--freemarker template
<sqlvars>
<sqlvar name="sos_stg_aggr_exists">
select sp_table_exists('sos_stg_aggr') from xdummy
</sqlvar>
<sqlvar name="qa_tablecomp_profile_is_active"><![CDATA[
select 1 from xdummy where 0 < (select count(*) from qa_tablecomp_profile P where P.uniquename='sos_stud_astat_stg_abschluss_s1' and is_active=1)
union
select 0 from xdummy where 0 = (select count(*) from qa_tablecomp_profile P where P.uniquename='sos_stud_astat_stg_abschluss_s1' and is_active=1)
]]></sqlvar>
</sqlvars>
<#if qa_tablecomp_profile_is_active==1 && sos_stg_aggr_exists==1>
truncate table qa_sos_stg_aggr_int;
insert into qa_sos_stg_aggr_int(
ca12_staat,
geschlecht,
hrst,
studiengang_nr,
fach_nr,
fach_sem_zahl,
sem_rueck_beur_ein,
kz_rueck_beur_ein,
hssem,
stuart,
stutyp,
stufrm,
summe,
matrikel_nr,
stg,
abschluss,
stichtag)
SELECT
S.ca12_staat,
S.geschlecht,
val(H.astat) as hrst,
S.studiengang_nr,
S.fach_nr,
S.fach_sem_zahl,
S.sem_rueck_beur_ein,
S.kz_rueck_beur_ein,
S.hssem,
S.stuart,
S.stutyp,
S.stufrm,
S.summe,
S.matrikel_nr,
D.stg_astat as stg,
D.abschluss_astat as abschluss,
S.stichtag
FROM dim_studiengang D, sos_stg_aggr S left outer join sos_k_hrst H
on (H.apnr=S.hrst)
where S.tid_stg=D.tid
and S.stichtag in (select I.tid from sos_stichtag I where appl_key in ('0','1'))
--and S.kz_rueck_beur_ein !=5
;
</#if>

1
src-modules/module/qa/masken/37020_felderinfo.unl

@ -8,4 +8,3 @@
37027^Testfall-Schlüssel^55^0^0^150^150^1^char^50^0^0^^^^ 37027^Testfall-Schlüssel^55^0^0^150^150^1^char^50^0^0^^^^
37028^Projekt^15^0^0^150^80^1^integer^200^0^1^<<SQL>> select tid,name from qa_project where active=1 /* and systeminfo_id=<<Komponente>> */ order by 2;^^^ 37028^Projekt^15^0^0^150^80^1^integer^200^0^1^<<SQL>> select tid,name from qa_project where active=1 /* and systeminfo_id=<<Komponente>> */ order by 2;^^^
37029^Testfall-Typ^1000^300^-1^170^150^1^integer^30^0^1^<<SQL>> select 1,'Maskenausführung' from xdummy union select 2,'Datenbank-Test' from xdummy^^ ^ 37029^Testfall-Typ^1000^300^-1^170^150^1^integer^30^0^1^<<SQL>> select 1,'Maskenausführung' from xdummy union select 2,'Datenbank-Test' from xdummy^^ ^
37030^Zusammenfassung^1200^300^-1^170^150^1^integer^30^0^1^<<SQL>> select 0,'Alles' from xdummy union select 1,'Nur Zusammenfassung' from xdummy^hidden^<<SQL>> select 0,'Alles' from xdummy^

1
src-modules/module/qa/masken/37020_masken_felder_bez.unl

@ -8,4 +8,3 @@
37020^37027^ 37020^37027^
37020^37028^ 37020^37028^
37020^37029^ 37020^37029^
37020^37030^

5
src-modules/module/qa/masken/37020_maskeninfo.unl

@ -166,8 +166,7 @@ from qa_mask_execution2project TP, qa_project P\
where TP.mask_execution_id=tmp_testcase.mask_execution_id\ where TP.mask_execution_id=tmp_testcase.mask_execution_id\
and P.tid=TP.project_id\ and P.tid=TP.project_id\
;\ ;\
--nun DB-Tests, wenn keine Maske ausgewählt ist:\ --nun DB-Tests:\
<#if "<<Maske>>" =="">\
<@selectintotmp \ <@selectintotmp \
select="\ select="\
T.tid,\ T.tid,\
@ -272,7 +271,7 @@ from tmp_qa_dbtest\
\ \
drop table tmp_qa_dbtest;\ drop table tmp_qa_dbtest;\
\ \
</#if> --Ende wenn keine Maske ausgewählt ist\ \
\ \
<#if inEtl>\ <#if inEtl>\
\ \

24
src-modules/module/qa/masken/37060_felderinfo.unl

@ -1,17 +1,17 @@
37060^Zeitraum^60^0^0^150^200^1^integer^200^0^0^^ ^ ^ 37060^Benutzer/in^60^0^0^150^200^1^integer^200^0^1^<<SQL>> select tid,nvl(name,benutzer) from userinfo order by 2;^hidden^^
37061^Ausführungs-Status^0^0^0^150^80^1^integer^200^0^1^<<SQL>> select 0,'Erfolgreich' from xdummy union select 1,'Warnung' from xdummy order by 1^ ^ ^ 37061^Ausführungs-Status^0^0^0^150^80^1^integer^200^0^1^<<SQL>> select 0,'Erfolgreich' from xdummy union select 1,'Warnung' from xdummy order by 1^^^
37062^Aggregation des Vergleichs^10^0^0^150^80^1^integer^200^1^1^<<SQL>> select 1,'Summen' from xdummy\ 37062^Aggregation des Vergleichs^20^0^0^150^80^1^integer^200^1^1^<<SQL>> select 1,'Nur Summen' from xdummy\
union select 2,'Datensätze' from xdummy\ union select 2,'Felder' from xdummy\
union select 3,'Felder' from xdummy\ --union select 3,'Matrikelnr.' from xdummy\
order by 1;^ ^<<SQL>> select 1,'Summen' from xdummy^ order by 1;^^<<SQL>> select 1,'Nur Summen' from xdummy^
37063^Testfall-Name (Stichwort)^50^0^0^150^150^1^sql^50^0^0^^ ^ ^ 37063^Testfall-Name (Stichwort)^50^0^0^150^150^1^sql^50^0^0^^ ^^
37064^Priorität beim Feldabgleich^20^0^0^150^200^1^char^200^0^1^<<SQL>> select 'A','A (höchste Priorität)' from xdummy union \ 37064^Priorität^10^0^0^150^200^1^char^200^0^1^<<SQL>> select 'A','A (höchste Priorität)' from xdummy union \
select 'B','B (mittlere Priorität)' from xdummy union \ select 'B','B (mittlere Priorität)' from xdummy union \
select 'C','C (niedrige Priorität)' from xdummy\ select 'C','C (niedrige Priorität)' from xdummy\
order by 1^ ^ ^ order by 1^^^
37065^Nur aktive^30^0^0^150^80^1^integer^200^0^1^<<SQL>> select 1,'Ja' from xdummy union select 0,'nein' from xdummy order by 1 desc;^hidden^<<SQL>>select 1,'Ja' from xdummy^ 37065^Nur aktive^30^0^0^150^80^1^integer^200^0^1^<<SQL>> select 1,'Ja' from xdummy union select 0,'nein' from xdummy order by 1 desc;^hidden^<<SQL>>select 1,'Ja' from xdummy^
37066^Zeitraum für Semester 5stellig für Jahr 4stellig^61^0^0^150^80^1^char^200^0^8^^ ^ ^ 37066^Ab Datum^40^0^0^150^80^1^date^200^0^0^ ^hidden^<<SQL>> select today()-3 from xdummy^
37067^Profil^5^0^0^150^80^1^integer^200^1^1^<<SQL>> select tid,name from qa_tablecomp_profile where is_active=1 order by 2^ ^ ^ 37067^Profil^5^0^0^150^80^1^integer^200^1^1^<<SQL>> select tid,name from qa_tablecomp_profile where is_active=1 order by 2^^^
37068^Tabellen-Abgleiche planen^100^0^0^150^300^1^char^30^0^18^^ ^<<SQL>>\ 37068^Tabellen-Abgleiche planen^100^0^0^150^300^1^char^30^0^18^^^<<SQL>>\
--freemarker template \ --freemarker template \
<#if UserIsAdmin> select '../edit/qa/qa_tablecomp_profile_list.jsp' from xdummy ;<#else> select '../not_authorized.htm' from xdummy;</#if>^ <#if UserIsAdmin> select '../edit/qa/qa_tablecomp_profile_list.jsp' from xdummy ;<#else> select '../not_authorized.htm' from xdummy;</#if>^

337
src-modules/module/qa/masken/37060_maskeninfo.unl

@ -1,7 +1,7 @@
37060^Tabellen-Abgleich^--Freemarker Template\ 37060^Tabellen-Abgleich^--Freemarker Template\
<sqlvars>\ <sqlvars>\
\ \
<sqlvar name="profile" type="hash">\ <sqlvar name="profiles" type="hashsequence">\
\ \
select name,\ select name,\
uniquename,\ uniquename,\
@ -10,10 +10,7 @@ select name,\
table_2,\ table_2,\
table_2_caption,\ table_2_caption,\
is_active,\ is_active,\
systeminfo_id,\ systeminfo_id\
table_1_filter,\
table_2_filter\
\
FROM qa_tablecomp_profile \ FROM qa_tablecomp_profile \
where tid=<<Profil>> \ where tid=<<Profil>> \
\ \
@ -33,24 +30,22 @@ select name,\
\ \
select name,\ select name,\
priority,\ priority,\
sortnr,\ sortnr\
caption\
FROM qa_tablecomp_field \ FROM qa_tablecomp_field \
where qa_tablecomp_profile_id=<<Profil>>\ where qa_tablecomp_profile_id=<<Profil>>\
order by sortnr\ order by sortnr\
</sqlvar> \ </sqlvar> \
-- Darf nur 1 Spalte sein!\ <sqlvar name="groupbycols" type="hashsequence">\
<sqlvar name="groupbycol" type="hash">\ \
SELECT fieldname,\ SELECT fieldname\
fieldcaption\
FROM qa_tablecomp_groupby \ FROM qa_tablecomp_groupby \
where qa_tablecomp_profile_id=<<Profil>>\ where qa_tablecomp_profile_id=<<Profil>>\
</sqlvar> \
\ \
</sqlvar> \
<sqlvar name="idcols" type="hashsequence">\ <sqlvar name="idcols" type="hashsequence">\
\
SELECT \ SELECT \
fieldname,\ fieldname\
fieldcaption\
FROM qa_tablecomp_idcol \ FROM qa_tablecomp_idcol \
where qa_tablecomp_profile_id=<<Profil>>\ where qa_tablecomp_profile_id=<<Profil>>\
\ \
@ -61,73 +56,41 @@ where qa_tablecomp_profile_id=<<Profil>>\
\ \
\ \
<#assign prio_filter="" />\ <#assign prio_filter="" />\
/* <#assign prio_filter=<<Priorität beim Feldabgleich>> /> */\ /* <#assign prio_filter=<<Priorität>> /> */\
\ \
\ \
<#assign aggregation="<<Aggregation des Vergleichs>>" />\ <#assign aggregation="<<Aggregation des Vergleichs>>" />\
\ \
create temp table tmp_abgleich\ create temp table tmp_abgleich\
(zeitraum integer,\ (semester integer,\
prio char(1),\ prio char(1),\
ord smallint,\ ord smallint,\
pruefung varchar(255),\ pruefung varchar(255),\
comparison varchar(255),\ comparison varchar(255),\
fieldname varchar(255),\ fieldname varchar(255),\
fieldcaption varchar(255),\
result_table_1 varchar(255),\ result_table_1 varchar(255),\
result_table_2 varchar(255),\ result_table_2 varchar(255),\
result_code smallint,\ result_code smallint,\
result_code_str varchar(255),\ result_code_str varchar(255)\
hidden_summe text -- Link zu Detailbericht falls Differenz gefunden\
);\ );\
\ \
create temp table tmp_abgleich_summen\ create temp table tmp_abgleich_summen\
(zeitraum integer,\ (semester integer,\
prio char(1),\
ord smallint,\ ord smallint,\
pruefung varchar(255),\ pruefung varchar(255),\
comparison varchar(255),\ comparison varchar(255),\
fieldname varchar(255),\ fieldname varchar(255),\
fieldcaption varchar(255),\
result_table_1 varchar(255),\ result_table_1 varchar(255),\
result_table_2 varchar(255),\ result_table_2 varchar(255),\
result_code smallint\ result_code smallint\
);\ );\
\ \
create temp table tmp_abgleich_ds\
(zeitraum integer,\
ord smallint,\
pruefung varchar(255),\
comparison varchar(255),\
<#foreach idcol in idcols>\
${idcol.fieldname} varchar(255),\
</#foreach>\
result_table_1 varchar(255),\
result_table_2 varchar(255),\
result_code smallint,\
result_code_str varchar(255)\
);\
\
<#assign ord=0 />\ <#assign ord=0 />\
\ \
select * into temp tmp_table_1\ <#foreach profile in profiles>\
from ${profile.table_1} \
where 1=1\
<#if profile.table_1_filter !=""> and ${profile.table_1_filter} </#if>\
<#if "<<Zeitraum>>"!="">\
and ${groupbycol.fieldname}=<<Zeitraum>>\
</#if>\
;\
select * into temp tmp_table_2\
from ${profile.table_2} \
where 1=1\
<#if profile.table_2_filter !=""> and ${profile.table_2_filter} </#if>\
<#if "<<Zeitraum>>"!="">\
and ${groupbycol.fieldname}=<<Zeitraum>>\
</#if>\
;\
\ \
<#if aggregation=="1">\ <#if aggregation=="1">\
--summen:\
<#foreach pruefung in pruefungen>\ <#foreach pruefung in pruefungen>\
<#if pruefung.priority!="P" && (pruefung.priority==prio_filter || prio_filter=="")>\ <#if pruefung.priority!="P" && (pruefung.priority==prio_filter || prio_filter=="")>\
\ \
@ -135,51 +98,62 @@ and ${groupbycol.fieldname}=<<Zeitraum>>\
\ \
\ \
insert into tmp_abgleich_summen\ insert into tmp_abgleich_summen\
(zeitraum,\ (semester,\
prio,\
ord,\ ord,\
pruefung,\ pruefung,\
comparison,\ comparison,\
result_table_1,\ result_table_1,\
result_table_2\ result_table_2\
)\ )\
select ${groupbycol.fieldname},\ select <#foreach groupbycol in groupbycols>\
${groupbycol.fieldname},\
</#foreach>\
'${pruefung.priority}',\
${ord},\ ${ord},\
'${pruefung.name}',\ '${pruefung.name}',\
'${pruefung.aggregationfunction}',\ '${pruefung.aggregationfunction}',\
${pruefung.aggregationfunction}(${pruefung.aggregationfield})::integer,\ ${pruefung.aggregationfunction}(${pruefung.aggregationfield})::integer,\
0\ 0\
from tmp_table_1\ from ${profile.table_1}\
where 1=1\ where ${pruefung.whereclause}\
<#if pruefung.whereclause !=""> and ${pruefung.whereclause} </#if>\ group by <#foreach groupbycol in groupbycols>\
group by ${groupbycol.fieldname}\ ${groupbycol.fieldname},\
</#foreach>\
null::char(1)\
;\ ;\
\ \
insert into tmp_abgleich_summen\ insert into tmp_abgleich_summen\
(zeitraum,\ (semester,\
prio,\
ord,\ ord,\
pruefung,\ pruefung,\
comparison,\ comparison,\
result_table_1,\ result_table_1,\
result_table_2\ result_table_2\
)\ )\
select ${groupbycol.fieldname},\ select <#foreach groupbycol in groupbycols>\
${groupbycol.fieldname},\
</#foreach>\
'${pruefung.priority}',\
${ord},\ ${ord},\
'${pruefung.name}',\ '${pruefung.name}',\
'${pruefung.aggregationfunction}',\ '${pruefung.aggregationfunction}',\
0,\ 0,\
${pruefung.aggregationfunction}(${pruefung.aggregationfield})::integer\ ${pruefung.aggregationfunction}(${pruefung.aggregationfield})::integer\
from tmp_table_2\ from ${profile.table_2}\
where 1=1\ where ${pruefung.whereclause}\
<#if pruefung.whereclause !=""> and ${pruefung.whereclause} </#if>\ group by <#foreach groupbycol in groupbycols>\
group by ${groupbycol.fieldname}\ ${groupbycol.fieldname},\
;\ </#foreach>\
null::char(1);\
\ \
</#if> --vom prio-Filter\ </#if> --vom prio-Filter\
</#foreach>\ </#foreach>\
\ \
insert into tmp_abgleich\ insert into tmp_abgleich\
(zeitraum,\ (semester,\
--prio,\ prio,\
ord,\ ord,\
pruefung,\ pruefung,\
comparison,\ comparison,\
@ -187,7 +161,8 @@ result_table_1,\
result_table_2,\ result_table_2,\
result_code\ result_code\
)\ )\
select zeitraum,\ select semester,\
prio,\
ord,\ ord,\
pruefung,\ pruefung,\
comparison,\ comparison,\
@ -196,7 +171,7 @@ sum(val(result_table_2)),\
1\ 1\
from tmp_abgleich_summen\ from tmp_abgleich_summen\
--where comparison='Summe'\ --where comparison='Summe'\
group by 1,2,3,4;\ group by 1,2,3,4,5;\
\ \
update tmp_abgleich set result_code=0\ update tmp_abgleich set result_code=0\
where val(result_table_2) =val(result_table_1);\ where val(result_table_2) =val(result_table_1);\
@ -204,133 +179,44 @@ where val(result_table_2) =val(result_table_1);\
\ \
</#if> --wenn aggregation=Summen\ </#if> --wenn aggregation=Summen\
\ \
drop table tmp_abgleich_summen;\
\ \
<#if aggregation=="2">\
--Datensätze:\
\
\
--nur in Tabelle 1, fehlt in Tabelle 2:\
insert into tmp_abgleich_ds\
(zeitraum ,\
pruefung,\
comparison,\
<#foreach idcol in idcols>\
${idcol.fieldname} ,\
</#foreach>\
result_table_1 ,\
--result_table_2 ,\
result_code )\
select T1.${groupbycol.fieldname},\
'Datensatz-Abgleich',\
'Existenz',\
<#foreach idcol in idcols>\
T1.${idcol.fieldname} ,\
</#foreach>\
'x',\
1 --Fehlt\
from tmp_table_1 T1 left outer join tmp_table_2 T2\
on (1=1 <#foreach idcol in idcols>\
and T1.${idcol.fieldname}=T2.${idcol.fieldname}\
</#foreach>\
)\
where T2.${groupbycol.fieldname} is null\
;\
--nur in Tabelle 2, fehlt in Tabelle 1:\
insert into tmp_abgleich_ds\
(zeitraum ,\
pruefung,\
comparison,\
<#foreach idcol in idcols>\
${idcol.fieldname} ,\
</#foreach>\
--result_table_1 ,\
result_table_2 ,\
result_code )\
select T1.${groupbycol.fieldname},\
'Datensatz-Abgleich',\
'Existenz',\
<#foreach idcol in idcols>\
T1.${idcol.fieldname} ,\
</#foreach>\
'x',\
1 --Fehlt\
from tmp_table_2 T1 left outer join tmp_table_1 T2\
on (1=1 <#foreach idcol in idcols>\
and T1.${idcol.fieldname}=T2.${idcol.fieldname}\
</#foreach>\
)\
where T2.${groupbycol.fieldname} is null\
;\
\ \
--in beiden Tabellen vorhanden:\ <#if aggregation=="2">\
insert into tmp_abgleich_ds\
(zeitraum ,\
pruefung,\
comparison,\
<#foreach idcol in idcols>\
${idcol.fieldname} ,\
</#foreach>\
result_table_1 ,\
result_table_2 ,\
result_code )\
select T1.${groupbycol.fieldname},\
'Datensatz-Abgleich',\
'Existenz',\
<#foreach idcol in idcols>\
T1.${idcol.fieldname} ,\
</#foreach>\
'x',\
'x',\
0 --vorhanden -> erfolgreich\
from tmp_table_1 T1 inner join tmp_table_2 T2\
on (1=1 <#foreach idcol in idcols>\
and T1.${idcol.fieldname}=T2.${idcol.fieldname}\
</#foreach>\
)\
;\
\
\
</#if> --von Aggregation=2\
\
<#if aggregation=="3">\
--felder:\
<#foreach field in fields>\ <#foreach field in fields>\
<#if field.priority!="P" && (field.priority==prio_filter || prio_filter=="")>\ <#if field.priority!="P" && (field.priority==prio_filter || prio_filter=="")>\
\ \
<#assign ord=ord+1 />\ <#assign ord=ord+1 />\
\ \
insert into tmp_abgleich\ insert into tmp_abgleich\
(zeitraum,\ (semester,\
prio,\ prio,\
ord,\ ord,\
pruefung,\ pruefung,\
comparison,\ comparison,\
fieldname,\ fieldname,\
fieldcaption,\
result_table_1,\ result_table_1,\
result_table_2,\ result_table_2,\
result_code\ result_code\
)\ )\
select T1.${groupbycol.fieldname},\ select <#foreach groupbycol in groupbycols>\
T1.${groupbycol.fieldname},\
</#foreach>\
'${field.priority}',\ '${field.priority}',\
${ord},\ ${ord},\
'Feld-Abgleich',\ 'Feld-Abgleich',\
'Gleichheit',\ 'Gleichheit',\
'${field.name}',\ '${field.name}',\
'${field.caption}',\
T1.${field.name},\ T1.${field.name},\
T2.${field.name},\ T2.${field.name},\
(case when T1.${field.name}=T2.${field.name} or (T1.${field.name} is null and T2.${field.name} is null) then 0 \ (case when T1.${field.name}=T2.${field.name} then 0 \
else 1 end) as result_code\ else 1 end) as result_code\
from tmp_table_1 T1 left outer join tmp_table_2 T2\ from ${profile.table_1} T1 left outer join ${profile.table_2} T2\
on (1=1 <#foreach idcol in idcols>\ on (1=1 <#foreach idcol in idcols>\
and T1.${idcol.fieldname}=T2.${idcol.fieldname}\ and T1.${idcol.fieldname}=T2.${idcol.fieldname}\
</#foreach>\ </#foreach>\
)\ )\
where 1=1\ where 1=1\
<#if "<<Zeitraum>>"!="">\
and T1.${groupbycol.fieldname}=<<Zeitraum>>\
</#if>\
;\ ;\
\ \
</#if> --vom prio-Filter\ </#if> --vom prio-Filter\
@ -338,86 +224,74 @@ and T1.${groupbycol.fieldname}=<<Zeitraum>>\
</#foreach>\ </#foreach>\
</#if> --wenn aggregation=Felder\ </#if> --wenn aggregation=Felder\
\ \
</#foreach> --Ende Profil-Schleife\
\ \
\ update tmp_abgleich set result_code_str='Differenz'\
\
update tmp_abgleich set result_code_str='Differenz',\
hidden_summe='SuperXmlTabelle?tid=37180&Profil=<<Profil>>&Zeitraum='||zeitraum||'&Feld='||fieldname||'&cachingcontrol=clearmask&navi=true' \
where result_code!=0;\ where result_code!=0;\
\ \
update tmp_abgleich set result_code_str='Erfolg'\ update tmp_abgleich set result_code_str='Erfolg'\
where result_code=0;\ where result_code=0;\
\ \
drop table tmp_table_1;\
drop table tmp_table_2;\
\
<#if aggregation="1">\ <#if aggregation="1">\
select ord,\ select ord,\
prio,\
pruefung,\ pruefung,\
zeitraum,\ semester,\
comparison,\ comparison,\
result_table_1,\ result_table_1,\
result_table_2,\ result_table_2,\
--50 as _graphbar,\
(100-( result_table_1::decimal(8,2))/(result_table_2::decimal(8,2))*100)::integer as _graphbar,\
result_code_str\ result_code_str\
--hidden_summe\
from tmp_abgleich\ from tmp_abgleich\
where 1=1\ where 1=1\
/* and <<Ausführungs-Status>>=result_code */\ /* and <<Ausführungs-Status>>=result_code */\
order by 1;\ order by 1;\
<#elseif aggregation=="2">\
\
update tmp_abgleich_ds set result_code_str='Differenz'\
where result_code!=0 or result_code is null;\
update tmp_abgleich_ds set result_code_str='Erfolg'\
where result_code=0;\
\
\
select \
pruefung,\
zeitraum,\
<#foreach idcol in idcols>\
${idcol.fieldname} ,\
</#foreach>\
result_table_1,\
result_table_2,\
result_code_str\
from tmp_abgleich_ds\
where 1=1\
/* and <<Ausführungs-Status>>=result_code */\
order by 1,2,3,4,5;\
\ \
<#elseif aggregation=="3">\ <#elseif aggregation=="2">\
select ord,\ select ord,prio,pruefung,\
prio,\ semester,\
pruefung,\ null::integer as matrikel_nr,\
zeitraum,\ fieldname,result_code_str,count(*)\
fieldname,\
fieldcaption,\
result_code_str,hidden_summe,count(*) as summe\
from tmp_abgleich\ from tmp_abgleich\
where 1=1\ where 1=1\
/* and <<Ausführungs-Status>>=result_code */\ /* and <<Ausführungs-Status>>=result_code */\
group by 1,2,3,4,5,6,7,8\ group by 1,2,3,4,5,6,7\
order by 1,2,3,4;\ order by 1,2,3,4;\
</#if>^--Freemarker Template\ </#if>^--Freemarker Template\
<sqlvars>\
\
<sqlvar name="profile" type="hash">\
\ \
select name,\
uniquename,\
table_1,\
table_1_caption,\
table_2,\
table_2_caption,\
is_active,\
systeminfo_id\
FROM qa_tablecomp_profile \
where tid=<<Profil>> \
\
</sqlvar>\
</sqlvars>\
<#assign aggregation="<<Aggregation des Vergleichs>>" />\ <#assign aggregation="<<Aggregation des Vergleichs>>" />\
XIL List\ XIL List\
drop_and_delete movable_columns sizable_columns horizontal_scrolling\ drop_and_delete movable_columns sizable_columns horizontal_scrolling\
white_space_color=COLOR_WHITE fixed_columns=2\ white_space_color=COLOR_WHITE fixed_columns=2\
min_heading_height=35\ min_heading_height=35\
<#if aggregation="1">\
Column CID=0 heading_text="Nr." center_heading\ Column CID=0 heading_text="Nr." center_heading\
row_selectable col_selectable heading_platform readonly\ row_selectable col_selectable heading_platform readonly\
width=20 text_size=100\ width=20 text_size=100\
Column CID=1 heading_text="Priorität" center_heading\
row_selectable col_selectable heading_platform readonly\
width=50 text_size=200\
Column CID=1 heading_text="Testfall" center_heading\ Column CID=1 heading_text="Testfall" center_heading\
row_selectable col_selectable heading_platform readonly\ row_selectable col_selectable heading_platform readonly\
width=50 text_size=200\ width=50 text_size=200\
Column CID=1 heading_text="${groupbycol.fieldcaption}" center_heading\ Column CID=1 heading_text="Semester" center_heading\
row_selectable col_selectable heading_platform readonly\ row_selectable col_selectable heading_platform readonly\
width=50 text_size=200\ width=50 text_size=200\
<#if aggregation="1">\
Column CID=1 heading_text="Vergleich" center_heading\ Column CID=1 heading_text="Vergleich" center_heading\
row_selectable col_selectable heading_platform readonly\ row_selectable col_selectable heading_platform readonly\
width=50 text_size=200\ width=50 text_size=200\
@ -427,54 +301,21 @@ Column CID=1 heading_text="Wert ${profile.table_1_caption}" center_heading\
Column CID=1 heading_text="Wert ${profile.table_2_caption}" center_heading\ Column CID=1 heading_text="Wert ${profile.table_2_caption}" center_heading\
row_selectable col_selectable heading_platform readonly\ row_selectable col_selectable heading_platform readonly\
width=10 text_size=200\ width=10 text_size=200\
Column CID=1 heading_text="Differenz graphisch" center_heading\
row_selectable col_selectable heading_platform readonly\
width=10 \
Column CID=1 heading_text="Status" center_heading\ Column CID=1 heading_text="Status" center_heading\
row_selectable col_selectable heading_platform readonly\ row_selectable col_selectable heading_platform readonly\
width=10 text_size=200\ width=10 text_size=200\
<#elseif aggregation="2">\ <#elseif aggregation=="2">\
Column CID=1 heading_text="Testfall" center_heading\ Column CID=1 heading_text="Matrikelnr." center_heading\
row_selectable col_selectable heading_platform readonly\
width=50 text_size=200\
Column CID=1 heading_text="Zeitraum: ${groupbycol.fieldcaption}" center_heading\
row_selectable col_selectable heading_platform readonly\
width=50 text_size=200\
<#foreach idcol in idcols>\
Column CID=1 heading_text="Datensatz-ID\\000${idcol.fieldcaption}" center_heading\
row_selectable col_selectable heading_platform readonly\
width=10 text_size=200\
</#foreach>\
Column CID=1 heading_text="Vorhanden ${profile.table_1_caption}" center_heading\
row_selectable col_selectable heading_platform readonly\
width=10 text_size=200\
Column CID=1 heading_text="Vorhanden ${profile.table_2_caption}" center_heading\
row_selectable col_selectable heading_platform readonly\ row_selectable col_selectable heading_platform readonly\
width=10 text_size=200\ width=10 text_size=200\
Column CID=1 heading_text="Status" center_heading\ Column CID=1 heading_text="Feldname" center_heading\
row_selectable col_selectable heading_platform readonly\ row_selectable col_selectable heading_platform readonly\
width=10 text_size=200\ width=10 text_size=200\
<#elseif aggregation="3">\ Column CID=1 heading_text="Ergebnis" center_heading\
Column CID=0 heading_text="Nr." center_heading\
row_selectable col_selectable heading_platform readonly\
width=20 text_size=100\
Column CID=1 heading_text="Priorität" center_heading\
row_selectable col_selectable heading_platform readonly\
width=50 text_size=200\
Column CID=1 heading_text="Testfall" center_heading\
row_selectable col_selectable heading_platform readonly\
width=50 text_size=200\
Column CID=1 heading_text="${groupbycol.fieldcaption}" center_heading\
row_selectable col_selectable heading_platform readonly\
width=50 text_size=200\
Column CID=1 heading_text="Feldname" center_heading\
row_selectable col_selectable heading_platform readonly\ row_selectable col_selectable heading_platform readonly\
width=10 text_size=200\ width=10 text_size=200\
Column CID=1 heading_text="Feldbezeichnung" center_heading\ Column CID=1 heading_text="Summe" center_heading\
row_selectable col_selectable heading_platform readonly\ row_selectable col_selectable heading_platform readonly\
width=10 text_size=200\ width=10 text_size=200\
Column CID=1 heading_text="Ergebnis" center_heading row_selectable col_selectable heading_platform readonly width=10 text_size=20\
Column CID=1 heading_text="hidden_Summe" center_heading row_selectable col_selectableh eading_platform readonly width=10 text_size=20\
Column CID=1 heading_text="Summe" center_heading row_selectable col_selectableh eading_platform readonly width=1 text_size=1\
</#if>\ </#if>\
@@@^ ^ ^Generische Auswertung eines Tabellenabgleichs mit Link zu Details bei Auswertung mit Aggregation des Vergleichs=Felder^drop table tmp_abgleich; drop table tmp_abgleich_ds; drop table tmp_abgleich_summen;^^1^440^360^^1^ ^ @@@^^^Generische Auswertung eines Tabellenabgleichs^drop table tmp_abgleich;^^1^440^360^0^1^^

11
src-modules/module/qa/masken/37180_felderinfo.unl

@ -1,11 +0,0 @@
37180^Benutzer/in^60^0^0^150^200^1^integer^200^0^999^<<SQL>> select tid,nvl(name,benutzer) from userinfo order by 2;^hidden^ ^
37181^Ausführungs-Status^0^0^0^150^80^1^integer^200^0^999^<<SQL>> select 0,'Erfolgreich' from xdummy union select 1,'Warnung' from xdummy order by 1^ ^ ^
37182^Feld^20^0^0^150^80^1^char^200^1^1^<<SQL>> select name,caption from qa_tablecomp_field where qa_tablecomp_profile_id=<<Profil>> order by 1;^ ^ ^
37183^Testfall-Name (Stichwort)^50^0^0^150^150^1^sql^50^0^999^^ ^ ^
37184^Zeitraum^10^0^0^150^200^1^integer^200^0^0^^ ^ ^
37185^Nur aktive^30^0^0^150^80^1^integer^200^0^999^<<SQL>> select 1,'Ja' from xdummy union select 0,'nein' from xdummy order by 1 desc;^hidden^<<SQL>>select 1,'Ja' from xdummy^
37186^Ab Datum^40^0^0^150^80^1^date^200^0^999^^hidden^<<SQL>> select today()-3 from xdummy^
37187^Profil^0^0^0^150^80^1^integer^200^1^1^<<SQL>> select tid,name from qa_tablecomp_profile where is_active=1 order by 2^ ^ ^
37188^Tabellen-Abgleiche planen^100^0^0^150^300^1^char^30^0^999^^ ^<<SQL>>\
--freemarker template \
<#if UserIsAdmin> select '../edit/qa/qa_tablecomp_profile_list.jsp' from xdummy ;<#else> select '../not_authorized.htm' from xdummy;</#if>^

1
src-modules/module/qa/masken/37180_maske_system_bez.unl

@ -1 +0,0 @@
37180^260^

9
src-modules/module/qa/masken/37180_masken_felder_bez.unl

@ -1,9 +0,0 @@
37180^37180^
37180^37181^
37180^37182^
37180^37183^
37180^37184^
37180^37185^
37180^37186^
37180^37187^
37180^37188^

75
src-modules/module/qa/masken/37180_maskeninfo.unl

@ -1,75 +0,0 @@
37180^Tabellen-Abgleich Differenzen^--Freemarker Template\
<sqlvars>\
\
<sqlvar name="profile" type="hash">\
select name,\
uniquename,\
table_1,\
table_1_caption,\
table_2,\
table_2_caption,\
is_active,\
systeminfo_id\
FROM qa_tablecomp_profile \
where tid=<<Profil>> \
\
</sqlvar>\
\
<sqlvar name="idcols" type="hashsequence">\
SELECT \
fieldname,\
fieldcaption\
FROM qa_tablecomp_idcol \
where qa_tablecomp_profile_id=<<Profil>>\
\
</sqlvar> \
<sqlvar name="groupbycols" type="hashsequence">\
SELECT fieldname\
FROM qa_tablecomp_groupby \
where qa_tablecomp_profile_id=<<Profil>>\
</sqlvar> \
<sqlvar name="vergleichsfeld" type="hash">\
SELECT name,\
caption\
FROM qa_tablecomp_field\
where qa_tablecomp_profile_id=<<Profil>>\
and name=<<Feld>>;\
\
</sqlvar> \
</sqlvars>\
\
\
select distinct <#foreach idcol in idcols>T1.${idcol.fieldname},</#foreach>\
T1.${vergleichsfeld.name},\
T2.${vergleichsfeld.name}\
from ${profile.table_1} T1 left outer join ${profile.table_2} T2\
on (1=1 <#foreach idcol in idcols>\
and T1.${idcol.fieldname}=T2.${idcol.fieldname}\
</#foreach>\
)\
where (T1.${vergleichsfeld.name}!=T2.${vergleichsfeld.name} or (T1.${vergleichsfeld.name} is not null and T2.${vergleichsfeld.name} is null) or (T1.${vergleichsfeld.name} is null and T2.${vergleichsfeld.name} is not null))\
<#if "<<Zeitraum>>"!="">\
<#foreach groupbycol in groupbycols>\
and T1.${groupbycol.fieldname}=<<Zeitraum>>\
</#foreach>\
</#if>\
order by <#list 1..idcols?size as i>${i},</#list> ${idcols?size}\
;^--Freemarker Template\
\
XIL List\
drop_and_delete movable_columns sizable_columns horizontal_scrolling\
white_space_color=COLOR_WHITE fixed_columns=1\
min_heading_height=35\
<#foreach idcol in idcols>\
Column CID=0 heading_text="${idcol.fieldcaption}" center_heading\
row_selectable col_selectable heading_platform readonly\
width=20 text_size=14\
</#foreach>\
Column CID=1 heading_text="${profile.table_1_caption}.${vergleichsfeld.caption}" center_heading\
row_selectable col_selectable heading_platform readonly\
width=50 text_size=14\
Column CID=1 heading_text="${profile.table_2_caption}.${vergleichsfeld.caption}" center_heading\
row_selectable col_selectable heading_platform readonly\
width=50 text_size=14\
\
@@@^ ^ ^Anzeige von Differenzen beim Tabellenabgleich^ ^^1^440^360^^1^^

1
src-modules/module/qa/masken/37180_sachgeb_maske_bez.unl

@ -1 +0,0 @@
260^37180^

2
src-modules/module/qa/qa_mask_execution_loop.x

@ -8,7 +8,7 @@ function exitAfterError
trap exitAfterError ERR trap exitAfterError ERR
TC_ALL=`psql --dbname=$DBNAME --tuples-only -c "select uniquename from qa_mask_execution where string_not_null(uniquename)!='' and is_active=1 order by 1"` TC_ALL=`psql --dbname=$DBNAME --tuples-only -c "select uniquename from qa_mask_execution where is_active=1 order by 1"`
cd $WEBAPP/WEB-INF cd $WEBAPP/WEB-INF

141
src-modules/module/qa/schluesseltabellen/qa_tablecomp_profile_sos_stud_astat_fuellen.sql

@ -1,141 +0,0 @@
-- Profil für Vergleich ASTAT
-- kann per Hilfsmaske eingespielt werden, wenn QA-Modul installiert
--freemarker template
<#assign profiles = [
{"name":"Vergleich Studierende ASTAT (STGNR)",
"uniquename":"sos_stud_astat_stgnr_stichtag_0",
"table_1":"qa_sos_stg_aggr_astat",
"table_1_caption":"Studierende ASTAT (ohne Exmatr.)",
"table_1_filter":"kz_rueck_beur_ein !=5",
"table_2":"qa_sos_stg_aggr_int",
"table_2_caption":"Studierende (intern) tagesaktuell",
"table_2_filter":"stichtag in (select I.tid from sos_stichtag I where appl_key in (''0''))",
"systeminfo_id":"7"}
] />
<#assign pruefungen = [
{"name":"Gesamtzahl der Fälle","whereclause":"1=1","priority":"A","aggregationfield":"matrikel_nr","aggregationfunction":"count"},
{"name":"Gesamtzahl der Köpfe","whereclause":"studiengang_nr=1 and fach_nr=1","priority":"A","aggregationfield":"matrikel_nr","aggregationfunction":"count"}
] />
<#assign groupbycol = {"name":"sem_rueck_beur_ein","caption":"Semester"} />
<#assign idcols = [
{"name":"sem_rueck_beur_ein","caption":"Semester"},
{"name":"matrikel_nr","caption":"Matrikel-Nr."},
{"name":"studiengang_nr","caption":"Studiengang-Nr."},
{"name":"fach_nr","caption":"Fachnr."}
] />
<#assign ord=0 />
<#assign fields = [
{"name":"geschlecht","priority":"A","caption":"Geschlecht" },
{"name":"ca12_staat","priority":"A","caption":"Staatsangehörigkeit" },
{"name":"kz_rueck_beur_ein","priority":"A","caption":"Status" },
{"name":"hrst","priority":"A","caption":"Hörerstatus" },
{"name":"fach_sem_zahl","priority":"A","caption":"Fachsemester" },
{"name":"stg","priority":"A","caption":"Fach" },
{"name":"abschluss","priority":"A","caption":"Abschluss" }
] />
--Der folgende Code ist generisch:
<#foreach profile in profiles>
delete from qa_tablecomp_aggregation
where qa_tablecomp_profile_id in (select P.tid from qa_tablecomp_profile P
where P.uniquename='${profile.uniquename}')
;
delete from qa_tablecomp_groupby
where qa_tablecomp_profile_id in (select P.tid from qa_tablecomp_profile P
where P.uniquename='${profile.uniquename}')
;
delete from qa_tablecomp_idcol
where qa_tablecomp_profile_id in (select P.tid from qa_tablecomp_profile P
where P.uniquename='${profile.uniquename}')
;
delete from qa_tablecomp_field
where qa_tablecomp_profile_id in (select P.tid from qa_tablecomp_profile P
where P.uniquename='${profile.uniquename}')
;
delete from qa_tablecomp_profile
where uniquename='${profile.uniquename}'
;
insert into qa_tablecomp_profile( name,
uniquename,
table_1,
table_1_caption,
table_1_filter,
table_2,
table_2_caption,
table_2_filter,
is_active,
systeminfo_id)
select '${profile.name}',
'${profile.uniquename}',
'${profile.table_1}',
'${profile.table_1_caption}',
'${profile.table_1_filter}',
'${profile.table_2}',
'${profile.table_2_caption}',
'${profile.table_2_filter}',
1,
${profile.systeminfo_id}
from xdummy;
<#assign ord=0 />
<#foreach pruefung in pruefungen>
insert into qa_tablecomp_aggregation(
qa_tablecomp_profile_id,
name,
whereclause,
is_active,
priority,
aggregationfield,
aggregationfunction
)
select tid,
'${pruefung.name}',
'${pruefung.whereclause}',
1,
'${pruefung.priority}',
'${pruefung.aggregationfield}',
'${pruefung.aggregationfunction}'
from qa_tablecomp_profile
where uniquename='${profile.uniquename}';
</#foreach>
insert into qa_tablecomp_groupby( qa_tablecomp_profile_id,
fieldname,
fieldcaption
)
select tid,
'${groupbycol.name}',
'${groupbycol.caption}'
from qa_tablecomp_profile
where uniquename='${profile.uniquename}';
<#foreach idcol in idcols>
insert into qa_tablecomp_idcol( qa_tablecomp_profile_id,
fieldname,
fieldcaption
)
select tid,
'${idcol.name}',
'${idcol.caption}'
from qa_tablecomp_profile
where uniquename='${profile.uniquename}';
</#foreach>
<#foreach field in fields>
<#assign ord=ord+1 />
insert into qa_tablecomp_field(
qa_tablecomp_profile_id,
name,
caption,
priority,
sortnr
)
select tid,
'${field.name}',
'${field.caption}',
'${field.priority}',
${ord}
from qa_tablecomp_profile
where uniquename='${profile.uniquename}';
</#foreach>
--Ende Profil
</#foreach>

141
src-modules/module/qa/schluesseltabellen/qa_tablecomp_profile_sos_stud_astat_nach_fach_abschluss_s0_fuellen.sql

@ -1,141 +0,0 @@
-- Profil für Vergleich ASTAT
-- kann per Hilfsmaske eingespielt werden, wenn QA-Modul installiert
--freemarker template
<#assign profiles = [
{"name":"Vergleich Studierende ASTAT (Fach/Abschluss) Stichtag tagesakt.",
"uniquename":"sos_stud_astat_stg_abschluss_s0",
"table_1":"qa_sos_stg_aggr_astat",
"table_1_caption":"Studierende ASTAT (ohne Exmatr.)",
"table_1_filter":"kz_rueck_beur_ein !=5",
"table_2":"qa_sos_stg_aggr_int",
"table_2_caption":"Studierende (intern) tagesaktuell",
"table_2_filter":"hrst !=4 and stichtag in (select I.tid from sos_stichtag I where appl_key in (''0''))",
"systeminfo_id":"7"}
] />
<#assign pruefungen = [
{"name":"Gesamtzahl der Fälle","whereclause":"","priority":"A","aggregationfield":"matrikel_nr","aggregationfunction":"count"},
{"name":"Gesamtzahl der Köpfe","whereclause":"studiengang_nr=1 and fach_nr=1","priority":"A","aggregationfield":"matrikel_nr","aggregationfunction":"count"}
] />
<#assign groupbycol = {"name":"sem_rueck_beur_ein","caption":"Semester"} />
<#assign idcols = [
{"name":"sem_rueck_beur_ein","caption":"Semester"},
{"name":"matrikel_nr","caption":"Matrikel-Nr."},
{"name":"stg","caption":"Fach" },
{"name":"abschluss","caption":"Abschluss" }
] />
<#assign ord=0 />
<#assign fields = [
{"name":"geschlecht","priority":"A","caption":"Geschlecht" },
{"name":"ca12_staat","priority":"A","caption":"Staatsangehörigkeit" },
{"name":"kz_rueck_beur_ein","priority":"A","caption":"Status" },
{"name":"hrst","priority":"A","caption":"Hörerstatus" },
{"name":"fach_sem_zahl","priority":"A","caption":"Fachsemester" },
{"name":"studiengang_nr","priority":"A","caption":"Studiengang-Nr."},
{"name":"fach_nr","priority":"A","caption":"Fachnr."}
] />
--Der folgende Code ist generisch:
<#foreach profile in profiles>
delete from qa_tablecomp_aggregation
where qa_tablecomp_profile_id in (select P.tid from qa_tablecomp_profile P
where P.uniquename='${profile.uniquename}')
;
delete from qa_tablecomp_groupby
where qa_tablecomp_profile_id in (select P.tid from qa_tablecomp_profile P
where P.uniquename='${profile.uniquename}')
;
delete from qa_tablecomp_idcol
where qa_tablecomp_profile_id in (select P.tid from qa_tablecomp_profile P
where P.uniquename='${profile.uniquename}')
;
delete from qa_tablecomp_field
where qa_tablecomp_profile_id in (select P.tid from qa_tablecomp_profile P
where P.uniquename='${profile.uniquename}')
;
delete from qa_tablecomp_profile
where uniquename='${profile.uniquename}'
;
insert into qa_tablecomp_profile( name,
uniquename,
table_1,
table_1_caption,
table_1_filter,
table_2,
table_2_caption,
table_2_filter,
is_active,
systeminfo_id)
select '${profile.name}',
'${profile.uniquename}',
'${profile.table_1}',
'${profile.table_1_caption}',
'${profile.table_1_filter}',
'${profile.table_2}',
'${profile.table_2_caption}',
'${profile.table_2_filter}',
1,
${profile.systeminfo_id}
from xdummy;
<#assign ord=0 />
<#foreach pruefung in pruefungen>
insert into qa_tablecomp_aggregation(
qa_tablecomp_profile_id,
name,
whereclause,
is_active,
priority,
aggregationfield,
aggregationfunction
)
select tid,
'${pruefung.name}',
'${pruefung.whereclause}',
1,
'${pruefung.priority}',
'${pruefung.aggregationfield}',
'${pruefung.aggregationfunction}'
from qa_tablecomp_profile
where uniquename='${profile.uniquename}';
</#foreach>
insert into qa_tablecomp_groupby( qa_tablecomp_profile_id,
fieldname,
fieldcaption
)
select tid,
'${groupbycol.name}',
'${groupbycol.caption}'
from qa_tablecomp_profile
where uniquename='${profile.uniquename}';
<#foreach idcol in idcols>
insert into qa_tablecomp_idcol( qa_tablecomp_profile_id,
fieldname,
fieldcaption
)
select tid,
'${idcol.name}',
'${idcol.caption}'
from qa_tablecomp_profile
where uniquename='${profile.uniquename}';
</#foreach>
<#foreach field in fields>
<#assign ord=ord+1 />
insert into qa_tablecomp_field(
qa_tablecomp_profile_id,
name,
caption,
priority,
sortnr
)
select tid,
'${field.name}',
'${field.caption}',
'${field.priority}',
${ord}
from qa_tablecomp_profile
where uniquename='${profile.uniquename}';
</#foreach>
--Ende Profil
</#foreach>

141
src-modules/module/qa/schluesseltabellen/qa_tablecomp_profile_sos_stud_astat_nach_fach_abschluss_s1_fuellen.sql

@ -1,141 +0,0 @@
-- Profil für Vergleich ASTAT
-- kann per Hilfsmaske eingespielt werden, wenn QA-Modul installiert
--freemarker template
<#assign profiles = [
{"name":"Vergleich Studierende ASTAT (Fach/Abschluss) Stichtag amtl. Stat.",
"uniquename":"sos_stud_astat_stg_abschluss_s1",
"table_1":"qa_sos_stg_aggr_astat",
"table_1_caption":"Studierende ASTAT (ohne Exmatr.)",
"table_1_filter":"kz_rueck_beur_ein !=5",
"table_2":"qa_sos_stg_aggr_int",
"table_2_caption":"Studierende (intern) amtl. Stat.",
"table_2_filter":"hrst !=4 and kz_rueck_beur_ein !=5 and stichtag in (select I.tid from sos_stichtag I where appl_key in (''1''))",
"systeminfo_id":"7"}
] />
<#assign pruefungen = [
{"name":"Gesamtzahl der Fälle","whereclause":"","priority":"A","aggregationfield":"matrikel_nr","aggregationfunction":"count"},
{"name":"Gesamtzahl der Köpfe","whereclause":"studiengang_nr=1 and fach_nr=1","priority":"A","aggregationfield":"matrikel_nr","aggregationfunction":"count"}
] />
<#assign groupbycol = {"name":"sem_rueck_beur_ein","caption":"Semester"} />
<#assign idcols = [
{"name":"sem_rueck_beur_ein","caption":"Semester"},
{"name":"matrikel_nr","caption":"Matrikel-Nr."},
{"name":"stg","caption":"Fach" },
{"name":"abschluss","caption":"Abschluss" }
] />
<#assign ord=0 />
<#assign fields = [
{"name":"geschlecht","priority":"A","caption":"Geschlecht" },
{"name":"ca12_staat","priority":"A","caption":"Staatsangehörigkeit" },
{"name":"kz_rueck_beur_ein","priority":"A","caption":"Status" },
{"name":"hrst","priority":"A","caption":"Hörerstatus" },
{"name":"fach_sem_zahl","priority":"A","caption":"Fachsemester" },
{"name":"studiengang_nr","priority":"A","caption":"Studiengang-Nr."},
{"name":"fach_nr","priority":"A","caption":"Fachnr."}
] />
--Der folgende Code ist generisch:
<#foreach profile in profiles>
delete from qa_tablecomp_aggregation
where qa_tablecomp_profile_id in (select P.tid from qa_tablecomp_profile P
where P.uniquename='${profile.uniquename}')
;
delete from qa_tablecomp_groupby
where qa_tablecomp_profile_id in (select P.tid from qa_tablecomp_profile P
where P.uniquename='${profile.uniquename}')
;
delete from qa_tablecomp_idcol
where qa_tablecomp_profile_id in (select P.tid from qa_tablecomp_profile P
where P.uniquename='${profile.uniquename}')
;
delete from qa_tablecomp_field
where qa_tablecomp_profile_id in (select P.tid from qa_tablecomp_profile P
where P.uniquename='${profile.uniquename}')
;
delete from qa_tablecomp_profile
where uniquename='${profile.uniquename}'
;
insert into qa_tablecomp_profile( name,
uniquename,
table_1,
table_1_caption,
table_1_filter,
table_2,
table_2_caption,
table_2_filter,
is_active,
systeminfo_id)
select '${profile.name}',
'${profile.uniquename}',
'${profile.table_1}',
'${profile.table_1_caption}',
'${profile.table_1_filter}',
'${profile.table_2}',
'${profile.table_2_caption}',
'${profile.table_2_filter}',
1,
${profile.systeminfo_id}
from xdummy;
<#assign ord=0 />
<#foreach pruefung in pruefungen>
insert into qa_tablecomp_aggregation(
qa_tablecomp_profile_id,
name,
whereclause,
is_active,
priority,
aggregationfield,
aggregationfunction
)
select tid,
'${pruefung.name}',
'${pruefung.whereclause}',
1,
'${pruefung.priority}',
'${pruefung.aggregationfield}',
'${pruefung.aggregationfunction}'
from qa_tablecomp_profile
where uniquename='${profile.uniquename}';
</#foreach>
insert into qa_tablecomp_groupby( qa_tablecomp_profile_id,
fieldname,
fieldcaption
)
select tid,
'${groupbycol.name}',
'${groupbycol.caption}'
from qa_tablecomp_profile
where uniquename='${profile.uniquename}';
<#foreach idcol in idcols>
insert into qa_tablecomp_idcol( qa_tablecomp_profile_id,
fieldname,
fieldcaption
)
select tid,
'${idcol.name}',
'${idcol.caption}'
from qa_tablecomp_profile
where uniquename='${profile.uniquename}';
</#foreach>
<#foreach field in fields>
<#assign ord=ord+1 />
insert into qa_tablecomp_field(
qa_tablecomp_profile_id,
name,
caption,
priority,
sortnr
)
select tid,
'${field.name}',
'${field.caption}',
'${field.priority}',
${ord}
from qa_tablecomp_profile
where uniquename='${profile.uniquename}';
</#foreach>
--Ende Profil
</#foreach>

4
src-modules/module/qa/upgrade/qa_pre_upgrade_ids.sql

@ -1,4 +0,0 @@
--mit Version 0.6 ist uniquename unique:
update qa_mask_execution set uniquename=tid where uniquename is null or trim(uniquename)='';

4
src-modules/module/qa/upgrade/qa_pre_upgrade_pg.sql

@ -1,4 +0,0 @@
--mit Version 0.6 ist uniquename unique:
update qa_mask_execution set uniquename=tid where uniquename is null or trim(uniquename)='';

5
src-modules/module/qa/upgrade/qa_upgrade_man.sql

@ -13,8 +13,3 @@ where assert_result_value_max is null;
--Obsolete Maske: --Obsolete Maske:
delete from themenbaum where maskeninfo_id=37100; delete from themenbaum where maskeninfo_id=37100;
alter table qa_mask_execution alter column created_at set default current_date;
alter table qa_dbtest alter column created_at set default current_date;
alter table qa_project alter column created_at set default current_date;

11
superx/WEB-INF/conf/edustore/db/bin/qa_tc_execution_mail.x

@ -20,13 +20,10 @@ export MASK_PARAM="Ausführungs-Status=1,2&Ab Datum=${DATUM_EXEC}"
# ExecuteMask funktioniert nur im WEB-INF Ordner # ExecuteMask funktioniert nur im WEB-INF Ordner
cd $WEBAPP/WEB-INF cd $WEBAPP/WEB-INF
#echo CMD -cp "$JDBC_CLASSPATH" $JAVA_OPTS de.superx.bin.ExecuteMask -tid:$MASKEN_TID -out:$FILE_DIR/$FILE_NAME.pdf -user:admin "-params:${MASK_PARAM}&stylesheet=tabelle_fo_pdf.xsl&contenttype=application/pdf" -logger:$SUPERX_DIR/db/conf/logging.properties echo CMD -cp "$JDBC_CLASSPATH" $JAVA_OPTS de.superx.bin.ExecuteMask -tid:$MASKEN_TID -out:$FILE_DIR/$FILE_NAME.pdf -user:admin "-params:${MASK_PARAM}&stylesheet=tabelle_fo_pdf.xsl&contenttype=application/pdf" -logger:$SUPERX_DIR/db/conf/logging.properties
# XLSX
java -cp "$JDBC_CLASSPATH" $JAVA_OPTS de.superx.bin.ExecuteMask -tid:$MASKEN_TID -out:$FILE_DIR/$FILE_NAME.xlsx -user:admin "-params:${MASK_PARAM}&Zusammenfassung=0&stylesheet=tabelle_37020_mit_summary.jrxml&contenttype=application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" -logger:$SUPERX_DIR/db/conf/logging.properties
#HTML
java -cp "$JDBC_CLASSPATH" $JAVA_OPTS de.superx.bin.ExecuteMask -tid:$MASKEN_TID -out:$FILE_DIR/$FILE_NAME.htm -user:admin "-params:${MASK_PARAM}&Zusammenfassung=1&stylesheet=tabelle_37020_mit_summary.jrxml&contenttype=text/html" -logger:$SUPERX_DIR/db/conf/logging.properties
# PDF
java -cp "$JDBC_CLASSPATH" $JAVA_OPTS de.superx.bin.ExecuteMask -tid:$MASKEN_TID -out:$FILE_DIR/$FILE_NAME.pdf -user:admin "-params:${MASK_PARAM}&stylesheet=tabelle_fo_pdf.xsl&contenttype=application/pdf" -logger:$SUPERX_DIR/db/conf/logging.properties
# XML # XML
#java -cp "$JDBC_CLASSPATH" $JAVA_OPTS de.superx.bin.ExecuteMask -tid:$MASKEN_TID -out:$FILE_DIR/$FILE_NAME.xml -user:admin "-params:${MASK_PARAM}&stylesheet=tabelle_fo_pdf.xsl&contenttype=application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" -logger:$SUPERX_DIR/db/conf/logging.properties #java -cp "$JDBC_CLASSPATH" $JAVA_OPTS de.superx.bin.ExecuteMask -tid:$MASKEN_TID -out:$FILE_DIR/$FILE_NAME.xml -user:admin "-params:${MASK_PARAM}&stylesheet=tabelle_fo_pdf.xsl&contenttype=application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" -logger:$SUPERX_DIR/db/conf/logging.properties
@ -44,6 +41,6 @@ export F_ANZ=$(grep -c Fehler $FILE_DIR/$FILE_NAME.csv)
#Mail Versand #Mail Versand
cat $FILE_DIR/$FILE_NAME.htm | $MAILPROG -s "Testfall-Protokoll | $W_ANZ Warnungen | $F_ANZ Fehler" -M "text/html" -a $FILE_DIR/$FILE_NAME.xlsx "${LOGMAIL}" cat $FILE_DIR/$FILE_NAME.csv | $MAILPROG -s "Testfall-Protokoll | $W_ANZ Warnungen | $F_ANZ Fehler" -a $FILE_DIR/$FILE_NAME.pdf "${LOGMAIL}"

BIN
superx/WEB-INF/lib_ext/superx5.0_fuer_h1.jar

Binary file not shown.

68
superx/WEB-INF/reports/qa_table.jrtx

@ -1,68 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio -->
<jasperTemplate xmlns="http://jasperreports.sourceforge.net/jasperreports/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/template http://jasperreports.sourceforge.net/xsd/jaspertemplate.xsd">
<style name="Standard Bodytext" isDefault="true" isBlankWhenNull="true" fontName="Liberation Sans" fontSize="8"/>
<style name="ReportTitle" style="Standard Bodytext" fontName="Liberation Sans" fontSize="12" isBold="true"/>
<style name="ReportHeadingInstitution" style="Standard Bodytext" fontName="Liberation Sans" fontSize="8" isBold="false"/>
<style name="subReportTitle" style="Standard Bodytext" fontName="Liberation Sans" fontSize="12" isBold="true"/>
<style name="LegendContent" style="Standard Bodytext" mode="Opaque" backcolor="#CCCCCC">
<pen lineWidth="1.0" lineStyle="Solid" lineColor="#030000"/>
</style>
<style name="HinweisContent" style="Standard Bodytext" mode="Opaque" backcolor="#ffffff">
<pen lineWidth="0.4" lineStyle="Solid" lineColor="#999999"/>
</style>
<!--<style name="TableRowDetail" mode="Opaque" forecolor="#000000" backcolor="#FFFFFF" hTextAlign="Right" vTextAlign="Middle" isBlankWhenNull="true" fontName="{$font}" fontSize="8">
<box rightPadding="2">
<pen lineColor="#FFFFFF"/>
</box>
<paragraph leftIndent="2" rightIndent="1" spacingBefore="0" spacingAfter="0"/>
<conditionalStyle>
<conditionExpression><![CDATA[Boolean.valueOf( $V{PAGE_COUNT} % 2 == 1 )]]></conditionExpression>
<style mode="Opaque" forecolor="#000000" backcolor="#E3E8EB"/>
</conditionalStyle>
</style>-->
<style name="TableRowLevel1" mode="Opaque" backcolor="#CCCCCC" fontSize="12" isBold="true">
<pen lineWidth="1.0" lineStyle="Solid" lineColor="#030000"/>
</style>
<style name="TableRowLevel2" mode="Opaque" backcolor="#CCCCCC" fontSize="12" isBold="true">
<pen lineWidth="1.0" lineStyle="Solid" lineColor="#030000"/>
</style>
<style name="TableRowLevel3" mode="Opaque" backcolor="#CCCCCC" fontSize="12" isBold="true">
<pen lineWidth="1.0" lineStyle="Solid" lineColor="#030000"/>
</style>
<style name="TableRowLevel4" mode="Opaque" backcolor="#CCCCCC" fontSize="12" isBold="true">
<pen lineWidth="1.0" lineStyle="Solid" lineColor="#030000"/>
</style>
<style name="TableRowLevel5" mode="Opaque" backcolor="#CCCCCC" fontSize="12" isBold="true">
<pen lineWidth="1.0" lineStyle="Solid" lineColor="#030000"/>
</style>
<style name="TableRowLevel6" mode="Opaque" backcolor="#CCCCCC" fontSize="12" isBold="true">
<pen lineWidth="1.0" lineStyle="Solid" lineColor="#030000"/>
</style>
<style name="TableRowLevel7" mode="Opaque" backcolor="#CCCCCC" fontSize="12" isBold="true">
<pen lineWidth="1.0" lineStyle="Solid" lineColor="#030000"/>
</style>
<style name="TableRowLevel8" mode="Opaque" backcolor="#CCCCCC" fontSize="12" isBold="true">
<pen lineWidth="1.0" lineStyle="Solid" lineColor="#030000"/>
</style>
<style name="TableRowLevel9" mode="Opaque" backcolor="#CCCCCC" fontSize="12" isBold="true">
<pen lineWidth="1.0" lineStyle="Solid" lineColor="#030000"/>
</style>
<style name="TableRowLevel10" mode="Opaque" backcolor="#CCCCCC" fontSize="12" isBold="true">
<pen lineWidth="1.0" lineStyle="Solid" lineColor="#030000"/>
</style>
<style name="LegendLabel" style="Standard Bodytext" mode="Transparent" backcolor="#FFFFFF">
<pen lineWidth="1.0" lineStyle="Solid" lineColor="#030000"/>
</style>
<style name="TableColumnHeader" mode="Transparent" forecolor="#000000" backcolor="#ccccff" hTextAlign="Center" vTextAlign="Middle" fontName="Liberation Sans" fontSize="8">
<box>
<pen lineColor="#FFFFFF"/>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#FFFFFF"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#FFFFFF"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#FFFFFF"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#FFFFFF"/>
</box>
<paragraph spacingBefore="0" spacingAfter="0"/>
</style>
</jasperTemplate>

147
superx/WEB-INF/reports/tabelle_37020_mit_summary.jrxml

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.19.1.final using JasperReports Library version 6.19.1-867c00bf88cd4d784d404379d6c05e1b419e8a4c --> <!-- Created with Jaspersoft Studio version 6.5.1.final using JasperReports Library version 6.5.1 -->
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Testfall-Protokoll" language="groovy" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="818" leftMargin="12" rightMargin="12" topMargin="12" bottomMargin="12" isSummaryWithPageHeaderAndFooter="true" uuid="6951068f-d120-4065-b29f-7f356b92439e"> <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Testfall-Protokoll" language="groovy" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="818" leftMargin="12" rightMargin="12" topMargin="12" bottomMargin="12" uuid="6951068f-d120-4065-b29f-7f356b92439e">
<property name="net.sf.jasperreports.export.xls.create.custom.palette" value="true"/> <property name="net.sf.jasperreports.export.xls.create.custom.palette" value="true"/>
<property name="net.sf.jasperreports.export.xls.detect.cell.type" value="true"/> <property name="net.sf.jasperreports.export.xls.detect.cell.type" value="true"/>
<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.columns" value="true"/> <property name="net.sf.jasperreports.export.xls.remove.empty.space.between.columns" value="true"/>
@ -20,7 +20,7 @@
<property name="net.sf.jasperreports.export.xlsx.exclude.origin.band.1" value="pageHeader"/> <property name="net.sf.jasperreports.export.xlsx.exclude.origin.band.1" value="pageHeader"/>
<property name="net.sf.jasperreports.export.xlsx.exclude.origin.band.2" value="pageFooter"/> <property name="net.sf.jasperreports.export.xlsx.exclude.origin.band.2" value="pageFooter"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="qa_protokoll"/> <property name="com.jaspersoft.studio.data.defaultdataadapter" value="qa_protokoll"/>
<template><![CDATA["qa_table.jrtx"]]></template> <template><![CDATA["simple_table.jrtx"]]></template>
<style name="TableRowDetail" mode="Opaque" forecolor="#000000" backcolor="#FFFFFF" hTextAlign="Right" vTextAlign="Middle" isBlankWhenNull="true" fontName="Liberation Sans" fontSize="8"> <style name="TableRowDetail" mode="Opaque" forecolor="#000000" backcolor="#FFFFFF" hTextAlign="Right" vTextAlign="Middle" isBlankWhenNull="true" fontName="Liberation Sans" fontSize="8">
<box rightPadding="2"> <box rightPadding="2">
<pen lineColor="#FFFFFF"/> <pen lineColor="#FFFFFF"/>
@ -31,7 +31,7 @@
<style mode="Opaque" forecolor="#000000" backcolor="#E3E8EB"/> <style mode="Opaque" forecolor="#000000" backcolor="#E3E8EB"/>
</conditionalStyle> </conditionalStyle>
</style> </style>
<style name="Crosstab 1_CH" mode="Opaque" forecolor="#2B5A70" backcolor="#C8D1DB"> <style name="Crosstab_CH" mode="Opaque" backcolor="#F0F8FF">
<box> <box>
<pen lineWidth="0.5" lineColor="#000000"/> <pen lineWidth="0.5" lineColor="#000000"/>
<topPen lineWidth="0.5" lineColor="#000000"/> <topPen lineWidth="0.5" lineColor="#000000"/>
@ -40,7 +40,7 @@
<rightPen lineWidth="0.5" lineColor="#000000"/> <rightPen lineWidth="0.5" lineColor="#000000"/>
</box> </box>
</style> </style>
<style name="Crosstab 1_CG" mode="Opaque" backcolor="#E3E8EB"> <style name="Crosstab_CG" mode="Opaque" backcolor="#BFE1FF">
<box> <box>
<pen lineWidth="0.5" lineColor="#000000"/> <pen lineWidth="0.5" lineColor="#000000"/>
<topPen lineWidth="0.5" lineColor="#000000"/> <topPen lineWidth="0.5" lineColor="#000000"/>
@ -49,7 +49,7 @@
<rightPen lineWidth="0.5" lineColor="#000000"/> <rightPen lineWidth="0.5" lineColor="#000000"/>
</box> </box>
</style> </style>
<style name="Crosstab 1_CT" mode="Opaque" forecolor="#000000" backcolor="#C8D1DB"> <style name="Crosstab_CT" mode="Opaque" backcolor="#005FB3">
<box> <box>
<pen lineWidth="0.5" lineColor="#000000"/> <pen lineWidth="0.5" lineColor="#000000"/>
<topPen lineWidth="0.5" lineColor="#000000"/> <topPen lineWidth="0.5" lineColor="#000000"/>
@ -58,7 +58,7 @@
<rightPen lineWidth="0.5" lineColor="#000000"/> <rightPen lineWidth="0.5" lineColor="#000000"/>
</box> </box>
</style> </style>
<style name="Crosstab 1_CD" mode="Opaque" backcolor="#FFFFFF"> <style name="Crosstab_CD" mode="Opaque" backcolor="#FFFFFF">
<box> <box>
<pen lineWidth="0.5" lineColor="#000000"/> <pen lineWidth="0.5" lineColor="#000000"/>
<topPen lineWidth="0.5" lineColor="#000000"/> <topPen lineWidth="0.5" lineColor="#000000"/>
@ -202,12 +202,6 @@
<field name="legende_Testfall-Typ_value" class="java.lang.String"> <field name="legende_Testfall-Typ_value" class="java.lang.String">
<fieldDescription><![CDATA[/ergebnisse/ergebnis/felder/feld [@varname="Testfall-Typ"]/value_caption]]></fieldDescription> <fieldDescription><![CDATA[/ergebnisse/ergebnis/felder/feld [@varname="Testfall-Typ"]/value_caption]]></fieldDescription>
</field> </field>
<field name="legende_Zusammenfassung_label" class="java.lang.String">
<fieldDescription><![CDATA[/ergebnisse/ergebnis/completefields/feld [@varname="Zusammenfassung"]/@varname]]></fieldDescription>
</field>
<field name="legende_Zusammenfassung_value" class="java.lang.String">
<fieldDescription><![CDATA[/ergebnisse/ergebnis/felder/feld [@varname="Zusammenfassung"]/value_caption]]></fieldDescription>
</field>
<field name="standdatum" class="java.lang.String"> <field name="standdatum" class="java.lang.String">
<fieldDescription><![CDATA[/ergebnisse/ergebnis[ @ordnr='0']/stand]]></fieldDescription> <fieldDescription><![CDATA[/ergebnisse/ergebnis[ @ordnr='0']/stand]]></fieldDescription>
</field> </field>
@ -226,18 +220,18 @@
<textElement verticalAlignment="Bottom"/> <textElement verticalAlignment="Bottom"/>
<textFieldExpression><![CDATA["Filterkriterien: "]]></textFieldExpression> <textFieldExpression><![CDATA["Filterkriterien: "]]></textFieldExpression>
</textField> </textField>
<textField textAdjust="StretchHeight"> <textField isStretchWithOverflow="true">
<reportElement style="LegendContent" x="0" y="20" width="818" height="10" isPrintWhenDetailOverflows="true" uuid="5ec5d56b-7f79-48b3-8966-cb9689dab7bb"/> <reportElement style="LegendContent" x="0" y="20" width="818" height="10" isPrintWhenDetailOverflows="true" uuid="5ec5d56b-7f79-48b3-8966-cb9689dab7bb"/>
<box padding="5"/> <box padding="5"/>
<textFieldExpression><![CDATA[""+(($F{legende_Ausführungs-Status_value}==null || $F{legende_Ausführungs-Status_value}=="")?"":($F{legende_Ausführungs-Status_label}+": "+$F{legende_Ausführungs-Status_value}+"; ")) <textFieldExpression><![CDATA[""+(($F{legende_Ausführungs-Status_value}==null || $F{legende_Ausführungs-Status_value}=="")?"":($F{legende_Ausführungs-Status_label}+": "+$F{legende_Ausführungs-Status_value}+";"))
+(($F{legende_Nur aktive_value}==null || $F{legende_Nur aktive_value}=="")?"":($F{legende_Nur aktive_label}+": "+$F{legende_Nur aktive_value}+"; ")) +(($F{legende_Nur aktive_value}==null || $F{legende_Nur aktive_value}=="")?"":($F{legende_Nur aktive_label}+": "+$F{legende_Nur aktive_value}+";"))
+(($F{legende_Ab Datum_value}==null || $F{legende_Ab Datum_value}=="")?"":($F{legende_Ab Datum_label}+": "+$F{legende_Ab Datum_value}+"; ")) +(($F{legende_Ab Datum_value}==null || $F{legende_Ab Datum_value}=="")?"":($F{legende_Ab Datum_label}+": "+$F{legende_Ab Datum_value}+";"))
+"Datenstand: "+ $F{standdatum} + "; " + "Erstellt: "+ DATEFORMAT( TODAY(), "dd.MM.YYYY")]]></textFieldExpression> +"Datenstand: "+ $F{standdatum} + "; " + "Erstellt: "+ DATEFORMAT( TODAY(), "dd.MM.YYYY")]]></textFieldExpression>
</textField> </textField>
</band> </band>
<band height="10"> <band height="10">
<printWhenExpression><![CDATA[$F{Hinweis}!=""]]></printWhenExpression> <printWhenExpression><![CDATA[$F{Hinweis}!=""]]></printWhenExpression>
<textField textAdjust="StretchHeight"> <textField isStretchWithOverflow="true">
<reportElement style="HinweisContent" positionType="Float" x="0" y="0" width="818" height="10" isPrintWhenDetailOverflows="true" uuid="dd71ce23-fa48-4aa9-8322-96f4cb33853d"/> <reportElement style="HinweisContent" positionType="Float" x="0" y="0" width="818" height="10" isPrintWhenDetailOverflows="true" uuid="dd71ce23-fa48-4aa9-8322-96f4cb33853d"/>
<box padding="5"/> <box padding="5"/>
<textElement verticalAlignment="Middle"/> <textElement verticalAlignment="Middle"/>
@ -245,7 +239,6 @@
</textField> </textField>
</band> </band>
<band height="30"> <band height="30">
<printWhenExpression><![CDATA[$F{legende_Zusammenfassung_value}=="Alles"]]></printWhenExpression>
<staticText> <staticText>
<reportElement style="TableColumnHeader" mode="Opaque" x="0" y="0" width="56" height="30" uuid="0e85ce94-effb-4b11-91d3-f6c1a5db0ca3"/> <reportElement style="TableColumnHeader" mode="Opaque" x="0" y="0" width="56" height="30" uuid="0e85ce94-effb-4b11-91d3-f6c1a5db0ca3"/>
<text><![CDATA[Komponente]]></text> <text><![CDATA[Komponente]]></text>
@ -311,57 +304,56 @@ Start]]></text>
</title> </title>
<detail> <detail>
<band height="30" splitType="Stretch"> <band height="30" splitType="Stretch">
<printWhenExpression><![CDATA[$F{legende_Zusammenfassung_value}=="Alles"]]></printWhenExpression> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<textField textAdjust="StretchHeight" pattern="" isBlankWhenNull="true">
<reportElement style="TableRowDetail" stretchType="ContainerHeight" x="0" y="0" width="56" height="30" uuid="806acd94-51c9-4a3b-8684-d9eca59a5b5e"/> <reportElement style="TableRowDetail" stretchType="ContainerHeight" x="0" y="0" width="56" height="30" uuid="806acd94-51c9-4a3b-8684-d9eca59a5b5e"/>
<textElement textAlignment="Left"/> <textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{Komponente}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{Komponente}]]></textFieldExpression>
</textField> </textField>
<textField textAdjust="StretchHeight" pattern="" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement style="TableRowDetail" stretchType="ContainerHeight" x="56" y="0" width="56" height="30" uuid="09a44cc9-782a-46bc-807a-6696dfdc0a67"/> <reportElement style="TableRowDetail" stretchType="ContainerHeight" x="56" y="0" width="56" height="30" uuid="09a44cc9-782a-46bc-807a-6696dfdc0a67"/>
<textElement textAlignment="Left"/> <textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{Projekt}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{Projekt}]]></textFieldExpression>
</textField> </textField>
<textField textAdjust="StretchHeight" pattern="" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement style="TableRowDetail" stretchType="ContainerHeight" x="112" y="0" width="94" height="30" uuid="159ccdb7-94ea-4b51-8695-fa61a98b5fc6"/> <reportElement style="TableRowDetail" stretchType="ContainerHeight" x="112" y="0" width="94" height="30" uuid="159ccdb7-94ea-4b51-8695-fa61a98b5fc6"/>
<textElement textAlignment="Left"/> <textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{Testfall}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{Testfall}]]></textFieldExpression>
</textField> </textField>
<textField textAdjust="StretchHeight" pattern="" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement style="TableRowDetail" stretchType="ContainerHeight" x="206" y="0" width="94" height="30" uuid="22ab8618-3dd5-4e23-aea2-da5399265526"/> <reportElement style="TableRowDetail" stretchType="ContainerHeight" x="206" y="0" width="94" height="30" uuid="22ab8618-3dd5-4e23-aea2-da5399265526"/>
<textElement textAlignment="Left"/> <textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{Testfall Schlüssel}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{Testfall Schlüssel}]]></textFieldExpression>
</textField> </textField>
<textField textAdjust="StretchHeight" pattern="" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement style="TableRowDetail" stretchType="ContainerHeight" x="300" y="0" width="140" height="30" uuid="63917df5-31c3-40fb-a93c-d4ff905d0b1b"/> <reportElement style="TableRowDetail" stretchType="ContainerHeight" x="300" y="0" width="140" height="30" uuid="63917df5-31c3-40fb-a93c-d4ff905d0b1b"/>
<textElement textAlignment="Left"/> <textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{Maske}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{Maske}]]></textFieldExpression>
</textField> </textField>
<textField textAdjust="StretchHeight" pattern="dd.MM.yyyy hh:mm:ss" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="dd.MM.yyyy hh:mm:ss" isBlankWhenNull="true">
<reportElement style="TableRowDetail" stretchType="ContainerHeight" x="440" y="0" width="66" height="30" uuid="bd6ee8f2-cbf6-44fa-948d-d01d54387bac"/> <reportElement style="TableRowDetail" stretchType="ContainerHeight" x="440" y="0" width="66" height="30" uuid="bd6ee8f2-cbf6-44fa-948d-d01d54387bac"/>
<textElement textAlignment="Left"/> <textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{Ausführungszeit Start}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{Ausführungszeit Start}]]></textFieldExpression>
</textField> </textField>
<textField textAdjust="StretchHeight" pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true">
<reportElement style="TableRowDetail" stretchType="ContainerHeight" x="506" y="0" width="28" height="30" uuid="954e88c4-6e2c-4a26-af3f-d03dc82a9bc9"/> <reportElement style="TableRowDetail" stretchType="ContainerHeight" x="506" y="0" width="28" height="30" uuid="954e88c4-6e2c-4a26-af3f-d03dc82a9bc9"/>
<textFieldExpression><![CDATA[$F{Dauer (Sek.)}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{Dauer (Sek.)}]]></textFieldExpression>
</textField> </textField>
<textField textAdjust="StretchHeight" pattern="" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement style="TableRowDetail" stretchType="ContainerHeight" x="534" y="0" width="71" height="30" uuid="bfb07276-113b-4fd6-ad9d-81a1e3ae8f23"/> <reportElement style="TableRowDetail" stretchType="ContainerHeight" x="534" y="0" width="71" height="30" uuid="bfb07276-113b-4fd6-ad9d-81a1e3ae8f23"/>
<textElement textAlignment="Left"/> <textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{Erwarteter Wert (Zelle)}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{Erwarteter Wert (Zelle)}]]></textFieldExpression>
</textField> </textField>
<textField textAdjust="StretchHeight" pattern="" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement style="TableRowDetail" stretchType="ContainerHeight" x="605" y="0" width="71" height="30" uuid="02062232-cc73-46c4-a29e-da72cbdd1360"/> <reportElement style="TableRowDetail" stretchType="ContainerHeight" x="605" y="0" width="71" height="30" uuid="02062232-cc73-46c4-a29e-da72cbdd1360"/>
<textElement textAlignment="Left"/> <textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{Erwarteter Wert}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{Erwarteter Wert}]]></textFieldExpression>
</textField> </textField>
<textField textAdjust="StretchHeight" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement style="TableRowDetail" stretchType="ContainerHeight" x="676" y="0" width="72" height="30" uuid="196d793b-4c46-47a4-976b-321d1d894999"/> <reportElement style="TableRowDetail" stretchType="ContainerHeight" x="676" y="0" width="72" height="30" uuid="196d793b-4c46-47a4-976b-321d1d894999"/>
<textElement textAlignment="Left"/> <textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{Gefundener Wert}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{Gefundener Wert}]]></textFieldExpression>
</textField> </textField>
<textField textAdjust="StretchHeight" pattern="" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement style="TableRowDetail" stretchType="ContainerHeight" x="748" y="0" width="71" height="30" uuid="f9fb7fd3-8425-4b1c-92ff-c8e21bafdcb5"/> <reportElement style="TableRowDetail" stretchType="ContainerHeight" x="748" y="0" width="71" height="30" uuid="f9fb7fd3-8425-4b1c-92ff-c8e21bafdcb5"/>
<textElement textAlignment="Left"/> <textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{Ausführungsstatus}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{Ausführungsstatus}]]></textFieldExpression>
@ -377,58 +369,31 @@ Start]]></text>
</band> </band>
</pageFooter> </pageFooter>
<summary> <summary>
<band height="250" splitType="Immediate"> <band height="237">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<textField>
<reportElement x="0" y="13" width="819" height="30" uuid="3ea83bae-b342-40fd-b681-5c9225a353c9"/>
<textElement verticalAlignment="Bottom">
<font size="14"/>
</textElement>
<textFieldExpression><![CDATA["Zusammenfassung Testergebnisse je Projekt"]]></textFieldExpression>
</textField>
<crosstab> <crosstab>
<reportElement positionType="Float" x="0" y="70" width="818" height="180" isPrintInFirstWholeBand="true" uuid="82416a83-6e6a-448d-a215-f693d42c181a"> <reportElement positionType="Float" x="0" y="0" width="819" height="237" uuid="dd0e92b5-94d0-41b1-a4b8-a7fc3867f381">
<property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.VerticalRowLayout"/> <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.VerticalRowLayout"/>
<property name="com.jaspersoft.studio.crosstab.style.header" value="Crosstab 1_CH"/> <property name="com.jaspersoft.studio.crosstab.style.header" value="Crosstab_CH"/>
<property name="com.jaspersoft.studio.crosstab.style.group" value="Crosstab 1_CG"/> <property name="com.jaspersoft.studio.crosstab.style.group" value="Crosstab_CG"/>
<property name="com.jaspersoft.studio.crosstab.style.total" value="Crosstab 1_CT"/> <property name="com.jaspersoft.studio.crosstab.style.total" value="Crosstab_CT"/>
<property name="com.jaspersoft.studio.crosstab.style.detail" value="Crosstab 1_CD"/> <property name="com.jaspersoft.studio.crosstab.style.detail" value="Crosstab_CD"/>
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<crosstabDataset>
<dataset resetType="Report"/>
</crosstabDataset>
<crosstabHeaderCell>
<cellContents mode="Opaque" style="Crosstab 1_CH">
<textField>
<reportElement style="Crosstab 1_CH" mode="Transparent" x="0" y="0" width="120" height="20" uuid="be9b78cc-a34f-4c09-bbca-f4522a6a242c"/>
<box leftPadding="2"/>
<textElement verticalAlignment="Middle"/>
<textFieldExpression><![CDATA["Projekt"]]></textFieldExpression>
</textField>
</cellContents>
</crosstabHeaderCell>
<rowGroup name="Projekt" width="120" totalPosition="End"> <rowGroup name="Projekt" width="120" totalPosition="End">
<bucket class="java.lang.String"> <bucket class="java.lang.String">
<bucketExpression><![CDATA[$F{Projekt}]]></bucketExpression> <bucketExpression><![CDATA[$F{Projekt}]]></bucketExpression>
</bucket> </bucket>
<crosstabRowHeader> <crosstabRowHeader>
<cellContents mode="Opaque" style="Crosstab 1_CG"> <cellContents mode="Opaque" style="Crosstab_CH">
<textField> <textField>
<reportElement mode="Transparent" x="0" y="0" width="120" height="20" uuid="d2c475f0-9195-4ca0-a7e8-a04dd542b003"/> <reportElement x="0" y="0" width="120" height="20" uuid="66ba7f29-ac72-4518-8ed4-1e2e8a285a70"/>
<box leftPadding="2"/>
<textElement verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$V{Projekt}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{Projekt}]]></textFieldExpression>
</textField> </textField>
</cellContents> </cellContents>
</crosstabRowHeader> </crosstabRowHeader>
<crosstabTotalRowHeader> <crosstabTotalRowHeader>
<cellContents mode="Opaque" style="Crosstab 1_CT"> <cellContents mode="Opaque" style="Crosstab_CT">
<staticText> <staticText>
<reportElement x="0" y="0" width="120" height="20" uuid="d86ee506-a52f-44c2-b611-a517193bd6d2"/> <reportElement x="0" y="0" width="120" height="20" forecolor="#FFFFFF" uuid="0a7ad23e-c2af-497e-8ce8-5fb597b278b6"/>
<box leftPadding="2"/>
<textElement verticalAlignment="Middle"/>
<text><![CDATA[Gesamt]]></text> <text><![CDATA[Gesamt]]></text>
</staticText> </staticText>
</cellContents> </cellContents>
@ -439,60 +404,58 @@ Start]]></text>
<bucketExpression><![CDATA[$F{Ausführungsstatus}]]></bucketExpression> <bucketExpression><![CDATA[$F{Ausführungsstatus}]]></bucketExpression>
</bucket> </bucket>
<crosstabColumnHeader> <crosstabColumnHeader>
<cellContents mode="Opaque" style="Crosstab 1_CG"> <cellContents mode="Opaque" style="Crosstab_CH">
<textField> <textField>
<reportElement style="Crosstab 1_CH" x="0" y="0" width="60" height="20" uuid="4f65ec09-3bfe-4253-b112-dbc5f2ea679c"/> <reportElement x="0" y="0" width="60" height="20" uuid="d659d9cd-f101-4d58-9d0e-d70f39c6a788"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$V{Ausführungsstatus}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{Ausführungsstatus}]]></textFieldExpression>
</textField> </textField>
</cellContents> </cellContents>
</crosstabColumnHeader> </crosstabColumnHeader>
<crosstabTotalColumnHeader> <crosstabTotalColumnHeader>
<cellContents mode="Opaque" style="Crosstab 1_CT"> <cellContents mode="Opaque" style="Crosstab_CT">
<staticText> <staticText>
<reportElement style="Crosstab 1_CH" x="0" y="0" width="60" height="20" uuid="327f5dbb-df3d-4255-b44b-82342cb06500"/> <reportElement x="0" y="0" width="60" height="20" forecolor="#FFFFFF" uuid="dff64fcd-eefa-4952-b878-318ea9871232"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<text><![CDATA[Summe]]></text> <text><![CDATA[Summe]]></text>
</staticText> </staticText>
</cellContents> </cellContents>
</crosstabTotalColumnHeader> </crosstabTotalColumnHeader>
</columnGroup> </columnGroup>
<measure name="Projekt_MEASURE" class="java.lang.Integer" calculation="Count"> <measure name="Testfall Schlüssel_MEASURE" class="java.lang.Integer" calculation="Count">
<measureExpression><![CDATA[$F{Projekt}]]></measureExpression> <measureExpression><![CDATA[$F{Testfall Schlüssel}]]></measureExpression>
</measure> </measure>
<crosstabCell width="60" height="20"> <crosstabCell width="60" height="20">
<cellContents mode="Opaque" style="Crosstab 1_CD"> <cellContents mode="Opaque" style="Crosstab_CD">
<textField> <textField>
<reportElement x="0" y="0" width="60" height="20" uuid="be398cc7-2150-428d-9aba-8bac46fdf733"/> <reportElement x="0" y="0" width="60" height="20" uuid="5c355444-462d-4fb9-a027-d8b4e4ea7dca"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/> <textElement textAlignment="Center"/>
<textFieldExpression><![CDATA[$V{Projekt_MEASURE}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{Testfall Schlüssel_MEASURE}]]></textFieldExpression>
</textField> </textField>
</cellContents> </cellContents>
</crosstabCell> </crosstabCell>
<crosstabCell width="60" height="20" columnTotalGroup="Ausführungsstatus"> <crosstabCell width="60" height="20" columnTotalGroup="Ausführungsstatus">
<cellContents mode="Opaque" style="Crosstab 1_CG"> <cellContents mode="Opaque" style="Crosstab_CT">
<textField> <textField>
<reportElement x="0" y="0" width="60" height="20" uuid="3cdf1245-05ab-4c08-ae8a-8b11145c72d5"/> <reportElement x="0" y="0" width="60" height="20" forecolor="#FFFFFF" uuid="8c04e33d-e87a-4647-b9e4-f92604ede2a0"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/> <textElement textAlignment="Center"/>
<textFieldExpression><![CDATA[$V{Projekt_MEASURE}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{Testfall Schlüssel_MEASURE}]]></textFieldExpression>
</textField> </textField>
</cellContents> </cellContents>
</crosstabCell> </crosstabCell>
<crosstabCell width="60" height="20" rowTotalGroup="Projekt"> <crosstabCell width="60" height="20" rowTotalGroup="Projekt">
<cellContents mode="Opaque" style="Crosstab 1_CT"> <cellContents mode="Opaque" style="Crosstab_CT">
<textField> <textField>
<reportElement x="0" y="0" width="60" height="20" uuid="665ae08d-6e46-41c7-a1a0-def63f93f50e"/> <reportElement x="0" y="0" width="60" height="20" forecolor="#FFFFFF" uuid="85a23534-881f-4026-bdaa-f7c70efcb279"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/> <textElement textAlignment="Center"/>
<textFieldExpression><![CDATA[$V{Projekt_MEASURE}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{Testfall Schlüssel_MEASURE}]]></textFieldExpression>
</textField> </textField>
</cellContents> </cellContents>
</crosstabCell> </crosstabCell>
<crosstabCell width="60" height="20" rowTotalGroup="Projekt" columnTotalGroup="Ausführungsstatus"> <crosstabCell width="60" height="20" rowTotalGroup="Projekt" columnTotalGroup="Ausführungsstatus">
<cellContents mode="Opaque" style="Crosstab 1_CT"> <cellContents mode="Opaque" style="Crosstab_CT">
<textField> <textField>
<reportElement x="0" y="0" width="60" height="20" uuid="ac50ad79-b942-43fb-a0bb-26da7c4592a8"/> <reportElement x="0" y="0" width="60" height="20" forecolor="#FFFFFF" uuid="62f83d0e-3e63-49ba-808f-b339a59b1461"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/> <textElement textAlignment="Center"/>
<textFieldExpression><![CDATA[$V{Projekt_MEASURE}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{Testfall Schlüssel_MEASURE}]]></textFieldExpression>
</textField> </textField>
</cellContents> </cellContents>
</crosstabCell> </crosstabCell>

Loading…
Cancel
Save