api重试间隔由0.1改为0.5
修改任务结束后向服务器发送的日期格式
This commit is contained in:
+5
-5
@@ -421,8 +421,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"ExecuteTime": {
|
||||
"end_time": "2026-01-06T08:49:37.955377100Z",
|
||||
"start_time": "2026-01-06T08:49:37.747330400Z"
|
||||
"end_time": "2026-02-04T06:48:00.613387900Z",
|
||||
"start_time": "2026-02-04T06:47:59.999330900Z"
|
||||
}
|
||||
},
|
||||
"cell_type": "code",
|
||||
@@ -436,7 +436,7 @@
|
||||
"BI_CONN_INFO_database = \"f6operation_data_relay\"\n",
|
||||
"BI_CONN_INFO_user = \"rw_operation_data_relay\"\n",
|
||||
"BI_CONN_INFO_password = \"m+q5Z4%IVuF9bf\"\n",
|
||||
"table_name = \"yida_process_time_statistics\" # 要操作的表名\n",
|
||||
"table_name = \"gp_monthly_renewal_rate_new\" # 要操作的表名\n",
|
||||
"# table_name = \"thailand_store_data_email\" # 要操作的表名\n",
|
||||
"min_id_to_delete = 127821 # 要删除的最小ID值\n",
|
||||
"\n",
|
||||
@@ -454,7 +454,7 @@
|
||||
"\n",
|
||||
" # 使用DELETE删除ID大于等于127821的数据\n",
|
||||
" # cursor.execute(f\"DELETE FROM {table_name} WHERE id >= {min_id_to_delete}\")\n",
|
||||
" cursor.execute(f\"DELETE FROM GP_annual_renewal_rate_new WHERE 月分区(仅用于存储每月最后一天截至数据) = '202512';\")\n",
|
||||
" cursor.execute(f\"DELETE FROM GP_monthly_renewal_rate_new WHERE 月分区(仅用于存储每月最后一天截至数据) = '202601';\")\n",
|
||||
"\n",
|
||||
" connection.commit()\n",
|
||||
"\n",
|
||||
@@ -478,7 +478,7 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"execution_count": 7
|
||||
"execution_count": 4
|
||||
},
|
||||
{
|
||||
"metadata": {},
|
||||
|
||||
Reference in New Issue
Block a user