fix: refs #6859 zoneEstimatedDelivery
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Guillermo Bonet 2024-02-15 11:07:47 +01:00
parent 625922275c
commit f63abc1a6e
1 changed files with 8 additions and 11 deletions

View File

@ -15,7 +15,6 @@ FROM (
(
(
(
(
(
(
`vn`.`ticket` `t`
@ -29,7 +28,6 @@ FROM (
)
JOIN `vn`.`warehouse` `w` ON(`w`.`id` = `t`.`warehouseFk`)
)
JOIN `vn`.`warehouseAlias` `wa` ON(`wa`.`id` = `w`.`aliasFk`)
) STRAIGHT_JOIN `vn`.`zone` `z` ON(`z`.`id` = `t`.`zoneFk`)
)
LEFT JOIN `vn`.`zoneClosure` `zc` ON(
@ -43,6 +41,5 @@ FROM (
)
)
JOIN `vn`.`alertLevel` `al` ON(`al`.`id` = `s`.`alertLevel`)
)
WHERE `w`.`hasProduction` <> 0
AND cast(`t`.`shipped` AS date) = `util`.`VN_CURDATE`()