1、累计用户添加ad_channel为空的数据 2、新增用户统计脚本
This commit is contained in:
parent
69b533305b
commit
634d3654da
@ -42,7 +42,7 @@ class InitFirstAD():
|
||||
temp = {}
|
||||
temp['gameid'] = self.gameid
|
||||
temp['channelid'] = self.channelid
|
||||
temp['accountid'], temp['register_time'] = line
|
||||
temp['accountid'], temp['register_time'], temp['ad_channel'] = line
|
||||
self.mysql.insert(table_name, temp)
|
||||
except Exception:
|
||||
log.error(f"insert {line} to mysql Failed !", exc_info=True)
|
||||
@ -62,7 +62,8 @@ class InitFirstAD():
|
||||
rdata = []
|
||||
sql = f"""SELECT
|
||||
"#account_id",
|
||||
account_register_time
|
||||
account_register_time,
|
||||
first_ad_channel
|
||||
FROM
|
||||
v_user_{self.suffix}
|
||||
where
|
||||
|
Loading…
x
Reference in New Issue
Block a user