Commit f5edd926 authored by 高雅喆's avatar 高雅喆

test

parent cf544280
......@@ -135,7 +135,7 @@ if __name__ == '__main__':
# 获取最近30天内的用户设备id
sql_device_ids = "select distinct cl_id from user_new_tag_log " \
"where time > UNIX_TIMESTAMP(DATE_SUB(NOW(), INTERVAL 30 day))"
"where time > UNIX_TIMESTAMP(DATE_SUB(NOW(), INTERVAL 5 day))"
cur_jerry_test.execute(sql_device_ids)
device_ids_lst = [i[0] for i in cur_jerry_test.fetchall()]
db_jerry_test.close()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment