Rev 401 | Rev 415 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 401 | Rev 402 | ||
|---|---|---|---|
| Line 165... | Line 165... | ||
| 165 | }
|
165 | }
|
| 166 | }); |
166 | }); |
| 167 | }
|
167 | }
|
| 168 | 168 | ||
| 169 | /*******************************************/
|
169 | /*******************************************/
|
| - | 170 | ||
| - | 171 | public void atualizarObservacaoPagamentos(final ConciliacaoBancariaLancamentoDTO conciliacaoBancariaLancamentoDTO) { |
|
| - | 172 | new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() { |
|
| - | 173 | public void execute() { |
|
| - | 174 | conciliacaoBancariaService.atualizarObservacaoPagamentos(conciliacaoBancariaLancamentoDTO); |
|
| - | 175 | LancadorMensagem.lancarSucesso("CONCILIAÇÃO ATUALIZADA COM SUCESSO"); |
|
| - | 176 | }
|
|
| - | 177 | }); |
|
| - | 178 | }
|
|
| 170 | 179 | ||
| 171 | public void conciliar(final ConciliacaoBancariaLancamentoDTO conciliacaoBancariaLancamentoDTO) { |
180 | public void conciliar(final ConciliacaoBancariaLancamentoDTO conciliacaoBancariaLancamentoDTO) { |
| 172 | new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() { |
181 | new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() { |
| 173 | public void execute() { |
182 | public void execute() { |
| 174 | conciliacaoBancariaService.realizarConciliacao(conciliacaoBancariaLancamentoDTO); |
183 | conciliacaoBancariaService.realizarConciliacao(conciliacaoBancariaLancamentoDTO); |
| Line 212... | Line 221... | ||
| 212 | }
|
221 | }
|
| 213 | 222 | ||
| 214 | public void atualizarDadoExtratoBanco() { |
223 | public void atualizarDadoExtratoBanco() { |
| 215 | new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() { |
224 | new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() { |
| 216 | public void execute() { |
225 | public void execute() { |
| 217 | ExtratoBanco novoExtratoBanco = new ExtratoBanco(getExtratoBancoDTOParaAlterar()); |
- | |
| 218 | extratoBancoService.alterar(novoExtratoBanco); |
- | |
| - | 226 | extratoBancoService.alterarDadosExtratoBanco(getExtratoBancoDTOParaAlterar()); |
|
| 219 | LancadorMensagem.lancarSucesso("DADO DO EXTRATO BANCÁRIO ATUALIZADO COM SUCESSO"); |
227 | LancadorMensagem.lancarSucesso("DADO DO EXTRATO BANCÁRIO ATUALIZADO COM SUCESSO"); |
| 220 | }
|
228 | }
|
| 221 | }); |
229 | }); |
| 222 | }
|
230 | }
|
| 223 | 231 | ||