refs #6574 feat: add order #2264

Merged
sergiodt merged 6 commits from 6574_itemGetBalance into dev 2024-04-24 13:55:07 +00:00
1 changed files with 6 additions and 3 deletions
Showing only changes of commit 957b0c71ca - Show all commits

View File

@ -173,7 +173,8 @@ BEGIN
lineFk,
isPicked,
clientType,
claimFk
claimFk,
`order`
FROM tItemDiary
LEFT JOIN alertLevel a ON a.id = tItemDiary.alertLevel;
@ -197,7 +198,8 @@ BEGIN
0 lineFk,
0 isPicked,
0 clientType,
0 claimFk
0 claimFk,
`order`
UNION ALL
SELECT shipped,
alertlevel,
@ -213,7 +215,8 @@ BEGIN
lineFk,
isPicked,
clientType,
claimFk
claimFk,
`order`
FROM tItemDiary
WHERE shipped >= vDate;
END IF;