fix: quitar delete
gitea/salix/pipeline/pr-master There was a failure building this commit
Details
gitea/salix/pipeline/pr-master There was a failure building this commit
Details
This commit is contained in:
parent
31bd88e856
commit
5175c91b2d
|
@ -11,15 +11,6 @@ BEGIN
|
|||
DELETE FROM rutasBoard
|
||||
WHERE Fecha BETWEEN vDatedFrom AND vDatedTo;
|
||||
|
||||
DELETE rb
|
||||
FROM rutasBoard rb
|
||||
JOIN vn.route r ON r.id = rb.Id_Ruta
|
||||
JOIN vn.ticket t ON t.routeFk = r.id
|
||||
LEFT JOIN vn.`zone` z ON z.id = t.zoneFk
|
||||
JOIN vn.expeditionBoxVol ebv ON ebv.code = 'transportBox'
|
||||
WHERE r.created BETWEEN vDatedFrom AND vDatedTo
|
||||
AND z.isVolumetric;
|
||||
|
||||
-- Rellenamos la tabla con los datos de las rutas VOLUMETRICAS, especialmente con los bultos "virtuales"
|
||||
INSERT INTO rutasBoard(
|
||||
Id_Ruta,
|
||||
|
|
Loading…
Reference in New Issue