任务描述

需求背景:目前智能刊登属性问题较多,而部分类目失败率非常高,严重影响成功率,浪费刊登资源,需要针对这类数据暂停刊登一周,待业务修复后继续刊登;根据上周的数据统计,停止这部分类目刊登,仅会减少13万刊登量(上周总刊登成功790万),但是可以节约160万listing提交量用于其他类目刊登。


需求实现:

1.实现一个定时服务,周一0点执行,统计上周站点+末节点维度失败率,将提交量超过100条,失败率超过50%的类目记录下来,写入时需要清理上周数据,查询参考

SELECT  a.SiteCode,bb.CategoryNamePath,COUNT(DISTINCT a.OrderSourceSKUID)'提交量',COUNT(DISTINCT case when a.`Status`=2 then a.OrderSourceSKUID else  null end) as '刊登成功数量',COUNT(DISTINCT case when a.`Status`=3 and a.ErrorCode not like '%8571%' and a.ErrorCode not LIKE '%8560%' then a.OrderSourceSKUID else  null end) as '刊登失败数量',COUNT(DISTINCT case when a.`Status`=2 then a.OrderSourceSKUID else null end)/COUNT(DISTINCT a.OrderSourceSKUID) as '成功率'
from Bi_Aq_AutoPublishUploadProduct a
INNER JOIN Bi_Aq_AutoPublishUploadResult bb ON a.QueueID = bb.QueueID
'2024-03-18' and a.AddTime
GROUP BY a.SiteCode,bb.CategoryNamePath
ORDER BY COUNT(DISTINCT a.OrderSourceSKUID) desc


2.修改刊登服务,在获取到刊登类目时(美国站取平台类目,其他站点取映射类目)之后,判断该类目是否在禁止刊登列表,如果是则禁止刊登。

需求描述

需求背景:目前智能刊登属性问题较多,而部分类目失败率非常高,严重影响成功率,浪费刊登资源,需要针对这类数据暂停刊登一周,待业务修复后继续刊登;根据上周的数据统计,停止这部分类目刊登,仅会减少13万刊登量(上周总刊登成功790万),但是可以节约160万listing提交量用于其他类目刊登。


需求实现:

1.实现一个定时服务,周一0点执行,统计上周站点+末节点维度失败率,将提交量超过100条,失败率超过50%的类目记录下来,写入时需要清理上周数据,查询参考

SELECT  a.SiteCode,bb.CategoryNamePath,COUNT(DISTINCT a.OrderSourceSKUID)'提交量',COUNT(DISTINCT case when a.`Status`=2 then a.OrderSourceSKUID else  null end) as '刊登成功数量',COUNT(DISTINCT case when a.`Status`=3 and a.ErrorCode not like '%8571%' and a.ErrorCode not LIKE '%8560%' then a.OrderSourceSKUID else  null end) as '刊登失败数量',COUNT(DISTINCT case when a.`Status`=2 then a.OrderSourceSKUID else null end)/COUNT(DISTINCT a.OrderSourceSKUID) as '成功率'
from Bi_Aq_AutoPublishUploadProduct a
INNER JOIN Bi_Aq_AutoPublishUploadResult bb ON a.QueueID = bb.QueueID
WHERE a.OrderSourceSKUID>0 and a.AddTime>'2024-03-18' and a.AddTime<'2024-03-25'
GROUP BY a.SiteCode,bb.CategoryNamePath
ORDER BY COUNT(DISTINCT a.OrderSourceSKUID) desc


2.修改刊登服务,在获取到刊登类目时(美国站取平台类目,其他站点取映射类目)之后,判断该类目是否在禁止刊登列表,如果是则禁止刊登。

