Commit cbf56551942558cea010c75681228f96f607b13d
1 parent
8811234b
Exists in
master
#4199 Change Request. Atribuir Processos a um usuário.
Showing
1 changed file
with
1 additions
and
26 deletions
Show diff stats
cit-ecm-api/src/main/java/br/com/centralit/api/service/impl/DocumentoGedServiceImpl.java
... | ... | @@ -504,32 +504,6 @@ public class DocumentoGedServiceImpl extends GenericServiceImpl<DocumentoGed, Lo |
504 | 504 | */ |
505 | 505 | private void gerarNumeroDocumentOnline(DocumentoGed entity) { |
506 | 506 | |
507 | - if (entity.getTipoDocumento().getFormaNumeracao().getCodigo().equals(1L)) { | |
508 | - | |
509 | - this.gerarNumeroSequencialAno(entity); | |
510 | - }else{ | |
511 | - | |
512 | - } | |
513 | - | |
514 | - } | |
515 | - | |
516 | - /** | |
517 | - * <p> | |
518 | - * <b>Iniciativa(s):</b> <a href="LINK_PORTAL">NUMERO_INICIATIVA</a> | |
519 | - * </p> | |
520 | - * | |
521 | - * <p> | |
522 | - * <b>Regra(s) de negócio:</b> <a href="LINK_PORTAL">NUMERO_REGRA_DE_NEGOCIO</a> | |
523 | - * </p> | |
524 | - * | |
525 | - * Método responsável por gerar o numero do documento sequencial | |
526 | - * | |
527 | - * @author rogerio.costa | |
528 | - * | |
529 | - * @param entity | |
530 | - */ | |
531 | - private void gerarNumeroSequencialAno(DocumentoGed entity) { | |
532 | - | |
533 | 507 | entity.setIcon(DocumentoGedServiceImpl.ICON_DOC_ONLINE); |
534 | 508 | |
535 | 509 | Calendar calendarInicial = Calendar.getInstance(); |
... | ... | @@ -564,6 +538,7 @@ public class DocumentoGedServiceImpl extends GenericServiceImpl<DocumentoGed, Lo |
564 | 538 | sb.append("1/").append(UtilDate.getAnoAtual()); |
565 | 539 | entity.setNumero(sb.toString()); |
566 | 540 | } |
541 | + | |
567 | 542 | } |
568 | 543 | |
569 | 544 | @Override | ... | ... |