From 22c1435e2ba7454c417d953c3f609e7a09c6b0b2 Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Tue, 3 Sep 2024 22:49:05 +0800 Subject: [PATCH] fix --- vas/calc_third_partner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vas/calc_third_partner.py b/vas/calc_third_partner.py index fadb89e..51f995c 100644 --- a/vas/calc_third_partner.py +++ b/vas/calc_third_partner.py @@ -46,7 +46,7 @@ class S: # 获取zid解锁空间 def get_zone_admission_cnt(self, zids, st, et): sql = ''' - select zid, count(1) as admission_cnt from vas_zone_member where zid in and member_type=1 (%s) and ct>=%d and ct<%d group by zid + select zid, count(1) as admission_cnt from vas_zone_member where zid in (%s) and member_type=1 and ct>=%d and ct<%d group by zid ''' % (get_list_str(zids), st, et) print(sql) rows = self.mysql_db_vas.query(sql)