Commit 00526099 by wujicang

Update self_asin_redis.py

parent c2ddc27d
......@@ -167,6 +167,7 @@ def export():
buy_sales,
img_num,
date_format(updated_at, '%Y-%m-%d %H:%m:%S') updated_at,
date_format(online_time, '%Y-%m-%d %H:%m:%S') online_time,
coalesce(if(returns = 'Customers usually keep this item', 1, 0), 0) as is_high_return_rate
from {site_name}_self_asin_detail
where updated_at >= '{last_day}'
......@@ -225,7 +226,7 @@ def na_fill(asin_df):
"other_seller_name": "",
"buy_sales": "",
"img_num": 0,
"online_time": '',
"online_time": "",
"is_high_return_rate": 0
})
pass
......
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