From a3d33d579bb644b3e58a6a5c4fc362d1ab80f08c Mon Sep 17 00:00:00 2001 From: gleimar Date: Fri, 1 May 2015 02:12:35 +0000 Subject: [PATCH] fixes bug#6252 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@43598 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../ventaboletos/service/impl/PuntoVentaServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/rjconsultores/ventaboletos/service/impl/PuntoVentaServiceImpl.java b/src/com/rjconsultores/ventaboletos/service/impl/PuntoVentaServiceImpl.java index 5f02b3c25..7f78ce47a 100644 --- a/src/com/rjconsultores/ventaboletos/service/impl/PuntoVentaServiceImpl.java +++ b/src/com/rjconsultores/ventaboletos/service/impl/PuntoVentaServiceImpl.java @@ -326,7 +326,7 @@ public class PuntoVentaServiceImpl implements PuntoVentaService { String est = puntoVenta.getColonia() == null ? null : puntoVenta.getColonia().getCiudad().getEstado().getCveestado(); String codpais = CodPaisBanco.BRASIL.getValor(); - String cep = puntoVenta.getColonia() == null ? null : puntoVenta.getColonia().getCodpostal(); + String cep = puntoVenta.getCodpostal() != null?puntoVenta.getCodpostal().toString():null; String tel = puntoVenta.getNumtelefonouno(); String ddd = null;