bench
This commit is contained in:
@@ -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
|
||||
`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user