Commit 00fe79f9 authored by 任婷婷's avatar 任婷婷

.

parent bba179c6
import pymysql import pymysql
from tool import (get_jerry_test,get_user_portrait_log,user_portrait_action_statistic,write_user_portrait_action_divided) from tool import (get_jerry_test,get_user_portrait_log,user_portrait_action_statistic,write_user_portrait_action_divided)
import time
import gevent
# from gevent import monkey
def get_device_list(): def get_device_list():
sql = "select distinct cl_id from kafka_tag3_log where log_time > UNIX_TIMESTAMP(DATE_SUB(NOW(), INTERVAL 30 day))" sql = "select distinct cl_id from kafka_tag3_log where log_time > UNIX_TIMESTAMP(DATE_SUB(NOW(), INTERVAL 30 day))"
......
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