fix bug
This commit is contained in:
@@ -129,7 +129,7 @@ def calcByCity(city, year_month):
|
||||
写字楼基准价
|
||||
"""
|
||||
sql = "select * from latest_seawater where cat='office_sell' "
|
||||
if pd.notna(city):
|
||||
if pd.notna(city) and city != "":
|
||||
sql += "and city='" + city + "' "
|
||||
if pd.notna(year_month):
|
||||
last_year_month = dateutils.format_date(
|
||||
|
||||
Reference in New Issue
Block a user