Implementação do retorno SAFRA feat bug#AL-3377

master
Fabio 2023-12-27 15:50:50 -03:00
parent eed86db741
commit 4d250db672
3 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@
<groupId>br.com.rjconsultores</groupId> <groupId>br.com.rjconsultores</groupId>
<artifactId>GeneradorBoletosCNAB</artifactId> <artifactId>GeneradorBoletosCNAB</artifactId>
<version>1.5.0</version> <version>1.6.0</version>
<name>GeneradorBoletosCNAB</name> <name>GeneradorBoletosCNAB</name>
<distributionManagement> <distributionManagement>

View File

@ -4,7 +4,7 @@ import java.math.BigDecimal;
import com.rjconsultores.ventaboletos.blocos.DetalheRetorno; import com.rjconsultores.ventaboletos.blocos.DetalheRetorno;
public class DetalheRetornoItau implements DetalheRetorno, Cloneable{ public class DetalheRetornoItau implements DetalheRetorno{
private Integer idBoletoFechamento; private Integer idBoletoFechamento;
private String nossoNumero; private String nossoNumero;

View File

@ -369,7 +369,7 @@ public class NossoNumeroUtils {
return Boolean.TRUE; return Boolean.TRUE;
} }
if(BancoLayout.SAFRA_400_Envio.equals(bancoLayout) && nossoNumero.length() == 11 ){ if(BancoLayout.SAFRA_400_Envio.equals(bancoLayout) && nossoNumero.length() == 10 ){
return Boolean.TRUE; return Boolean.TRUE;
} }
@ -393,4 +393,4 @@ public class NossoNumeroUtils {
System.out.println( calcularNossoNumeroSafra( new BigInteger("422979999") )); System.out.println( calcularNossoNumeroSafra( new BigInteger("422979999") ));
} }
} }