重现步骤

问题描述:

Ebay:凤凰计划,符合条件的数据未进入到调价队列表中


SELECT * from m_ebay_listing  where OnlineStatus =1 
and   PublishTime > '2016-10-01' and PublishTime < '2025-09-01'  
and Country = 'CN' and (WarehouseIds LIKE '%333%' or WarehouseIds LIKE '%5312%' )
and QuantitySold =0 
and IsAutoPublish = 0 
and OrderSourceId in (
select OrderSourceId from pp_phoenixplan_strategy_ordersource where StrategyId = 100457
) 
and ProductId not in (
select ItemId from pp_phoenixplan_ebay_autoadjustprice_queue where  StrategyId=100457 and `Status` = 'success'

)



附件
历史记录  
  1. 2025-12-22 15:35:43, 由 王超 创建。
  2. 2025-12-22 20:10:37, 由 王超 编辑。
    修改了 解决时效,旧值为 "0",新值为 "-1"。
    修改了 重现步骤,区别为:
    004-
    004+ SELECT * from m_ebay_listing where OnlineStatus =1
    005- SELECT * from m_ebay_listing where OnlineStatus =1 and PublishTime &gt; '2016-10-01' and PublishTime &lt; '2025-09-01' and QuantitySold =0 and IsAutoPublish = 0 and OrderSourceId in (select OrderSourceId from pp_phoenixplan_strategy_ordersource where StrategyId = 100457)and ProductId not in (select ItemId from pp_phoenixplan_ebay_autoadjustprice_queue where StrategyId=100457 and `Status` = 'success')
    005+ and PublishTime &gt; '2016-10-01' and PublishTime &lt; '2025-09-01'and Country = 'CN' and (WarehouseIds LIKE '%333%' or WarehouseIds LIKE '%5312%' )and QuantitySold =0and IsAutoPublish = 0and OrderSourceId in (select OrderSourceId from pp_phoenixplan_strategy_ordersource where StrategyId = 100457)and ProductId not in (select ItemId from pp_phoenixplan_ebay_autoadjustprice_queue where StrategyId=100457 and `Status` = 'success')
    007-
    007+
    004- <p><br /></p>
    004+ SELECT * from m_ebay_listing where OnlineStatus =1<br />
    005- <p>SELECT * from m_ebay_listing where OnlineStatus =1 and PublishTime &gt; '2016-10-01' and PublishTime &lt; '2025-09-01' and QuantitySold =0 and IsAutoPublish = 0 and OrderSourceId in (<br />select OrderSourceId from pp_phoenixplan_strategy_ordersource where StrategyId = 100457<br />)<br />and ProductId not in (<br />select ItemId from pp_phoenixplan_ebay_autoadjustprice_queue where StrategyId=100457 and `Status` = 'success'<br />)</p>
    005+ and PublishTime &gt; '2016-10-01' and PublishTime &lt; '2025-09-01'<br />and Country = 'CN' and (WarehouseIds LIKE '%333%' or WarehouseIds LIKE '%5312%' )<br />and QuantitySold =0<br />and IsAutoPublish = 0<br />and OrderSourceId in (<br />select OrderSourceId from pp_phoenixplan_strategy_ordersource where StrategyId = 100457<br />)<br />and ProductId not in (<br />select ItemId from pp_phoenixplan_ebay_autoadjustprice_queue where StrategyId=100457 and `Status` = 'success'<br /><p>)</p>
    007- <p><img src="{520945.png}" alt="" /></p>
    007+ <p><img src="{521081.png}" alt="" /></p>
  3. 2025-12-23 10:56:21, 由 吕敬平 指派给 刘朋飞。
    修改了 指派给,旧值为 "lvjingping",新值为 "liupengfei"。
  4. 2025-12-23 21:17:05, 由 刘朋飞 编辑。
    修改了 解决时效,旧值为 "0",新值为 "-1"。

    历史垃圾数据:

    select * from m_ebay_listing where ProductId in ('156941424799','156941585784')


    过滤:SELECT  `CustomerId` AS `CustomerId` , `OrderSourceId` AS `OrderSourceId` , `SellerSku` AS `SellerSku` , `Time` AS `Time`  FROM `Pp_PhoenixPlan_Ebay_AutoAdjustPrice_Queue`  WHERE ((((( `CustomerId` = 1 ) AND ( `MarketId` = 2 )) AND ( `OrderSourceId` = 5081 )) AND ( `StrategyId` = 100457 )) AND  (`SellerSku` IN ('W1224256SHVC5081','R122528HL3PK5081','W12280126OY25081','9122259I482U5081','Y122523OWO6D5081','8122419X0MEH5081','B122802BX8WY5081','31225242J74H5081','A122522B8GYT5081','T1226327VKD75081','Y1224018IAVI5081','U12240170C3E5081','4122521WL00Q5081','X122631FGFJA5081','2122516QNHW65081','I1226125GMWW5081','N122422SOSZP5081','2122515FJSJ75081','5122358S7XXN5081','E122433OQCF95081','N12251451OZX5081','V122352X9NRB5081','O122512482HX5081','11226101IKNM5081','X122351KQW0V5081','Q1224272A52Y5081','B122427F5JX45081','H122758XKFGH5081','D1225570870C5081','S125345WKCD45081','O122801O9UL25081','X122806N57855081','N12251920WL95081','X1227059TLFI5081','L122812MISBV5081','E122346WGPJH5081','K122754W57625081','I094612445BB5081','5122419O3KXQ5081','51232152PJCW5081','D123308H7IZ35081','8125348GC9XJ5081','Y123419OUPF55081','H123346M0ZA95081','2123236VVMH65081','5184050PDBA55081','4184013QIX6G5081','4184008DK3QN5081','0183929N2JU25081','11837261LDQO5081','K1832174MFJ45081','3183216P19HF5081','2183214ZM5HT5081','X18321319I6B5081','518320768G9J5081','7183144NW4GL5081','C1226366VGM85081','5122424XEU4A5081','J122730IWIZT5081','K122635SXLS75081','X122726PLUFG5081','0122253KB7N65081','R122400P73AZ5081','Q1227549D85W5081','4122630RWU625081','Z122517I3Z8C5081','P1224541D1WH5081','E122452C3ILB5081','4122433D9NGF5081','0122509DX9EF5081','E122609UHWY95081','J122430Q2UQA5081','B122603HGY5B5081','K122601NNRHT5081','J122558PQ64X5081','Z125210NG6ZE5081','1123409FGJCV5081','H122804MFGVU5081','O122348NGLET5081','B122654YS8275081','F122658EKGEF5081','0094559WPSP65081','Q094557W62CE5081','Q0946132J3DF5081','80946090J8HR5081','W183221CAXJQ5081','Y184107WVMVZ5081','61840534PZ0M5081','C184054CI8UR5081','1184007YVGT45081','P184005PAI7D5081','L1838077S5WK5081','U183217IWTVT5081','C1832168XT915081','T18321067NSP5081','S183205E4H655081','61831597FMMK5081','T183151T8IWB5081','11831500UMR85081','51831374LYWP5081')) ) 

  5. 2025-12-23 21:18:03, 由 刘朋飞 解决,方案为 程序BUG 。
    修改了 解决方案,旧值为 "",新值为 "code"。
    修改了 解决版本,旧值为 "",新值为 "trunk"。
    修改了 解决日期,旧值为 "",新值为 "2025-12-23 21:17:12"。
    修改了 指派给 ,旧值为 "liupengfei",新值为 "wangchao"。
    修改了 Bug状态 ,旧值为 "active",新值为 "resolved"。
    修改了 是否确认,旧值为 "0",新值为 "1"。
    修改了 解决者 ,旧值为 "",新值为 "liupengfei"。
    历史垃圾数据;见上面截图
  6. 2025-12-24 11:44:05, 由 王超 激活。
    修改了 指派给 ,旧值为 "wangchao",新值为 "liupengfei"。
    修改了 Bug状态 ,旧值为 "resolved",新值为 "active"。
    修改了 激活日期,旧值为 "",新值为 "2025-12-24 11:44:05"。
    修改了 激活次数,旧值为 "0",新值为 "1"。
    修改了 解决方案,旧值为 "code",新值为 ""。
    修改了 解决日期,旧值为 "2025-12-23 21:17:12",新值为 "0000-00-00"。
    修改了 解决者 ,旧值为 "liupengfei",新值为 ""。
    修改了 解决版本,旧值为 "trunk",新值为 ""。
    修改了 关闭日期,旧值为 "",新值为 "0000-00-00"。

    使用SellerSku查询,调价队列表缺少17722条Listing,详细数据见附件




  7. 2025-12-25 09:40:37, 由 刘朋飞 解决,方案为 产品需求缺陷 。
    修改了 解决方案,旧值为 "",新值为 "bypuduct"。
    修改了 解决版本,旧值为 "",新值为 "trunk"。
    修改了 解决日期,旧值为 "",新值为 "2025-12-25 09:38:09"。
    修改了 指派给 ,旧值为 "liupengfei",新值为 "wangchao"。
    修改了 Bug状态 ,旧值为 "active",新值为 "resolved"。
    修改了 解决者 ,旧值为 "",新值为 "liupengfei"。

    测试数据:

    场景1:

    被价格计算器过滤

    ```

    返回:{


    "data": [{


    "currency": "GBP",


    "price": 24.16,


    "exchangePrice": 229.07,


    "sku": "18731432",


    "notTaxPrice": 20.13,


    "notTaxExchangePrice": 190.86,


    "grossProfitMarginTax": 17.00,


    "grossProfitMarginNotTax": 20.0000,


    "freight": 66.38,


    "purchasePrice": 24.0000,


    "headFreight": 0.0,


    "otherCost": 0.0,


    "transportName": "Speedpak-标准XGCL-东莞",


    "logisticsName": "Ebay线上物流()",


    "orderSourceId": 22086,


    "country": "GB",


    "multiple": 1,


    "transportId": 2984,


    "transportType": -1,


    "advertisingRate": 0.0,


    "refundRate": 0.0,


    "platformCommissionRate": 0.18,


    "calculationFormula": "(24.0000+2.0000+66.38+1.84)/(1-0.02)/9.4813997/(1-0.18-0.05-0-0.2000/(1+0.2)-0.02/(1-0.02)/(1+0.2)-0.2/(1+0.2))",


    "priceCalculationFormula": "(采购价格+采购运费+运费+仓库处理成本)/(1-退款率)/汇率/(1-平台佣金率-汇率折损率-Paypal费率-毛利率/(1+VAT)-广告费率/(1-退款率)/(1+VAT)-VAT/(1+VAT))",


    "isLowPriced": false,


    "netProfit": 0.0,


    "costSubtotal": 0.0,


    "incomeSubtotal": 0.0


    }],


    "status": "success"


    }


    ```

    场景2: 店铺没有授权


  8. 2025-12-25 09:42:13, 由 王超 关闭。
    修改了 Bug状态 ,旧值为 "resolved",新值为 "closed"。
    修改了 指派给 ,旧值为 "wangchao",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "wangchao"。
    修改了 关闭日期,旧值为 "",新值为 "2025-12-25 09:42:13"。


  9. 2025-12-26 10:27:36, 由 汤翊 编辑。
    修改了 解决时效,旧值为 "0",新值为 "66.04"。
    修改了 解决方案,旧值为 "bypuduct",新值为 "history"。
所属项目 智能中心-需求池
所属模块 战略独立项目   EBAY直发
所属计划
所属迭代
Bug类型 程序BUG
严重程度 一般
优先级 P1
Bug状态 已关闭
业务部门 智能研发中心
影响功能
开发责任人 刘朋飞
测试责任人 王超
解决时效 66.04
激活次数 1
激活日期 2025-12-24 11:44:05
是否确认 是
当前指派 Closed 于 2025-12-26 10:27:36
截止日期 0000-00-00
上线时间 0000-00-00 00:00:00
上线时效 -1
操作系统
浏览器
关键词
抄送给
所属迭代
相关需求
相关任务
由谁创建 王超 于 2025-12-22 15:35:42
影响环境 生产环境-线上测试
由谁解决 刘朋飞 于 2025-12-25 09:38:09
解决版本 主干
解决方案 历史bug(180天以上)
由谁关闭 王超 于 2025-12-25 09:42:13
最后修改 汤翊 于 2025-12-26 10:27:36
相关Bug