diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioVendasConexaoRuta.java b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioVendasConexaoRuta.java index bd74585b5..51b725cea 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioVendasConexaoRuta.java +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioVendasConexaoRuta.java @@ -107,9 +107,9 @@ public class RelatorioVendasConexaoRuta extends Relatorio { bean.setPoltrona((String) rset.getObject("poltrona")); bean.setNumLinha((Integer) rset.getInt("numLinha")); bean.setDescricaoLinha((String) rset.getObject("descricaoLinha")); - bean.setCodOrigem((Integer) rset.getInt("codOrigem")); + bean.setCodOrigem((String) rset.getString("codOrigem")); bean.setDescricaoOrigem((String) rset.getObject("descricaoOrigem")); - bean.setCodDestino((Integer) rset.getInt("codDestino")); + bean.setCodDestino((String) rset.getString("codDestino")); bean.setDescricaoDestino((String) rset.getObject("descricaoDestino")); bean.setDataEmbarque((Date) rset.getObject("dataEmbarque")); bean.setDataVenda((Date) rset.getObject("dataVenda")); diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasConexaoRuta.jasper b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasConexaoRuta.jasper index 9b7a22fcd..9b2686eba 100644 Binary files a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasConexaoRuta.jasper and b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasConexaoRuta.jasper differ diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasConexaoRuta.jrxml b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasConexaoRuta.jrxml index b80b3a241..63b9a738b 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasConexaoRuta.jrxml +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasConexaoRuta.jrxml @@ -1,5 +1,5 @@ - + @@ -18,8 +18,8 @@ - - + + @@ -46,404 +46,460 @@ <band height="32"> <textField> - <reportElement x="0" y="0" width="802" height="32"/> - <textElement textAlignment="Center" verticalAlignment="Middle" lineSpacing="Single"> + <reportElement uuid="cf19e107-c7c8-410c-8957-a0bd2259aa5c" x="0" y="0" width="802" height="32"/> + <textElement textAlignment="Center" verticalAlignment="Middle"> <font size="18" isBold="true"/> + <paragraph lineSpacing="Single"/> </textElement> - <textFieldExpression class="java.lang.String"><![CDATA[$R{cabecalho.nome}]]></textFieldExpression> + <textFieldExpression><![CDATA[$R{cabecalho.nome}]]></textFieldExpression> </textField> </band> - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + - - + + + - + @@ -453,39 +509,42 @@ - + - - + + + - + - - + + + - + - + - - + + + - + diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/utilitarios/RelatorioVendasConexaoRutaBean.java b/src/java/com/rjconsultores/ventaboletos/relatorios/utilitarios/RelatorioVendasConexaoRutaBean.java index 0de842ea6..4bb20cb42 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/utilitarios/RelatorioVendasConexaoRutaBean.java +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/utilitarios/RelatorioVendasConexaoRutaBean.java @@ -12,9 +12,9 @@ public class RelatorioVendasConexaoRutaBean { private String bilhete; private Integer numLinha; private String descricaoLinha; - private Integer codOrigem; + private String codOrigem; private String descricaoOrigem; - private Integer codDestino; + private String codDestino; private String descricaoDestino; private Integer servico; private String poltrona; @@ -90,11 +90,11 @@ public class RelatorioVendasConexaoRutaBean { this.descricaoLinha = descricaoLinha; } - public Integer getCodOrigem() { + public String getCodOrigem() { return codOrigem; } - public void setCodOrigem(Integer codOrigem) { + public void setCodOrigem(String codOrigem) { this.codOrigem = codOrigem; } @@ -106,11 +106,11 @@ public class RelatorioVendasConexaoRutaBean { this.descricaoOrigem = descricaoOrigem; } - public Integer getCodDestino() { + public String getCodDestino() { return codDestino; } - public void setCodDestino(Integer codDestino) { + public void setCodDestino(String codDestino) { this.codDestino = codDestino; }