Merge pull request 'fixes bug#AL-2795' (!196) from AL-2795 into master

Reviewed-on: adm/VentaBoletosAdm#196
Reviewed-by: Gleison da Cruz <gleison.cruz@totvs.com.br>
master 1.7.14
Gleison da Cruz 2023-06-14 15:54:13 +00:00
commit 9a0acc5693
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -65,7 +65,7 @@ private Set<PuntoVenta> pontoVendaConfiguracao;
stmt.setTimestamp("DATA_INICIAL", new Timestamp(DateUtil.inicioFecha((Date) parametros.get("DATA_INICIAL")).getTime()));
stmt.setTimestamp("DATA_FINAL", new Timestamp(DateUtil.fimFecha((Date) parametros.get("DATA_INICIAL")).getTime()));
stmt.setTimestamp("DATA_FINAL", new Timestamp(DateUtil.fimFecha((Date) parametros.get("DATA_FINAL")).getTime()));
if(empresaID != null && !empresaID.equals("")){
stmt.setInt("EMPRESA_ID", Integer.parseInt(empresaID));