Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -47,3 +47,13 @@ ORDER BY
|
||||
CASE WHEN a.AttributeCode IN ('-', '.') THEN 0 ELSE 1 END,
|
||||
a.AttributeCode;
|
||||
`
|
||||
|
||||
const GetProductItemAttributes = `
|
||||
SELECT
|
||||
a.ItemTypeCode,
|
||||
a.AttributeTypeCode,
|
||||
ISNULL(a.AttributeCode, '') AS AttributeCode
|
||||
FROM dbo.prItemAttribute AS a WITH(NOLOCK)
|
||||
WHERE a.ItemTypeCode = @p1
|
||||
AND ISNULL(LTRIM(RTRIM(a.ItemCode)), '') = ISNULL(LTRIM(RTRIM(@p2)), '')
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user