fix: refs #8030 little bugs
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Pako Natek 2024-09-24 10:59:15 +02:00
parent a39b28f1a8
commit 1be5fced3c
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ BEGIN
tcb.warehouseFk,
tcb.itemFk,
c.id,
tcb.base * (1 + IFNULL(tpd.ratIncreasing,0)) + IFNULL(tpd.absIncreasing,0)
(tcb.base * (1 + IFNULL(tpd.ratIncreasing / 100,0))) + IFNULL(tpd.absIncreasing,0)
FROM tmp.ticketComponentBase tcb
JOIN component c ON c.code = 'bonus'
JOIN tPriceDelta tpd