Commit 91eeb493 authored by litaolemo's avatar litaolemo

update

parent bbddffd9
...@@ -194,8 +194,10 @@ on t1.device_id = t2.cl_id""".format(partition_date=yesterday_str) ...@@ -194,8 +194,10 @@ on t1.device_id = t2.cl_id""".format(partition_date=yesterday_str)
print("-------------------------------") print("-------------------------------")
for count, res in enumerate(sql_res): for count, res in enumerate(sql_res):
print(count, res) # print(count, res)
track = res.track track = res.track
if not track:
continue
track_list = track.split(",") track_list = track.split(",")
for one_key_word in track_list: for one_key_word in track_list:
if one_key_word in res_dict: if one_key_word in res_dict:
......
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