diff --git a/src/com/rjconsultores/ventaboletos/dao/sqlbuilder/impl/SQLBuilderOracle.java b/src/com/rjconsultores/ventaboletos/dao/sqlbuilder/impl/SQLBuilderOracle.java index ec2b454e6..f3e312b5d 100644 --- a/src/com/rjconsultores/ventaboletos/dao/sqlbuilder/impl/SQLBuilderOracle.java +++ b/src/com/rjconsultores/ventaboletos/dao/sqlbuilder/impl/SQLBuilderOracle.java @@ -628,7 +628,7 @@ public class SQLBuilderOracle implements SQLBuilder { public String getSQLAtualizarPrecioPorTPP(final Integer rutaId, final Integer usuarioId, final Integer orgaoConcedenteId, TipoSeguro tipoSeguro) { StringBuilder sb = new StringBuilder(""); - sb.append("update tarifa_oficial set PRECIO = PRECIO + IMPORTETPP "); + sb.append("update tarifa_oficial set PRECIO = PRECIO + nvl(IMPORTETPP,0) "); sb.append(" where "); sb.append(" tarifa_oficial.activo = 1 "); if (rutaId != null) {