diff --git a/dags/office/rent/base_price.py b/dags/office/rent/base_price.py index 7751c35..4527f7d 100644 --- a/dags/office/rent/base_price.py +++ b/dags/office/rent/base_price.py @@ -39,6 +39,7 @@ def calc(city, year_month): sql += "and p_date >= '" + last_year_month + "01' " date = dateutils.add_months(datetime.today(), months=-1) year_month = int(dateutils.format_date(date, '%Y%m')) + print("开始计算年" + year_month + "写字楼基准价") sample = es.scan_by_sql_to_data_frame(sql) query = {'cat': 'office', 'status': 0}