Commit 2caef657 authored by lvshibao's avatar lvshibao

seat_check接口的修改

parent 03a9d820
......@@ -159,7 +159,8 @@ def db_seat_check(req, if_page=False):
tn = CheckSession.set_table(table_name)
session_condition = {'taskId__in': v}
if len(agent_names) > 0:
session_condition['agentName__in'] = seat_code_name_dict.keys()
session_condition['agentName__in'] = list(seat_code_name_dict.keys())
print(session_condition)
all_checks = tn.objects.filter(**session_condition).values('id', 'createdAt', 'agentName', 'extra', 'taskId',
'remainTime', 'startTime', 'closeTime',
'scoreItemRecord', 'sessionId')
......
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