IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 4, 2010, 10:50:29 AM (16 years ago)
Author:
bills
Message:

Add table Label which through priority column may be used to order
items pending for processing.
Implement usage of this table in the pstamptool pending modes and
chiptool -pendingimfile.
Various other postage stamp changes including adding pstampDependent.outdir

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/pstamptool_pendingreq.sql

    r25199 r27856  
    11-- postage stamp requests ready for download and parsing
    22SELECT
    3  pstampRequest.*,
    4  pstampDataStore.outProduct as ds_outProduct
    5  FROM pstampRequest
    6  LEFT JOIN pstampDataStore
    7     USING(ds_id)
    8  WHERE pstampRequest.state = 'new'
     3    pstampRequest.*,
     4    pstampDataStore.outProduct AS ds_outProduct,
     5    IFNULL(Label.priority, 10000) AS priority
     6    FROM pstampRequest
     7    LEFT JOIN pstampDataStore USING(ds_id)
     8    LEFT JOIN Label ON pstampRequest.label = Label.label
     9WHERE pstampRequest.state = 'new'
    910    AND pstampRequest.fault = 0
     11    AND (Label.active OR Label.active IS NULL)
Note: See TracChangeset for help on using the changeset viewer.