Commit 511c5175 authored by litaolemo's avatar litaolemo

update

parent 68d9ac8d
...@@ -274,7 +274,7 @@ WHERE dev.device_id is null and t2.device_id is not null ...@@ -274,7 +274,7 @@ WHERE dev.device_id is null and t2.device_id is not null
# print(count, res) # print(count, res)
temp_count = 0 temp_count = 0
try: try:
for event_cn,projects in get_user_event_from_mysql(res.device_id,today_timestamp): for event_cn,projects in get_user_event_from_mysql(res.cl_id,today_timestamp):
project_list = projects.split(",") project_list = projects.split(",")
for project in project_list: for project in project_list:
if project not in event_dict: if project not in event_dict:
...@@ -297,7 +297,7 @@ WHERE dev.device_id is null and t2.device_id is not null ...@@ -297,7 +297,7 @@ WHERE dev.device_id is null and t2.device_id is not null
temp_count += 1 temp_count += 1
if not temp_count: if not temp_count:
count_not_has_portratit += 1 count_not_has_portratit += 1
no_portrait_device_id_list.append(res.device_id) no_portrait_device_id_list.append(res.cl_id)
# print(portrait_dict) # print(portrait_dict)
# print(count_user_count + 1, count_not_has_portratit) # print(count_user_count + 1, count_not_has_portratit)
......
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