fixes bug #7544
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@56700 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
10e39b152a
commit
3853eca29f
|
@ -428,7 +428,9 @@ public class RutaCombinacionHibernateDAO extends GenericHibernateDAO<RutaCombina
|
||||||
sb.append(vt.getRutaId()).append(",");
|
sb.append(vt.getRutaId()).append(",");
|
||||||
}
|
}
|
||||||
String listInt = sb.toString().substring(0, sb.toString().length() - 1);
|
String listInt = sb.toString().substring(0, sb.toString().length() - 1);
|
||||||
hql.append(" AND RC.RUTA_ID in (").append(listInt).append(")");
|
if (!listInt.contains("-1")){
|
||||||
|
hql.append(" AND RC.RUTA_ID in (").append(listInt).append(")");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (!lsMarca.isEmpty()) {
|
if (!lsMarca.isEmpty()) {
|
||||||
StringBuilder sb = new StringBuilder("");
|
StringBuilder sb = new StringBuilder("");
|
||||||
|
|
Loading…
Reference in New Issue