From ec0945008bbc1f665700c57bc95cc151329d3657 Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Mon, 5 Feb 2024 01:07:00 +0800 Subject: [PATCH] fix --- vas/calc_coins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vas/calc_coins.py b/vas/calc_coins.py index 36b7ff4..602fefd 100644 --- a/vas/calc_coins.py +++ b/vas/calc_coins.py @@ -8,7 +8,7 @@ mysql_db_vas = Mysql( mid_charge_map = dict() mid_charge_list = mysql_db_vas.query(''' select mid, sum(coins) total_coins from vas_order -where order_status>0 +where order_status>0 and product_id in ('h5_custom_coin', 'h5_coin_500', 'h5_coin_1000', 'h5_coin_3000', 'h5_coin_5000', 'h5_coin_8000', 'h5_coin_10000', 'h5_coin_15000', 'h5_coin_18000', 'h5_coin_20000') group by mid ''') for item in mid_charge_list: