Browse Source

Dimension Hörerstatus abfangen dass Hochschule A als Schlüssel nutzt #1

xcube0.1
Daniel Quathamer 1 month ago
parent
commit
0815a0f453
  1. 22
      src-modules/module/xcube/conf/xcube.xml

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

@ -133,28 +133,28 @@ select 'unbekannt' druck, '-9999' apnr, 'alle' as parent from xdummy; @@ -133,28 +133,28 @@ select 'unbekannt' druck, '-9999' apnr, 'alle' as parent from xdummy;
<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
<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
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 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
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 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
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 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
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 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
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')
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>

Loading…
Cancel
Save