Commit eb2a79fcd233fda2162ddbecdae46cdeed749744
1 parent
a65969d6
Exists in
master
#4199 Change Request. Atribuir Processos a um usuário.
Showing
3 changed files
with
3 additions
and
2 deletions
Show diff stats
cit-ecm-api/src/main/java/br/com/centralit/api/service/impl/AnexoGedServiceImpl.java
| ... | ... | @@ -107,7 +107,7 @@ public class AnexoGedServiceImpl extends GenericServiceImpl<AnexoGed, Long> impl |
| 107 | 107 | |
| 108 | 108 | documentoGed.setConteudo(this.gedFileService.doOcr(anexo)); |
| 109 | 109 | |
| 110 | -// this.solrService.addDocumento(documentoGed); | |
| 110 | + this.solrService.addDocumento(documentoGed); | |
| 111 | 111 | |
| 112 | 112 | anexo.setDocumentoGed(documentoGed); |
| 113 | 113 | ... | ... |
cit-ecm-api/src/main/java/br/com/centralit/api/service/impl/DocumentoGedServiceImpl.java
| ... | ... | @@ -176,7 +176,7 @@ public class DocumentoGedServiceImpl extends GenericServiceImpl<DocumentoGed, Lo |
| 176 | 176 | entity.setConteudo(this.decrypted(entity.getConteudoCriptografado())); |
| 177 | 177 | } |
| 178 | 178 | |
| 179 | - // this.saveSolr(entity); | |
| 179 | + this.saveSolr(entity); | |
| 180 | 180 | |
| 181 | 181 | this.verificaTemporalidadeProcesso(entity); |
| 182 | 182 | ... | ... |
cit-ecm-web/src/main/webapp/assets/js/angular/custom/controller/AtribuirProcessoController.js
| ... | ... | @@ -55,6 +55,7 @@ citApp.controller('AtribuirProcessoController', ['$scope', 'ProcessoRepository', |
| 55 | 55 | $scope.unidadeProcesso = result.originalElement; |
| 56 | 56 | $scope.showAlert("success", $translate.instant('MSG.REGISTRO_SALVO')); |
| 57 | 57 | $scope.findHistorico(); |
| 58 | + $scope.atualizaProcesso(); | |
| 58 | 59 | var historicoAlteracaoProcesso = { |
| 59 | 60 | documentoGed : $scope.documentoGed, |
| 60 | 61 | descricaoAcao : $translate.instant('ECM.MSG_HISTORICO_ECM.ATRIBUICAO'), | ... | ... |