conf conexion reporte expedientes por seccion

parent b71aaca1
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.15" id="1"> <report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.23" id="1">
<property name="createdBy">Eclipse BIRT Designer Version 2.2.2.r222_v20071226 Build &lt;2.2.2.v20080227-1131></property>
<property name="units">in</property>
<property name="comments">Copyright (c) 2007 &lt;&lt;Your Company Name here>></property> <property name="comments">Copyright (c) 2007 &lt;&lt;Your Company Name here>></property>
<property name="createdBy">Eclipse BIRT Designer Version 4.6.0.v201606072122</property>
<property name="units">in</property>
<method name="initialize"><![CDATA[if (params["param_estado"] != ''){ <method name="initialize"><![CDATA[if (params["param_estado"] != ''){
if(params["param_estado"] == 'P'){ if(params["param_estado"] == 'P'){
params["estado"] = params["estado"] + "Pendiente"; params["estado"] = params["estado"] + "Pendiente";
...@@ -15,64 +15,75 @@ ...@@ -15,64 +15,75 @@
} }
}]]></method> }]]></method>
<text-property name="displayName">Template Reporte</text-property> <text-property name="displayName">Template Reporte</text-property>
<property name="layoutPreference">auto layout</property>
<parameters> <parameters>
<scalar-parameter name="param_anho" id="603"> <scalar-parameter name="param_anho" id="603">
<property name="valueType">static</property> <property name="valueType">static</property>
<property name="isRequired">true</property>
<property name="dataType">string</property> <property name="dataType">string</property>
<property name="distinct">true</property>
<simple-property-list name="defaultValue">
<value type="constant"></value>
</simple-property-list>
<property name="paramType">simple</property> <property name="paramType">simple</property>
<property name="concealValue">false</property> <property name="concealValue">false</property>
<property name="isRequired">true</property>
<property name="controlType">text-box</property> <property name="controlType">text-box</property>
<property name="defaultValue"></property>
<property name="distinct">true</property>
<structure name="format"> <structure name="format">
<property name="category">Unformatted</property> <property name="category">Unformatted</property>
</structure> </structure>
</scalar-parameter> </scalar-parameter>
<scalar-parameter name="param_estado" id="604"> <scalar-parameter name="param_estado" id="604">
<property name="valueType">static</property> <property name="valueType">static</property>
<property name="isRequired">true</property>
<property name="dataType">string</property> <property name="dataType">string</property>
<property name="distinct">true</property>
<simple-property-list name="defaultValue">
<value type="constant"></value>
</simple-property-list>
<property name="paramType">simple</property> <property name="paramType">simple</property>
<property name="isRequired">true</property>
<property name="controlType">text-box</property> <property name="controlType">text-box</property>
<property name="defaultValue"></property>
<property name="distinct">true</property>
<structure name="format"> <structure name="format">
<property name="category">Unformatted</property> <property name="category">Unformatted</property>
</structure> </structure>
</scalar-parameter> </scalar-parameter>
<scalar-parameter name="param_cod_inst" id="605"> <scalar-parameter name="param_cod_inst" id="605">
<property name="valueType">static</property> <property name="valueType">static</property>
<property name="isRequired">true</property>
<property name="dataType">string</property> <property name="dataType">string</property>
<property name="distinct">true</property>
<simple-property-list name="defaultValue">
<value type="constant"></value>
</simple-property-list>
<property name="paramType">simple</property> <property name="paramType">simple</property>
<property name="isRequired">true</property>
<property name="controlType">text-box</property> <property name="controlType">text-box</property>
<property name="defaultValue"></property>
<property name="distinct">true</property>
<structure name="format"> <structure name="format">
<property name="category">Unformatted</property> <property name="category">Unformatted</property>
</structure> </structure>
</scalar-parameter> </scalar-parameter>
<scalar-parameter name="param_secc_padre" id="606"> <scalar-parameter name="param_secc_padre" id="606">
<property name="valueType">static</property> <property name="valueType">static</property>
<property name="isRequired">false</property>
<property name="dataType">string</property> <property name="dataType">string</property>
<property name="distinct">true</property>
<simple-property-list name="defaultValue">
<value type="constant"></value>
</simple-property-list>
<property name="paramType">simple</property> <property name="paramType">simple</property>
<property name="isRequired">false</property>
<property name="controlType">text-box</property> <property name="controlType">text-box</property>
<property name="defaultValue"></property>
<property name="distinct">true</property>
<structure name="format"> <structure name="format">
<property name="category">Unformatted</property> <property name="category">Unformatted</property>
</structure> </structure>
</scalar-parameter> </scalar-parameter>
<scalar-parameter name="estado" id="669"> <scalar-parameter name="estado" id="669">
<property name="valueType">static</property> <property name="valueType">static</property>
<property name="isRequired">false</property>
<property name="dataType">string</property> <property name="dataType">string</property>
<property name="distinct">true</property>
<simple-property-list name="defaultValue">
<value type="constant"></value>
</simple-property-list>
<property name="paramType">simple</property> <property name="paramType">simple</property>
<property name="isRequired">false</property>
<property name="controlType">text-box</property> <property name="controlType">text-box</property>
<property name="defaultValue"></property>
<property name="distinct">true</property>
<structure name="format"> <structure name="format">
<property name="category">Unformatted</property> <property name="category">Unformatted</property>
</structure> </structure>
...@@ -80,10 +91,26 @@ ...@@ -80,10 +91,26 @@
</parameters> </parameters>
<data-sources> <data-sources>
<oda-data-source extensionID="org.eclipse.birt.report.data.oda.jdbc" name="expedientesDS" id="601"> <oda-data-source extensionID="org.eclipse.birt.report.data.oda.jdbc" name="expedientesDS" id="601">
<list-property name="privateDriverProperties">
<ex-property>
<name>metadataBidiFormatStr</name>
<value>ILYNN</value>
</ex-property>
<ex-property>
<name>disabledMetadataBidiFormatStr</name>
</ex-property>
<ex-property>
<name>contentBidiFormatStr</name>
<value>ILYNN</value>
</ex-property>
<ex-property>
<name>disabledContentBidiFormatStr</name>
</ex-property>
</list-property>
<property name="odaDriverClass">org.postgresql.Driver</property> <property name="odaDriverClass">org.postgresql.Driver</property>
<property name="odaURL">jdbc:postgresql://sbd2.rec.una.py/gdoc</property> <property name="odaURL">jdbc:postgresql://apps.una.py:5432/gdoc_pol</property>
<property name="odaUser">gdocweb</property> <property name="odaUser">insweb</property>
<encrypted-property name="odaPassword" encryptionID="base64">ZXhwMDAw</encrypted-property> <encrypted-property name="odaPassword" encryptionID="base64">aW5zY2l2aWwxMw==</encrypted-property>
</oda-data-source> </oda-data-source>
</data-sources> </data-sources>
<data-sets> <data-sets>
...@@ -91,27 +118,65 @@ ...@@ -91,27 +118,65 @@
<list-property name="columnHints"> <list-property name="columnHints">
<structure> <structure>
<property name="columnName">cod_seccion</property> <property name="columnName">cod_seccion</property>
<property name="displayName">cod_seccion</property> <text-property name="displayName">cod_seccion</text-property>
</structure> </structure>
<structure> <structure>
<property name="columnName">nombre_seccion</property> <property name="columnName">nombre_seccion</property>
<property name="displayName">nombre_seccion</property> <text-property name="displayName">nombre_seccion</text-property>
</structure> </structure>
<structure> <structure>
<property name="columnName">nombre_seccion_padre</property> <property name="columnName">nombre_seccion_padre</property>
<property name="displayName">nombre_seccion_padre</property> <text-property name="displayName">nombre_seccion_padre</text-property>
</structure> </structure>
<structure> <structure>
<property name="columnName">cantidad</property> <property name="columnName">cantidad</property>
<property name="displayName">cantidad</property> <text-property name="displayName">cantidad</text-property>
</structure> </structure>
<structure> <structure>
<property name="columnName">responsable</property> <property name="columnName">responsable</property>
<property name="displayName">responsable</property> <text-property name="displayName">responsable</text-property>
</structure> </structure>
<structure> <structure>
<property name="columnName">seccion_padre</property> <property name="columnName">seccion_padre</property>
<property name="displayName">seccion_padre</property> <text-property name="displayName">seccion_padre</text-property>
</structure>
</list-property>
<list-property name="parameters">
<structure>
<property name="name">param_1</property>
<property name="paramName">param_anho</property>
<property name="nativeName"></property>
<property name="dataType">integer</property>
<property name="nativeDataType">4</property>
<property name="position">1</property>
<property name="isOptional">false</property>
<property name="allowNull">true</property>
<property name="isInput">true</property>
<property name="isOutput">false</property>
</structure>
<structure>
<property name="name">param_2</property>
<property name="paramName">param_estado</property>
<property name="nativeName"></property>
<property name="dataType">string</property>
<property name="nativeDataType">1</property>
<property name="position">2</property>
<property name="isOptional">false</property>
<property name="allowNull">true</property>
<property name="isInput">true</property>
<property name="isOutput">false</property>
</structure>
<structure>
<property name="name">param_3</property>
<property name="paramName">param_cod_inst</property>
<property name="nativeName"></property>
<property name="dataType">string</property>
<property name="nativeDataType">1</property>
<property name="position">3</property>
<property name="isOptional">false</property>
<property name="allowNull">true</property>
<property name="isInput">true</property>
<property name="isOutput">false</property>
</structure> </structure>
</list-property> </list-property>
<structure name="cachedMetaData"> <structure name="cachedMetaData">
...@@ -148,7 +213,6 @@ ...@@ -148,7 +213,6 @@
</structure> </structure>
</list-property> </list-property>
</structure> </structure>
<property name="dataSource">expedientesDS</property>
<method name="beforeOpen"><![CDATA[// Si llega una seccion padre, se muestran los hijos de dicha seccion, <method name="beforeOpen"><![CDATA[// Si llega una seccion padre, se muestran los hijos de dicha seccion,
// o de lo contrario las secciones sin padres // o de lo contrario las secciones sin padres
if (params["param_secc_padre"] != ''){ if (params["param_secc_padre"] != ''){
...@@ -159,44 +223,7 @@ if (params["param_secc_padre"] != ''){ ...@@ -159,44 +223,7 @@ if (params["param_secc_padre"] != ''){
// Se ordena las secciones por nombre // Se ordena las secciones por nombre
this.queryText = this.queryText + " ORDER BY s.nombre_seccion DESC"]]></method> this.queryText = this.queryText + " ORDER BY s.nombre_seccion DESC"]]></method>
<list-property name="parameters"> <property name="dataSource">expedientesDS</property>
<structure>
<property name="name">param_1</property>
<property name="paramName">param_anho</property>
<property name="nativeName"></property>
<property name="dataType">integer</property>
<property name="nativeDataType">4</property>
<property name="position">1</property>
<property name="isOptional">false</property>
<property name="allowNull">true</property>
<property name="isInput">true</property>
<property name="isOutput">false</property>
</structure>
<structure>
<property name="name">param_2</property>
<property name="paramName">param_estado</property>
<property name="nativeName"></property>
<property name="dataType">string</property>
<property name="nativeDataType">1</property>
<property name="position">2</property>
<property name="isOptional">false</property>
<property name="allowNull">true</property>
<property name="isInput">true</property>
<property name="isOutput">false</property>
</structure>
<structure>
<property name="name">param_3</property>
<property name="paramName">param_cod_inst</property>
<property name="nativeName"></property>
<property name="dataType">string</property>
<property name="nativeDataType">1</property>
<property name="position">3</property>
<property name="isOptional">false</property>
<property name="allowNull">true</property>
<property name="isInput">true</property>
<property name="isOutput">false</property>
</structure>
</list-property>
<list-property name="resultSet"> <list-property name="resultSet">
<structure> <structure>
<property name="position">1</property> <property name="position">1</property>
...@@ -241,7 +268,7 @@ this.queryText = this.queryText + " ORDER BY s.nombre_seccion DESC"]]></method> ...@@ -241,7 +268,7 @@ this.queryText = this.queryText + " ORDER BY s.nombre_seccion DESC"]]></method>
<property name="nativeDataType">12</property> <property name="nativeDataType">12</property>
</structure> </structure>
</list-property> </list-property>
<property name="queryText">SELECT s.cod_seccion, s.nombre_seccion, <xml-property name="queryText"><![CDATA[SELECT s.cod_seccion, s.nombre_seccion,
sp.nombre_seccion AS nombre_seccion_padre, sp.nombre_seccion AS nombre_seccion_padre,
f_get_cantXseccion( s.cod_institucion, ?, s.cod_seccion, ? ) AS cantidad, f_get_cantXseccion( s.cod_institucion, ?, s.cod_seccion, ? ) AS cantidad,
(f.nombre || ' ' || f.apellido) AS responsable, (f.nombre || ' ' || f.apellido) AS responsable,
...@@ -250,7 +277,7 @@ this.queryText = this.queryText + " ORDER BY s.nombre_seccion DESC"]]></method> ...@@ -250,7 +277,7 @@ this.queryText = this.queryText + " ORDER BY s.nombre_seccion DESC"]]></method>
FROM seccion s LEFT OUTER JOIN funcionario f ON f.cedula = s.responsable FROM seccion s LEFT OUTER JOIN funcionario f ON f.cedula = s.responsable
LEFT OUTER JOIN seccion sp ON sp.cod_seccion = s.seccion_padre LEFT OUTER JOIN seccion sp ON sp.cod_seccion = s.seccion_padre
WHERE s.cod_institucion = ?</property> WHERE s.cod_institucion = ?]]></xml-property>
<xml-property name="designerValues"><![CDATA[<?xml version="1.0" encoding="UTF-8"?> <xml-property name="designerValues"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<model:DesignValues xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design" xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel"> <model:DesignValues xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design" xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel">
<Version>1.0</Version> <Version>1.0</Version>
...@@ -442,19 +469,9 @@ WHERE s.cod_institucion = ?</property> ...@@ -442,19 +469,9 @@ WHERE s.cod_institucion = ?</property>
<list-property name="columnHints"> <list-property name="columnHints">
<structure> <structure>
<property name="columnName">nombre_seccion</property> <property name="columnName">nombre_seccion</property>
<property name="displayName">nombre_seccion</property> <text-property name="displayName">nombre_seccion</text-property>
</structure> </structure>
</list-property> </list-property>
<structure name="cachedMetaData">
<list-property name="resultSet">
<structure>
<property name="position">1</property>
<property name="name">nombre_seccion</property>
<property name="dataType">string</property>
</structure>
</list-property>
</structure>
<property name="dataSource">expedientesDS</property>
<list-property name="parameters"> <list-property name="parameters">
<structure> <structure>
<property name="name">param_1</property> <property name="name">param_1</property>
...@@ -469,6 +486,16 @@ WHERE s.cod_institucion = ?</property> ...@@ -469,6 +486,16 @@ WHERE s.cod_institucion = ?</property>
<property name="isOutput">false</property> <property name="isOutput">false</property>
</structure> </structure>
</list-property> </list-property>
<structure name="cachedMetaData">
<list-property name="resultSet">
<structure>
<property name="position">1</property>
<property name="name">nombre_seccion</property>
<property name="dataType">string</property>
</structure>
</list-property>
</structure>
<property name="dataSource">expedientesDS</property>
<list-property name="resultSet"> <list-property name="resultSet">
<structure> <structure>
<property name="position">1</property> <property name="position">1</property>
...@@ -478,10 +505,10 @@ WHERE s.cod_institucion = ?</property> ...@@ -478,10 +505,10 @@ WHERE s.cod_institucion = ?</property>
<property name="nativeDataType">12</property> <property name="nativeDataType">12</property>
</structure> </structure>
</list-property> </list-property>
<property name="queryText">SELECT public.seccion.nombre_seccion <xml-property name="queryText"><![CDATA[SELECT public.seccion.nombre_seccion
FROM public.seccion FROM public.seccion
WHERE public.seccion.cod_seccion = ?</property> WHERE public.seccion.cod_seccion = ?]]></xml-property>
<xml-property name="designerValues"><![CDATA[<?xml version="1.0" encoding="UTF-8"?> <xml-property name="designerValues"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<model:DesignValues xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design" xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel"> <model:DesignValues xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design" xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel">
<Version>1.0</Version> <Version>1.0</Version>
...@@ -568,13 +595,13 @@ WHERE public.seccion.cod_seccion = ?</property> ...@@ -568,13 +595,13 @@ WHERE public.seccion.cod_seccion = ?</property>
<page-setup> <page-setup>
<simple-master-page name="Simple MasterPage" id="2"> <simple-master-page name="Simple MasterPage" id="2">
<property name="type">custom</property> <property name="type">custom</property>
<property name="height">216mm</property>
<property name="width">330mm</property>
<property name="orientation">landscape</property> <property name="orientation">landscape</property>
<property name="topMargin">0.25in</property> <property name="topMargin">0.25in</property>
<property name="leftMargin">0.5in</property> <property name="leftMargin">0.5in</property>
<property name="bottomMargin">0.25in</property> <property name="bottomMargin">0.25in</property>
<property name="rightMargin">0.5in</property> <property name="rightMargin">0.5in</property>
<property name="height">216mm</property>
<property name="width">330mm</property>
<property name="showHeaderOnFirst">false</property> <property name="showHeaderOnFirst">false</property>
<page-footer> <page-footer>
<grid id="592"> <grid id="592">
...@@ -1073,6 +1100,37 @@ WHERE public.seccion.cod_seccion = ?</property> ...@@ -1073,6 +1100,37 @@ WHERE public.seccion.cod_seccion = ?</property>
<Enable>true</Enable> <Enable>true</Enable>
<LegendBehavior>HighlightSerie</LegendBehavior> <LegendBehavior>HighlightSerie</LegendBehavior>
</Interactivity> </Interactivity>
<EmptyMessage>
<Caption>
<Value></Value>
<Font>
<Alignment/>
</Font>
</Caption>
<Background xsi:type="attribute:ColorDefinition">
<Transparency>0</Transparency>
<Red>255</Red>
<Green>255</Green>
<Blue>255</Blue>
</Background>
<Outline>
<Style>Solid</Style>
<Thickness>1</Thickness>
<Color>
<Transparency>255</Transparency>
<Red>0</Red>
<Green>0</Green>
<Blue>0</Blue>
</Color>
</Outline>
<Insets>
<Top>0.0</Top>
<Left>2.0</Left>
<Bottom>0.0</Bottom>
<Right>3.0</Right>
</Insets>
<Visible>false</Visible>
</EmptyMessage>
<Axes> <Axes>
<Type>Text</Type> <Type>Text</Type>
<Title> <Title>
...@@ -1408,7 +1466,7 @@ WHERE public.seccion.cod_seccion = ?</property> ...@@ -1408,7 +1466,7 @@ WHERE public.seccion.cod_seccion = ?</property>
</Series> </Series>
<Grouping> <Grouping>
<Enabled>false</Enabled> <Enabled>false</Enabled>
<GroupingInterval>2</GroupingInterval> <GroupingInterval>2.0</GroupingInterval>
<GroupType>Text</GroupType> <GroupType>Text</GroupType>
<AggregateExpression>Sum</AggregateExpression> <AggregateExpression>Sum</AggregateExpression>
</Grouping> </Grouping>
...@@ -1767,7 +1825,7 @@ WHERE public.seccion.cod_seccion = ?</property> ...@@ -1767,7 +1825,7 @@ WHERE public.seccion.cod_seccion = ?</property>
</Series> </Series>
<Grouping> <Grouping>
<Enabled>false</Enabled> <Enabled>false</Enabled>
<GroupingInterval>2</GroupingInterval> <GroupingInterval>2.0</GroupingInterval>
<GroupType>Text</GroupType> <GroupType>Text</GroupType>
<AggregateExpression>Sum</AggregateExpression> <AggregateExpression>Sum</AggregateExpression>
</Grouping> </Grouping>
...@@ -1885,9 +1943,9 @@ WHERE public.seccion.cod_seccion = ?</property> ...@@ -1885,9 +1943,9 @@ WHERE public.seccion.cod_seccion = ?</property>
]]></xml-property> ]]></xml-property>
<property name="outputFormat">PNG</property> <property name="outputFormat">PNG</property>
<property name="marginTop">0pt</property> <property name="marginTop">0pt</property>
<property name="dataSet">PorSeccionDSet</property>
<property name="height">5.7604166667in</property> <property name="height">5.7604166667in</property>
<property name="width">10.375in</property> <property name="width">10.375in</property>
<property name="dataSet">PorSeccionDSet</property>
<list-property name="boundDataColumns"> <list-property name="boundDataColumns">
<structure> <structure>
<property name="name">cod_seccion</property> <property name="name">cod_seccion</property>
...@@ -1947,7 +2005,7 @@ WHERE public.seccion.cod_seccion = ?</property> ...@@ -1947,7 +2005,7 @@ WHERE public.seccion.cod_seccion = ?</property>
0FJ8N0MrLnXxuLM47j4WZw0jN8OPKy+rs7L1wqYv8GmunRP36PoUhhc6vm74U8GhX4CjXnb5we8t03V6 0FJ8N0MrLnXxuLM47j4WZw0jN8OPKy+rs7L1wqYv8GmunRP36PoUhhc6vm74U8GhX4CjXnb5we8t03V6
+RUMS99vpT9IqqKkDv35PVeVFQEowNgMBubw32hguWefYKRRwAQOfoRUzIU6CFESehti6CELNnTYnYUf +RUMS99vpT9IqqKkDv35PVeVFQEowNgMBubw32hguWefYKRRwAQOfoRUzIU6CFESehti6CELNnTYnYUf
lhgCChSKQEKKJrbo4osfRgAAOw== lhgCChSKQEKKJrbo4osfRgAAOw==
</property> </property>
</structure> </structure>
<structure> <structure>
<property name="name">gdoc4.jpg</property> <property name="name">gdoc4.jpg</property>
...@@ -1992,7 +2050,7 @@ WHERE public.seccion.cod_seccion = ?</property> ...@@ -1992,7 +2050,7 @@ WHERE public.seccion.cod_seccion = ?</property>
pIHf3oooshe0ne93f1M7/hSXhr+9c/8Af01s6B8M/Dvh66F1bWxknHR5DkiiiiyQSqTlpJtnQaxoen67 pIHf3oooshe0ne93f1M7/hSXhr+9c/8Af01s6B8M/Dvh66F1bWxknHR5DkiiiiyQSqTlpJtnQaxoen67
ZG01C3WaI9mHSuPT4N+FVn8w27sM52FjiiiiyEpSSsmdppmj2Oj2otrG3SGMDGFHWuW174WeG9fvnu7i ZG01C3WaI9mHSuPT4N+FVn8w27sM52FjiiiiyEpSSsmdppmj2Oj2otrG3SGMDGFHWuW174WeG9fvnu7i
2Mc7nLtGcbj70UU7CUmtjPtfgt4YtbqOcJKxRtwDNkV6JFEsMSxIMKowB7UUUA23uf/Z 2Mc7nLtGcbj70UU7CUmtjPtfgt4YtbqOcJKxRtwDNkV6JFEsMSxIMKowB7UUUA23uf/Z
</property> </property>
</structure> </structure>
</list-property> </list-property>
</report> </report>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment