This commit is contained in:
lwl0608 2024-08-01 21:02:13 +08:00
parent 728360a3cc
commit abadc72fe2
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class S:
if len(rows) > 0:
flow = safe_get_int(rows[0], "flow")
sql_except = '''select sum(pay_amount) flow from vas_order where ct>={} and ct<{} and order_status in (1,2) product_id in ('outer_raven');'''.format(st, et)
sql_except = '''select sum(pay_amount) flow from vas_order where ct>={} and ct<{} and order_status in (1,2) and product_id in ('outer_raven');'''.format(st, et)
rows_except = self.mysql_db_vas.query(sql_except)
flow_except = 0
if len(rows_except) > 0: