8389-testToMaster #3357

Merged
alexm merged 51 commits from 8389-testToMaster into master 2025-01-14 06:31:08 +00:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit a4e22485c0 - Show all commits

View File

@ -40,6 +40,7 @@ module.exports = Self => {
const sales = await Self.rawSql(`
SELECT s.ticketFk,
NULL ticketOrder,
sgd.saleGroupFk,
s.id saleFk,
s.itemFk,
@ -83,6 +84,7 @@ module.exports = Self => {
GROUP BY s.id, ish.id, p.code, p2.code
UNION ALL
SELECT s.ticketFk,
DENSE_RANK() OVER (ORDER BY ss.id),
sgd.saleGroupFk,
s.id saleFk,
s.itemFk,