fix: <>ALL(%) parens + refresh_100_prefix add orderCount/goodsCount

This commit is contained in:
yeuimu
2026-07-23 08:46:22 +00:00
parent 53ff943ac3
commit 367168bcdc
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -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()