0011635: Relatório exportação idoso ARTESP
bug#11635 dev:alberto qua: foi adicionado um try-catch com um log no relatório para pegar a excessão e verificar qual erro esta acontecendo no servidor. git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@84165 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
b0920b2dbb
commit
a77e368076
|
@ -7,6 +7,8 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.DataSource;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.RelatorioGratuidadeARTESPBean;
|
||||
|
@ -17,6 +19,7 @@ import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource;
|
|||
public class RelatorioGratuidadeARTESP extends Relatorio {
|
||||
|
||||
private List<RelatorioGratuidadeARTESPBean> lsDadosRelatorio;
|
||||
private static Logger log = Logger.getLogger(RelatorioGratuidadeARTESP.class);
|
||||
|
||||
public RelatorioGratuidadeARTESP(Map<String, Object> parametros, Connection conexao) throws Exception {
|
||||
super(parametros, conexao);
|
||||
|
@ -25,7 +28,7 @@ public class RelatorioGratuidadeARTESP extends Relatorio {
|
|||
|
||||
@Override
|
||||
public void initDados() throws Exception {
|
||||
|
||||
try {
|
||||
Connection conexao = this.relatorio.getConexao();
|
||||
|
||||
Map<String, Object> parametros = this.relatorio.getParametros();
|
||||
|
@ -99,6 +102,12 @@ public class RelatorioGratuidadeARTESP extends Relatorio {
|
|||
if (lsDadosRelatorio.size() > 0) {
|
||||
setLsDadosRelatorio(lsDadosRelatorio);
|
||||
}
|
||||
|
||||
} catch (Exception e) {
|
||||
log.error("Erro na geração do relatorio ARTESP: \n" + e);
|
||||
e.printStackTrace();
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Binary file not shown.
|
@ -1,12 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="RelatorioGratuidadeARTESP" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="822" leftMargin="10" rightMargin="10" topMargin="20" bottomMargin="20" whenResourceMissingType="Empty" uuid="94834362-0ecc-46da-b0a2-5cdee355da3e">
|
||||
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.2" value="pageHeader"/>
|
||||
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.2" value="columnHeader"/>
|
||||
<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.rows" value="true"/>
|
||||
<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.columns" value="true"/>
|
||||
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="RelatorioGratuidadeARTESP" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="822" leftMargin="10" rightMargin="10" topMargin="20" bottomMargin="20" uuid="3ee05e26-199e-4ad2-a96b-dd421627aceb">
|
||||
<property name="ireport.zoom" value="1.5"/>
|
||||
<property name="ireport.x" value="0"/>
|
||||
<property name="ireport.y" value="61"/>
|
||||
<property name="ireport.y" value="0"/>
|
||||
<parameter name="USUARIO_ID" class="java.lang.String"/>
|
||||
<parameter name="linhas" class="java.lang.String"/>
|
||||
<parameter name="TITULO" class="java.lang.String"/>
|
||||
|
@ -15,9 +11,6 @@
|
|||
<parameter name="nomb_empresa" class="java.lang.String"/>
|
||||
<parameter name="tipGratu" class="java.lang.String"/>
|
||||
<parameter name="orgaoConcedente" class="java.lang.String"/>
|
||||
<queryString>
|
||||
<![CDATA[]]>
|
||||
</queryString>
|
||||
<field name="codOrigem" class="java.lang.String"/>
|
||||
<field name="descOrigem" class="java.lang.String"/>
|
||||
<field name="codDestino" class="java.lang.String"/>
|
||||
|
@ -35,103 +28,80 @@
|
|||
<field name="telEmail" class="java.lang.String"/>
|
||||
<field name="desistencia" class="java.lang.Boolean"/>
|
||||
<field name="vlrGratuidade" class="java.math.BigDecimal"/>
|
||||
<variable name="total" class="java.math.BigDecimal" incrementType="Column" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{vlrGratuidade}]]></variableExpression>
|
||||
<initialValueExpression><![CDATA[]]></initialValueExpression>
|
||||
</variable>
|
||||
<background>
|
||||
<band splitType="Stretch"/>
|
||||
</background>
|
||||
<pageHeader>
|
||||
<band height="162">
|
||||
<band height="162" splitType="Stretch">
|
||||
<textField>
|
||||
<reportElement x="0" y="0" width="633" height="37" uuid="652312bd-292a-424d-a234-5f157e3699c6"/>
|
||||
<reportElement x="0" y="0" width="633" height="37" uuid="8c77b68e-7c9d-4b71-8cc1-fbb6aaf36f9c"/>
|
||||
<textElement markup="styled">
|
||||
<font size="22" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA["<style size = '22'>" + $P{TITULO} + "</style>"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="612" y="0" width="106" height="37" uuid="66b2d0f6-2bf1-4bc7-9ec0-a34444e04d60"/>
|
||||
<textFieldExpression><![CDATA[$R{header.data.hora}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Report">
|
||||
<reportElement x="790" y="37" width="30" height="20" uuid="8ca68351-fc00-4f19-b94f-f2fd1f41964f"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="718" y="37" width="39" height="20" uuid="be1692e9-f130-4d08-9173-6ca3e4699030"/>
|
||||
<textFieldExpression><![CDATA[$R{header.pagina}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy HH:mm">
|
||||
<reportElement x="718" y="0" width="102" height="37" uuid="6f671365-868e-41a6-81ee-a308d1d91e1d"/>
|
||||
<reportElement x="720" y="0" width="102" height="37" uuid="32538cdd-7697-4a03-8035-f9474e869395"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="757" y="37" width="33" height="20" uuid="7548d623-fb6c-48d4-b8b7-504f5437a79a"/>
|
||||
<reportElement x="614" y="0" width="106" height="37" uuid="abc399f3-d012-46aa-b4e9-678ab812bee4"/>
|
||||
<textFieldExpression><![CDATA[$R{header.data.hora}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="720" y="37" width="39" height="20" uuid="49c7841e-1375-4143-8f26-4fd9babd9abf"/>
|
||||
<textFieldExpression><![CDATA[$R{header.pagina}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="758" y="37" width="33" height="20" uuid="12b8c706-a094-4b3a-8f18-8f9f09cbb93c"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}+" de"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="0" y="37" width="127" height="20" uuid="a79c03e0-bbe4-4b1c-8297-533a0d137b27"/>
|
||||
<textFieldExpression><![CDATA[$R{header.periodo.venda}]]></textFieldExpression>
|
||||
<textField evaluationTime="Report">
|
||||
<reportElement x="791" y="37" width="30" height="20" uuid="fde187dd-0e0c-4cef-b4d6-606bea8e964d"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="127" y="37" width="591" height="20" uuid="b31b00a3-1ced-4f9c-acb7-470646f7b335"/>
|
||||
<reportElement x="129" y="37" width="591" height="20" uuid="f25e6675-4dcb-4d37-8586-e50abe4013af"/>
|
||||
<textFieldExpression><![CDATA[( $P{fecInicioVenda} != null ? ($P{fecInicioVenda} + " à " + $P{fecFinalVenda}) : "" )]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="127" y="57" width="591" height="20" isRemoveLineWhenBlank="true" uuid="31b4831f-a97b-44a1-a30f-ba93c667fa81"/>
|
||||
<textFieldExpression><![CDATA[$P{nomb_empresa}]]></textFieldExpression>
|
||||
<reportElement x="1" y="37" width="127" height="20" uuid="e15cecc4-995a-4cbc-934e-44970c809849"/>
|
||||
<textFieldExpression><![CDATA[$R{header.periodo.venda}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="0" y="57" width="127" height="20" isRemoveLineWhenBlank="true" uuid="2226c319-6b38-446a-ba1f-22821d110257"/>
|
||||
<reportElement x="2" y="96" width="127" height="20" isRemoveLineWhenBlank="true" uuid="234e6e88-b5a2-4793-a029-85f64b4cad85"/>
|
||||
<textFieldExpression><![CDATA[$R{header.tipopassagem}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="2" y="56" width="127" height="20" isRemoveLineWhenBlank="true" uuid="d3d41ddb-2dbb-4b0e-bf82-02af7f81b63f"/>
|
||||
<textFieldExpression><![CDATA[$R{header.empresa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="127" y="77" width="591" height="20" isRemoveLineWhenBlank="true" uuid="c9e03941-ee3e-48a7-89b1-8d54a16967b8"/>
|
||||
<textFieldExpression><![CDATA[$P{linhas}]]></textFieldExpression>
|
||||
<reportElement x="129" y="116" width="591" height="20" isRemoveLineWhenBlank="true" uuid="c61794c6-537b-4cab-9a5c-41c3101cdaac"/>
|
||||
<textFieldExpression><![CDATA[$P{orgaoConcedente}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="0" y="77" width="127" height="20" isRemoveLineWhenBlank="true" uuid="3ba8d3a4-fbf1-463f-adf1-84be528e61e1"/>
|
||||
<textFieldExpression><![CDATA[$R{header.filtro.linha}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="127" y="97" width="591" height="20" isRemoveLineWhenBlank="true" uuid="0c888f33-c387-443c-a975-c1b99e3a615e"/>
|
||||
<reportElement x="129" y="96" width="591" height="20" isRemoveLineWhenBlank="true" uuid="6b435ede-b8f2-46ee-8098-50d36c0d5e23"/>
|
||||
<textFieldExpression><![CDATA[$P{tipGratu}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="0" y="97" width="127" height="20" isRemoveLineWhenBlank="true" uuid="fcf5c596-7687-4796-ba34-5d0d394733de"/>
|
||||
<textFieldExpression><![CDATA[$R{header.tipopassagem}]]></textFieldExpression>
|
||||
<reportElement x="2" y="116" width="127" height="20" isRemoveLineWhenBlank="true" uuid="7a4f4ad0-6b74-4194-b089-2bf61e0b7ce4"/>
|
||||
<textFieldExpression><![CDATA[$R{header.orgaoConcedente}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="129" y="76" width="591" height="20" isRemoveLineWhenBlank="true" uuid="7bc881ef-b270-4178-8416-54ad2602eaab"/>
|
||||
<textFieldExpression><![CDATA[$P{linhas}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="129" y="56" width="591" height="20" isRemoveLineWhenBlank="true" uuid="33bc773a-8bd3-4bc0-946c-664d78a19f5c"/>
|
||||
<textFieldExpression><![CDATA[$P{nomb_empresa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="2" y="76" width="127" height="20" isRemoveLineWhenBlank="true" uuid="c3b8e525-e015-4aaa-a505-1a92f3d6b0fb"/>
|
||||
<textFieldExpression><![CDATA[$R{header.filtro.linha}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="0" y="142" width="42" height="20" uuid="86f8106c-9edd-4241-ab7d-5985e3241662"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.5"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
<bottomPen lineWidth="0.5"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
|
||||
<font fontName="Arial" size="5"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.empresa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="42" y="142" width="47" height="20" uuid="8bd4b94c-16f0-4186-a871-ba91235a1648"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.5"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
<bottomPen lineWidth="0.5"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
|
||||
<font fontName="Arial" size="5"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.dataViagem}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="89" y="142" width="38" height="20" uuid="b8c76e20-44fb-400a-a26e-2adccfe35f6f"/>
|
||||
<reportElement stretchType="RelativeToBandHeight" x="89" y="142" width="38" height="20" uuid="f1fb4c10-0b23-48a3-ab44-ec9423860a3a"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.5"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
|
@ -143,7 +113,7 @@
|
|||
<textFieldExpression><![CDATA[$R{detail.horaViagem}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="127" y="142" width="103" height="20" uuid="c76e913e-1ac7-4185-8a69-24f94dd2b31c"/>
|
||||
<reportElement stretchType="RelativeToBandHeight" x="0" y="142" width="42" height="20" uuid="aa6e1262-d10a-466f-9b10-736d01b43c08"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.5"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
|
@ -152,70 +122,10 @@
|
|||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
|
||||
<font fontName="Arial" size="5"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.origem}]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$R{detail.empresa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="230" y="142" width="100" height="20" uuid="c726c16a-f808-4d93-ba7b-185024669dff"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.5"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
<bottomPen lineWidth="0.5"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
|
||||
<font fontName="Arial" size="5"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.destino}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="330" y="142" width="33" height="20" uuid="f11a9444-3631-4787-ba9f-d7f5a7c5b132"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.5"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
<bottomPen lineWidth="0.5"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
|
||||
<font fontName="Arial" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA["<style size = '8'>" + $R{detail.poltrona} + "</style>"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="363" y="142" width="37" height="20" uuid="81715a98-ba4c-43eb-b5a9-a94277375217"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.5"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
<bottomPen lineWidth="0.5"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
|
||||
<font fontName="Arial" size="5"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.linha}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="436" y="142" width="99" height="20" uuid="650b8437-1685-47f4-857c-3cd55d24df2e"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.5"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
<bottomPen lineWidth="0.5"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
|
||||
<font fontName="Arial" size="5"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.nome}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="534" y="142" width="47" height="20" uuid="5e867d77-c407-47a3-b8f3-c1ccd72f5e01"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.5"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
<bottomPen lineWidth="0.5"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
|
||||
<font fontName="Arial" size="5"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.rg}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="580" y="142" width="47" height="20" uuid="f97b907e-04a1-43d1-9199-b615a27844b0"/>
|
||||
<reportElement stretchType="RelativeToBandHeight" x="580" y="142" width="47" height="20" uuid="7cc48455-63db-458c-9a56-b479040b4d58"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.5"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
|
@ -227,31 +137,7 @@
|
|||
<textFieldExpression><![CDATA[$R{detail.cpf}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="627" y="142" width="63" height="20" uuid="e947fb8c-3d29-49b0-984c-5d23060ef355"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.5"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
<bottomPen lineWidth="0.5"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
|
||||
<font fontName="Arial" size="5"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.endereco}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="730" y="142" width="45" height="20" uuid="a59054d2-882a-4315-887f-0769bde66d1a"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.5"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
<bottomPen lineWidth="0.5"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
|
||||
<font fontName="Arial" size="5"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA["<style size = '7'>" + $R{detail.desistencia} + "</style>"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="775" y="142" width="45" height="20" uuid="624da910-2b99-462e-bedd-4293e8fc7936"/>
|
||||
<reportElement stretchType="RelativeToBandHeight" x="775" y="142" width="47" height="20" uuid="9156a7f6-7830-4dd0-aa56-8f98130e1fae"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.5"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
|
@ -264,7 +150,103 @@
|
|||
<textFieldExpression><![CDATA["<style size = '8'>" + $R{detail.gratuidade} + "</style>"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="400" y="142" width="36" height="20" uuid="46260340-34e1-4e0f-b036-1c27a036cddf"/>
|
||||
<reportElement stretchType="RelativeToBandHeight" x="730" y="142" width="45" height="20" uuid="c95ac716-8516-4063-9409-d58b908e3deb"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.5"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
<bottomPen lineWidth="0.5"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
|
||||
<font fontName="Arial" size="5"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA["<style size = '7'>" + $R{detail.desistencia} + "</style>"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="534" y="142" width="47" height="20" uuid="207aae76-2d24-446b-8609-82a2c8232948"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.5"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
<bottomPen lineWidth="0.5"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
|
||||
<font fontName="Arial" size="5"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.rg}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="42" y="142" width="47" height="20" uuid="9ef59886-6218-4cf5-8926-f7f2e1e95cc6"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.5"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
<bottomPen lineWidth="0.5"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
|
||||
<font fontName="Arial" size="5"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.dataViagem}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="436" y="142" width="99" height="20" uuid="d36987f3-20aa-4e3d-8bb6-5cacf23aa933"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.5"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
<bottomPen lineWidth="0.5"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
|
||||
<font fontName="Arial" size="5"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.nome}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="363" y="142" width="37" height="20" uuid="86f8576e-d934-4f0d-9b87-4a40bef953ab"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.5"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
<bottomPen lineWidth="0.5"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
|
||||
<font fontName="Arial" size="5"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.linha}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="127" y="142" width="103" height="20" uuid="a1aab05d-496e-4fe5-9c2e-760b7592a7fd"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.5"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
<bottomPen lineWidth="0.5"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
|
||||
<font fontName="Arial" size="5"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.origem}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="627" y="142" width="63" height="20" uuid="8c3e4139-a8e0-4e49-b50f-9d49b57e6c69"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.5"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
<bottomPen lineWidth="0.5"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
|
||||
<font fontName="Arial" size="5"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.endereco}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="230" y="142" width="100" height="20" uuid="7778d2ac-5f98-4955-9bbf-e474a1f16dad"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.5"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
<bottomPen lineWidth="0.5"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
|
||||
<font fontName="Arial" size="5"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.destino}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="400" y="142" width="36" height="20" uuid="3eb6f2e7-2aad-4354-8cff-3938c90800ee"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.5"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
|
@ -276,7 +258,7 @@
|
|||
<textFieldExpression><![CDATA[$R{detail.numBilhete}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="689" y="142" width="41" height="20" uuid="ecf1fdb1-01b2-4d90-a8a5-0e8b07842c1b"/>
|
||||
<reportElement stretchType="RelativeToBandHeight" x="689" y="142" width="41" height="20" uuid="cc34f975-2571-4e38-b4ba-fa5ecbde208b"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.5"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
|
@ -287,23 +269,24 @@
|
|||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.telEmail}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="0" y="117" width="127" height="20" isRemoveLineWhenBlank="true" uuid="55a2f4fc-ae1b-4bb4-ad8b-5da5eb542386"/>
|
||||
<textFieldExpression><![CDATA[$R{header.orgaoConcedente}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="127" y="117" width="591" height="20" isRemoveLineWhenBlank="true" uuid="45990e6f-6f6c-4b31-b5b5-7e0dfb8ce4fc"/>
|
||||
<textFieldExpression><![CDATA[$P{orgaoConcedente}]]></textFieldExpression>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="330" y="142" width="33" height="20" uuid="8aea1354-22f0-45a4-9382-21623ef9a45d"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.5"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
<bottomPen lineWidth="0.5"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
|
||||
<font fontName="Arial" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA["<style size = '8'>" + $R{detail.poltrona} + "</style>"]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</pageHeader>
|
||||
<columnHeader>
|
||||
<band splitType="Stretch"/>
|
||||
</columnHeader>
|
||||
<detail>
|
||||
<band height="20" splitType="Prevent">
|
||||
<band height="20" splitType="Stretch">
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="127" y="0" width="103" height="20" uuid="5b5f3fb8-3477-4eab-abc7-061562c96f8e"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="127" y="0" width="103" height="20" uuid="e91ddf3d-5ee2-42d3-b8d4-01c92a2f462a"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.0"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
|
@ -315,7 +298,7 @@
|
|||
<textFieldExpression><![CDATA["<style size = '8'>" + $F{descOrigem} + "</style>"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="230" y="0" width="100" height="20" uuid="8c9d311d-0a83-48d7-915d-30a451a08573"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="230" y="0" width="100" height="20" uuid="d9ec1d06-efc7-4a65-96a2-e88e89f4ca91"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.0"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
|
@ -327,7 +310,7 @@
|
|||
<textFieldExpression><![CDATA["<style size = '8'>" + $F{descDestino} + "</style>"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="42" height="20" uuid="db308475-d7e7-4aaa-88dd-7efbc2a7400f"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="42" height="20" uuid="aeca5093-6645-4f7d-814f-48abec2773bc"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.0"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
|
@ -339,7 +322,7 @@
|
|||
<textFieldExpression><![CDATA[$F{codEmpresa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="42" y="0" width="47" height="20" uuid="e4ce1bcf-55a3-4bed-b005-15e525c102d9"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="42" y="0" width="47" height="20" uuid="6a5746f1-e112-4ea2-ac52-f3c4bf6f7c96"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.0"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
|
@ -351,7 +334,7 @@
|
|||
<textFieldExpression><![CDATA[$F{dataViagem}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="89" y="0" width="38" height="20" uuid="3f104800-825d-4e2a-a3cf-a953d5e107f4"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="89" y="0" width="38" height="20" uuid="1ae38af7-3815-4fc0-ba8c-a87f6a26914a"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.0"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
|
@ -363,7 +346,7 @@
|
|||
<textFieldExpression><![CDATA[$F{horaViagem}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="363" y="0" width="37" height="20" uuid="5daa5112-5a42-48fe-a9f0-834f039fff88"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="363" y="0" width="37" height="20" uuid="bde0e80b-872a-4b26-b882-83efc01c25b7"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.0"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
|
@ -375,7 +358,7 @@
|
|||
<textFieldExpression><![CDATA["<style size = '8'>" + $F{linha} + "</style>"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="330" y="0" width="33" height="20" uuid="1aa998f1-bc3b-432f-954b-c1d2fac68c55"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="330" y="0" width="33" height="20" uuid="7e10a3dc-7e63-49cf-ab5a-87bd2e7aa213"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.0"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
|
@ -387,7 +370,7 @@
|
|||
<textFieldExpression><![CDATA[$F{poltrona}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="436" y="0" width="98" height="20" uuid="2b2e688e-f8ce-4b7e-b77d-7dca1430a7bf"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="436" y="0" width="98" height="20" uuid="0803ee7f-f5d1-4cfb-8fe5-a6109922ab26"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.0"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
|
@ -399,7 +382,7 @@
|
|||
<textFieldExpression><![CDATA[$F{nomeIdoso} == null ? "" : "<style size = '8'>" + $F{nomeIdoso} + "</style>"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="534" y="0" width="46" height="20" uuid="db60164e-4640-4bf2-aad7-ede4ffa722b8"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="534" y="0" width="46" height="20" uuid="0aeeb871-0a94-4ce7-97b6-892a7d138ed0"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.0"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
|
@ -411,7 +394,7 @@
|
|||
<textFieldExpression><![CDATA[$F{RG} == null ? "" : "<style size = '8'>" + $F{RG} + "</style>"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="580" y="0" width="47" height="20" uuid="88cc79fa-f895-4bca-bfcd-fee5106ace07"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="580" y="0" width="47" height="20" uuid="91a52282-d145-4f43-9d74-76d287e8969e"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.0"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
|
@ -423,7 +406,7 @@
|
|||
<textFieldExpression><![CDATA[$F{CPF} == null ? "" : "<style size = '8'>" + $F{CPF} + "</style>"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="627" y="0" width="62" height="20" uuid="97077c60-972b-4681-b629-8267cd1c796b"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="627" y="0" width="62" height="20" uuid="483d506e-f7db-4e85-a83e-c63b75b19d1c"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.0"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
|
@ -435,7 +418,7 @@
|
|||
<textFieldExpression><![CDATA[$F{endereco} == null ? "" : "<style size = '8'>" + $F{endereco} + "</style>"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="730" y="0" width="45" height="20" uuid="5c995670-9436-41ae-9708-63fc553b749c"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="730" y="0" width="45" height="20" uuid="b95ba55d-899d-4143-bff4-25bdaa95ae12"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.0"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
|
@ -447,7 +430,7 @@
|
|||
<textFieldExpression><![CDATA["<style size = '8'>" + ($F{desistencia} == true ? "SIM" : "NÃO") + "</style>"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="775" y="0" width="45" height="20" uuid="ab5bb241-51ad-4f92-9b22-7d513690526a"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="775" y="0" width="47" height="20" uuid="1d3977c6-190b-4465-a062-40bed4826c84"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.0"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
|
@ -457,11 +440,10 @@
|
|||
<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
|
||||
<font size="5"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[
|
||||
"<style size = '8'>" + $F{vlrGratuidade} + "</style>"]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA["<style size = '8'>" + $F{vlrGratuidade} + "</style>"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="400" y="0" width="36" height="20" uuid="be55b293-abe7-485c-8452-53c4181bfcb6"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="400" y="0" width="36" height="20" uuid="e4dc6a7f-049d-45e1-9c6d-231303fb288c"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.0"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
|
@ -473,7 +455,7 @@
|
|||
<textFieldExpression><![CDATA["<style size = '8'>" + $F{numBilhete} + "</style>"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="689" y="0" width="41" height="20" uuid="b25a1716-d347-4f48-a675-abef3d17f339"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="689" y="0" width="41" height="20" uuid="55fcebd5-d720-4f93-8295-964b2d79a213"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.0"/>
|
||||
<leftPen lineWidth="0.5"/>
|
||||
|
@ -486,13 +468,10 @@
|
|||
</textField>
|
||||
</band>
|
||||
</detail>
|
||||
<summary>
|
||||
<band/>
|
||||
</summary>
|
||||
<noData>
|
||||
<band height="25">
|
||||
<textField>
|
||||
<reportElement x="0" y="0" width="821" height="20" uuid="5a6c1b7b-2242-4cf1-b957-723b906ee620"/>
|
||||
<reportElement x="1" y="2" width="821" height="20" uuid="254c9278-71b2-4ffa-926c-5b0055e02cda"/>
|
||||
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
|
|
Loading…
Reference in New Issue