Cola de impresion
This commit is contained in:
parent
351dd7dcb4
commit
9956a2df61
|
|
@ -29,12 +29,12 @@ public class ColaImpresion extends QueryRule {
|
|||
|
||||
private static final long serialVersionUID = -3993166768741911054L;
|
||||
private static final String QUERY_USUARIO_ID = "SELECT o FROM TsafeUserDetail o WHERE o.pk.usercode=:usercode AND o.pk.dateto=:dateto";
|
||||
private static final String QUERY_COLA_IMPRESION = "SELECT o.cdocumento, o.estadoimpresion, o.estadoimpresioncode, o.cimpresion, o.fechaimpresion, o.fecharegistro, o.codigotarjeta "
|
||||
+ "FROM TarmColadeImpresion o "
|
||||
+ "inner join tarmdocumentohabilitante i on o.cdocumento = i.cdocumento "
|
||||
+ "inner join tarmsolicituddocumento n on n.cdocumento = o.cdocumento "
|
||||
+ "inner join tarmsolicitud k on i.csolicitud = k.csolicitud"
|
||||
+ "WHERE o.estadoimpresion=:estado and i.ccentrocontrol = :ccentrocontrol and coalesce(k.estado,'APB') IN ('APB','FIN')";
|
||||
private static final String QUERY_COLA_IMPRESION = "SELECT o.cdocumento, o.estadoimpresion, o.estadoimpresioncode, o.cimpresion, o.fechaimpresion, o.fecharegistro, o.codigotarjeta"
|
||||
+ " FROM TarmColadeImpresion o"
|
||||
+ " inner join tarmdocumentohabilitante i on o.cdocumento = i.cdocumento"
|
||||
+ " inner join tarmsolicituddocumento n on n.cdocumento = o.cdocumento"
|
||||
+ " inner join tarmsolicitud k on i.csolicitud = k.csolicitud"
|
||||
+ " WHERE o.estadoimpresion=:estado and i.ccentrocontrol = :ccentrocontrol and coalesce(k.estado,'APB') IN ('APB','FIN')";
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in New Issue