This commit is contained in:
seb
2026-09-22 08:31:01 +02:00
parent cca131d83a
commit dce65db435
11 changed files with 1453 additions and 30 deletions

View File

@@ -76,7 +76,8 @@ WHERE ean = @ean
/** Link an article to its father article and mark the father. */
export const UPDATE_FATHER_BY_SKU = `
UPDATE article
SET fatherarticle_id = @fatherArticleId
SET fatherarticle_id = @fatherArticleId,
fathersort = COALESCE(@fathersort, 0)
WHERE sku = @sku
`;