fixes bug#al-1261
dev: Celio qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@113937 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
e14ab7ecac
commit
ba0661f98d
|
@ -1731,7 +1731,9 @@ public class RemessaCNABBancosHibernateDAO extends GenericHibernateDAO<Fechament
|
||||||
qry.append(" update FECHAMENTO_BOLETO set INDBOLETOQUITADO = 1, ");
|
qry.append(" update FECHAMENTO_BOLETO set INDBOLETOQUITADO = 1, ");
|
||||||
qry.append(" FECMODIF = SYSDATE, ");
|
qry.append(" FECMODIF = SYSDATE, ");
|
||||||
qry.append(" USUARIO_ID_QUITA = ").append(usuarioId);
|
qry.append(" USUARIO_ID_QUITA = ").append(usuarioId);
|
||||||
qry.append(" , FECBAIXA = sysdate ");
|
qry.append(" , FECBAIXA = TO_DATE('");
|
||||||
|
qry.append( detalhe.getDataBaixa());
|
||||||
|
qry.append("', 'DDMMYY')");
|
||||||
|
|
||||||
if( detalhe.getValorJuros() != null) {
|
if( detalhe.getValorJuros() != null) {
|
||||||
qry.append(" , VALOR_JUROS = ").append(detalhe.getValorJuros());
|
qry.append(" , VALOR_JUROS = ").append(detalhe.getValorJuros());
|
||||||
|
|
|
@ -135,8 +135,9 @@ public class ImportacaoRetornoBancarioServiceImpl implements ImportacaoRetornoBa
|
||||||
if(linha.startsWith("1")) { //detalhe
|
if(linha.startsWith("1")) { //detalhe
|
||||||
DetalheRetornoItau detalhe = new DetalheRetornoItau();
|
DetalheRetornoItau detalhe = new DetalheRetornoItau();
|
||||||
detalhe.setCodigoOcorrencia(linha.substring(108, 110));
|
detalhe.setCodigoOcorrencia(linha.substring(108, 110));
|
||||||
detalhe.setValorJuros( new BigDecimal(linha.substring(263, 279)).divide(new BigDecimal(100)) );
|
detalhe.setValorJuros( new BigDecimal(linha.substring(266, 279)).divide(new BigDecimal(100)) );
|
||||||
detalhe.setNossoNumero(linha.substring(85, 93)+"-"+linha.substring(93, 94));
|
detalhe.setNossoNumero(linha.substring(85, 93)+"-"+linha.substring(93, 94));
|
||||||
|
detalhe.setDataBaixa(linha.substring(110, 116));
|
||||||
arquivo.addTitulo(detalhe);
|
arquivo.addTitulo(detalhe);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue