Se corrige llamado a Servicios de Expresos y LogAuditoria. Fixes bug#AL-4549
parent
44ec91ffe8
commit
3a43f101d6
2
pom.xml
2
pom.xml
|
@ -4,7 +4,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>br.com.rjconsultores</groupId>
|
<groupId>br.com.rjconsultores</groupId>
|
||||||
<artifactId>ventaboletosadm</artifactId>
|
<artifactId>ventaboletosadm</artifactId>
|
||||||
<version>1.152.14</version>
|
<version>1.152.15</version>
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
|
|
@ -32,12 +32,6 @@ import com.rjconsultores.ventaboletos.web.utilerias.spring.AppContext;
|
||||||
|
|
||||||
public class RenderExpresosPorCotizar implements ListitemRenderer {
|
public class RenderExpresosPorCotizar implements ListitemRenderer {
|
||||||
|
|
||||||
@Autowired
|
|
||||||
SolicitudExpresosService expresosService;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private LogAuditoriaService logAuditoriaService;
|
|
||||||
|
|
||||||
private ExpressosPorCotizarController expresosControllerWindow;
|
private ExpressosPorCotizarController expresosControllerWindow;
|
||||||
|
|
||||||
private SolicitudExpreso expreso;
|
private SolicitudExpreso expreso;
|
||||||
|
@ -160,8 +154,13 @@ public class RenderExpresosPorCotizar implements ListitemRenderer {
|
||||||
expreso.setUsuarioAutorizaCredito(usuario.getUsuarioId());
|
expreso.setUsuarioAutorizaCredito(usuario.getUsuarioId());
|
||||||
expreso.setFechaHoraAutorizaCredito(Calendar.getInstance().getTime());
|
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);
|
expresosService.actualizacion(expreso);
|
||||||
|
|
||||||
|
LogAuditoriaService logAuditoriaService = (LogAuditoriaService)AppContext.getApplicationContext().getBean("LogAuditoriaService");
|
||||||
logAuditoriaService.auditar(expresoClone, expreso, null);
|
logAuditoriaService.auditar(expresoClone, expreso, null);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue