From c81799c73cd075bcdf7acaac8e6b48bbefa385c0 Mon Sep 17 00:00:00 2001 From: kian Date: Sat, 21 Oct 2023 00:56:22 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E4=BA=A4=E9=80=9A?= =?UTF-8?q?=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/school/views.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/school/views.py b/apps/school/views.py index 13fc658..bb1f3ff 100644 --- a/apps/school/views.py +++ b/apps/school/views.py @@ -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 @@ -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) \ No newline at end of file