Compare commits

...

3 Commits

  1. 10
      superx/WEB-INF/conf/edustore/db/install/conf/kern.xml
  2. 5
      superx/WEB-INF/conf/edustore/db/install/masken/71120_maskeninfo.unl
  3. 20
      superx/WEB-INF/conf/edustore/db/install/prozeduren/proc_sp_user_orga_pg.sql
  4. 1
      superx/WEB-INF/conf/obsoletfiles.txt
  5. BIN
      superx/WEB-INF/lib/postgresql-42.7.2.jar
  6. 42
      superx/xml/nd_templates.xsl
  7. 40
      superx/xml/pageComponents_html.xsl
  8. 6
      superx/xml/pageComponents_html_final.xsl

10
superx/WEB-INF/conf/edustore/db/install/conf/kern.xml

@ -8698,9 +8698,9 @@ where dimension_bp_id=(select D.tid from dimension_bp D where D.apnr='bluep_absc @@ -8698,9 +8698,9 @@ where dimension_bp_id=(select D.tid from dimension_bp D where D.apnr='bluep_absc
<column name="folgesem" type ="INTEGER" size ="255" default ="" notnull ="false" description="Folgesemester (Schlüssel)" />
<column name="folgesem_sem_beginn" type ="DATE" size ="4" default ="" notnull ="false" description="Folgesemester Semesteranfang"/>
<column name="ist_zukunft" type ="SMALLINT" size ="255" default ="0" notnull ="false" description="Ist zukünftig?" ><comment>1=Ja,2=nein</comment></column>
<column name="akad_jahr" type ="INTEGER" size ="4" default ="" notnull ="false" description="Akad. Jahr"><comment>Def. STBA: WiSe + nachfolgendes SoSe (z.B. 2006 = 20062 + 20071)</comment></column>
<column name="akad_jahr_absolv" type ="INTEGER" size ="4" default ="" notnull ="false" description="Akad. Jahr"><comment>Def. Sachsen Absolv.: vorheriges WiSe + SoSe (z.B. 2006 = 20052 + 20061)</comment></column>
<column name="akad_jahr_anf" type ="INTEGER" size ="4" default ="" notnull ="false" description="Akad. Jahr"><comment>Def. Sachsen Anfäger: SA Studienanfänger: SoSe + WiSe (z.B. 2006 = 20061 + 20062)</comment></column>
<column name="akad_jahr" type ="INTEGER" size ="4" default ="" notnull ="false" description="Akad. Jahr"><comment>Def. Akad. Jahr STBA: WiSe + nachfolgendes SoSe (z.B. 2006 = 20062 + 20071)</comment></column>
<column name="akad_jahr_absolv" type ="INTEGER" size ="4" default ="" notnull ="false" description="Prüfungsjahr"><comment>Def. Absolv.: vorheriges WiSe + SoSe (z.B. 2006 = 20052 + 20061) https://www.destatis.de/DE/Mediathek/Digitales-Magazin/Bildung/Glossar/pruefungsjahr.html</comment></column>
<column name="akad_jahr_stud" type ="INTEGER" size ="4" default ="" notnull ="false" description="Studienjahr"><comment>Def. Studienjahr: SoSe + WiSe (z.B. 2006 = 20061 + 20062)</comment></column>
</columns>
<sql dbsystem=""><![CDATA[
with tmp_semester as (select C.apnr as tid,
@ -8728,9 +8728,11 @@ where dimension_bp_id=(select D.tid from dimension_bp D where D.apnr='bluep_absc @@ -8728,9 +8728,11 @@ where dimension_bp_id=(select D.tid from dimension_bp D where D.apnr='bluep_absc
(case when sem_beginn > current_date then 1 else 0 end) as ist_zukunft,
case when semestertyp='1' then (tid/10)-1 when semestertyp='2' then (tid/10) end as akad_jahr,
case when semestertyp='1' then (tid/10) when semestertyp='2' then (tid/10)+1 end as akad_jahr_absolv,
case when semestertyp='1' then (tid/10) when semestertyp='2' then (tid/10) end as akad_jahr_anf
case when semestertyp='1' then (tid/10) when semestertyp='2' then (tid/10) end as akad_jahr_stud
from tmp_semester
where length('' || tid)=5 and substring('' || tid from 5 for 1) in ('1','2','3','4')
]]></sql>

5
superx/WEB-INF/conf/edustore/db/install/masken/71120_maskeninfo.unl

@ -1,4 +1,6 @@ @@ -1,4 +1,6 @@
71120^Gruppe einrichten^--freemarker template\
begin work;\
\
CREATE temp TABLE tmp_group (\
tid integer NOT NULL,\
name char(50)\
@ -67,6 +69,9 @@ and M.tid=B.maskeninfo_id\ @@ -67,6 +69,9 @@ and M.tid=B.maskeninfo_id\
;\
\
drop table tmp_group;\
\
commit;\
\
select variable,wert,nextedit from tmp_ergebnis;^XIL List\
drop_and_delete movable_columns sizable_columns horizontal_scrolling\
white_space_color=COLOR_WHITE fixed_columns=1\

20
superx/WEB-INF/conf/edustore/db/install/prozeduren/proc_sp_user_orga_pg.sql

@ -13,8 +13,8 @@ @@ -13,8 +13,8 @@
CREATE or replace FUNCTION "sp_user_orga"(integer, date, integer) RETURNS "bool" AS ' DECLARE
m_apnr char(10);
m_parent char(10);
m_drucktext char (50);
m_name char (50);
m_drucktext varchar(255);
m_name varchar(255);
mviews RECORD;
m_ebene integer;
max_ebene integer;
@ -23,8 +23,8 @@ CREATE or replace FUNCTION "sp_user_orga"(integer, date, integer) RETURNS "bool" @@ -23,8 +23,8 @@ CREATE or replace FUNCTION "sp_user_orga"(integer, date, integer) RETURNS "bool"
m_lehre integer;
o_apnr char(10);
o_parent char(10);
o_drucktext char (50);
o_name char (50);
o_drucktext varchar(255);
o_name varchar(255);
o_ebene integer;
o_lehre integer;
o_gueltig_seit date;
@ -54,8 +54,8 @@ BEGIN @@ -54,8 +54,8 @@ BEGIN
p_sql := ''create temp table tmp_organigramm(
key_apnr char(10),
parent char(10),
drucktext char(50),
name char(150),
drucktext varchar(255),
name varchar(255),
ebene integer,
lehre smallint,
gueltig_seit date,
@ -104,8 +104,8 @@ end if; @@ -104,8 +104,8 @@ end if;
p_sql := ''create temp table tmp_organigramm1(
key_apnr char(10),
parent char(10),
drucktext char(50),
name char(150),
drucktext varchar(255),
name varchar(255),
ebene integer,
lehre smallint,
gueltig_seit date,
@ -121,8 +121,8 @@ create temp table tmp_inst_u (lid varchar(255), parent_lid varchar(255)) ; @@ -121,8 +121,8 @@ create temp table tmp_inst_u (lid varchar(255), parent_lid varchar(255)) ;
create temp table tmp_organigramm2(
key_apnr char(10),
parent char(10),
drucktext char(50),
name char(150),
drucktext varchar(255),
name varchar(255),
ebene integer,
lehre smallint,
gueltig_seit date,

1
superx/WEB-INF/conf/obsoletfiles.txt

@ -87,6 +87,7 @@ WEB-INF/lib/log4j-1.2.14.jar @@ -87,6 +87,7 @@ WEB-INF/lib/log4j-1.2.14.jar
WEB-INF/lib/poi-3.6.jar
WEB-INF/lib/postgresql-9.0-801.jdbc4.jar
WEB-INF/lib/postgresql-9.2-1002.jdbc4.jar
WEB-INF/lib/postgresql-42.2.19.jar
WEB-INF/lib/poi-3.9-20121203.jar
WEB-INF/lib/poi-ooxml-3.9-20121203.jar
WEB-INF/lib/poi-examples-3.9-20121203.jar

BIN
superx/WEB-INF/lib/postgresql-42.7.2.jar

Binary file not shown.

42
superx/xml/nd_templates.xsl

@ -3864,30 +3864,40 @@ var platform='superx'; @@ -3864,30 +3864,40 @@ var platform='superx';
<!-- druckversion übergibt maxoffset 10000000 damit alle Sätze angezeigt werden -->
<xsl:if test="count(/ergebnisse/stylesheets/stylesheet[filename='rpta_assistent.xsl']) !=0">
<xsl:call-template name="nd_tableExportHiddenFieldsRPTA" />
<xsl:if test="/ergebnisse/user/@admin='true'">
<xsl:call-template name="nd_tableExportButtonsRPTA" />
<xsl:variable name="nd_ShowTableExportButtonVIZ">
<xsl:call-template name="nd_ShowTableExportButtonVIZ" />
</xsl:variable>
<xsl:variable name="nd_ShowTableExportButtonRPTA">
<xsl:call-template name="nd_ShowTableExportButtonRPTA" />
</xsl:variable>
<xsl:variable name="nd_ShowTableExportButtonsRptaPDF">
<xsl:call-template name="nd_ShowTableExportButtonsRptaPDF" />
</xsl:variable>
<xsl:variable name="nd_ShowTableExportButtonsRptaXLSX">
<xsl:call-template name="nd_ShowTableExportButtonsRptaXLSX" />
</xsl:variable>
<xsl:if test="$nd_ShowTableExportButtonRPTA='true'">
<xsl:call-template name="nd_tableExportButtonRPTA" />
</xsl:if>
<xsl:if test="$nd_ShowTableExportButtonsRptaPDF='true' or $nd_ShowTableExportButtonsRptaXLSX='true'">
<xsl:call-template name="nd_tableExportHiddenFieldsRPTA" />
</xsl:if>
<xsl:if test="count(/ergebnisse/stylesheets/stylesheet[filename='viz_html_chart.xsl']) !=0
and /ergebnisse/user/@admin='true'">
<xsl:if test="$nd_ShowTableExportButtonVIZ='true'">
<xsl:call-template name="nd_tableExportButtonsVIZ" />
</xsl:if>
<xsl:call-template name="nd_tableExportButtonsHTML" />
<xsl:call-template name="nd_tableExportButtonsXML" />
<xsl:call-template name="nd_tableExportButtonsPDF" >
<xsl:with-param name="useRPTA" select="count(/ergebnisse/stylesheets/stylesheet[filename='rpta_assistent.xsl'])" />
<xsl:with-param name="useRPTA" select="$nd_ShowTableExportButtonsRptaPDF" />
</xsl:call-template>
<xsl:call-template name="nd_tableExportButtonsXLSX" >
<xsl:with-param name="useRPTA" select="count(/ergebnisse/stylesheets/stylesheet[filename='rpta_assistent.xsl'])" />
<xsl:with-param name="useRPTA" select="$nd_ShowTableExportButtonsRptaXLSX" />
</xsl:call-template>
@ -4062,7 +4072,7 @@ function exportTreeContents(what) { @@ -4062,7 +4072,7 @@ function exportTreeContents(what) {
</div>
</xsl:template>
<xsl:template name="nd_tableExportButtonsRPTA" >
<xsl:template name="nd_tableExportButtonRPTA" >
<a onMouseOver="window.status='Export starten';return true" onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true" style="cursor: pointer;"><xsl:attribute name="onclick"><xsl:text>setTemplatePropertiesAndSubmit('rpta_assistent.xsl|text/html');</xsl:text>
</xsl:attribute>
@ -4119,9 +4129,9 @@ document.forms[0].target = '_blank'; @@ -4119,9 +4129,9 @@ document.forms[0].target = '_blank';
</xsl:template>
<xsl:template name="nd_tableExportButtonsPDF" >
<xsl:param name="useRPTA" select="0" />
<xsl:param name="useRPTA" select="'true'" />
<xsl:choose>
<xsl:when test="$useRPTA=1">
<xsl:when test="$useRPTA='true'">
<xsl:for-each select="/ergebnisse/stylesheets/stylesheet[stylesheet_type='XSL_JRXML']">
<xsl:call-template name="nd_button_rpta_export_shortcut" >
<xsl:with-param name="outFormat" select="'PDF'" />
@ -4145,9 +4155,9 @@ document.forms[0].target = '_blank'; @@ -4145,9 +4155,9 @@ document.forms[0].target = '_blank';
</xsl:choose>
</xsl:template>
<xsl:template name="nd_tableExportButtonsXLSX" >
<xsl:param name="useRPTA" select="0" />
<xsl:param name="useRPTA" select="'true'" />
<xsl:choose>
<xsl:when test="$useRPTA=1">
<xsl:when test="$useRPTA='true'">
<xsl:for-each select="/ergebnisse/stylesheets/stylesheet[stylesheet_type='XSL_JRXML']">
<xsl:call-template name="nd_button_rpta_export_shortcut" >
<xsl:with-param name="outFormat" select="'XLSX'" />

40
superx/xml/pageComponents_html.xsl

@ -1070,6 +1070,46 @@ Mögliche DataFormats: @@ -1070,6 +1070,46 @@ Mögliche DataFormats:
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="nd_ShowTableExportButtonVIZ" >
<!--Zeige VIZ-Assistent-Button, Defaulteinstellung, kann in pageComponents_html_final.xsl überlagert werden-->
<xsl:choose>
<xsl:when test="count(/ergebnisse/stylesheets/stylesheet[filename='viz_html_chart.xsl'])=1 and /ergebnisse/user/@admin='true'">
<xsl:text>true</xsl:text></xsl:when>
<xsl:otherwise>
<xsl:text>false</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="nd_ShowTableExportButtonRPTA" >
<!--Zeige RPTA-Zauberstab, Defaulteinstellung, kann in pageComponents_html_final.xsl überlagert werden-->
<xsl:choose>
<xsl:when test="count(/ergebnisse/stylesheets/stylesheet[filename='rpta_assistent.xsl'])=1 and /ergebnisse/user/@admin='true'">
<xsl:text>true</xsl:text></xsl:when>
<xsl:otherwise>
<xsl:text>false</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="nd_ShowTableExportButtonsRptaPDF" >
<!--Defaulteinstellung, kann in pageComponents_html_final.xsl überlagert werden-->
<xsl:choose>
<xsl:when test="count(/ergebnisse/stylesheets/stylesheet[filename='rpta_assistent.xsl'])=1">
<xsl:text>true</xsl:text></xsl:when>
<xsl:otherwise>
<xsl:text>false</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="nd_ShowTableExportButtonsRptaXLSX" >
<!--Defaulteinstellung, kann in pageComponents_html_final.xsl überlagert werden-->
<xsl:choose>
<xsl:when test="count(/ergebnisse/stylesheets/stylesheet[filename='rpta_assistent.xsl'])=1">
<xsl:text>true</xsl:text></xsl:when>
<xsl:otherwise>
<xsl:text>false</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="menue_fuss" >
</xsl:template>
<xsl:template name="root_in_breadcrumb" >

6
superx/xml/pageComponents_html_final.xsl

@ -10,12 +10,11 @@ xmlns:HtmlUtils="de.superx.util.HtmlUtils"> @@ -10,12 +10,11 @@ xmlns:HtmlUtils="de.superx.util.HtmlUtils">
pageComponents_html.xsl überragt. -->
<!--<xsl:template name="showJavascriptMenue" >
<xsl:text>true</xsl:text>
</xsl:template>-->
</xsl:template>
<xsl:template name="renderIconsInBreadcrumb" >
<xsl:text>true</xsl:text>
</xsl:template>
<xsl:template name="renderIconsInNaviPanel" >
<!-- Zeige Icons im Krümelpfad. Default ist false, kann aber in pageComponents_html_final.xsl überlagert werden -->
<xsl:text>true</xsl:text>
</xsl:template>
<xsl:template name="showThemenbaumMask" >
@ -24,4 +23,7 @@ xmlns:HtmlUtils="de.superx.util.HtmlUtils"> @@ -24,4 +23,7 @@ xmlns:HtmlUtils="de.superx.util.HtmlUtils">
<xsl:template name="showJavascriptMenue" >
<xsl:text>true</xsl:text>
</xsl:template>
<xsl:template name="nd_ShowTableExportButtonRPTA" >
<xsl:text>true</xsl:text>
</xsl:template>-->
</xsl:stylesheet>

Loading…
Cancel
Save