fix: ticket #181920 catalog_componentCalculate
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
5d421cb4f0
commit
ef567bb167
|
@ -259,7 +259,7 @@ BEGIN
|
||||||
JOIN tmp.ticketComponentSum tcs ON tcs.itemFk = tcc.itemFk
|
JOIN tmp.ticketComponentSum tcs ON tcs.itemFk = tcc.itemFk
|
||||||
AND tcs.warehouseFk = tcc.warehouseFk
|
AND tcs.warehouseFk = tcc.warehouseFk
|
||||||
WHERE IFNULL(tcs.classRate, 1) = 1
|
WHERE IFNULL(tcs.classRate, 1) = 1
|
||||||
AND NOT tcc.groupingMode = 'packing'
|
AND (tcc.groupingMode = 'grouping' OR tcc.groupingMode IS NULL)
|
||||||
AND (tcc.packing > tcc.`grouping` OR tcc.groupingMode IS NULL)
|
AND (tcc.packing > tcc.`grouping` OR tcc.groupingMode IS NULL)
|
||||||
GROUP BY tcs.warehouseFk, tcs.itemFk;
|
GROUP BY tcs.warehouseFk, tcs.itemFk;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue