Browse Source

Views in xml-Datei, Erlaeuterung von Abschlusspruefungscube

xcube0.1
Meikel Bisping 2 years ago
parent
commit
0041f5a2ed
  1. 48
      src-modules/module/xcube/conf/xcube.xml
  2. 2
      src-modules/module/xcube/masken/21100_maskeninfo.unl

48
src-modules/module/xcube/conf/xcube.xml

@ -100,9 +100,14 @@ @@ -100,9 +100,14 @@
<column name="apnr" type="CHAR" size ="10" default ="" notnull ="false" />
<column name="parent" type="CHAR" size ="10" default ="" notnull ="false" />
</columns>
<sql dbsystem=""><![CDATA[select 'Deutschland'::varchar(255) as druck ,
<sql dbsystem=""><![CDATA[select 'alle'::varchar(255) as druck ,
'alle'::char(10) as apnr,
null as parent
from xdummy
union
select 'Deutschland'::varchar(255) as druck ,
'0'::char(10) as apnr,
null::char(10) as parent
'alle' as parent
from xdummy
union select druck,
apnr,
@ -112,6 +117,43 @@ union select druck, @@ -112,6 +117,43 @@ union select druck,
'' || val(astat) as apnr ,
bund_apnr as parent
from cifx where key=11
union select 'Ausland' druck , '1' apnr, 'alle' as parent from xdummy
union select druck,apnr,'1' from cifx where key=747 and parent is not null
union select druck, '' || astat::integer, bund_apnr from cifx where key=12 and apnr != 'D'
union
select 'unbekannt' druck, '-9999' apnr, 'alle' as parent from xdummy;
]]></sql>
</view>
<view name="xcube_hoererstatus" caption="Wohnorte/Staaten">
<description>View Hörerstatus</description>
<columns>
<column name="druck" type="VARCHAR" size ="255" default ="" notnull ="true" />
<column name="apnr" type="CHAR" size ="10" default ="" notnull ="false" />
<column name="parent" type="CHAR" size ="10" default ="" notnull ="false" />
</columns>
<sql dbsystem=""><![CDATA[select 'Alle'::varchar(255) as druck,'A' as apnr,null::char(10) as parent
from xdummy
union
select 'Haupt-/Nebenhörer'::varchar(255) as druck,'A1' as apnr,'A'::char(10) as parent
from xdummy
union select druck::varchar(255), apnr, 'A1'::char(10) as parent from cifx where key= 613 and astat='1'
union
select 'Zweithörer'::varchar(255) as druck,'A2' as apnr,'A'::char(10) as parent
from xdummy
union select druck::varchar(255), apnr, 'A2'::char(10) as parent from cifx where key= 613 and astat='2'
union
select 'Deutschkurs/Studienkolleg'::varchar(255) as druck,'A3' as apnr,'A'::char(10) as parent
from xdummy
union select druck::varchar(255), apnr, 'A3'::char(10) as parent from cifx where key= 613 and astat='3'
union
select 'Gasthörer'::varchar(255) as druck,'A4' as apnr,'A'::char(10) as parent
from xdummy
union select druck::varchar(255), apnr, 'A4'::char(10) as parent from cifx where key= 613 and astat='4'
union
select 'Sonstige'::varchar(255) as druck,'A99' as apnr,'A'::char(10) as parent
from xdummy
union select druck::varchar(255), apnr, 'A99'::char(10) as parent from cifx where key= 613 and astat not in ('1','2','3','4')
]]></sql>
</view>
</views>
@ -134,7 +176,7 @@ parent="xCubes">Abfragen zur Administration von xCubes </thema> @@ -134,7 +176,7 @@ parent="xCubes">Abfragen zur Administration von xCubes </thema>
<dbsystem>POSTGRES</dbsystem>
</src>
</maske>
<maske tid="21100" name="Absolventen XCUBE" thema="xCubes">
<maske tid="21100" name="Abschlussprüfungen XCUBE" thema="xCubes">
<src>
<path>$XCUBE_PFAD/masken</path>
<dbsystem>POSTGRES</dbsystem>

2
src-modules/module/xcube/masken/21100_maskeninfo.unl

@ -388,4 +388,4 @@ Column CID=1 heading_text="${spalte.name}" center_heading\ @@ -388,4 +388,4 @@ Column CID=1 heading_text="${spalte.name}" center_heading\
row_selectable heading_platform readonly explanation="Ausprägung ${spalte.name}"\
width=12\
</#foreach>\
@@@^Altersgruppe^Anzahl^Dynamische Darstellung von Studierendenzahlen^drop table tmp_erg;^^3^700^360^0^1^^
@@@^Altersgruppe^Anzahl^Dynamische Darstellung von Abschlussprüfungen^drop table tmp_erg;^^3^700^360^0^1^^

Loading…
Cancel
Save