Browse Source

Views in xml-Datei, Erlaeuterung von Abschlusspruefungscube

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

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

@ -100,18 +100,60 @@
<column name="apnr" type="CHAR" size ="10" default ="" notnull ="false" /> <column name="apnr" type="CHAR" size ="10" default ="" notnull ="false" />
<column name="parent" type="CHAR" size ="10" default ="" notnull ="false" /> <column name="parent" type="CHAR" size ="10" default ="" notnull ="false" />
</columns> </columns>
<sql dbsystem=""><![CDATA[select 'Deutschland'::varchar(255) as druck , <sql dbsystem=""><![CDATA[select 'alle'::varchar(255) as druck ,
'0'::char(10) as apnr, 'alle'::char(10) as apnr,
null::char(10) as parent null as parent
from xdummy from xdummy
union
select 'Deutschland'::varchar(255) as druck ,
'0'::char(10) as apnr,
'alle' as parent
from xdummy
union select druck, union select druck,
apnr, apnr,
'0' as parent '0' as parent
from cifx where key=8 from cifx where key=8
union select druck, union select druck,
'' || val(astat) as apnr , '' || val(astat) as apnr ,
bund_apnr as parent bund_apnr as parent
from cifx where key=11 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> ]]></sql>
</view> </view>
</views> </views>
@ -134,7 +176,7 @@ parent="xCubes">Abfragen zur Administration von xCubes </thema>
<dbsystem>POSTGRES</dbsystem> <dbsystem>POSTGRES</dbsystem>
</src> </src>
</maske> </maske>
<maske tid="21100" name="Absolventen XCUBE" thema="xCubes"> <maske tid="21100" name="Abschlussprüfungen XCUBE" thema="xCubes">
<src> <src>
<path>$XCUBE_PFAD/masken</path> <path>$XCUBE_PFAD/masken</path>
<dbsystem>POSTGRES</dbsystem> <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\
row_selectable heading_platform readonly explanation="Ausprägung ${spalte.name}"\ row_selectable heading_platform readonly explanation="Ausprägung ${spalte.name}"\
width=12\ width=12\
</#foreach>\ </#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