This commit is contained in:
parent
894f881019
commit
9641e2c06f
|
@ -86,6 +86,7 @@ async function getRecord() {
|
|||
const [rows] = await conn.query(`
|
||||
SELECT * FROM expedition_PrintOut
|
||||
WHERE isPrinted = 0
|
||||
ORDER BY created
|
||||
LIMIT 1 FOR UPDATE
|
||||
`);
|
||||
if (!rows.length) {
|
||||
|
|
Loading…
Reference in New Issue