Merge remote-tracking branch 'origin/master'

This commit is contained in:
M_Kececi
2026-06-18 16:15:17 +03:00
parent d1f1e5a4f4
commit 9f4ed539ff
3 changed files with 20 additions and 24 deletions

View File

@@ -264,8 +264,8 @@ norm AS (
norm.product_code AS product_code,
md.val1::bigint AS dim1,
CASE
WHEN md.val2 IS NULL OR md.val2 = 0 THEN NULL
ELSE md.val2::bigint
WHEN md.val3 IS NULL OR md.val3 = 0 THEN NULL
ELSE md.val3::bigint
END AS dim3
FROM norm
JOIN mmitem mm