视图过滤

This commit is contained in:
wuaho 2021-08-18 15:06:16 +08:00
parent 28a1b31523
commit ba3b1b0370

View File

@ -35,7 +35,7 @@ select *
from {db}.event from {db}.event
where lower(`#os`) != 'windows' where lower(`#os`) != 'windows'
and svrindex in {serverid} and svrindex in {serverid}
and not startsWith(`orderid`,'debugPay') and (orderid is null or not startsWith(orderid,'debugPay'))
""" """
res2 = client.execute(sql) res2 = client.execute(sql)
with open(svrid_file, 'w') as f: with open(svrid_file, 'w') as f: