|
|
@ -331,11 +331,11 @@ drop table if exists tmp_rohdaten;\ |
|
|
|
</#foreach>\ |
|
|
|
</#foreach>\ |
|
|
|
\ |
|
|
|
\ |
|
|
|
<#if "<<Leere Zeilen ausblenden>>"="'ja'">\ |
|
|
|
<#if "<<Leere Zeilen ausblenden>>"="'ja'">\ |
|
|
|
delete from tmp_erg where\ |
|
|
|
delete from tmp_erg where 1=1 \ |
|
|
|
<#assign i=0/>\ |
|
|
|
<#assign i=0/>\ |
|
|
|
<#foreach spalte in ergspalten>\ |
|
|
|
<#foreach spalte in ergspalten>\ |
|
|
|
<#assign i=i+1/>\ |
|
|
|
<#assign i=i+1/>\ |
|
|
|
c${i}=0 <#if spalte_has_next> and </#if>\ |
|
|
|
and c${i}=0 \ |
|
|
|
</#foreach>;\ |
|
|
|
</#foreach>;\ |
|
|
|
</#if>\ |
|
|
|
</#if>\ |
|
|
|
<#if "<<Ansicht in Ergebniszeilen>>"="'institution'">\ |
|
|
|
<#if "<<Ansicht in Ergebniszeilen>>"="'institution'">\ |
|
|
@ -351,12 +351,12 @@ update tmp_erg set name=replace(name,col1||' - ','');\ |
|
|
|
\ |
|
|
|
\ |
|
|
|
select \ |
|
|
|
select \ |
|
|
|
<#if rowdef.is_sicht>0>ebene,</#if>\ |
|
|
|
<#if rowdef.is_sicht>0>ebene,</#if>\ |
|
|
|
name,\ |
|
|
|
name \ |
|
|
|
<#if "<<2.Ansicht in Zeilen>>"!=""&&"<<2.Ansicht in Zeilen>>"!="<<2.Ansicht in Zeilen>>">col2,</#if>\ |
|
|
|
<#if "<<2.Ansicht in Zeilen>>"!=""&&"<<2.Ansicht in Zeilen>>"!="<<2.Ansicht in Zeilen>>">,col2 </#if>\ |
|
|
|
<#assign i=0/>\ |
|
|
|
<#assign i=0/>\ |
|
|
|
<#foreach spalte in ergspalten>\ |
|
|
|
<#foreach spalte in ergspalten>\ |
|
|
|
<#assign i=i+1/>\ |
|
|
|
<#assign i=i+1/>\ |
|
|
|
c${i}::${datatype} <#if spalte_has_next>,</#if>\ |
|
|
|
,c${i}::${datatype} \ |
|
|
|
</#foreach>\ |
|
|
|
</#foreach>\ |
|
|
|
\ |
|
|
|
\ |
|
|
|
from tmp_erg order by sortnr;^--freemarker Template\ |
|
|
|
from tmp_erg order by sortnr;^--freemarker Template\ |
|
|
|