Commit a3879b28 authored by rico.liu's avatar rico.liu

update

parent 2aa90227
......@@ -771,6 +771,10 @@ def product_named(batch,channel_alias,std_value_dict):
id_ = int(row['id'])
skuname = ''
brandname = row['zi_brandname']
brand_code = row['zi_brandcode']
cursor_zi_new.execute(f"select pid from p_brand where id = {brand_code}")
father_brand_code = cursor_zi_new.fetchone()[0]
for element in named_rule.split(" "):
......
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