任务描述

任务背景:

allegro 因系统问题导致的重刊下架成功,系统刊登失败数据,需恢复在线



-- allegro重新刊登失败的产品,推送到中间表恢复已上架
insert IGNORE into m_allegro_listing_update (CustomerId,OrderSourceId,OfferId,OrginalHandingTime,HandingTime,Status,Date,CreatorId,Creator,CreationTime,LastModifierId,LastModifier,LastModificationTime)
select CustomerId,OrderSourceId,ItemId,'','',0,20221124,0,'系统1124',NOW(),0,'系统1124',NOW()  from ap_autopublish_allegro_queue where CustomerId=1 and MarketId=67 and Date>20221115 and Date<=20221124 and time<'2022-11-24 16:00:00'  AND PublishType=3 and Status='failure'



-- 下架的lsting重新入队列上架 (重刊队列成功但无平台ID的)---数据执行时间,修改到当前时间
insert IGNORE into m_allegro_listing_update (CustomerId,OrderSourceId,OfferId,OrginalHandingTime,HandingTime,Status,Date,CreatorId,Creator,CreationTime,LastModifierId,LastModifier,LastModificationTime)
select CustomerId,OrderSourceId,ItemId,'','',0,20221124,0,'系统1124',NOW(),0,'系统1124',NOW()  from pp_phoenixplan_allegro_queue where CustomerId=1 and MarketId=67 and Date>20221115 and Date<=20221124 and time<'2022-11-24 16:00:00' and StrategyId>0 and StrategyType=2  and `Status`='success' and RePublishItemId is null;



-- 下架的lsting重新入队列上架(重刊队列失败1) 
insert IGNORE into m_allegro_listing_update (CustomerId,OrderSourceId,OfferId,OrginalHandingTime,HandingTime,Status,Date,CreatorId,Creator,CreationTime,LastModifierId,LastModifier,LastModificationTime)
select CustomerId,OrderSourceId,ItemId,'','',0,20221124,0,'系统1124',NOW(),0,'系统1124',NOW()  from pp_phoenixplan_allegro_queue where CustomerId=1 and MarketId=67 and Date>20221115 and Date<=20221124
and time<'2022-11-24 16:00:00'  and StrategyId>0 and StrategyType=2  and `Status`='failure' and FailureReason='下架原Listing失败:Command with the given id but with different content is already registered.,';



-- 下架的lsting重新入队列上架(重刊队列失败2) 
insert IGNORE into m_allegro_listing_update (CustomerId,OrderSourceId,OfferId,OrginalHandingTime,HandingTime,Status,Date,CreatorId,Creator,CreationTime,LastModifierId,LastModifier,LastModificationTime)
select CustomerId,OrderSourceId,ItemId,'','',0,20221124,0,'系统1124',NOW(),0,'系统1124',NOW()  from pp_phoenixplan_allegro_queue where CustomerId=1 and MarketId=67 and Date>20221115 and Date<=20221124
and time<'2022-11-24 16:00:00'  and StrategyId>0 and StrategyType=2  and `Status`='failure' and FailureReason='标题/描述过滤敏感词不通过';


-- 下架的lsting重新入队列上架(重刊队列失败3) 
insert IGNORE into m_allegro_listing_update (CustomerId,OrderSourceId,OfferId,OrginalHandingTime,HandingTime,Status,Date,CreatorId,Creator,CreationTime,LastModifierId,LastModifier,LastModificationTime)
select CustomerId,OrderSourceId,ItemId,'','',0,20221124,0,'系统1124',NOW(),0,'系统1124',NOW()  from pp_phoenixplan_allegro_queue where CustomerId=1 and MarketId=67 and Date>20221115 and Date<=20221124
and time<'2022-11-24 16:00:00'  and StrategyId>0 and StrategyType=2  and `Status`='failure' and FailureReason='产品描述为空';

历史记录  
  1. 2022-11-24 20:01:27, 由 刘瀚泽 创建。
  2. 2022-11-28 00:45:05, 由 韦思成 完成。
    修改了 总计消耗,旧值为 "0",新值为 "1"。
    修改了 指派给 ,旧值为 "weisicheng",新值为 "liuhanze"。
    修改了 实际完成,旧值为 "",新值为 "2022-11-28 00:44:37"。
    修改了 任务状态,旧值为 "wait",新值为 "done"。
    修改了 实际开始,旧值为 "0000-00-00 00:00:00",新值为 "2022-11-28 00:45:05"。
    修改了 预计剩余,旧值为 "1",新值为 "0"。
    修改了 由谁完成,旧值为 "",新值为 "weisicheng"。
    已推送同步更新表
  3. 2022-11-28 14:59:29, 由 zhengqiao 关闭。
    修改了 任务状态,旧值为 "done",新值为 "closed"。
    修改了 指派给 ,旧值为 "liuhanze",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "zhengqiao"。
    修改了 关闭时间,旧值为 "0000-00-00 00:00:00",新值为 "2022-11-28 14:59:29"。
    修改了 关闭原因,旧值为 "",新值为 "done"。
所属迭代 技术研发中心 11月运维事项(2022年)
所属模块 /
相关需求 暂无
指派给 Closed 于 2022-11-28 14:59:29
任务类型 运维
任务标签 初始
开发组 有品开发组
任务状态 已关闭
进度 100%
优先级 P1
关键词
抄送给
由谁创建 刘瀚泽 于 2022-11-24 20:01:27
由谁完成 韦思成 于 2022-11-28 00:44:37
由谁取消 暂无
由谁关闭 zhengqiao 于 2022-11-28 14:59:29
关闭原因 已完成
最后编辑 zhengqiao 于 2022-11-28 14:59:29
团队 最初预计 总计消耗 预计剩余
工时信息
最初预计 1工时
总计消耗 1工时
预计剩余 0工时
预计开始 2022-11-24
实际开始 2022-11-28
截止日期 2022-11-24