|
|
|
@ -77,7 +77,7 @@ public class IntPraticaFinderImpl extends BasePersistenceImpl<IntPratica> implem
|
|
|
|
|
} |
|
|
|
|
private final String FILTRA_PRATICHE_STATO = "IntPratica.reportPraticaStato"; |
|
|
|
|
private final String FILTRA_PRATICHE_INTEGRAZIONI = "IntPratica.reportPraticaIntegrazioni"; |
|
|
|
|
public List filtraPraticheStato(Date dataInizioLavori, Date dataFineLavori) |
|
|
|
|
public List<Object[]> filtraPraticheStato(Date dataInizioLavori, Date dataFineLavori) |
|
|
|
|
throws SystemException { |
|
|
|
|
Session session = null; |
|
|
|
|
try { |
|
|
|
@ -88,8 +88,8 @@ public class IntPraticaFinderImpl extends BasePersistenceImpl<IntPratica> implem
|
|
|
|
|
QueryPos qPos = QueryPos.getInstance(query); |
|
|
|
|
qPos.add(dataInizioLavori); |
|
|
|
|
qPos.add(dataFineLavori); |
|
|
|
|
List l = query.list(); |
|
|
|
|
_log.debug(l.getClass().getSimpleName()); |
|
|
|
|
@SuppressWarnings("unchecked") |
|
|
|
|
List<Object[]> l = query.list(); |
|
|
|
|
return l; |
|
|
|
|
} catch (ORMException e) { |
|
|
|
|
_log.error("Errore", e); |
|
|
|
@ -101,7 +101,7 @@ public class IntPraticaFinderImpl extends BasePersistenceImpl<IntPratica> implem
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public List filtraPraticheIntegrazioni(Date dataInizioLavori, Date dataFineLavori) |
|
|
|
|
public List<Object[]> filtraPraticheIntegrazioni(Date dataInizioLavori, Date dataFineLavori) |
|
|
|
|
throws SystemException { |
|
|
|
|
Session session = null; |
|
|
|
|
try { |
|
|
|
@ -112,8 +112,8 @@ public class IntPraticaFinderImpl extends BasePersistenceImpl<IntPratica> implem
|
|
|
|
|
QueryPos qPos = QueryPos.getInstance(query); |
|
|
|
|
qPos.add(dataInizioLavori); |
|
|
|
|
qPos.add(dataFineLavori); |
|
|
|
|
List l = query.list(); |
|
|
|
|
_log.debug(l.getClass().getSimpleName()); |
|
|
|
|
@SuppressWarnings("unchecked") |
|
|
|
|
List<Object[]> l = query.list(); |
|
|
|
|
return l; |
|
|
|
|
} catch (ORMException e) { |
|
|
|
|
_log.error("Errore", e); |
|
|
|
|