Commit 0478e6ba authored by sanlu's avatar sanlu

little problem

parent fe6dac33
......@@ -258,7 +258,7 @@ def param_extract_function(data_table,channel):
update_sku_list = set(list(product_table['SKU']))
channel_sql = sql_find(database=f'ZH_{channel}')
for sku in update_sku_list:
channel_sql.cursor.execute(f"update product_all set state='9' where sku={sku}")
channel_sql.cursor.execute(f"update product_all set state='9' where sku='{sku}'")
return update_table_df
def return_error(table):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment