fixes bug #AL-3735

master
valdevir 2024-01-23 11:00:13 -03:00
parent 8437baa959
commit c54a3e99dc
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -285,7 +285,7 @@ public class TarifaHibernateDAO extends GenericHibernateDAO<Tarifa, Integer> imp
StringBuilder hql = new StringBuilder(); StringBuilder hql = new StringBuilder();
try { try {
hql.append(" update Tarifa tb set activo = 0, fecmodif = sysdate(), usuarioId = ").append(usuarioModifId).append(" where tarifaId in ("); hql.append(" update Tarifa tb set activo = 0, fecmodif = sysdate(), usuarioId = ").append(usuarioModifId).append(" where tarifaId in (");
hql.append(" select tb.tarifaId from Tarifa t "); hql.append(" select t.tarifaId from Tarifa t ");
if (vende != null) { if (vende != null) {
hql.append(" inner join tb.ruta.rutaCombinacionList AS rutaCombinacionList" ); hql.append(" inner join tb.ruta.rutaCombinacionList AS rutaCombinacionList" );