fix: casting
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Pako Natek 2025-03-05 15:05:09 +01:00
parent f0b5044b65
commit 5cef80e981
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ BEGIN
i.`size`,
i.category,
w.name warehouse,
SUM(IFNULL(sub.visible,0)) lack,
CAST(SUM(IFNULL(sub.visible,0)) AS SIGNED) lack,
i.inkFk,
IFNULL(im.timed, util.midnight()) timed,
IFNULL(izc.timed, util.midnight()) minTimed,

View File

@ -67,7 +67,7 @@ BEGIN
AND NOT t.isRaid
UNION ALL
SELECT r.itemFk,
r.shipment,
util.dayEnd(r.shipment),
-r.amount,
r.warehouseFk
FROM hedera.orderRow r