From 338870334c229f11be5bb18cea53318796d3ce10 Mon Sep 17 00:00:00 2001 From: wangwenyan Date: Mon, 9 Jun 2025 11:15:54 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A5=BC=E7=9B=98?= =?UTF-8?q?=E8=AF=84=E7=BA=A7=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dags/stat/dag_community_rating.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dags/stat/dag_community_rating.py b/dags/stat/dag_community_rating.py index d81b1cb..7f71f49 100644 --- a/dags/stat/dag_community_rating.py +++ b/dags/stat/dag_community_rating.py @@ -6,7 +6,7 @@ with DAG( dag_id="community_rating_dag", # 每月的最后一天运行 schedule_interval="0 20 * * 6", - start_date=pendulum.datetime(2025, 6, 12, tz="Asia/Shanghai"), + start_date=pendulum.datetime(2025, 6, 9, tz="Asia/Shanghai"), description="小区楼盘评级计算", catchup=True ) as dag: From 2ddec57ba3d2c5f0f63950a3a687167c3d40d4f9 Mon Sep 17 00:00:00 2001 From: wangwenyan Date: Mon, 9 Jun 2025 11:23:12 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9city=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dags/stat/dag_community_rating.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dags/stat/dag_community_rating.py b/dags/stat/dag_community_rating.py index 7f71f49..a946f53 100644 --- a/dags/stat/dag_community_rating.py +++ b/dags/stat/dag_community_rating.py @@ -12,6 +12,6 @@ with DAG( ) as dag: t1 = BashOperator( task_id='community_rating', - bash_command='python /opt/airflow/dags/repo/dags/stat/community/community_rate.py --param1 "{{ dag_run.conf.get("city", "all")}}"' + bash_command='python /opt/airflow/dags/repo/dags/stat/community/community_rate.py --city "{{ dag_run.conf.get("city", "all")}}"' ) t1 \ No newline at end of file