fixes bug#24083
dev: qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@111259 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
ccdf5e9025
commit
8f13a344e0
Binary file not shown.
|
@ -1,8 +1,8 @@
|
||||||
<?xml version="1.0" encoding="UTF-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="RelatorioReceitaServico" columnCount="8" printOrder="Horizontal" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="100" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="c092ef85-9334-4225-93d7-1acb7cf4d021">
|
<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="RelatorioReceitaServico" columnCount="8" printOrder="Horizontal" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="100" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="c092ef85-9334-4225-93d7-1acb7cf4d021">
|
||||||
<property name="ireport.zoom" value="3.138428376721004"/>
|
<property name="ireport.zoom" value="1.7715610000000075"/>
|
||||||
<property name="ireport.x" value="0"/>
|
<property name="ireport.x" value="0"/>
|
||||||
<property name="ireport.y" value="438"/>
|
<property name="ireport.y" value="0"/>
|
||||||
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.2" value="pageHeader"/>
|
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.2" value="pageHeader"/>
|
||||||
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.1" value="columnHeader"/>
|
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.1" value="columnHeader"/>
|
||||||
<parameter name="NOME_RELATORIO" class="java.lang.String"/>
|
<parameter name="NOME_RELATORIO" class="java.lang.String"/>
|
||||||
|
@ -11,15 +11,15 @@
|
||||||
<parameter name="USUARIO" class="java.lang.String"/>
|
<parameter name="USUARIO" class="java.lang.String"/>
|
||||||
<parameter name="FILTROS" class="java.lang.String"/>
|
<parameter name="FILTROS" class="java.lang.String"/>
|
||||||
<parameter name="ESTADOS_ID" class="java.lang.String"/>
|
<parameter name="ESTADOS_ID" class="java.lang.String"/>
|
||||||
<parameter name="inicialAutorizado" class="java.lang.String"/>
|
<parameter name="inicialAutorizado" class="java.util.Collection"/>
|
||||||
<parameter name="finalAutorizado" class="java.lang.String"/>
|
<parameter name="finalAutorizado" class="java.lang.Integer"/>
|
||||||
<queryString>
|
<queryString>
|
||||||
<![CDATA[]]>
|
<![CDATA[]]>
|
||||||
</queryString>
|
</queryString>
|
||||||
<field name="data" class="java.util.Date"/>
|
|
||||||
<field name="estado" class="java.lang.String"/>
|
<field name="estado" class="java.lang.String"/>
|
||||||
<field name="numeroBPE" class="java.lang.String"/>
|
<field name="numeroBPE" class="java.lang.Integer"/>
|
||||||
<field name="serieBPE" class="java.lang.String"/>
|
<field name="serieBPE" class="java.lang.String"/>
|
||||||
|
<field name="finalAutorizado" class="java.lang.Integer"/>
|
||||||
<variable name="bilhete_COUNT" class="java.lang.Integer" resetType="Group" resetGroup="estado" calculation="Count">
|
<variable name="bilhete_COUNT" class="java.lang.Integer" resetType="Group" resetGroup="estado" calculation="Count">
|
||||||
<variableExpression><![CDATA[$F{numeroBPE}]]></variableExpression>
|
<variableExpression><![CDATA[$F{numeroBPE}]]></variableExpression>
|
||||||
</variable>
|
</variable>
|
||||||
|
@ -27,19 +27,27 @@
|
||||||
<variableExpression><![CDATA[$V{bilhete_COUNT}]]></variableExpression>
|
<variableExpression><![CDATA[$V{bilhete_COUNT}]]></variableExpression>
|
||||||
<initialValueExpression><![CDATA[]]></initialValueExpression>
|
<initialValueExpression><![CDATA[]]></initialValueExpression>
|
||||||
</variable>
|
</variable>
|
||||||
|
<variable name="inicio" class="java.lang.Integer" resetType="None" incrementType="Group" incrementGroup="estado" calculation="Lowest">
|
||||||
|
<variableExpression><![CDATA[$F{numeroBPE}]]></variableExpression>
|
||||||
|
<initialValueExpression><![CDATA[]]></initialValueExpression>
|
||||||
|
</variable>
|
||||||
|
<variable name="fim" class="java.lang.Integer" incrementType="Group" incrementGroup="estado" calculation="Highest">
|
||||||
|
<variableExpression><![CDATA[$F{numeroBPE}]]></variableExpression>
|
||||||
|
<initialValueExpression><![CDATA[$F{numeroBPE}]]></initialValueExpression>
|
||||||
|
</variable>
|
||||||
<group name="estado">
|
<group name="estado">
|
||||||
<groupExpression><![CDATA[$P{ESTADOS_ID}.equals("") ? null : $F{estado}]]></groupExpression>
|
<groupExpression><![CDATA[$P{ESTADOS_ID}.equals("") ? null : $F{estado}]]></groupExpression>
|
||||||
<groupHeader>
|
<groupHeader>
|
||||||
<band height="46">
|
<band height="46">
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="2abbc372-a813-4da6-8ce1-e5901a15b430" x="1" y="26" width="96" height="20"/>
|
<reportElement uuid="2abbc372-a813-4da6-8ce1-e5901a15b430" x="0" y="26" width="97" height="20"/>
|
||||||
<textElement>
|
<textElement>
|
||||||
<font size="11" isBold="true" isItalic="false"/>
|
<font size="11" isBold="true" isItalic="false"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<text><![CDATA[Número BPE ]]></text>
|
<text><![CDATA[Número BPE ]]></text>
|
||||||
</staticText>
|
</staticText>
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="b3502755-0bd7-4f2a-92da-9b978a6a1f05" x="1" y="0" width="96" height="20"/>
|
<reportElement uuid="b3502755-0bd7-4f2a-92da-9b978a6a1f05" x="0" y="0" width="97" height="20"/>
|
||||||
<textElement textAlignment="Left">
|
<textElement textAlignment="Left">
|
||||||
<font size="11" isBold="true" isItalic="false"/>
|
<font size="11" isBold="true" isItalic="false"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
|
@ -71,51 +79,43 @@
|
||||||
<textFieldExpression><![CDATA[$F{serieBPE}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$F{serieBPE}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="c804ad70-880e-4aaf-b321-0da2bb917c1a" x="259" y="26" width="87" height="20">
|
<reportElement uuid="c804ad70-880e-4aaf-b321-0da2bb917c1a" x="261" y="26" width="87" height="20"/>
|
||||||
<printWhenExpression><![CDATA[$P{ESTADOS_ID} == null]]></printWhenExpression>
|
|
||||||
</reportElement>
|
|
||||||
<textElement/>
|
<textElement/>
|
||||||
<textFieldExpression><![CDATA[$P{inicialAutorizado}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$V{inicio}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="c9a2844a-5957-46e0-b08a-8dd909d5dce6" x="199" y="26" width="60" height="20">
|
<reportElement uuid="c9a2844a-5957-46e0-b08a-8dd909d5dce6" x="199" y="26" width="62" height="20"/>
|
||||||
<printWhenExpression><![CDATA[$P{ESTADOS_ID} == null]]></printWhenExpression>
|
|
||||||
</reportElement>
|
|
||||||
<textElement textAlignment="Left">
|
<textElement textAlignment="Left">
|
||||||
<font size="11" isBold="true" isItalic="false"/>
|
<font size="11" isBold="true" isItalic="false"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<text><![CDATA[Nº Inicial:]]></text>
|
<text><![CDATA[Nº Inicial:]]></text>
|
||||||
</staticText>
|
</staticText>
|
||||||
<textField>
|
|
||||||
<reportElement uuid="1d8c442d-ba8a-419e-9445-25690fcfc14b" x="404" y="26" width="91" height="20">
|
|
||||||
<printWhenExpression><![CDATA[$P{ESTADOS_ID} == null]]></printWhenExpression>
|
|
||||||
</reportElement>
|
|
||||||
<textElement/>
|
|
||||||
<textFieldExpression><![CDATA[$P{finalAutorizado}]]></textFieldExpression>
|
|
||||||
</textField>
|
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="1a592966-8259-4762-94e9-d27da948da93" x="346" y="26" width="58" height="20">
|
<reportElement uuid="1a592966-8259-4762-94e9-d27da948da93" x="348" y="26" width="71" height="20"/>
|
||||||
<printWhenExpression><![CDATA[$P{ESTADOS_ID} == null]]></printWhenExpression>
|
|
||||||
</reportElement>
|
|
||||||
<textElement textAlignment="Left">
|
<textElement textAlignment="Left">
|
||||||
<font size="11" isBold="true" isItalic="false"/>
|
<font size="11" isBold="true" isItalic="false"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<text><![CDATA[Nº Final:]]></text>
|
<text><![CDATA[Nº Final:]]></text>
|
||||||
</staticText>
|
</staticText>
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="1d8c442d-ba8a-419e-9445-25690fcfc14b" x="419" y="26" width="135" height="20" printWhenGroupChanges="estado"/>
|
||||||
|
<textElement/>
|
||||||
|
<textFieldExpression><![CDATA[$F{finalAutorizado}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
</band>
|
</band>
|
||||||
</groupHeader>
|
</groupHeader>
|
||||||
<groupFooter>
|
<groupFooter>
|
||||||
<band height="31">
|
<band height="31">
|
||||||
<printWhenExpression><![CDATA[!$P{ESTADOS_ID}.equals("")]]></printWhenExpression>
|
<printWhenExpression><![CDATA[!$P{ESTADOS_ID}.equals("")]]></printWhenExpression>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="159f0892-ce02-41a2-9c6b-e7b25ce4012a" x="691" y="8" width="110" height="20"/>
|
<reportElement uuid="159f0892-ce02-41a2-9c6b-e7b25ce4012a" x="702" y="8" width="100" height="20"/>
|
||||||
<textElement textAlignment="Right">
|
<textElement textAlignment="Right">
|
||||||
<font size="11"/>
|
<font size="11"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$V{bilhete_COUNT}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$V{bilhete_COUNT}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="e3d729bc-7c1b-4196-ba3c-c2422ba28ead" x="554" y="8" width="137" height="20"/>
|
<reportElement uuid="e3d729bc-7c1b-4196-ba3c-c2422ba28ead" x="554" y="8" width="148" height="20"/>
|
||||||
<textElement>
|
<textElement>
|
||||||
<font size="11" isItalic="false"/>
|
<font size="11" isItalic="false"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
|
@ -136,7 +136,7 @@
|
||||||
<pageHeader>
|
<pageHeader>
|
||||||
<band height="82" splitType="Stretch">
|
<band height="82" splitType="Stretch">
|
||||||
<textField pattern="" isBlankWhenNull="false">
|
<textField pattern="" isBlankWhenNull="false">
|
||||||
<reportElement uuid="136a5066-d141-4362-af36-0780f0d16542" mode="Transparent" x="1" y="0" width="553" height="42" forecolor="#000000" backcolor="#FFFFFF"/>
|
<reportElement uuid="136a5066-d141-4362-af36-0780f0d16542" mode="Transparent" x="0" y="0" width="554" height="42" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
<font fontName="SansSerif" size="15" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
<font fontName="SansSerif" size="15" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
<paragraph lineSpacing="Single"/>
|
<paragraph lineSpacing="Single"/>
|
||||||
|
@ -170,7 +170,7 @@
|
||||||
<textFieldExpression><![CDATA[$R{cabecalho.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$R{cabecalho.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
|
<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
|
||||||
<reportElement uuid="314e312c-8f24-42de-8354-3c1f7241a985" mode="Transparent" x="691" y="25" width="110" height="17" forecolor="#000000" backcolor="#FFFFFF"/>
|
<reportElement uuid="314e312c-8f24-42de-8354-3c1f7241a985" mode="Transparent" x="691" y="25" width="111" height="17" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
<font fontName="SansSerif" size="10" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
<font fontName="SansSerif" size="10" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
<paragraph lineSpacing="Single"/>
|
<paragraph lineSpacing="Single"/>
|
||||||
|
@ -178,7 +178,7 @@
|
||||||
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField pattern="" isBlankWhenNull="false">
|
<textField pattern="" isBlankWhenNull="false">
|
||||||
<reportElement uuid="4e030613-9cee-443e-9eaa-b19fa3090976" mode="Transparent" x="554" y="42" width="247" height="17" forecolor="#000000" backcolor="#FFFFFF"/>
|
<reportElement uuid="4e030613-9cee-443e-9eaa-b19fa3090976" mode="Transparent" x="554" y="42" width="248" height="17" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
<font fontName="SansSerif" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
<font fontName="SansSerif" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
<paragraph lineSpacing="Single"/>
|
<paragraph lineSpacing="Single"/>
|
||||||
|
@ -189,7 +189,7 @@
|
||||||
<reportElement uuid="6ca45088-a58d-43b3-b196-8fc26e128fbf" x="0" y="81" width="802" height="1"/>
|
<reportElement uuid="6ca45088-a58d-43b3-b196-8fc26e128fbf" x="0" y="81" width="802" height="1"/>
|
||||||
</line>
|
</line>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="b29d0494-2695-420b-bdc1-b13c08bdbcda" x="1" y="59" width="831" height="14"/>
|
<reportElement uuid="b29d0494-2695-420b-bdc1-b13c08bdbcda" x="0" y="59" width="832" height="14"/>
|
||||||
<textElement verticalAlignment="Middle">
|
<textElement verticalAlignment="Middle">
|
||||||
<font size="11"/>
|
<font size="11"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
|
@ -200,7 +200,7 @@
|
||||||
<detail>
|
<detail>
|
||||||
<band height="26" splitType="Stretch">
|
<band height="26" splitType="Stretch">
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="9a639996-146c-42c9-a8fd-f947a59310f4" x="1" y="10" width="96" height="16"/>
|
<reportElement uuid="9a639996-146c-42c9-a8fd-f947a59310f4" x="0" y="10" width="97" height="16"/>
|
||||||
<textElement>
|
<textElement>
|
||||||
<font size="10" isItalic="false"/>
|
<font size="10" isItalic="false"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
|
@ -211,14 +211,14 @@
|
||||||
<summary>
|
<summary>
|
||||||
<band height="21" splitType="Stretch">
|
<band height="21" splitType="Stretch">
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="8f64fd0a-a820-4ad6-8fc8-cb6d4f8e9831" x="554" y="0" width="137" height="21"/>
|
<reportElement uuid="8f64fd0a-a820-4ad6-8fc8-cb6d4f8e9831" x="554" y="0" width="148" height="21"/>
|
||||||
<textElement>
|
<textElement>
|
||||||
<font size="11" isItalic="false"/>
|
<font size="11" isItalic="false"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<text><![CDATA[Total Geral de Documentos]]></text>
|
<text><![CDATA[Total Geral de Documentos]]></text>
|
||||||
</staticText>
|
</staticText>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="36133c4b-460e-4642-b827-053d0a247a18" x="692" y="0" width="110" height="21"/>
|
<reportElement uuid="36133c4b-460e-4642-b827-053d0a247a18" x="702" y="0" width="100" height="21"/>
|
||||||
<textElement textAlignment="Right">
|
<textElement textAlignment="Right">
|
||||||
<font size="11"/>
|
<font size="11"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
|
@ -229,7 +229,7 @@
|
||||||
<noData>
|
<noData>
|
||||||
<band height="50">
|
<band height="50">
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="6f13c961-dd50-4e44-ba73-65e0752b8b83" x="1" y="24" width="800" height="26"/>
|
<reportElement uuid="6f13c961-dd50-4e44-ba73-65e0752b8b83" x="0" y="24" width="802" height="26"/>
|
||||||
<textElement markup="none">
|
<textElement markup="none">
|
||||||
<font size="11" isBold="true"/>
|
<font size="11" isBold="true"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
|
|
|
@ -0,0 +1,67 @@
|
||||||
|
package com.rjconsultores.ventaboletos.relatorios.utilitarios;
|
||||||
|
|
||||||
|
public class RelatorioBpeNumeracaoReusoBean {
|
||||||
|
|
||||||
|
private Integer numeroBPE;
|
||||||
|
private Integer finalAutorizado;
|
||||||
|
private String estado;
|
||||||
|
private String serieBPE;
|
||||||
|
|
||||||
|
public Integer getFinalAutorizado() {
|
||||||
|
return finalAutorizado;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setFinalAutorizado(Integer finalAutorizado) {
|
||||||
|
this.finalAutorizado = finalAutorizado;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getEstado() {
|
||||||
|
return estado;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setEstado(String estado) {
|
||||||
|
this.estado = estado;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getNumeroBPE() {
|
||||||
|
return numeroBPE;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setNumeroBPE(Integer numeroBPE) {
|
||||||
|
this.numeroBPE = numeroBPE;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSerieBPE() {
|
||||||
|
return serieBPE;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSerieBPE(String serieBPE) {
|
||||||
|
this.serieBPE = serieBPE;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
final int prime = 31;
|
||||||
|
int result = 1;
|
||||||
|
result = prime * result + ((estado == null) ? 0 : estado.hashCode());
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object obj) {
|
||||||
|
if (this == obj)
|
||||||
|
return true;
|
||||||
|
if (obj == null)
|
||||||
|
return false;
|
||||||
|
if (getClass() != obj.getClass())
|
||||||
|
return false;
|
||||||
|
RelatorioBpeNumeracaoReusoBean other = (RelatorioBpeNumeracaoReusoBean) obj;
|
||||||
|
if (estado == null) {
|
||||||
|
if (other.estado != null)
|
||||||
|
return false;
|
||||||
|
} else if (!estado.equals(other.estado))
|
||||||
|
return false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue