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()