feat: refs #6610 fixDeleteTickets #2154

Merged
robert merged 6 commits from 6610-hotFixDeleteTicketsWeekly into master 2024-03-11 11:15:05 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 9910ae5c64 - Show all commits

View File

@ -186,7 +186,7 @@ BEGIN
SELECT DISTINCT tl.originFk ticketFk
robert marked this conversation as resolved Outdated

Identación

Identación
FROM ticketLog tl
JOIN (
SELECT MAX(tl.id)ids, tw.ticketFk
SELECT MAX(tl.id)ids
robert marked this conversation as resolved Outdated

Espacio despues de coma: MAX(tl.id)ids, tw.ticketFk

Espacio despues de coma: `MAX(tl.id)ids, tw.ticketFk`

tw.ticketFk no se utiliza

tw.ticketFk no se utiliza
FROM ticket t
JOIN ticketLog tl ON tl.originFk = t.id
LEFT JOIN ticketWeekly tw ON tw.ticketFk =t.id