diff --git a/src/com/rjconsultores/ventaboletos/dao/hibernate/FiscalHibernateDAO.java b/src/com/rjconsultores/ventaboletos/dao/hibernate/FiscalHibernateDAO.java index 3a3653709..c6e0ad6ba 100644 --- a/src/com/rjconsultores/ventaboletos/dao/hibernate/FiscalHibernateDAO.java +++ b/src/com/rjconsultores/ventaboletos/dao/hibernate/FiscalHibernateDAO.java @@ -143,8 +143,8 @@ public class FiscalHibernateDAO implements FiscalDAO { stmt = connection.prepareStatement(sql.toString()); stmt.setFetchSize(100); - stmt.setTimestamp(1, new java.sql.Timestamp(inicio.getTime())); - stmt.setTimestamp(2, new java.sql.Timestamp(fim.getTime())); + stmt.setTimestamp(1, new java.sql.Timestamp(DateUtil.inicioFecha(inicio).getTime())); + stmt.setTimestamp(2, new java.sql.Timestamp(DateUtil.fimFecha(fim).getTime())); if (empresaId != null) { stmt.setInt(3, empresaId);