Merge pull request 'Se corrige llamado a Servicios de Expresos y LogAuditoria. Fixes bug#AL-4549' (!776) from AL-4552 into master
Reviewed-on: adm/VentaBoletosAdm#776 Reviewed-by: Valdir Cordeiro <valdir.cordeiro@totvs.com.br>master 1.152.15
commit
db53cc2ab1
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;
|
||||||
|
@ -159,9 +153,11 @@ public class RenderExpresosPorCotizar implements ListitemRenderer {
|
||||||
expreso.setFormaPagoId(Integer.valueOf(pagoCreditoConstante));
|
expreso.setFormaPagoId(Integer.valueOf(pagoCreditoConstante));
|
||||||
expreso.setUsuarioAutorizaCredito(usuario.getUsuarioId());
|
expreso.setUsuarioAutorizaCredito(usuario.getUsuarioId());
|
||||||
expreso.setFechaHoraAutorizaCredito(Calendar.getInstance().getTime());
|
expreso.setFechaHoraAutorizaCredito(Calendar.getInstance().getTime());
|
||||||
|
|
||||||
|
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