【正式环境】【需求问题】现策略id:1005,涉及到策略中存在的listing取总销量与listing总表查询到的对应listing销量值不一致,后续与产品沟通,查询对应销量情况,:m_ebay_listing中的quanititysold ,而不是m_ebay_sale_summary中的sales
已经进入活动策略中的结果的listing,如下:
select * from ad_ebay_itempromotion_strategy_result where strategyId in ('1005') and ordersourceID = 7780 and productid in
(195936949251,
195981974280,
195983063993,
204138783504,
204215104767,
204223270187,
204236939431,
204360480239,
204364393614,
204372126360,
204375464707,
204396003199,
204402791644,
204405385475,
204464828069)
listing表的销量情况:
如下已进入策略id:1005的listing 理应符合预期结果:该策略销量设定为:2 的条件,
实际结果:不符合预期
select sellersku,quantitysold from m_ebay_listing where ProductId in ('195936949251',
'195981974280',
'195983063993',
'204138783504',
'204215104767',
'204223270187',
'204236939431',
'204360480239',
'204364393614',
'204372126360',
'204375464707',
'204396003199',
'204402791644',
'204405385475',
'204464828069')

年销量表中的销售情况:
select * from m_ebay_sale_year_summary where SellerSku in (
select sellersku from m_ebay_listing where ProductId in ('195936949251',
'195981974280',
'195983063993',
'204138783504',
'204215104767',
'204223270187',
'204236939431',
'204360480239',
'204364393614',
'204372126360',
'204375464707',
'204396003199',
'204402791644',
'204405385475',
'204464828069'))

[步骤]
[结果]
[期望]

这个属于数据源:年销量表(公用模块)