fear: refs #7296 expeditionTruck
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Robert Ferrús 2024-04-30 12:02:19 +02:00
parent e7be1e2efe
commit 83e9756692
3 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ FROM (
( (
( (
( (
`vn`.`roadmapStop` `et` `vn`.`roadmapStop` `rs`
LEFT JOIN `vn`.`routesMonitor` `r` ON(`rs`.`id` = `r`.`expeditionTruckFk`) LEFT JOIN `vn`.`routesMonitor` `r` ON(`rs`.`id` = `r`.`expeditionTruckFk`)
) )
LEFT JOIN `vn`.`ticket` `t` ON(`r`.`routeFk` = `t`.`routeFk`) LEFT JOIN `vn`.`ticket` `t` ON(`r`.`routeFk` = `t`.`routeFk`)

View File

@ -20,7 +20,7 @@ FROM (
( (
( (
( (
`vn`.`roadmapStop` `et` `vn`.`roadmapStop` `rs`
JOIN `vn`.`expeditionPallet` `ep` ON(`ep`.`truckFk` = `rs`.`id`) JOIN `vn`.`expeditionPallet` `ep` ON(`ep`.`truckFk` = `rs`.`id`)
) )
JOIN `vn`.`expeditionScan` `es` ON(`es`.`palletFk` = `ep`.`id`) JOIN `vn`.`expeditionScan` `es` ON(`es`.`palletFk` = `ep`.`id`)

View File

@ -12,7 +12,7 @@ AS SELECT `rs`.`id` AS `truckFk`,
`es`.`scanned` AS `scanned` `es`.`scanned` AS `scanned`
FROM ( FROM (
( (
`vn`.`roadmapStop` `et` `vn`.`roadmapStop` `rs`
LEFT JOIN `vn`.`expeditionPallet` `ep` ON(`ep`.`truckFk` = `rs`.`id`) LEFT JOIN `vn`.`expeditionPallet` `ep` ON(`ep`.`truckFk` = `rs`.`id`)
) )
LEFT JOIN `vn`.`expeditionScan` `es` ON(`es`.`palletFk` = `ep`.`id`) LEFT JOIN `vn`.`expeditionScan` `es` ON(`es`.`palletFk` = `ep`.`id`)