Commit 7633b9d3 authored by lvshibao's avatar lvshibao

seat_check接口的修改

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