fix: refs #5586 Minor change

This commit is contained in:
Guillermo Bonet 2024-02-15 07:52:33 +01:00
parent 05b7c37b94
commit 10bfb7a7d7
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ module.exports = Self => {
ENGINE = MEMORY
SELECT id ticketFk
FROM ticket t
WHERE shipped BETWEEN ? AND ?
WHERE shipped BETWEEN ? AND util.dayEnd(?)
AND refFk IS NULL`, [args.from, args.to]));
stmts.push(`CALL vn.ticket_getTax(NULL)`);
stmts.push(new ParameterizedSQL(