重现步骤

速卖通历史未采集的类目有12W+,需要检查原因

目前发现的情况

(1)组合子SKU有类目,组合产品无类目

组合产品的类目继承与组合子SKU,无需采集,目前无类目的有7W+数据

例如组合SKU:2522592  子SKU:1276809 有类目:200075142,但组合产品没有


注意:如果组合产品的组装子SKU,是一个多变体其中的一个子体,那组合产品会继承子SKU主变体层级上的类目

但目前发现,数据也是有异常

例如

组合SKU:12835562 子SKU :5220941(是一个多变体,类目关系,绑定在SKU:5188510,需要继承该类目),但目前也是存在缺失


(2)非组合产品 也无类目


该问题发现在采集队列中,没有SKU的采集任务,需要检查是否是未添加进入采集队列

例如系统SKU:

13971825

13972007


(3)非组合产品,且采集队列采集成功了,但没有采集类目结果

例如系统SKU:13997776



以上问题,需要检查原因,并修复未采集的数据

历史记录  
  1. 2022-05-20 14:22:12, 由 刘瀚泽 创建。
  2. 2022-05-20 14:28:22, 由 wangjiaqiong 编辑。
    修改了 影响环境,旧值为 "trunk",新值为 "598"。
  3. 2022-05-20 14:28:33, 由 wangjiaqiong 指派给 胡笑锋。
    修改了 指派给,旧值为 "wangjiaqiong",新值为 "huxiaofeng"。
  4. 2022-05-20 19:30:36, 由 胡笑锋 指派给 longyuanhang。
    修改了 指派给,旧值为 "huxiaofeng",新值为 "longyuanhang"。
  5. 2022-05-24 13:53:11, 由 longyuanhang 解决,方案为 非BUG-纯属误判 。
    修改了 解决方案,旧值为 "",新值为 "feiBUG"。
    修改了 解决版本,旧值为 "",新值为 "trunk"。
    修改了 解决日期,旧值为 "",新值为 "2022-05-24 13:52:53"。
    修改了 指派给 ,旧值为 "longyuanhang",新值为 "liuhanze"。
    修改了 Bug状态 ,旧值为 "active",新值为 "resolved"。
    修改了 是否确认,旧值为 "0",新值为 "1"。
    修改了 解决者 ,旧值为 "",新值为 "longyuanhang"。
    组合分类服务没开启,有清理服务清理分类
  6. 2022-05-24 23:20:31, 由 刘瀚泽 激活。
    修改了 指派给 ,旧值为 "liuhanze",新值为 "longyuanhang"。
    修改了 Bug状态 ,旧值为 "resolved",新值为 "active"。
    修改了 激活日期,旧值为 "",新值为 "2022-05-24 23:20:31"。
    修改了 激活次数,旧值为 "0",新值为 "1"。
    修改了 解决方案,旧值为 "feiBUG",新值为 ""。
    修改了 解决日期,旧值为 "2022-05-24 13:52:53",新值为 "0000-00-00"。
    修改了 解决者 ,旧值为 "longyuanhang",新值为 ""。
    修改了 解决版本,旧值为 "trunk",新值为 ""。
    修改了 关闭日期,旧值为 "",新值为 "0000-00-00"。

    需要确认

    (1)组合产品的服务开启后,历史的组合产品是否已经绑定好数据,目前看还有6W+的组合产品没有类目

    需要确认修复好历史数据

    (2)非组合产品,查询页面,也还有4W多没有类目,不会全部无效,需要再确认下问题


  7. 2022-05-27 14:35:41, 由 longyuanhang 解决,方案为 系统设计缺陷 。
    修改了 解决方案,旧值为 "",新值为 "bydesign"。
    修改了 解决版本,旧值为 "",新值为 "trunk"。
    修改了 解决日期,旧值为 "",新值为 "2022-05-27 14:01:01"。
    修改了 指派给 ,旧值为 "longyuanhang",新值为 "liuhanze"。
    修改了 Bug状态 ,旧值为 "active",新值为 "resolved"。
    修改了 解决者 ,旧值为 "",新值为 "longyuanhang"。
    SELECT COUNT(1) from p_market_product p 
    where p.CustomerId=1 and p.MarketId=57 and p.SiteCode='RU' and (CategoryId='' or CategoryId is null); -- 无分类 129631

    SELECT COUNT(1) from p_market_product p 
    left join p_market_product_category_collection c on c.CustomerId=p.CustomerId and c.MarketId=p.MarketId and c.SiteCode=p.SiteCode and c.Sku=p.Sku
    where p.CustomerId=1 and p.MarketId=57 and p.SiteCode='RU' and (CategoryId='' or CategoryId is null) and c.CustomerId=1; -- 有进入采集队列 52612

    SELECT COUNT(1) from p_market_product p 
    left join p_market_product_category_collection c on c.CustomerId=p.CustomerId and c.MarketId=p.MarketId and c.SiteCode=p.SiteCode and c.Sku=p.Sku
    where p.CustomerId=1 and p.MarketId=57 and p.SiteCode='RU' and (CategoryId='' or CategoryId is null) and c.`Status`=2; -- 有进入采集队列并成功 17614

    SELECT COUNT(1) from p_market_product p 
    left join p_market_product_category_collection c on c.CustomerId=p.CustomerId and c.MarketId=p.MarketId and c.SiteCode=p.SiteCode and c.Sku=p.Sku
    where p.CustomerId=1 and p.MarketId=57 and p.SiteCode='RU' and (CategoryId='' or CategoryId is null) and c.`Status`=3; -- 有进入采集队列并失败 34080


    SELECT COUNT(1) from p_market_product p 
    where p.CustomerId=1 and p.MarketId=57 and p.SiteCode='RU' and (CategoryId='' or CategoryId is null)  and (
    SELECT COUNT(1) from p_product_groupsku g WHERE g.CustomerId=p.CustomerId and g.GroupSku=p.Sku )>0; -- 组合无分类组合 65548

    SELECT COUNT(1) from p_market_product p 
    left join p_market_product_category_collection c on c.CustomerId=p.CustomerId and c.MarketId=p.MarketId and c.SiteCode=p.SiteCode and c.Sku=p.Sku
    where p.CustomerId=1 and p.MarketId=57 and p.SiteCode='RU' and (CategoryId='' or CategoryId is null) and c.CustomerId=1 and (
    SELECT COUNT(1) from p_product_groupsku g WHERE g.CustomerId=p.CustomerId and g.GroupSku=p.Sku )>0; -- 组合有进入采集队列 26339

    SELECT COUNT(1) from p_market_product p 
    left join p_market_product_category_collection c on c.CustomerId=p.CustomerId and c.MarketId=p.MarketId and c.SiteCode=p.SiteCode and c.Sku=p.Sku
    where p.CustomerId=1 and p.MarketId=57 and p.SiteCode='RU' and (CategoryId='' or CategoryId is null) and c.`Status`=2 and (
    SELECT COUNT(1) from p_product_groupsku g WHERE g.CustomerId=p.CustomerId and g.GroupSku=p.Sku )>0; -- 组合有进入采集队列并成功 4961

    SELECT COUNT(1) from p_market_product p 
    left join p_market_product_category_collection c on c.CustomerId=p.CustomerId and c.MarketId=p.MarketId and c.SiteCode=p.SiteCode and c.Sku=p.Sku
    where p.CustomerId=1 and p.MarketId=57 and p.SiteCode='RU' and (CategoryId='' or CategoryId is null) and c.`Status`=3 and (
    SELECT COUNT(1) from p_product_groupsku g WHERE g.CustomerId=p.CustomerId and g.GroupSku=p.Sku )>0; -- 组合有进入采集队列并失败 21311

    SELECT COUNT(1) from p_market_product p 
    where p.CustomerId=1 and p.MarketId=57 and p.SiteCode='RU' and (CategoryId='' or CategoryId is null)  and (
    SELECT COUNT(1) from p_product_groupsku g WHERE g.CustomerId=p.CustomerId and g.GroupSku=p.Sku )=0; -- 非组合无分类组合 64085

    SELECT COUNT(1) from p_market_product p 
    left join p_market_product_category_collection c on c.CustomerId=p.CustomerId and c.MarketId=p.MarketId and c.SiteCode=p.SiteCode and c.Sku=p.Sku
    where p.CustomerId=1 and p.MarketId=57 and p.SiteCode='RU' and (CategoryId='' or CategoryId is null) and c.CustomerId=1 and (
    SELECT COUNT(1) from p_product_groupsku g WHERE g.CustomerId=p.CustomerId and g.GroupSku=p.Sku )=0; -- 非组合有进入采集队列 26275

    SELECT COUNT(1) from p_market_product p 
    left join p_market_product_category_collection c on c.CustomerId=p.CustomerId and c.MarketId=p.MarketId and c.SiteCode=p.SiteCode and c.Sku=p.Sku
    where p.CustomerId=1 and p.MarketId=57 and p.SiteCode='RU' and (CategoryId='' or CategoryId is null) and c.`Status`=2 and (
    SELECT COUNT(1) from p_product_groupsku g WHERE g.CustomerId=p.CustomerId and g.GroupSku=p.Sku )=0; -- 非组合有进入采集队列并成功 12655

    SELECT COUNT(1) from p_market_product p 
    left join p_market_product_category_collection c on c.CustomerId=p.CustomerId and c.MarketId=p.MarketId and c.SiteCode=p.SiteCode and c.Sku=p.Sku
    where p.CustomerId=1 and p.MarketId=57 and p.SiteCode='RU' and (CategoryId='' or CategoryId is null) and c.`Status`=3 and (
    SELECT COUNT(1) from p_product_groupsku g WHERE g.CustomerId=p.CustomerId and g.GroupSku=p.Sku )=0; -- 非组合有进入采集队列并失败 12769


    大量(7W)速卖通的数据没有进采集队列,同步服务架构不完善

  8. 2022-05-30 10:22:15, 由 刘瀚泽 指派给 longyuanhang。
    修改了 指派给,旧值为 "liuhanze",新值为 "longyuanhang"。

    将失败数据,插入导 P_Product_Recheck这张表让它重新同步

    并请截图告知一下处理状态

  9. 2022-05-31 10:04:04, 由 longyuanhang 指派给 胡笑锋。
    修改了 指派给,旧值为 "longyuanhang",新值为 "huxiaofeng"。

    数据已经添加了,主干服务需要配置

  10. 2022-05-31 10:09:40, 由 胡笑锋 关闭。
    修改了 Bug状态 ,旧值为 "resolved",新值为 "closed"。
    修改了 指派给 ,旧值为 "huxiaofeng",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "huxiaofeng"。
    修改了 关闭日期,旧值为 "",新值为 "2022-05-31 10:09:40"。
  11. 2023-11-17 09:52:21, 由 刘超 编辑。
    修改了 所属模块,旧值为 "1659",新值为 "1877"。
所属项目 技术中心-需求池
所属模块 多平台   java智能刊登
所属计划
所属迭代
Bug类型
严重程度 提示
优先级 P2
Bug状态 已关闭
业务部门
影响功能
开发责任人 胡笑锋
测试责任人
解决时效 0
激活次数 1
激活日期 2022-05-24 23:20:31
是否确认 是
当前指派 Closed 于 2022-05-31 10:09:40
截止日期 0000-00-00
上线时间
上线时效
操作系统
浏览器
关键词
抄送给
所属迭代
相关需求
相关任务
由谁创建 刘瀚泽 于 2022-05-20 14:22:12
影响环境 598
由谁解决 longyuanhang 于 2022-05-27 14:01:01
解决版本 主干
解决方案 系统设计缺陷
由谁关闭 胡笑锋 于 2022-05-31 10:09:40
最后修改 刘超 于 2023-11-17 09:52:09
相关Bug