Se corrige llamado a Servicios de Expresos y LogAuditoria. Fixes bug#AL-4549

master
Fernando Uc 2024-10-09 12:53:46 -06:00
parent 44ec91ffe8
commit 3a43f101d6
2 changed files with 6 additions and 7 deletions

View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId>
<artifactId>ventaboletosadm</artifactId>
<version>1.152.14</version>
<version>1.152.15</version>
<packaging>war</packaging>
<properties>

View File

@ -32,12 +32,6 @@ import com.rjconsultores.ventaboletos.web.utilerias.spring.AppContext;
public class RenderExpresosPorCotizar implements ListitemRenderer {
@Autowired
SolicitudExpresosService expresosService;
@Autowired
private LogAuditoriaService logAuditoriaService;
private ExpressosPorCotizarController expresosControllerWindow;
private SolicitudExpreso expreso;
@ -160,8 +154,13 @@ public class RenderExpresosPorCotizar implements ListitemRenderer {
expreso.setUsuarioAutorizaCredito(usuario.getUsuarioId());
expreso.setFechaHoraAutorizaCredito(Calendar.getInstance().getTime());
ConstanteService constanteService = (ConstanteService)AppContext.getApplicationContext().getBean("constanteService");
Constante constante = constanteService.buscarPorNomeConstante("FORMAPAGOCREDITO_ID");
SolicitudExpresosService expresosService = (SolicitudExpresosService)AppContext.getApplicationContext().getBean("solicitudExpresosService");
expresosService.actualizacion(expreso);
LogAuditoriaService logAuditoriaService = (LogAuditoriaService)AppContext.getApplicationContext().getBean("LogAuditoriaService");
logAuditoriaService.auditar(expresoClone, expreso, null);
}
});