diff --git a/dags/office/sell/base_price.py b/dags/office/sell/base_price.py index f61f8ae..e8efacc 100644 --- a/dags/office/sell/base_price.py +++ b/dags/office/sell/base_price.py @@ -35,7 +35,7 @@ def calc(**kwargs): district = conf.get('district', '') office_name = conf.get('name', '') - if pd.isna(office_name): + if pd.isna(office_name) or office_name == "": calcByCity(city, year_month) else: # 直接重算出最近一年的数据,保证一年有数据