Skip to content

Commit

Permalink
feat: 增加交通标签
Browse files Browse the repository at this point in the history
  • Loading branch information
kian-zh committed Oct 20, 2023
1 parent 80ce1cc commit c81799c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions apps/school/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def get_school_list(request):
u.Universities_id, c.City_Name_CN, c.City_Name_EN, c.Country, c.Lat, c.Lon,
c.City_Name_Other, c.City_id, c.Country_EN, co.Country_Name_CN, co.Country_Name_EN,
co.Continent, co.Country_id, co.Continent_EN, p.Person_Name_CN, p.Person_Name_EN, p.URL,
p.Physical_Geography, p.Human_Geography, p.Urban_Planning, p.GIS, p.RS, p.GNSS, p.Research_Interests, p.people_id
p.Physical_Geography, p.Human_Geography, p.Urban_Planning, p.GIS, p.RS, p.GNSS, p.Transportation, p.Research_Interests, p.people_id
FROM new_Universities u
LEFT JOIN new_city c ON u.City = c.City_Name_EN
LEFT JOIN new_country co ON c.Country = co.Country_Name_CN
Expand Down Expand Up @@ -83,8 +83,9 @@ def get_school_list(request):
'P_GIS': row[33],
'P_RS': row[34],
'P_GNSS': row[35],
'P_Research_Interests': row[36],
'P_people_id': row[37]
'P_Transportation': row[36],
'P_Research_Interests': row[37],
'P_people_id': row[38]
})

return Response(data)

0 comments on commit c81799c

Please sign in to comment.