fix: refs #7969 no agency restriction removed #2963
|
@ -276,7 +276,8 @@ proc: BEGIN
|
||||||
JOIN productionConfig pc
|
JOIN productionConfig pc
|
||||||
SET hasPlantTray = TRUE
|
SET hasPlantTray = TRUE
|
||||||
WHERE ic.code = 'plant'
|
WHERE ic.code = 'plant'
|
||||||
AND p.`depth` >= pc.minPlantTrayLength;
|
AND p.`depth` >= pc.minPlantTrayLength
|
||||||
|
AND pb.isOwn;
|
||||||
|
|
||||||
DROP TEMPORARY TABLE
|
DROP TEMPORARY TABLE
|
||||||
tmp.productionTicket,
|
tmp.productionTicket,
|
||||||
|
|
Loading…
Reference in New Issue