重现步骤

[步骤]

SELECT
  'allegro',
  a.SiteCode,
  a.FailureReason,
  COUNT( 1 ) AS '失败次数统计' 
FROM
  ap_autopublish_allegro_queue a
WHERE
  a.CustomerId = 1 
  and a.MarketId=67
  AND `Status` = 'failure' 
  AND a.Time >= '2022-08-16 00:00:00'
GROUP BY
  a.SiteCode,
  a.FailureReason 
  ORDER BY COUNT(1) DESC  

例如:针对原因:ProductValidationException;productSet[0].product;Unable to create product without proper values in all required parameters: [Brand]

ERP查询结果21条:

接口请求结果也是21条:

智能刊登平台数据库只有18条,说明我们的数据库数据同步存在问题

历史记录  
  1. 2022-08-17 11:00:59, 由 闫峰 创建。
  2. 2022-08-17 11:23:22, 由 闫峰 编辑。
    修改了 重现步骤,区别为:
    002- SELECT 'allegro', a.SiteCode, a.FailureReason, COUNT( 1 ) AS '失败次数统计'FROM ap_autopublish_allegro_queue aWHERE a.CustomerId = 1 and a.MarketId=67 AND `Status` = 'failure' AND a.Time >= '2022-08-16 00:00:00'GROUP BY a.SiteCode, a.FailureReason ORDER BY COUNT(1) DESC例如:
    002+ SELECT 'allegro', a.SiteCode, a.FailureReason, COUNT( 1 ) AS '失败次数统计'FROM ap_autopublish_allegro_queue aWHERE a.CustomerId = 1 and a.MarketId=67 AND `Status` = 'failure' AND a.Time >= '2022-08-16 00:00:00'GROUP BY a.SiteCode, a.FailureReason ORDER BY COUNT(1) DESC例如:针对原因:ProductValidationException;productSet[0].product;Unable to create product without proper values in all required parameters: [Brand]
    002- <span> </span>SELECT<br /> 'allegro',<br /> a.SiteCode,<br /> a.FailureReason,<br /> COUNT( 1 ) AS '失败次数统计'<br />FROM<br /> ap_autopublish_allegro_queue a<br />WHERE<br /> a.CustomerId = 1<br /> and a.MarketId=67<br /> AND `Status` = 'failure'<br /> AND a.Time &gt;= '2022-08-16 00:00:00'<br />GROUP BY<br /> a.SiteCode,<br /> a.FailureReason<br /> ORDER BY COUNT(1) DESC<br /><img src="{210973.png}" alt="" /><br /><p>例如:</p>
    002+ <span> </span>SELECT<br /> 'allegro',<br /> a.SiteCode,<br /> a.FailureReason,<br /> COUNT( 1 ) AS '失败次数统计'<br />FROM<br /> ap_autopublish_allegro_queue a<br />WHERE<br /> a.CustomerId = 1<br /> and a.MarketId=67<br /> AND `Status` = 'failure'<br /> AND a.Time &gt;= '2022-08-16 00:00:00'<br />GROUP BY<br /> a.SiteCode,<br /> a.FailureReason<br /> ORDER BY COUNT(1) DESC<br /><img src="{210973.png}" alt="" /><br /><p>例如:针对原因:ProductValidationException;productSet[0].product;Unable to create product without proper values in all required parameters: [Brand]</p>
  3. 2022-08-17 13:47:07, 由 闫峰 编辑。
    修改了 Bug标题,区别为:
    001- 【生产环境-kogan】自动刊登队列失败数目很高,建议针对失败原因进行分析修复
    001+ 【生产环境-allegro】自动刊登队列失败数目很高,建议针对失败原因进行分析修复
    001- 【生产环境-kogan】自动刊登队列失败数目很高,建议针对失败原因进行分析修复
    001+ 【生产环境-allegro】自动刊登队列失败数目很高,建议针对失败原因进行分析修复
  4. 2022-08-17 14:03:02, 由 shilin 指派给 闫峰。
    修改了 指派给,旧值为 "shilin",新值为 "yanfeng"。
  5. 2022-08-22 09:29:50, 由 闫峰 添加备注。
    还是存在很多同样的问题
  6. 2022-08-22 09:48:20, 由 刘瀚泽 编辑。
    修改了 所属计划,旧值为 "0",新值为 "618"。
    修改了 关键词 ,旧值为 "",新值为 "系统优化专项跟踪"。
  7. 2022-08-22 16:50:13, 由 刘瀚泽 指派给 韦思成。
    修改了 指派给,旧值为 "yanfeng",新值为 "weisicheng"。
  8. 2022-08-22 16:50:38, 由 刘瀚泽 编辑。
    修改了 优先级,旧值为 "3",新值为 "1"。
  9. 2022-08-23 00:15:07, 由 韦思成 指派给 姚杰远。
    修改了 指派给,旧值为 "weisicheng",新值为 "yaojieyuan"。
    这个是allegro类目属性同步问题,如描述中 类别ID 259810
  10. 2022-08-23 17:53:13, 由 姚杰远 添加备注。
    今天无时间处理,明天再处理
  11. 2022-08-24 15:20:13, 由 姚杰远 解决,方案为 第三方原因(外部系统) 。
    修改了 解决方案,旧值为 "",新值为 "external"。
    修改了 解决版本,旧值为 "",新值为 "trunk"。
    修改了 解决日期,旧值为 "",新值为 "2022-08-24 15:15:03"。
    修改了 指派给 ,旧值为 "yaojieyuan",新值为 "yanfeng"。
    修改了 Bug状态 ,旧值为 "active",新值为 "resolved"。
    修改了 是否确认,旧值为 "0",新值为 "1"。
    修改了 解决者 ,旧值为 "",新值为 "yaojieyuan"。

    接口变更,美客多/Allegro分类属性GO项目迁移任务上线可以解决这个问题。


    UAT环境同步新接口(Allegro分类属性GO项目迁移任务)获得属性数据如下:

    select * from m_allegro_attribute WHERE CustomerId = 1 and CategoryId = 259810;

    分类属性同步新接口返回数据如下:


    接口地址:http://erpapi.zhcxkj.com/erp/platforms/categories/Attributes

    接口参数:

    {
        "lastId": "0",
        "current": 1,
        "pageSize": 500,
        "orderBy": {
            "field": "Id",
            "order": 0
        },
        "input": {
            "customerId": 1,
            "orderSourceType": 67,
            "categoryId":259810,
            "viewType":"page"
        },
        "language": "zh_CN"
    }
  12. 2022-08-30 10:02:55, 由 闫峰 关闭。
    修改了 Bug状态 ,旧值为 "resolved",新值为 "closed"。
    修改了 指派给 ,旧值为 "yanfeng",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "yanfeng"。
    修改了 关闭日期,旧值为 "",新值为 "2022-08-30 10:02:55"。
  13. 2023-11-17 09:48:36, 由 刘超 编辑。
    修改了 所属模块,旧值为 "1659",新值为 "1871"。
所属项目 技术中心-需求池
所属模块 多平台   allegro
所属计划 智能刊登系统优化专项
所属迭代 技术研发中心 8月第 1 版本(2022年)
Bug类型
严重程度 提示
优先级 P0
Bug状态 已关闭
业务部门
影响功能
开发责任人
测试责任人
解决时效 0
激活次数 0
激活日期
是否确认 是
当前指派 Closed 于 2022-08-30 10:02:55
截止日期 0000-00-00
上线时间
上线时效
操作系统
浏览器
关键词 系统优化专项跟踪
抄送给
所属迭代 技术研发中心 8月第 1 版本(2022年)
相关需求
相关任务
由谁创建 闫峰 于 2022-08-17 11:00:59
影响环境 测试环境-测试反馈
由谁解决 姚杰远 于 2022-08-24 15:15:03
解决版本 主干
解决方案 第三方原因(外部系统)
由谁关闭 闫峰 于 2022-08-30 10:02:55
最后修改 刘超 于 2023-11-17 09:48:33
相关Bug