fixes bug#AL-1314

dev: Wallace 
qua: 

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@114794 d1611594-4594-4d17-8e1d-87c2c4800839
master
celio 2022-10-17 13:41:17 +00:00
parent 6f4c959290
commit 18dc662a9e
2 changed files with 5 additions and 4 deletions

View File

@ -87,7 +87,7 @@ public class RelatorioVendasCartoes extends Relatorio {
bean.setValor(rset.getBigDecimal("valor") != null ? rset.getBigDecimal("valor") : null); bean.setValor(rset.getBigDecimal("valor") != null ? rset.getBigDecimal("valor") : null);
bean.setAutorizacao(rset.getString("autorizacao") != null ? rset.getString("autorizacao") : null); bean.setAutorizacao(rset.getString("autorizacao") != null ? rset.getString("autorizacao") : null);
bean.setQtdParcelas(rset.getInt("qtdParcelas")); bean.setQtdParcelas(rset.getInt("qtdParcelas"));
bean.setNumeroPuntoVenta(rset.getInt("numeroPuntoVenta")); bean.setNumeroPuntoVenta(rset.getString("numeroPuntoVenta"));
bean.setNomePuntoVenta(rset.getString("nomePuntoVenta") != null ? rset.getString("nomePuntoVenta") : null); bean.setNomePuntoVenta(rset.getString("nomePuntoVenta") != null ? rset.getString("nomePuntoVenta") : null);
bean.setDescOperadoraCartao(rset.getString("descOperadoraCartao") != null ? rset.getString("descOperadoraCartao") : null); bean.setDescOperadoraCartao(rset.getString("descOperadoraCartao") != null ? rset.getString("descOperadoraCartao") : null);
bean.setNSU(rset.getString("nsu") != null ? rset.getString("nsu") : null); bean.setNSU(rset.getString("nsu") != null ? rset.getString("nsu") : null);
@ -100,6 +100,7 @@ public class RelatorioVendasCartoes extends Relatorio {
list.add(bean); list.add(bean);
} }
} catch (Exception e) { } catch (Exception e) {
log.error(e.getMessage(), e); log.error(e.getMessage(), e);
} finally { } finally {

View File

@ -12,7 +12,7 @@ public class RelatorioVendasCartoesBean {
private Integer qtdParcelas; private Integer qtdParcelas;
private BigDecimal valor; private BigDecimal valor;
private BigDecimal valorTotal; private BigDecimal valorTotal;
private Integer numeroPuntoVenta; private String numeroPuntoVenta;
private String nomePuntoVenta; private String nomePuntoVenta;
private String descOperadoraCartao; private String descOperadoraCartao;
private String NSU; private String NSU;
@ -77,11 +77,11 @@ public class RelatorioVendasCartoesBean {
this.dataOperacao = dataOperacao; this.dataOperacao = dataOperacao;
} }
public Integer getNumeroPuntoVenta() { public String getNumeroPuntoVenta() {
return numeroPuntoVenta; return numeroPuntoVenta;
} }
public void setNumeroPuntoVenta(Integer numeroPuntoVenta) { public void setNumeroPuntoVenta(String numeroPuntoVenta) {
this.numeroPuntoVenta = numeroPuntoVenta; this.numeroPuntoVenta = numeroPuntoVenta;
} }