Daniel Quathamer
11 months ago
14 changed files with 2114 additions and 0 deletions
@ -0,0 +1,102 @@
@@ -0,0 +1,102 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project name="ModuleCreation" default="help" basedir="."> |
||||
<!--Aufruf mit |
||||
|
||||
|
||||
--> |
||||
<dirname file="${ant.file}" property="moduleCreateBaseDir" /> |
||||
<dirname file="${ant.file.superx}" property="superxBuildBaseDir" /> |
||||
<property name="distDir" location="${superxBuildBaseDir}/superx/WEB-INF/lib" /> |
||||
<property name="BASE_DIR" value="." /> |
||||
<property name="WEBAPP" value="${MODULE_PATH}/../../../webserver/tomcat/webapps/superx" /> |
||||
<property name="BUILD_PATH" value="${WEBAPP}/WEB-INF/classes"/> |
||||
<property name="SRC_DIR" value="${BASE_DIR}/src" /> |
||||
<property name="SRC_DIR_TEST" value="${BASE_DIR}/test-src"/> |
||||
<property name="LIB_SUPERX_DIR" value="${WEBAPP}/WEB-INF/lib"/> |
||||
<property name="LIB_WEBAPP_DIR" value="${WEBAPP}"/> |
||||
<property name="LIB_EXT_SUPERX_DIR" value="${WEBAPP}/WEB-INF/lib_ext"/> |
||||
|
||||
<property name="superx-classes" value="${WEBAPP}/WEB-INF/classes" /> |
||||
<property name="src-java" value="${SRC_DIR}"/> |
||||
<property name="sxc_version" value="0.1" /> |
||||
<path id="classpath"> |
||||
<!--WEB-INF/lib--> |
||||
<fileset dir="${WEBAPP}/WEB-INF"> |
||||
<include name="lib/**/*.jar" /> |
||||
<include name="classes" /> |
||||
</fileset> |
||||
</path> |
||||
<condition property="isWindoze"> |
||||
<os family="windows" /> |
||||
</condition> |
||||
|
||||
<condition property="isUnix"> |
||||
<os family="unix" /> |
||||
</condition> |
||||
<target name="init"> |
||||
<tstamp> |
||||
<format property="SX_TIMESTAMP" pattern="dd.MM.yyyy HH:mm:ss" /> |
||||
</tstamp> |
||||
</target> |
||||
<target name="help" description="Bedienung"> |
||||
<echo message="Aufruf: " /> |
||||
<echo message="ant -DMODULE_PATH=$SXC_PFAD -DBASE_DIR=. -DWEBAPP=$WEBAPP -DMODULE=sxc all" /> |
||||
<echo message="So erzeugen Sie dann ein SuperX-Paket:" /> |
||||
<echo message="ant -DMODULE_PATH=$SXC_PFAD -DWEBAPP_DIR=$WEBAPP -DMODULE=sxc dist" /> |
||||
|
||||
</target> |
||||
|
||||
<target name="all" description="Gruppe: Kopiere Modul Sourcen in den WEB-INF-Verzeichnisbaum"> |
||||
<antcall target="module_copy_source" /> |
||||
<antcall target="call_module_scripts_create_ant" /> |
||||
<antcall target="module_copy_webapp_files" /> |
||||
</target> |
||||
|
||||
<target name="initTimestamp"> |
||||
<tstamp> |
||||
<format property="SX_TIMESTAMP" pattern="dd.MM.yyyy HH:mm" /> |
||||
</tstamp> |
||||
</target> |
||||
|
||||
|
||||
<target name="module_copy_source" description="Kopiere Modul Sourcen in den WEB-INF-Verzeichnisbaum"> |
||||
<echo message="Start module_copy_sources für Modul ${MODULE} in Pfad ${MODULE_PATH}" /> |
||||
<copy todir="${MODULE_PATH}" overwrite="true"> |
||||
<fileset dir="${BASE_DIR}/src-modules/module/${MODULE}" /> |
||||
</copy> |
||||
</target> |
||||
<target name="module_copy_webapp_files" description="Kopiere webapp-Dateien in den WEBAPP-Verzeichnisbaum"> |
||||
<echo message="Start module_copy_webapp_files für Modul ${MODULE} in Pfad ${MODULE_PATH}" /> |
||||
<copy todir="${WEBAPP}" overwrite="true"> |
||||
<fileset dir="${BASE_DIR}/superx" /> |
||||
</copy> |
||||
</target> |
||||
<target name="call_module_scripts_create_ant" description="Call to module_scripts_create_ant"> |
||||
<subant target="all"> |
||||
<!--<property name="basedir" value="${MODULE_PATH}/../../conf/" />--> |
||||
<property name="MODULE" value="${MODULE}" /> |
||||
<property name="DATABASE" value="POSTGRES" /> |
||||
<property name="WEBAPP_EXT_MODULE" value="${MODULE_PATH}/../../../webserver/tomcat/webapps/superx" /> |
||||
<property name="WEBAPP" value="${MODULE_PATH}/../../../webserver/tomcat/webapps/superx" /> |
||||
<property name="SUPERX_BASE" value="${WEBAPP}/WEB-INF" /> |
||||
<fileset dir="${MODULE_PATH}/../../conf" includes="module_scripts_create_ant.xml" /> |
||||
</subant> |
||||
</target> |
||||
<target name="dist" description="Create Download package"> |
||||
<subant target="erzeuge_paket"> |
||||
<!--<property name="basedir" value="${MODULE_PATH}/../../conf/" />--> |
||||
<property name="MODULE" value="${MODULE}" /> |
||||
<property name="PFAD" value="/home/superx/fertige_module" /> |
||||
<property name="DATABASE" value="POSTGRES" /> |
||||
<property name="ENCODING" value="utf8" /> |
||||
<property name="PLATFORM" value="superx" /> |
||||
|
||||
<property name="WEBAPP_EXT_MODULE" value="${MODULE_PATH}/../../../webserver/tomcat/webapps/superx" /> |
||||
<property name="WEBAPP" value="${MODULE_PATH}/../../../webserver/tomcat/webapps/superx" /> |
||||
<property name="SUPERX_BASE" value="${WEBAPP}/WEB-INF" /> |
||||
<fileset dir="${MODULE_PATH}/../../conf" includes="build.xml" /> |
||||
</subant> |
||||
</target> |
||||
|
||||
|
||||
</project> |
@ -0,0 +1,10 @@
@@ -0,0 +1,10 @@
|
||||
rohdaten/ETL_ENV |
||||
rohdaten/*.properties |
||||
preparation.sql |
||||
finalize.sql |
||||
rohdaten/*.err |
||||
*.log |
||||
*.err |
||||
rohdaten/unl/* |
||||
conf/customize.sql |
||||
conf/*.log |
@ -0,0 +1,11 @@
@@ -0,0 +1,11 @@
|
||||
doku/rpta_modul/rpta.html |
||||
WEB-INF/conf/edustore/db/bin/SQL_ENV_rpta.sam |
||||
images/icons/file-excel_rpta.svg |
||||
images/icons/magic.svg |
||||
WEB-INF/conf/edustore/db/module/rpta/schluesseltabellen/sx_stylesheets_einfuegen.sql |
||||
WEB-INF/lib/superx-rpta.jar |
||||
WEB-INF/reports/simple_table.jrtx |
||||
xml/tabelle_jrxml_a4_quer.xsl |
||||
xml/tabelle_jrxml_book_without_cover.xsl |
||||
xml/rpta_templates.xsl |
||||
xml/rpta_assistent.xsl |
@ -0,0 +1,165 @@
@@ -0,0 +1,165 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<!--<!DOCTYPE module SYSTEM "../../../conf/superx-module.dtd"> --> |
||||
<module name="sxc" version="0.1" sachgebiet_id="360" |
||||
sachgebiet="SuperX-Connect" systeminfo_id="360" |
||||
system="SuperX-Connect" thema="Hochschulvergleich" thema_parent="Abfragen"> |
||||
<database name="superx" system="superx"> |
||||
<sachgebiete> |
||||
<sachgebiet id="361" name="SuperX-Connect Administr." |
||||
rightname="CS_BIA_STANDARDREPORTS_ADMIN[SXC]" /> |
||||
|
||||
</sachgebiete> |
||||
<table name="sxc_stud_sem_da_geschl_hs_neu" thema="SuperX-Connect" typ="Ladetabelle" |
||||
releaseUnload="empty"> |
||||
<columns><column name="statistik_code" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="statistik_label" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="zeit_code" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="zeit_label" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="zeit" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="merkmal_code_1" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="merkmal_label_1" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="auspraegung_code_1" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="auspraegung_label_1" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="merkmal_code_2" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="merkmal_label_2" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="auspraegung_code_2" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="auspraegung_label_2" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="merkmal_code_3" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="merkmal_label_3" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="auspraegung_code_3" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="auspraegung_label_3" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="merkmal_code_4" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="merkmal_label_4" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="auspraegung_code_4" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="auspraegung_label_4" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="bil002__studierende__anzahl" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
||||
<column name="bil002__studierende__q" type ="VARCHAR" size ="255" 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="sxc_stud_sem_da_geschl_hs" thema="SuperX-Connect" typ="Datentabelle" |
||||
releaseUnload="empty"> |
||||
<columns><column name="statistik_code" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="statistik_label" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="zeit_code" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="zeit_label" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="zeit" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="semester" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
||||
<column name="merkmal_code_1" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="merkmal_label_1" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="auspraegung_code_1" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="auspraegung_label_1" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="merkmal_code_2" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="merkmal_label_2" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="auspraegung_code_2" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="auspraegung_label_2" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="merkmal_code_3" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="merkmal_label_3" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="auspraegung_code_3" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="auspraegung_label_3" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="merkmal_code_4" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="merkmal_label_4" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="auspraegung_code_4" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="auspraegung_label_4" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="bil002__studierende__anzahl" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
||||
<column name="bil002__studierende__q" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
||||
<column name="hs_nr" 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> |
||||
|
||||
<functions> |
||||
|
||||
</functions> |
||||
<themen> |
||||
<thema name="Administration SuperX-Connect" |
||||
parent="SuperX-Connect">Abfragen zur Administration von SuperX-Connect </thema> |
||||
</themen> |
||||
<masken> |
||||
<maske tid="47000" name="Studierende nach Geschlecht und Nationalität" thema="Hochschulvergleich"> |
||||
<description></description> |
||||
<src> |
||||
<path>$SXC_PFAD/masken</path> |
||||
</src> |
||||
</maske> |
||||
|
||||
</masken> |
||||
|
||||
<data-integrity> |
||||
|
||||
</data-integrity> |
||||
|
||||
</database> |
||||
|
||||
|
||||
<!-- ********************* Liste der SXC-Prozesse ************************** --> |
||||
|
||||
<etl> |
||||
<etl-step name="Transformation" type="trans"> |
||||
<action> |
||||
|
||||
<nativeaction sql="update systeminfo set datum=today() where tid in (360)" scriptfile="" database=""/> |
||||
</action> |
||||
</etl-step> |
||||
</etl> |
||||
|
||||
<install> |
||||
<install-step name="Füllen der Modul-Tabellen"> |
||||
<action error="stop"> |
||||
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/sx_stylesheets_einfuegen.sql" database=""/> |
||||
</action> |
||||
</install-step> |
||||
</install> |
||||
|
||||
|
||||
<upgrade> |
||||
<upgrade-step> |
||||
<action error="stop"> |
||||
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_column_type"><file path="$SXC_PFAD/schluesseltabellen/sxc_column_type.unl"/></loadtable> |
||||
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/sx_stylesheets_einfuegen.sql" database=""/> |
||||
</action> |
||||
<action> |
||||
|
||||
|
||||
</action> |
||||
</upgrade-step> |
||||
</upgrade> |
||||
|
||||
<uninstall-step name="Deinstalliere Schlüssel"> |
||||
<action error="stop"> |
||||
</action> |
||||
|
||||
|
||||
</uninstall-step> |
||||
|
||||
<!-- ********************* Liste der SXC-Prozesse ************************** --> |
||||
|
||||
|
||||
<dbforms> |
||||
|
||||
|
||||
</dbforms> |
||||
</module> |
||||
|
@ -0,0 +1,459 @@
@@ -0,0 +1,459 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><job> |
||||
<name>import</name> |
||||
<description/> |
||||
<extended_description/> |
||||
<job_version/> |
||||
<job_status>0</job_status> |
||||
<directory>/</directory> |
||||
<created_user>-</created_user> |
||||
<created_date>2019/03/19 11:15:05.289</created_date> |
||||
<modified_user>-</modified_user> |
||||
<modified_date>2019/03/19 11:15:05.289</modified_date> |
||||
<parameters> |
||||
<parameter> |
||||
<name>PATH_TO_UPLOADFILE</name> |
||||
<default_value>file:///home/superx/git/Memtext-Interna/uebergreifende_Projekte/2023_superxconnect/muster/destatis/studierende/21311-0002_de_flat.csv</default_value> |
||||
<description/> |
||||
</parameter> |
||||
</parameters> |
||||
<slaveservers/> |
||||
<job-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<size_limit_lines/> |
||||
<interval/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_JOB</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_JOB</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>JOBNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>JOBNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>STATUS</id> |
||||
<enabled>Y</enabled> |
||||
<name>STATUS</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>STARTDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>STARTDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>ENDDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>ENDDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>DEPDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>DEPDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>REPLAYDATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPLAYDATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_SERVER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_SERVER</name> |
||||
</field> |
||||
<field> |
||||
<id>EXECUTING_USER</id> |
||||
<enabled>N</enabled> |
||||
<name>EXECUTING_USER</name> |
||||
</field> |
||||
<field> |
||||
<id>START_JOB_ENTRY</id> |
||||
<enabled>N</enabled> |
||||
<name>START_JOB_ENTRY</name> |
||||
</field> |
||||
<field> |
||||
<id>CLIENT</id> |
||||
<enabled>N</enabled> |
||||
<name>CLIENT</name> |
||||
</field> |
||||
</job-log-table> |
||||
<jobentry-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>JOBNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>TRANSNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>JOBENTRYNAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>STEPNAME</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_READ</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_READ</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_WRITTEN</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_WRITTEN</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_UPDATED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_UPDATED</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_INPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_INPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_OUTPUT</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_OUTPUT</name> |
||||
</field> |
||||
<field> |
||||
<id>LINES_REJECTED</id> |
||||
<enabled>Y</enabled> |
||||
<name>LINES_REJECTED</name> |
||||
</field> |
||||
<field> |
||||
<id>ERRORS</id> |
||||
<enabled>Y</enabled> |
||||
<name>ERRORS</name> |
||||
</field> |
||||
<field> |
||||
<id>RESULT</id> |
||||
<enabled>Y</enabled> |
||||
<name>RESULT</name> |
||||
</field> |
||||
<field> |
||||
<id>NR_RESULT_ROWS</id> |
||||
<enabled>Y</enabled> |
||||
<name>NR_RESULT_ROWS</name> |
||||
</field> |
||||
<field> |
||||
<id>NR_RESULT_FILES</id> |
||||
<enabled>Y</enabled> |
||||
<name>NR_RESULT_FILES</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_FIELD</id> |
||||
<enabled>N</enabled> |
||||
<name>LOG_FIELD</name> |
||||
</field> |
||||
<field> |
||||
<id>COPY_NR</id> |
||||
<enabled>N</enabled> |
||||
<name>COPY_NR</name> |
||||
</field> |
||||
</jobentry-log-table> |
||||
<channel-log-table> |
||||
<connection/> |
||||
<schema/> |
||||
<table/> |
||||
<timeout_days/> |
||||
<field> |
||||
<id>ID_BATCH</id> |
||||
<enabled>Y</enabled> |
||||
<name>ID_BATCH</name> |
||||
</field> |
||||
<field> |
||||
<id>CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>LOG_DATE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOG_DATE</name> |
||||
</field> |
||||
<field> |
||||
<id>LOGGING_OBJECT_TYPE</id> |
||||
<enabled>Y</enabled> |
||||
<name>LOGGING_OBJECT_TYPE</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_NAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_NAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_COPY</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_COPY</name> |
||||
</field> |
||||
<field> |
||||
<id>REPOSITORY_DIRECTORY</id> |
||||
<enabled>Y</enabled> |
||||
<name>REPOSITORY_DIRECTORY</name> |
||||
</field> |
||||
<field> |
||||
<id>FILENAME</id> |
||||
<enabled>Y</enabled> |
||||
<name>FILENAME</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>OBJECT_REVISION</id> |
||||
<enabled>Y</enabled> |
||||
<name>OBJECT_REVISION</name> |
||||
</field> |
||||
<field> |
||||
<id>PARENT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>PARENT_CHANNEL_ID</name> |
||||
</field> |
||||
<field> |
||||
<id>ROOT_CHANNEL_ID</id> |
||||
<enabled>Y</enabled> |
||||
<name>ROOT_CHANNEL_ID</name> |
||||
</field> |
||||
</channel-log-table> |
||||
<pass_batchid>N</pass_batchid> |
||||
<shared_objects_file/> |
||||
<entries> |
||||
<entry> |
||||
<name>import_21311-0002_de_flat</name> |
||||
<description/> |
||||
<type>TRANS</type> |
||||
<specification_method>filename</specification_method> |
||||
<trans_object_id/> |
||||
<filename>${Internal.Job.Filename.Directory}/import_21311-0002_de_flat.ktr</filename> |
||||
<transname/> |
||||
<arg_from_previous>N</arg_from_previous> |
||||
<params_from_previous>N</params_from_previous> |
||||
<exec_per_row>N</exec_per_row> |
||||
<clear_rows>N</clear_rows> |
||||
<clear_files>N</clear_files> |
||||
<set_logfile>N</set_logfile> |
||||
<logfile/> |
||||
<logext/> |
||||
<add_date>N</add_date> |
||||
<add_time>N</add_time> |
||||
<loglevel>Basic</loglevel> |
||||
<cluster>N</cluster> |
||||
<slave_server_name/> |
||||
<set_append_logfile>N</set_append_logfile> |
||||
<wait_until_finished>Y</wait_until_finished> |
||||
<follow_abort_remote>N</follow_abort_remote> |
||||
<create_parent_folder>N</create_parent_folder> |
||||
<logging_remote_work>N</logging_remote_work> |
||||
<parameters> |
||||
<pass_all_parameters>Y</pass_all_parameters> |
||||
</parameters> |
||||
<parallel>N</parallel> |
||||
<draw>Y</draw> |
||||
<nr>0</nr> |
||||
<xloc>304</xloc> |
||||
<yloc>80</yloc> |
||||
</entry> |
||||
<entry> |
||||
<name>START</name> |
||||
<description/> |
||||
<type>SPECIAL</type> |
||||
<start>Y</start> |
||||
<dummy>N</dummy> |
||||
<repeat>N</repeat> |
||||
<schedulerType>0</schedulerType> |
||||
<intervalSeconds>0</intervalSeconds> |
||||
<intervalMinutes>60</intervalMinutes> |
||||
<hour>12</hour> |
||||
<minutes>0</minutes> |
||||
<weekDay>1</weekDay> |
||||
<DayOfMonth>1</DayOfMonth> |
||||
<parallel>N</parallel> |
||||
<draw>Y</draw> |
||||
<nr>0</nr> |
||||
<xloc>128</xloc> |
||||
<yloc>80</yloc> |
||||
</entry> |
||||
<entry> |
||||
<name>Success</name> |
||||
<description/> |
||||
<type>SUCCESS</type> |
||||
<parallel>N</parallel> |
||||
<draw>Y</draw> |
||||
<nr>0</nr> |
||||
<xloc>800</xloc> |
||||
<yloc>192</yloc> |
||||
</entry> |
||||
<entry> |
||||
<name>insert</name> |
||||
<description/> |
||||
<type>SQL</type> |
||||
<sql>truncate table sxc_stud_sem_da_geschl_hs; |
||||
|
||||
insert into sxc_stud_sem_da_geschl_hs( |
||||
statistik_code, |
||||
statistik_label, |
||||
zeit_code, |
||||
zeit_label, |
||||
zeit, |
||||
semester, |
||||
merkmal_code_1, |
||||
merkmal_label_1, |
||||
auspraegung_code_1, |
||||
auspraegung_label_1, |
||||
merkmal_code_2, |
||||
merkmal_label_2, |
||||
auspraegung_code_2, |
||||
auspraegung_label_2, |
||||
merkmal_code_3, |
||||
merkmal_label_3, |
||||
auspraegung_code_3, |
||||
auspraegung_label_3, |
||||
merkmal_code_4, |
||||
merkmal_label_4, |
||||
auspraegung_code_4, |
||||
auspraegung_label_4, |
||||
bil002__studierende__anzahl, |
||||
bil002__studierende__q) |
||||
select statistik_code, |
||||
statistik_label, |
||||
zeit_code, |
||||
zeit_label, |
||||
zeit, |
||||
val(substring(zeit from 4 for 4) || '2') as semester, |
||||
merkmal_code_1, |
||||
merkmal_label_1, |
||||
auspraegung_code_1, |
||||
auspraegung_label_1, |
||||
merkmal_code_2, |
||||
merkmal_label_2, |
||||
auspraegung_code_2, |
||||
auspraegung_label_2, |
||||
merkmal_code_3, |
||||
merkmal_label_3, |
||||
auspraegung_code_3, |
||||
auspraegung_label_3, |
||||
merkmal_code_4, |
||||
merkmal_label_4, |
||||
val(substring(auspraegung_code_4 from 3 for 4)) as hs_nr, |
||||
auspraegung_label_4, |
||||
bil002__studierende__anzahl, |
||||
bil002__studierende__q |
||||
FROM sxc_stud_sem_da_geschl_hs_neu |
||||
; |
||||
|
||||
</sql> |
||||
<useVariableSubstitution>F</useVariableSubstitution> |
||||
<sqlfromfile>F</sqlfromfile> |
||||
<sqlfilename/> |
||||
<sendOneStatement>F</sendOneStatement> |
||||
<connection>eduetl</connection> |
||||
<parallel>N</parallel> |
||||
<draw>Y</draw> |
||||
<nr>0</nr> |
||||
<xloc>576</xloc> |
||||
<yloc>128</yloc> |
||||
</entry> |
||||
</entries> |
||||
<hops> |
||||
<hop> |
||||
<from>START</from> |
||||
<to>import_21311-0002_de_flat</to> |
||||
<from_nr>0</from_nr> |
||||
<to_nr>0</to_nr> |
||||
<enabled>Y</enabled> |
||||
<evaluation>Y</evaluation> |
||||
<unconditional>Y</unconditional> |
||||
</hop> |
||||
<hop> |
||||
<from>import_21311-0002_de_flat</from> |
||||
<to>insert</to> |
||||
<from_nr>0</from_nr> |
||||
<to_nr>0</to_nr> |
||||
<enabled>Y</enabled> |
||||
<evaluation>Y</evaluation> |
||||
<unconditional>N</unconditional> |
||||
</hop> |
||||
<hop> |
||||
<from>insert</from> |
||||
<to>Success</to> |
||||
<from_nr>0</from_nr> |
||||
<to_nr>0</to_nr> |
||||
<enabled>Y</enabled> |
||||
<evaluation>Y</evaluation> |
||||
<unconditional>N</unconditional> |
||||
</hop> |
||||
</hops> |
||||
<notepads/> |
||||
</job> |
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,3 @@
@@ -0,0 +1,3 @@
|
||||
47000^Hochschule^0^0^0^100^150^1^char^30^0^12^<<SQL>> select tid, type, name,sortnr from sichten where art in('KENN-Kostenstellen-Sicht','KENN-Hochschulen-Sicht') order by sortnr, name;^^ ^ |
||||
47001^Seit Semester^1^0^0^130^80^1^integer^30^0^1^<<SQL>> select tid,druck from kenn_semester order by tid DESC;^^<<SQL>> select tid,druck from kenn_semester where today() between sem_beginn and sem_ende;^ |
||||
47007^Bis Semester^3^330^-1^130^100^1^integer^30^0^1^<<SQL>> select tid,druck from kenn_semester order by tid DESC;^ ^<<SQL>> select tid,druck from kenn_semester where today() between sem_beginn and sem_ende;^ |
@ -0,0 +1 @@
@@ -0,0 +1 @@
|
||||
47000^360^ |
@ -0,0 +1,3 @@
@@ -0,0 +1,3 @@
|
||||
47000^47000^ |
||||
47000^47001^ |
||||
47000^47007^ |
@ -0,0 +1,123 @@
@@ -0,0 +1,123 @@
|
||||
47000^Studierende nach Geschlecht und Nationalität^--Freemarker Template\ |
||||
<#include "SQL_lingua_franca"/>\ |
||||
<#include "SuperX_general"/>\ |
||||
\ |
||||
create temp table tmp_studis1 \ |
||||
(semester integer,\ |
||||
hs_nr integer,\ |
||||
spalte char(255),\ |
||||
m_gesamt integer, w_gesamt integer,\ |
||||
d_gesamt integer, a_gesamt integer)\ |
||||
<@informixnolog/>;\ |
||||
\ |
||||
create temp table tmp_studis2 \ |
||||
(semester integer,\ |
||||
semester_str varchar(255),\ |
||||
hs_nr integer,\ |
||||
gesamt integer,\ |
||||
m_gesamt integer, w_gesamt integer,\ |
||||
d_gesamt integer, a_gesamt integer)\ |
||||
<@informixnolog/>;\ |
||||
\ |
||||
\ |
||||
\ |
||||
insert into tmp_studis1(semester,\ |
||||
hs_nr ,\ |
||||
m_gesamt, \ |
||||
w_gesamt ,\ |
||||
d_gesamt,\ |
||||
a_gesamt)\ |
||||
select semester,\ |
||||
hs_nr,\ |
||||
(case when auspraegung_code_3='GESM' then bil002__studierende__anzahl else 0 end) as m_gesamt,\ |
||||
(case when auspraegung_code_3='GESW' then bil002__studierende__anzahl else 0 end) as w_gesamt,\ |
||||
(case when auspraegung_code_2='NATD' then bil002__studierende__anzahl else 0 end) as d_gesamt,\ |
||||
(case when auspraegung_code_2='NATA' then bil002__studierende__anzahl else 0 end) as a_gesamt\ |
||||
from sxc_stud_sem_da_geschl_hs\ |
||||
where bil002__studierende__q='e' --endgültiger Wert\ |
||||
/* and semester >= <<Seit Semester>>*/\ |
||||
/* and semester <= <<Bis Semester>> */\ |
||||
/* and hs_nr::varchar(255) in <@printkeys Hochschule.allNeededKeysList/> --<<Hochschule>> */\ |
||||
;\ |
||||
\ |
||||
\ |
||||
\ |
||||
\ |
||||
insert into tmp_studis2(semester,\ |
||||
semester_str ,\ |
||||
gesamt,\ |
||||
m_gesamt, \ |
||||
w_gesamt ,\ |
||||
d_gesamt,\ |
||||
a_gesamt)\ |
||||
select S.semester,K.druck,\ |
||||
sum(m_gesamt) + sum(w_gesamt),\ |
||||
sum(w_gesamt),\ |
||||
sum(m_gesamt),\ |
||||
sum(d_gesamt),\ |
||||
sum(a_gesamt)\ |
||||
from tmp_studis1 S, kenn_semester K\ |
||||
where K.tid=S.semester\ |
||||
group by 1,2;\ |
||||
drop table tmp_studis1;\ |
||||
\ |
||||
-- Falls Division durch 0 vorkommen sollte, Division durch NULL ist möglich\ |
||||
update tmp_studis2\ |
||||
set gesamt = null where gesamt = 0;\ |
||||
\ |
||||
select trim(semester_str), \ |
||||
gesamt,\ |
||||
w_gesamt,\ |
||||
m_gesamt,\ |
||||
'' || w_gesamt || '|' || gesamt as _graphbarright_w_gesamt,\ |
||||
'' || m_gesamt || '|' || gesamt as _graphbarleft_m_gesamt,\ |
||||
round((100*w_gesamt)::decimal(21,9)/gesamt,2) as frauenanteil,\ |
||||
d_gesamt,\ |
||||
a_gesamt,\ |
||||
'' || d_gesamt || '|' || gesamt as _graphbarright_d_gesamt,\ |
||||
'' || a_gesamt || '|' || gesamt as _graphbarleft_a_gesamt,\ |
||||
round((100*a_gesamt)::decimal(21,9)/gesamt,2) as auslanteil\ |
||||
from tmp_studis2 \ |
||||
order by semester desc ;^XIL List\ |
||||
sizable_columns horizontal_scrolling\ |
||||
white_space_color=COLOR_WHITE fixed_columns=1\ |
||||
drop_and_delete movable_columns\ |
||||
min_heading_height=55\ |
||||
Column CID=0 heading_text="Semester" explanation="@@@sos_semester@@@" center_heading\ |
||||
row_selectable heading_platform readonly\ |
||||
width=10\ |
||||
Column CID=1 heading_text="Gesamtzahl" explanation="@@@sos_gesamtzahl@@@" center_heading\ |
||||
row_selectable col_selectable rightJust heading_platform\ |
||||
readonly\ |
||||
width=8\ |
||||
Column CID=2 heading_text="Studierende nach Geschlecht\\000weiblich" explanation="" center_heading\ |
||||
row_selectable col_selectable rightJust heading_platform readonly\ |
||||
width=8\ |
||||
Column CID=2 heading_text="Studierende nach Geschlecht\\000männlich" explanation="" center_heading\ |
||||
row_selectable col_selectable rightJust heading_platform readonly\ |
||||
width=8\ |
||||
Column CID=2 heading_text="Studierende nach Geschlecht\\000weiblich\\n(graphisch)" explanation="" center_heading\ |
||||
row_selectable col_selectable rightJust heading_platform readonly\ |
||||
width=8\ |
||||
Column CID=2 heading_text="Studierende nach Geschlecht\\000männlich\\n(graphisch)" explanation="" center_heading\ |
||||
row_selectable col_selectable rightJust heading_platform readonly\ |
||||
width=8\ |
||||
Column CID=3 heading_text="Studierende nach Geschlecht\\000Anteil weibl. in %" explanation="" center_heading\ |
||||
row_selectable col_selectable rightJust heading_platform readonly\ |
||||
width=8\ |
||||
Column CID=2 heading_text="Studierende nach Nationalität\\000Deutsch" explanation="" center_heading\ |
||||
row_selectable col_selectable rightJust heading_platform readonly\ |
||||
width=8\ |
||||
Column CID=2 heading_text="Studierende nach Nationalität\\000Ausland" explanation="" center_heading\ |
||||
row_selectable col_selectable rightJust heading_platform readonly\ |
||||
width=8\ |
||||
Column CID=2 heading_text="Studierende nach Nationalität\\000Deutsch\\n(graphisch)" explanation="" center_heading\ |
||||
row_selectable col_selectable rightJust heading_platform readonly\ |
||||
width=8\ |
||||
Column CID=2 heading_text="Studierende nach Nationalität\\000Ausland\\n(graphisch)" explanation="" center_heading\ |
||||
row_selectable col_selectable rightJust heading_platform readonly\ |
||||
width=8\ |
||||
Column CID=3 heading_text="Studierende nach Nationalität\\000Anteil Ausland in %" explanation="" center_heading\ |
||||
row_selectable col_selectable rightJust heading_platform readonly\ |
||||
width=8\ |
||||
@@@^Semester^Anzahl^je Semester mit Geschlechtsangabe und Prozentwert^drop table tmp_studis2;^-leer-^3^700^360^0^1^<<SQL>> select distinct 'Quelle: Destatis Tabelle ' || statistik_label || '(' || statistik_code || ')' from sxc_stud_sem_da_geschl_hs^ |
@ -0,0 +1 @@
@@ -0,0 +1 @@
|
||||
360^47000^ |
@ -0,0 +1,205 @@
@@ -0,0 +1,205 @@
|
||||
--Freemarker Template |
||||
--Achtung: Macro fügt Inhalte ein |
||||
--Bitte nur Freemarker Variablen füllen |
||||
|
||||
<#assign masken = [ |
||||
] /> |
||||
|
||||
<#assign stylesheet = [ |
||||
|
||||
] /> |
||||
|
||||
<#assign stylesheet_field = [ |
||||
|
||||
|
||||
] /> |
||||
|
||||
--Hier eventuell notwendige delete's auf die Tabellen sx_mask_style, sx_stylesheets oder stylesheet_field einfügen. |
||||
|
||||
<@sx_stylesheets_insert |
||||
m_masken=masken |
||||
m_stylesheet=stylesheet |
||||
m_stylesheet_field=stylesheet_field |
||||
/> |
||||
|
||||
|
||||
<#macro sx_stylesheets_insert m_masken m_stylesheet m_stylesheet_field> |
||||
|
||||
--Sicherstellen, dass keine Duplikate vorkommen: |
||||
--#################################################################################################### |
||||
<#foreach column in m_masken> |
||||
delete from sx_mask_style where maskeninfo_id=${column.mask} and stylesheet_id in (select tid from sx_stylesheets where filename ='${column.filename}') and ord=${column.ord}; |
||||
</#foreach> |
||||
|
||||
<#foreach column in m_stylesheet_field> |
||||
delete from stylesheet_field where stylesheet_id in (select tid from sx_stylesheets where filename ='${column.filename}'); |
||||
</#foreach> |
||||
|
||||
|
||||
|
||||
|
||||
-- Stylesheets füllen |
||||
--#################################################################################################### |
||||
create temp table tmp_stylesheets ( |
||||
tid serial not null, |
||||
filename CHAR(255) , |
||||
caption CHAR(255) , |
||||
description CHAR(255) , |
||||
relation CHAR(10) , |
||||
useragent CHAR(255) , |
||||
contenttype CHAR(200) , |
||||
is_generic smallint, |
||||
toolbar_icon_filepath VARCHAR(255) , |
||||
usage_resultset_data CHAR(10) default 'T' , |
||||
stylesheet_type CHAR(10) default 'XSL' , |
||||
jr_datasource CHAR(10) |
||||
|
||||
); |
||||
|
||||
create temp table tmp_hilf (tid integer); |
||||
insert into tmp_hilf select max(tid) from sx_stylesheets; |
||||
update tmp_hilf set tid=1 where tid is null; |
||||
|
||||
<#assign counter_tid = 1 /> |
||||
<#foreach column in m_stylesheet> |
||||
insert into tmp_stylesheets (tid, |
||||
filename, |
||||
caption, |
||||
description, |
||||
relation, |
||||
contenttype, |
||||
is_generic, |
||||
toolbar_icon_filepath , |
||||
usage_resultset_data , |
||||
stylesheet_type , |
||||
jr_datasource) |
||||
select max(tid)+${counter_tid},'${column.filename}', |
||||
'${column.caption}', |
||||
'${column.description}', |
||||
'${column.relation}', |
||||
'${column.contenttype}', |
||||
${column.is_generic}, |
||||
'${column.toolbar_icon_filepath}' , |
||||
'${column.usage_resultset_data}' , |
||||
'${column.stylesheet_type}' , |
||||
'${column.jr_datasource}' |
||||
from tmp_hilf; |
||||
<#assign counter_tid = counter_tid + 1 /> |
||||
</#foreach> |
||||
|
||||
<#if TableFieldExists?exists && TableFieldExists('sx_stylesheets','is_generic')> |
||||
update sx_stylesheets set is_generic=1 |
||||
where filename in (select T.filename from tmp_stylesheets T where T.is_generic=1); |
||||
</#if> |
||||
|
||||
|
||||
--delete für tml_stylesheets hinzugefügt #ak 06.03.2013 |
||||
delete from tmp_stylesheets where filename in (select filename from sx_stylesheets); |
||||
|
||||
|
||||
insert into sx_stylesheets (tid, |
||||
filename, caption, description, relation, useragent, contenttype |
||||
<#if TableFieldExists?exists && TableFieldExists('sx_stylesheets','is_generic')> |
||||
,is_generic |
||||
</#if> |
||||
<#if TableFieldExists?exists && TableFieldExists('sx_stylesheets','toolbar_icon_filepath')> |
||||
,toolbar_icon_filepath , |
||||
usage_resultset_data , |
||||
stylesheet_type , |
||||
jr_datasource |
||||
</#if> |
||||
) |
||||
SELECT tid, filename, caption, description, relation, useragent, contenttype |
||||
<#if TableFieldExists?exists && TableFieldExists('sx_stylesheets','is_generic')> |
||||
,is_generic |
||||
</#if> |
||||
<#if TableFieldExists?exists && TableFieldExists('sx_stylesheets','toolbar_icon_filepath')> |
||||
,toolbar_icon_filepath , |
||||
usage_resultset_data , |
||||
stylesheet_type , |
||||
jr_datasource |
||||
</#if> |
||||
FROM tmp_stylesheets; |
||||
|
||||
drop table tmp_stylesheets; |
||||
|
||||
|
||||
-- Mask Style füllen |
||||
--#################################################################################################### |
||||
create temp table tmp_mask_style ( |
||||
tid serial not null, |
||||
maskeninfo_id INTEGER , |
||||
stylesheet_id INTEGER , |
||||
ord SMALLINT, |
||||
filename char(255) |
||||
); |
||||
|
||||
delete from tmp_hilf; |
||||
insert into tmp_hilf select max(tid) from sx_mask_style; |
||||
update tmp_hilf set tid=1 where tid is null; |
||||
|
||||
<#assign counter_tid = 1 /> |
||||
<#foreach column in m_masken> |
||||
insert into tmp_mask_style (tid,maskeninfo_id,ord,filename) |
||||
select max(tid)+${counter_tid},${column.mask},${column.ord},'${column.filename}' from tmp_hilf; |
||||
|
||||
update tmp_mask_style set stylesheet_id=(select max(tid) from sx_stylesheets where filename='${column.filename}') |
||||
where filename='${column.filename}'; |
||||
<#assign counter_tid = counter_tid + 1 /> |
||||
</#foreach> |
||||
|
||||
insert into sx_mask_style ( tid, maskeninfo_id, stylesheet_id, ord) |
||||
SELECT tid, maskeninfo_id, stylesheet_id, ord |
||||
FROM tmp_mask_style; |
||||
|
||||
drop table tmp_mask_style; |
||||
|
||||
|
||||
--Field zu Stylesheet Zuordnungen: |
||||
--#################################################################################################### |
||||
CREATE temp TABLE tmp_stylesheet_field |
||||
( |
||||
tid serial NOT NULL, |
||||
stylesheet_id INTEGER, |
||||
tablename char(255), |
||||
fieldname char(255), |
||||
filename char(255) |
||||
); |
||||
|
||||
delete from tmp_hilf; |
||||
insert into tmp_hilf select max(tid) from stylesheet_field; |
||||
update tmp_hilf set tid=1 where tid is null; |
||||
|
||||
<#assign counter_tid = 1 /> |
||||
<#foreach column in m_stylesheet_field> |
||||
INSERT INTO tmp_stylesheet_field (tid, filename, tablename, fieldname) |
||||
select max(tid)+${counter_tid}, '${column.filename}', '${column.tablename}', '${column.fieldname}' from tmp_hilf; |
||||
|
||||
update tmp_stylesheet_field set stylesheet_id=(select max(tid) from sx_stylesheets where filename='${column.filename}') |
||||
where filename='${column.filename}'; |
||||
<#assign counter_tid = counter_tid + 1 /> |
||||
</#foreach> |
||||
|
||||
insert into stylesheet_field ( tid, stylesheet_id, tablename, fieldname) |
||||
SELECT tid, stylesheet_id, tablename, fieldname |
||||
FROM tmp_stylesheet_field; |
||||
|
||||
drop table tmp_stylesheet_field; |
||||
drop table tmp_hilf; |
||||
|
||||
update sx_stylesheets |
||||
set |
||||
contenttype='txt/xml', |
||||
is_generic=1, |
||||
usage_resultset_data='T', |
||||
stylesheet_type='XSL_JRXML' |
||||
where filename in ('tabelle_jrxml_a4_quer.xsl'); |
||||
|
||||
|
||||
<#if SQLdialect='Postgres'> |
||||
select sp_update_sequence('sx_stylesheets'); |
||||
select sp_update_sequence('sx_mask_style'); |
||||
select sp_update_sequence('stylesheet_field'); |
||||
</#if> |
||||
|
||||
</#macro> |
@ -0,0 +1,14 @@
@@ -0,0 +1,14 @@
|
||||
#Beispielumgebung für das SXC-Modul: |
||||
|
||||
#SUPERX_MODULE=$SUPERX_DIR/db/module |
||||
#SUPERX_ROHDATEN=rohdaten |
||||
|
||||
SXC_PFAD=$SUPERX_MODULE/sxc; export SXC_PFAD |
||||
SXC_ERRORDAT=$SXC_PFAD/sxc_update.err; export SXC_ERRORDAT |
||||
#Hier stehen die Rohdaten (im Unterverzeichnis unl) |
||||
SXC_LOAD_PFAD=$SXC_PFAD/$SUPERX_ROHDATEN; export SXC_LOAD_PFAD |
||||
SXC_ERRORMAIL=$ERRORMAIL; export SXC_ERRORMAIL |
||||
SXC_LOGMAIL=$LOGMAIL; export SXC_LOGMAIL |
||||
|
||||
|
||||
|
Loading…
Reference in new issue