Commit a2b44f82dc3dca2d0651f2f75dc52ebe20a56974

Authored by rogerio.costa
1 parent 9fc18a5e
Exists in master

#4199 Change Request. Atribuir Processos a um usuário.

cit-ecm-api/src/main/java/br/com/centralit/api/service/impl/AnexoGedServiceImpl.java
... ... @@ -107,8 +107,7 @@ public class AnexoGedServiceImpl extends GenericServiceImpl<AnexoGed, Long> impl
107 107  
108 108 documentoGed.setConteudo(this.gedFileService.doOcr(anexo));
109 109  
110   -
111   -// this.solrService.addDocumento(documentoGed);
  110 + this.solrService.addDocumento(documentoGed);
112 111  
113 112 anexo.setDocumentoGed(documentoGed);
114 113  
... ...
cit-ecm-api/src/main/java/br/com/centralit/api/service/impl/DocumentoGedServiceImpl.java
... ... @@ -567,7 +567,7 @@ public class DocumentoGedServiceImpl extends GenericServiceImpl<DocumentoGed, Lo
567 567  
568 568 entity.setConteudo(this.decrypted(entity.getConteudoCriptografado()));
569 569  
570   - // this.saveSolr(entity);
  570 + this.saveSolr(entity);
571 571  
572 572 try {
573 573 if (anexo != null) {
... ...
cit-ecm-api/src/main/java/br/com/centralit/api/service/impl/ProcessoServiceImpl.java
... ... @@ -165,7 +165,7 @@ public class ProcessoServiceImpl extends GenericServiceImpl<Processo, Long> impl
165 165  
166 166 try {
167 167  
168   -// this.solrService.addProcesso(processo);
  168 + this.solrService.addProcesso(processo);
169 169 } catch (final Exception e) {
170 170  
171 171 e.printStackTrace();
... ...