This commit is contained in:
lwl0608 2024-11-11 21:55:47 +08:00
parent 6f608d9e1e
commit e21670f05c
1 changed files with 9 additions and 3 deletions

View File

@ -580,11 +580,17 @@ class S:
if len(docs) > 0: if len(docs) > 0:
doc = docs[0] doc = docs[0]
order_id = safe_get_str(doc, "admission_order_id") order_id = safe_get_str(doc, "admission_order_id")
if len(order_id) <= 0:
continue
order_ids.append(order_id) order_ids.append(order_id)
print(mid, zid, order_id) # print(mid, zid, order_id)
# for order_id in order_ids: for order_id in order_ids:
# sql = "select * from vas_zone_unlock where id=%s" % order_ids sql = "select * from vas_zone_unlock where id=%s" % order_id
docs = self.mysql_db_vas.query(sql)
if len(docs) > 0:
doc = docs[0]
print(doc)
s = S() s = S()