重现步骤

[步骤]

SELECT
  'aliexpress',
  a.SiteCode,
a.Sku,
a.SellerSku,
a.OrderSourceId,
d.OrderSourceName AS 来源渠道,
a.`Status`,
  a.FailureReason
FROM
  ap_autopublish_aliexpress_queue a
INNER JOIN sys_ordersource AS d ON a.OrderSourceId = d.OrderSourceId
WHERE
  a.CustomerId = 1 
  and a.MarketId=57
-- AND a.OrderSourceId=18356
--   AND `Status` = 'failure' 
 AND a.Time >'2023-04-15 00:00:00'
 AND a.Time <'2023-04-18 00:00:00'
 AND a.FailureReason LIKE'%备货%'


[结果]

不满足条件:备货期获取失败,请检查    此报错数据太多。

[期望]

找出报这错误的原因,确认是业务配置问题,还是计算器问题,还是程序问题

历史记录  
  1. 2023-04-17 10:57:26, 由 李乐同 创建。
  2. 2023-04-17 10:59:11, 由 李乐同 编辑。
    修改了 抄送给 ,旧值为 "",新值为 ",fengmingming"。
    修改了 影响环境,旧值为 "672,",新值为 "672"。
    修改了 重现步骤,区别为:
    002- SELECT 'aliexpress', a.SiteCode, a.Sku, a.SellerSku, a.OrderSourceId, d.OrderSourceName AS 来源渠道, a.`Status`, a.FailureReasonFROM ap_autopublish_aliexpress_queue a INNER JOIN sys_ordersource AS d ON a.OrderSourceId = d.OrderSourceIdWHERE a.CustomerId = 1 and a.MarketId=57 -- AND a.OrderSourceId=18356-- AND `Status` = 'failure'AND a.Time &gt;'2023-04-15 00:00:00'AND a.Time &lt;'2023-04-18 00:00:00'AND a.FailureReason LIKE'%备货%'
    002+ SELECT 'aliexpress', a.SiteCode, a.Sku, a.SellerSku, a.OrderSourceId, d.OrderSourceName AS 来源渠道, a.`Status`, a.FailureReasonFROM ap_autopublish_aliexpress_queue a INNER JOIN sys_ordersource AS d ON a.OrderSourceId = d.OrderSourceIdWHERE a.CustomerId = 1 and a.MarketId=57 -- AND a.OrderSourceId=18356-- AND `Status` = 'failure'AND a.Time &gt;'2023-04-15 00:00:00'AND a.Time &lt;'2023-04-18 00:00:00'AND a.FailureReason LIKE'%备货%'
    002- <p><span> </span>SELECT<br /> 'aliexpress',<br /> a.SiteCode,<br /><span> </span>a.Sku,<br /><span> </span>a.SellerSku,<br /><span> </span>a.OrderSourceId,<br /><span> </span>d.OrderSourceName AS 来源渠道,<br /><span> </span>a.`Status`,<br /> a.FailureReason<br />FROM<br /> ap_autopublish_aliexpress_queue a<br /><span> </span>INNER JOIN sys_ordersource AS d ON a.OrderSourceId = d.OrderSourceId<br />WHERE<br /> a.CustomerId = 1<br /> and a.MarketId=57<br /><span> </span>-- AND a.OrderSourceId=18356<br />-- AND `Status` = 'failure'<br />AND a.Time &gt;'2023-04-15 00:00:00'<br />AND a.Time &lt;'2023-04-18 00:00:00'<br />AND a.FailureReason LIKE'%备货%'<br /></p>
    002+ <p><span> </span>SELECT<br /> 'aliexpress',<br /> a.SiteCode,<br /><span> </span>a.Sku,<br /><span> </span>a.SellerSku,<br /><span> </span>a.OrderSourceId,<br /><span> </span>d.OrderSourceName AS 来源渠道,<br /><span> </span>a.`Status`,<br /> a.FailureReason<br />FROM<br /> ap_autopublish_aliexpress_queue a<br /><span> </span>INNER JOIN sys_ordersource AS d ON a.OrderSourceId = d.OrderSourceId<br />WHERE<br /> a.CustomerId = 1<br /> and a.MarketId=57<br /><span> </span>-- AND a.OrderSourceId=18356<br />-- AND `Status` = 'failure'<br />AND a.Time &gt;'2023-04-15 00:00:00'<br />AND a.Time &lt;'2023-04-18 00:00:00'<br />AND a.FailureReason LIKE'%备货%'</p>
  3. 2023-04-17 10:59:23, 由 程伟 指派给 韦思成。
    修改了 指派给,旧值为 "chengwei",新值为 "weisicheng"。
  4. 2023-04-17 14:05:00, 由 李乐同 添加备注。
    此BUG原因找到之后,希望把4月1日到当前时间此报错的队列清理掉。让数据从新执行
  5. 2023-04-17 15:47:29, 由 冯名明 指派给 王翔宇。
    修改了 指派给,旧值为 "fengmingming",新值为 "wangxiangyu"。
  6. 2023-04-17 15:47:30, 由 韦思成 指派给 冯名明。
    修改了 指派给,旧值为 "weisicheng",新值为 "fengmingming"。

    从日志看,接口超时最近这几天比较多,ERP数据库连接超时错误

    主要报错信息:

    ShortMessage
    :请求服务 获取速卖通默认设置 出现异常 请求参数 1 10248 中文提示 :  连接数据库过程中发生错误,检查服务器是否正常连接字符串是否正确,错误信息:Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached.DbType="SqlServer";ConfigId="ErpReadOnlyDb".
    English Message : Connection open error . Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached.DbType="SqlServer";ConfigId="ErpReadOnlyDb"。,IrobotBox.MarketPublish.ViewModels.Common.LogContentView


  7. 2023-04-17 15:50:34, 由 李乐同 指派给 韦思成。
    修改了 指派给,旧值为 "wangxiangyu",新值为 "weisicheng"。
    修改了 抄送给,旧值为 ",fengmingming",新值为 ""。
    计算器已处理,现在需要清理数据
  8. 2023-04-17 18:09:58, 由 韦思成 解决,方案为 第三方原因(外部系统) 。
    修改了 解决方案,旧值为 "",新值为 "external"。
    修改了 解决版本,旧值为 "",新值为 "trunk"。
    修改了 解决日期,旧值为 "",新值为 "2023-04-17 18:09:10"。
    修改了 指派给 ,旧值为 "weisicheng",新值为 "liletong"。
    修改了 Bug状态 ,旧值为 "active",新值为 "resolved"。
    修改了 是否确认,旧值为 "0",新值为 "1"。
    修改了 解决者 ,旧值为 "",新值为 "weisicheng"。

    数据已清理,具体见任务

    http://pm.zhcxkj.com/zentao/task-view-39246.html

  9. 2023-04-17 21:30:08, 由 李乐同 关闭。
    修改了 Bug状态 ,旧值为 "resolved",新值为 "closed"。
    修改了 指派给 ,旧值为 "liletong",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "liletong"。
    修改了 关闭日期,旧值为 "",新值为 "2023-04-17 21:30:08"。
  10. 2023-11-17 09:45:17, 由 刘超 编辑。
    修改了 所属模块,旧值为 "1729",新值为 "1868"。
所属项目 技术中心-需求池
所属模块 多平台   Aliexpress
所属计划
所属迭代
Bug类型
严重程度 严重
优先级 P0
Bug状态 已关闭
业务部门
影响功能
开发责任人
测试责任人
解决时效 0
激活次数 0
激活日期
是否确认 是
当前指派 Closed 于 2023-04-17 21:30:08
截止日期 0000-00-00
上线时间
上线时效
操作系统 Windows
浏览器 firefox系列
关键词
抄送给
所属迭代
相关需求
相关任务
由谁创建 李乐同 于 2023-04-17 10:57:26
影响环境 672
由谁解决 韦思成 于 2023-04-17 18:09:10
解决版本 主干
解决方案 第三方原因(外部系统)
由谁关闭 李乐同 于 2023-04-17 21:30:08
最后修改 刘超 于 2023-11-17 09:45:15
相关Bug