Merge pull request 'fixes bug #AL-3735' (!138) from AL-3735 into master

Reviewed-on: http://18.235.188.113:3000/adm/ModelWeb/pulls/138
Reviewed-by: Valdir Cordeiro <valdir.cordeiro@totvs.com.br>
master
pinheiro 2024-01-23 14:03:18 +00:00
commit 2fa1d240de
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" );