fix(productionControl): refs #7969 #2991

Merged
pako merged 2 commits from hotFix-productionControl into master 2024-09-18 15:49:46 +00:00
1 changed files with 1 additions and 0 deletions

View File

@ -276,6 +276,7 @@ proc: BEGIN
JOIN productionConfig pc JOIN productionConfig pc
SET pb.hasPlantTray = TRUE SET pb.hasPlantTray = TRUE
WHERE p.isPlantTray WHERE p.isPlantTray
AND s.quantity >= b.packing
AND pb.isOwn; AND pb.isOwn;
DROP TEMPORARY TABLE DROP TEMPORARY TABLE