This commit is contained in:
parent
a82e4762d3
commit
9b8e2ed3cc
|
@ -585,12 +585,9 @@ class S:
|
|||
order_ids.append(order_id)
|
||||
# print(mid, zid, order_id)
|
||||
|
||||
for order_id in order_ids:
|
||||
sql = "select * from vas_order where id=%s" % order_id
|
||||
sql = "select * from vas_order where id in %s" % get_list_str_str(order_ids)
|
||||
docs = self.mysql_db_vas.query(sql)
|
||||
if len(docs) > 0:
|
||||
doc = docs[0]
|
||||
print(doc)
|
||||
print(len(docs))
|
||||
|
||||
|
||||
s = S()
|
||||
|
|
Loading…
Reference in New Issue