Commit a7a66e48 authored by lvshibao's avatar lvshibao

seat_check接口的修改

parent 2caef657
......@@ -130,7 +130,7 @@ def db_seat_check(req, if_page=False):
city = Country.objects.filter(id=city_id).first()
if city.parent is not None:
task_condition['name__startswith'] = city.name
print(task_condition)
tasks = Tasks.objects.filter(**task_condition).values('id', 'name', 'sessionCollectionId')
task_dict = {}
task_name_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