验收标准
暂无
历史记录  
  1. 2024-04-11 10:40:31, 由 程宽 创建。
  2. 2024-04-11 10:40:50, 由 程宽 完成。
    修改了 总计消耗,旧值为 "0",新值为 "3"。
    修改了 实际完成,旧值为 "",新值为 "2024-04-11 10:40:48"。
    修改了 任务状态,旧值为 "wait",新值为 "done"。
    修改了 实际开始,旧值为 "0000-00-00 00:00:00",新值为 "2024-04-11 10:40:50"。
    修改了 预计剩余,旧值为 "3",新值为 "0"。
    修改了 由谁完成,旧值为 "",新值为 "chengkuan"。
  3. 2024-04-15 09:49:11, 由 程宽 编辑。
    修改了 任务描述,区别为:
    005- SELECT  a.SiteCode,bb.CategoryNamePath,COUNT(DISTINCT a.OrderSourceSKUID)'提交量',COUNT(DISTINCT case when a.`Status`=2 then a.OrderSourceSKUID else  null end) as '刊登成功数量',COUNT(DISTINCT case when a.`Status`=3 and a.ErrorCode not like '%8571%' and a.ErrorCode not LIKE '%8560%' then a.OrderSourceSKUID else  null end) as '刊登失败数量',COUNT(DISTINCT case when a.`Status`=2 then a.OrderSourceSKUID else null end)/COUNT(DISTINCT a.OrderSourceSKUID) as '成功率'from Bi_Aq_AutoPublishUploadProduct aINNER JOIN Bi_Aq_AutoPublishUploadResult bb ON a.QueueID = bb.QueueID '2024-03-18' and a.AddTimeGROUP BY a.SiteCode,bb.CategoryNamePathORDER BY COUNT(DISTINCT a.OrderSourceSKUID) desc
    005+ SELECT a.SiteCode,bb.CategoryNamePath,COUNT(DISTINCT a.OrderSourceSKUID)'提交量',COUNT(DISTINCT case when a.`Status`=2 then a.OrderSourceSKUID else null end) as '刊登成功数量',COUNT(DISTINCT case when a.`Status`=3 and a.ErrorCode not like '%8571%' and a.ErrorCode not LIKE '%8560%' then a.OrderSourceSKUID else null end) as '刊登失败数量',COUNT(DISTINCT case when a.`Status`=2 then a.OrderSourceSKUID else null end)/COUNT(DISTINCT a.OrderSourceSKUID) as '成功率'from Bi_Aq_AutoPublishUploadProduct aINNER JOIN Bi_Aq_AutoPublishUploadResult bb ON a.QueueID = bb.QueueID '2024-03-18' and a.AddTimeGROUP BY a.SiteCode,bb.CategoryNamePathORDER BY COUNT(DISTINCT a.OrderSourceSKUID) desc
    005- <p>SELECT  a.SiteCode,bb.CategoryNamePath,COUNT(DISTINCT a.OrderSourceSKUID)'提交量',COUNT(DISTINCT case when a.`Status`=2 then a.OrderSourceSKUID else  null end) as '刊登成功数量',COUNT(DISTINCT case when a.`Status`=3 and a.ErrorCode not like '%8571%' and a.ErrorCode not LIKE '%8560%' then a.OrderSourceSKUID else  null end) as '刊登失败数量',COUNT(DISTINCT case when a.`Status`=2 then a.OrderSourceSKUID else null end)/COUNT(DISTINCT a.OrderSourceSKUID) as '成功率'<br />from Bi_Aq_AutoPublishUploadProduct a<br />INNER JOIN Bi_Aq_AutoPublishUploadResult bb ON a.QueueID = bb.QueueID <br />'2024-03-18' and a.AddTime<br />GROUP BY a.SiteCode,bb.CategoryNamePath<br />ORDER BY COUNT(DISTINCT a.OrderSourceSKUID) desc</p>
    005+ <p>SELECT a.SiteCode,bb.CategoryNamePath,COUNT(DISTINCT a.OrderSourceSKUID)'提交量',COUNT(DISTINCT case when a.`Status`=2 then a.OrderSourceSKUID else null end) as '刊登成功数量',COUNT(DISTINCT case when a.`Status`=3 and a.ErrorCode not like '%8571%' and a.ErrorCode not LIKE '%8560%' then a.OrderSourceSKUID else null end) as '刊登失败数量',COUNT(DISTINCT case when a.`Status`=2 then a.OrderSourceSKUID else null end)/COUNT(DISTINCT a.OrderSourceSKUID) as '成功率'<br />from Bi_Aq_AutoPublishUploadProduct a<br />INNER JOIN Bi_Aq_AutoPublishUploadResult bb ON a.QueueID = bb.QueueID <br />'2024-03-18' and a.AddTime<br />GROUP BY a.SiteCode,bb.CategoryNamePath<br />ORDER BY COUNT(DISTINCT a.OrderSourceSKUID) desc</p>

  4. 2025-04-25 13:59:24, 由 程宽 关闭。
    修改了 任务状态,旧值为 "done",新值为 "closed"。
    修改了 指派给 ,旧值为 "chengkuan",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "chengkuan"。
    修改了 关闭时间,旧值为 "0000-00-00 00:00:00",新值为 "2025-04-25 13:59:24"。
    修改了 关闭原因,旧值为 "",新值为 "done"。
所属迭代 智能中心-智能刊登迭代
所属模块 智能中心-需求池  战略独立项目   智能刊登
相关需求 智能刊登-失败率过高类目暂停刊登
指派给 Closed 于 2025-04-25 13:59:24
任务类型 测试
任务标签 初始
开发组
任务状态 已关闭
进度 100%
优先级 P1
关键词
抄送给
由谁创建 程宽 于 2024-04-11 10:40:31
由谁完成 程宽 于 2024-04-11 10:40:48
由谁取消 暂无
由谁关闭 程宽 于 2025-04-25 13:59:24
关闭原因 已完成
最后编辑 程宽 于 2025-04-25 13:59:24
团队 最初预计 总计消耗 预计剩余
工时信息
最初预计 3工时
总计消耗 3工时
预计剩余 0工时
预计开始 2024-04-10
实际开始 2024-04-11
截止日期 2024-04-11