This commit is contained in:
lwl0608 2024-09-03 22:48:12 +08:00
parent 94315cdd37
commit 953fb1e26f
1 changed files with 1 additions and 1 deletions

View File

@ -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 (%s) and ct>=%d and ct<%d
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
''' % (get_list_str(zids), st, et)
print(sql)
rows = self.mysql_db_vas.query(sql)