Merge remote-tracking branch 'origin/master'

This commit is contained in:
M_Kececi
2026-04-14 17:53:58 +03:00
parent 9ee70eb05a
commit 352a7e26ea

View File

@@ -967,13 +967,14 @@ FROM missing m
CROSS JOIN (
SELECT ISNULL(MAX(
CASE
WHEN ISNUMERIC(Barcode)=1
THEN CAST(Barcode AS BIGINT)
ELSE NULL
END
),0) MaxBarcode
FROM dbo.prItemBarcode
CASE
WHEN ISNUMERIC(Barcode)=1
THEN CAST(Barcode AS BIGINT)
ELSE NULL
END
),0) AS MaxBarcode
FROM dbo.prItemBarcode
) seed
`, strings.Join(values, ","), orderHeaderParam, usernameParam, usernameParam)
chunkStart := time.Now()