From 2a322896ce74475bd3b696a74bc2d2f503832e1a Mon Sep 17 00:00:00 2001 From: root Date: Wed, 3 Jul 2024 16:55:27 +0800 Subject: [PATCH] =?UTF-8?q?add=20workflow=20=E5=A4=A9=E6=B6=A6Smart-ccc?= =?UTF-8?q?=E5=AE=A2=E6=88=B7=E6=95=B0=E6=8D=AE,dev?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../smart_ccc_custom/获取客户资料列表/customer_list_feign.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/workflow/TK_Cust/smart_ccc_custom/获取客户资料列表/customer_list_feign.py b/dev/workflow/TK_Cust/smart_ccc_custom/获取客户资料列表/customer_list_feign.py index 44fb6cb..ff4356a 100644 --- a/dev/workflow/TK_Cust/smart_ccc_custom/获取客户资料列表/customer_list_feign.py +++ b/dev/workflow/TK_Cust/smart_ccc_custom/获取客户资料列表/customer_list_feign.py @@ -159,7 +159,7 @@ def load_detail_data_to_db(ids, dataList): json_object = json.dumps(dataList) idstr = ','.join(ids) cur=conn.cursor() - sql="update data_api.cc_details_ids_exp set is_loaded = '1' where api_id = '010d4668242c4b96b4964693edcf5556' and id in (%s); INSERT INTO data_api.cc_customer_details (id,api_id,data,total_num,is_loaded,status,request_tm,execute_tm,remark) values (%s,%s,%s,%s,'0','0',current_timestamp(0),current_timestamp(0),'')" + sql="update data_api.cc_details_ids_exp set is_loaded = '1' where api_id = '010d4668242c4b96b4964693edcf5556' and id in (%s); update data_api.cc_customer_details set is_loaded = '1' where api_id = '010d4668242c4b96b4964693edcf5556'; INSERT INTO data_api.cc_customer_details (id,api_id,data,total_num,is_loaded,status,request_tm,execute_tm,remark) values (%s,%s,%s,%s,'0','0',current_timestamp(0),current_timestamp(0),'')" cur.execute(sql,[idstr,dataId,'010d4668242c4b96b4964693edcf5556', json_object, total]) conn.commit() cur.close()