Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -34,7 +34,7 @@ func buildPiyasaExistsForCariCode(ctx context.Context, cariCodeExpr string) (str
|
||||
return fmt.Sprintf(`
|
||||
EXISTS (
|
||||
SELECT 1
|
||||
FROM CustomerAttributesFilter PF WITH(NOLOCK)
|
||||
FROM CustomerAttributesFilter PF
|
||||
WHERE (PF.CurrAccCode = %s OR LEFT(PF.CurrAccCode, 8) = LEFT(%s, 8))
|
||||
AND %s
|
||||
)`, cariCodeExpr, cariCodeExpr, inClause), nil
|
||||
|
||||
Reference in New Issue
Block a user