fixes bug#AL-4862

master
wallace.henrique 2024-09-05 11:32:02 -03:00
parent a558302443
commit d01941721a
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId>
<artifactId>ModelWeb</artifactId>
<version>1.103.2</version>
<version>1.103.3</version>
<distributionManagement>
<repository>

View File

@ -716,7 +716,7 @@ public class CajaHibernateDAO extends GenericHibernateDAO<Object, Long> implemen
sql.append(" and numfoliopreimpreso between :folioInicial and :folioFinal ");
sql.append(" union all ");
sql.append(" SELECT coalesce(min( numfoliopreimpreso), '0') as folio ");
sql.append(" FROM caja ");
sql.append(" FROM caja_diversos ");
sql.append(" where activo = 1 ");
sql.append(" and numseriepreimpresa = :serie ");
sql.append(" and numfoliopreimpreso between :folioInicial and :folioFinal ");