feat: refs #6610 fixDeleteTickets #2154

Merged
robert merged 6 commits from 6610-hotFixDeleteTicketsWeekly into master 2024-03-11 11:15:05 +00:00
Member
No description provided.
robert added 1 commit 2024-03-08 11:20:04 +00:00
gitea/salix/pipeline/pr-master Build queued... Details
cdb9f372cf
feat: refs #6610 fixDeleteTickets
robert added 1 commit 2024-03-08 11:20:10 +00:00
gitea/salix/pipeline/pr-master This commit looks good Details
05b60150a0
Merge branch 'master' into 6610-hotFixDeleteTicketsWeekly
guillermo requested changes 2024-03-08 11:25:52 +00:00
@ -183,2 +183,4 @@
DELETE FROM travelLog WHERE creationDate < v3Month;
CREATE OR REPLACE TEMPORARY TABLE tTicketDelete
SELECT DISTINCT tl.originFk ticketFk, sub.ticketFk aa
Member

Identación

Identación
robert marked this conversation as resolved
@ -185,0 +186,4 @@
SELECT DISTINCT tl.originFk ticketFk, sub.ticketFk aa
FROM ticketLog tl
JOIN (
SELECT MAX(tl.id)ids,tw.ticketFk
Member

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

Espacio despues de coma: `MAX(tl.id)ids, tw.ticketFk`
robert marked this conversation as resolved
@ -185,0 +194,4 @@
AND t.isDeleted
AND tw.ticketFk IS NULL
GROUP BY t.id
) sub ON sub.ids = tl.id
Member

Espacio al final de la linea

Espacio al final de la linea
robert marked this conversation as resolved
@ -185,0 +195,4 @@
AND tw.ticketFk IS NULL
GROUP BY t.id
) sub ON sub.ids = tl.id
WHERE tl.creationDate <= util.VN_CURDATE() - INTERVAL 60 DAY;
Member

WHERE tl.creationDate <= vDateShort

`WHERE tl.creationDate <= vDateShort`
robert marked this conversation as resolved
robert added 2 commits 2024-03-08 11:32:05 +00:00
robert added 1 commit 2024-03-08 11:36:38 +00:00
gitea/salix/pipeline/pr-master This commit looks good Details
e7a6d0109c
Merge branch 'master' into 6610-hotFixDeleteTicketsWeekly
robert requested review from guillermo 2024-03-11 10:56:22 +00:00
guillermo requested changes 2024-03-11 11:10:34 +00:00
@ -185,0 +186,4 @@
SELECT DISTINCT tl.originFk ticketFk
FROM ticketLog tl
JOIN (
SELECT MAX(tl.id)ids, tw.ticketFk
Member

tw.ticketFk no se utiliza

tw.ticketFk no se utiliza
robert added 1 commit 2024-03-11 11:11:45 +00:00
gitea/salix/pipeline/pr-master This commit looks good Details
9910ae5c64
fix: refs #6610 quitar variable
guillermo approved these changes 2024-03-11 11:13:59 +00:00
robert merged commit 4d1b02b793 into master 2024-03-11 11:15:05 +00:00
robert deleted branch 6610-hotFixDeleteTicketsWeekly 2024-03-11 11:15:05 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: verdnatura/salix#2154
No description provided.