fixes bug #7326
Artefatos Alterados: RutaCombinacionHibernateDAO git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@54688 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
c8aedee277
commit
20f65f3157
|
@ -345,7 +345,7 @@ public class RutaCombinacionHibernateDAO extends GenericHibernateDAO<RutaCombina
|
||||||
String listInt = sb.toString().substring(0, sb.toString().length() - 1);
|
String listInt = sb.toString().substring(0, sb.toString().length() - 1);
|
||||||
hql.append(" AND MON.MONEDA_ID in (").append(listInt).append(") ");
|
hql.append(" AND MON.MONEDA_ID in (").append(listInt).append(") ");
|
||||||
}
|
}
|
||||||
if (!lsClaseServicio.isEmpty()) {
|
if (!lsClaseServicio.isEmpty() && !lsClaseServicio.toString().contains("TODAS")) {
|
||||||
StringBuilder sb = new StringBuilder("");
|
StringBuilder sb = new StringBuilder("");
|
||||||
for (ClaseServicio cs : lsClaseServicio) {
|
for (ClaseServicio cs : lsClaseServicio) {
|
||||||
sb.append(cs.getClaseservicioId()).append(",");
|
sb.append(cs.getClaseservicioId()).append(",");
|
||||||
|
@ -353,7 +353,7 @@ public class RutaCombinacionHibernateDAO extends GenericHibernateDAO<RutaCombina
|
||||||
String listInt = sb.toString().substring(0, sb.toString().length() - 1);
|
String listInt = sb.toString().substring(0, sb.toString().length() - 1);
|
||||||
hql.append(" AND CS.CLASESERVICIO_ID in (").append(listInt).append(") ");
|
hql.append(" AND CS.CLASESERVICIO_ID in (").append(listInt).append(") ");
|
||||||
}
|
}
|
||||||
if (!lsOrgaoConcedente.isEmpty()) {
|
if (!lsOrgaoConcedente.isEmpty() && !lsOrgaoConcedente.toString().contains("TODOS")) {
|
||||||
StringBuilder sb = new StringBuilder("");
|
StringBuilder sb = new StringBuilder("");
|
||||||
for (OrgaoConcedente oc : lsOrgaoConcedente) {
|
for (OrgaoConcedente oc : lsOrgaoConcedente) {
|
||||||
sb.append(oc.getOrgaoConcedenteId()).append(",");
|
sb.append(oc.getOrgaoConcedenteId()).append(",");
|
||||||
|
|
Loading…
Reference in New Issue