From 600bcaccbdfbc43e074f0158804f5d80f121f5a6 Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Mon, 11 Nov 2024 21:59:20 +0800 Subject: [PATCH] g --- vas/check_refund.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/vas/check_refund.py b/vas/check_refund.py index 9e832e7..583c624 100644 --- a/vas/check_refund.py +++ b/vas/check_refund.py @@ -584,11 +584,12 @@ class S: continue order_ids.append(order_id) # print(mid, zid, order_id) + print(len(order_ids)) - sql = "select * from vas_order where id in %s" % get_list_str_str(order_ids) - print(sql) - # docs = self.mysql_db_vas.query(sql) - # print(len(docs)) + sql = "select * from vas_order where id in (%s)" % get_list_str_str(order_ids) + # print(sql) + docs = self.mysql_db_vas.query(sql) + print(len(docs)) s = S()