fix: <>ALL(%) parens + refresh_100_prefix add orderCount/goodsCount
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ class SyncDB:
|
||||
with conn.cursor() as cur:
|
||||
cur.execute(
|
||||
'SELECT DISTINCT "orderNo" FROM "Orders" WHERE "systemName"=%s '
|
||||
'AND ("systemStatus" IS NULL OR "systemStatus" <> ALL %s)',
|
||||
'AND ("systemStatus" IS NULL OR "systemStatus" <> ALL(%s))',
|
||||
(system_name, exclude_statuses),
|
||||
)
|
||||
rows = cur.fetchall()
|
||||
|
||||
Reference in New Issue
Block a user