BNA8/.resources/7535d2e816561e2a5a15dc8eea7e282beda324eacc031a1566b2c8f4683b76d0
2025-08-18 15:23:02 +04:00

14 lines
483 B
Plaintext

SELECT s01_timestamp AS induct_timestamp,
s04_timestamp AS confirm_timestamp,
sorter, trackid, scanner,
bcr_imgid AS imgid, s01_barcode AS barcode, scanner_status,
pkg_length/10 AS pkg_length, /* In inches */
carriers AS trays,
assignments, divert_status,
destination_req AS requested_dest,
destination_act AS diverted_dest,
sort_code
FROM package_history
WHERE s04_timestamp BETWEEN :startDate AND :endDate
ORDER BY s04_timestamp DESC
LIMIT 4000;