refactor: refs #6496 Deleted clean vn2008 #2104

Merged
guillermo merged 5 commits from 6496-cleanVn2008 into dev 2024-03-04 10:58:07 +00:00
Member
No description provided.
guillermo added 1 commit 2024-02-27 12:58:26 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
fefc193ec0
refactor: refs #6496 Deleted clean vn2008
guillermo requested review from carlosap 2024-02-27 13:01:02 +00:00
carlosap reviewed 2024-02-28 10:12:18 +00:00
@ -4,3 +4,3 @@
DECLARE vDateShort DATETIME;
SET vDateShort = TIMESTAMPADD(MONTH, -1, util.VN_CURDATE());
SET vDateShort = util.VN_CURDATE() - INTERVAL 1 MONTH;
Member

millor v1Month com en el altre clean

millor v1Month com en el altre clean
guillermo marked this conversation as resolved
carlosap reviewed 2024-02-28 10:14:06 +00:00
@ -93,1 +83,3 @@
WHERE eta < v3Month;
FROM claim c
JOIN claimState cs ON cs.id = c.claimStateFk
WHERE cs.description = "Anulado"
Member

cometes simples

cometes simples
guillermo marked this conversation as resolved
carlosap reviewed 2024-02-28 10:15:01 +00:00
@ -103,1 +94,4 @@
FROM travel t
LEFT JOIN entry e ON e.travelFk = t.id
JOIN travelThermograph th ON th.travelFk = t.id
WHERE t.shipped < TIMESTAMPADD(MONTH, -3, util.VN_CURDATE()) AND e.travelFk IS NULL;
Member

formato fecha

formato fecha
guillermo marked this conversation as resolved
carlosap reviewed 2024-02-28 10:15:31 +00:00
@ -118,2 +112,2 @@
FROM vn.travel t
LEFT JOIN vn.entry e ON e.travelFk = t.id
FROM travel t
LEFT JOIN entry e ON e.travelFk = t.id
Member

indentació LEFT

indentació LEFT
guillermo marked this conversation as resolved
carlosap reviewed 2024-02-28 10:15:48 +00:00
@ -114,2 +108,2 @@
FROM tmp.thermographToDelete tmp
JOIN vn.travelThermograph th ON th.id = tmp.id;
FROM tThermographToDelete tmp
JOIN travelThermograph th ON th.id = tmp.id;
Member

indentació

indentació
guillermo marked this conversation as resolved
carlosap reviewed 2024-02-28 10:15:52 +00:00
@ -109,2 +103,2 @@
UPDATE tmp.thermographToDelete th
JOIN vn.dms d ON d.id = th.dmsFk
UPDATE tThermographToDelete th
JOIN dms d ON d.id = th.dmsFk
Member

indentació

indentació
guillermo marked this conversation as resolved
carlosap reviewed 2024-02-28 10:16:17 +00:00
@ -134,1 +124,4 @@
FROM entry e
LEFT JOIN buy b ON b.entryFk = e.id
JOIN entryConfig ec ON e.id <> ec.defaultEntry
WHERE e.dated < TIMESTAMPADD(MONTH, -3, util.VN_CURDATE()) AND b.entryFK IS NULL;
Member

formato fecha

formato fecha
guillermo marked this conversation as resolved
carlosap reviewed 2024-02-28 10:16:37 +00:00
@ -143,3 +135,3 @@
SELECT *
FROM vn.route r
FROM route r
WHERE created < TIMESTAMPADD(YEAR,-4,util.VN_CURDATE());
Member

formato fecha

formato fecha
guillermo marked this conversation as resolved
carlosap reviewed 2024-02-28 10:16:45 +00:00
@ -158,3 +149,3 @@
SELECT *
FROM vn.dua
FROM dua
WHERE operated < TIMESTAMPADD(YEAR,-2,CURDATE());
Member

formato fecha

formato fecha
guillermo marked this conversation as resolved
carlosap reviewed 2024-02-28 10:18:52 +00:00
@ -188,3 +177,2 @@
DELETE tt FROM ticketTracking tt JOIN vn.ticket t ON tt.ticketFk = t.id
WHERE t.shipped <= vDateShort;
-- Clean vn2008
Member

eliminar comentario

eliminar comentario
guillermo marked this conversation as resolved
guillermo added 1 commit 2024-02-29 06:31:17 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
7a43ccaa36
refactor: refs #6496 Requested changes
guillermo added 1 commit 2024-02-29 06:32:09 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
a2dc65cb31
Merge branch 'dev' into 6496-cleanVn2008
guillermo added 1 commit 2024-03-01 06:32:03 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
d0d2a16303
Merge branch 'dev' into 6496-cleanVn2008
guillermo added 1 commit 2024-03-04 06:07:55 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
b29a001c7f
Merge branch 'dev' into 6496-cleanVn2008
carlosap approved these changes 2024-03-04 10:21:49 +00:00
guillermo merged commit 0d2396a7db into dev 2024-03-04 10:58:07 +00:00
guillermo deleted branch 6496-cleanVn2008 2024-03-04 10:58:07 +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#2104
No description provided.