bug #6817
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@54812 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
2c2a4cebe5
commit
ce32e2cb0f
|
@ -536,11 +536,14 @@ public class FiscalHibernateDAO extends GenericHibernateDAO<String, String> impl
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean validaValorExiste(BigDecimal valor) {
|
private boolean validaValorExiste(BigDecimal valor) {
|
||||||
if (valor.equals(BigDecimal.ZERO) || valor == null)
|
if (valor == null) {
|
||||||
return Boolean.FALSE;
|
return Boolean.FALSE;
|
||||||
else
|
} else if (valor.equals(BigDecimal.ZERO)) {
|
||||||
|
return Boolean.FALSE;
|
||||||
|
} else {
|
||||||
return Boolean.TRUE;
|
return Boolean.TRUE;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private List<ItemFiscalVO> validaItensFiscais(ImportacionFiscalVO fiscal, String codProduto) {
|
private List<ItemFiscalVO> validaItensFiscais(ImportacionFiscalVO fiscal, String codProduto) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue