需求背景:目前映射分类不准确,需要研究一下全球同步的listing的分类映射是否准确,能否用于匹配
需求实现:
1.筛选美国站的渠道SKU,且存在相同渠道SKU非美国站的数据,查询参考:
SELECT OrderSourceSKU,COUNT(OrderSourceCountry) from aml_amazon_product_base WHERE IsDelete=0 and IsOffShelf=0 and IsFBA=0
and OrderSourceSKU in (SELECT OrderSourceSKU from aml_amazon_product_base WHERE IsDelete=0 and IsOffShelf=0 and IsFBA=0 and OrderSourceCountry='US')
2
2.分别取美国站的listing和其他站点的listing,通过下载资料获取分类ID,保存记录,字段包括:渠道SKU,美国站类目ID(末节点ID),美国站类目名称(从共享库映射,取该站点有效的第一个), 映射站点,映射站点类目ID,映射站点类目名称

