任务描述


select top  100 a.OrderSourceName '来源渠道'
,a.SKU '系统SKU'
,a.OrderSourceSKU '渠道SKU'
,a.RecommendedBrowseNodeName '上架类目路径'
,(select top 1 d.PathName from RB_Amazon_Product_KeyClassResult d (nolock) where d.CustomerID=a.CustomerID and d.SKU= a.SKU order by d.SerialNo asc ) '推荐类目路径'
,a.BusinessTeamName '销售小组'
,a.BusinessUserName '销售人员'
,a.AddAdminName '上架人员'
,c.BusinessTeamName '上架小组'
,a.PublishTime '刊登时间'
,a.msaleNum '近30天销量'
,case when a.OnShelfMode=1  then '一键上架' 
when a.OnShelfMode=2  then '草稿上架'
when a.OnShelfMode=3  then '表格上架'
when a.OnShelfMode=4  then '关联导入'
when a.OnShelfMode=5  then '批量跟卖'
when a.OnShelfMode=6  then '凤凰重刊'
when a.OnShelfMode=7  then '复制上架'
when a.OnShelfMode=8  then '智能刊登'
else '' end  as '上架方式',
case when a.IsOffShelf=0  then '在线' else '下架' end  '在线状态'
from RB_Amazon_Product_Base a (nolock)
left join RB_Admin b (nolock) on a.CustomerID=b.CustomerID and a.AddAdminID = b.ID
left join RB_BusinessTeam c (nolock) on c.CustomerID = b.CustomerID and c.id = b.BusinessTeamID
where a.CustomerID=1  and a.OrderSourceSKUID >1
and a.PublishTime >='2022-01-01' and a.PublishTime <'2022-05-01'



需求描述

1.导出范围

刊登时间:2022年1月1日-2022年4月30日;listing维度,系统推荐类目与实际上传类目是否匹配明细

2.导出字段

来源渠道,系统SKU,渠道SKU,上架类目路径,推荐类目路径,销售小组,销售人员,上架人员,上架小组,刊登时间,近30天销量,上架方式

验收标准
暂无
历史记录  
  1. 2022-05-20 15:19:53, 由 罗友军 创建。
  2. 2022-05-24 20:06:12, 由 魏鹏军 完成。
    修改了 总计消耗,旧值为 "0",新值为 "4"。
    修改了 指派给 ,旧值为 "weipengjun",新值为 "luoyoujun"。
    修改了 实际完成,旧值为 "",新值为 "2022-05-23 09:16:52"。
    修改了 任务状态,旧值为 "wait",新值为 "done"。
    修改了 实际开始,旧值为 "0000-00-00 00:00:00",新值为 "2022-05-23 09:17:43"。
    修改了 预计剩余,旧值为 "4",新值为 "0"。
    修改了 由谁完成,旧值为 "",新值为 "weipengjun"。

    数据已导出,修改后导出sql,如下:


    select 
    OrderSourceName '来源渠道',
    SKU '系统SKU',
    OrderSourceSKU '渠道SKU',
    RecommendedBrowseNodeName '上架类目路径',
    LastRecommendedBrowseNodeName '推荐类目路径',
    BusinessTeamName '销售小组',
    BusinessUserName '销售人员',
    AddAdminName '上架人员',
    offBusinessTeamName '上架小组',
    PublishTime '刊登时间',
    msaleNum '近30天销量',
    case when OnShelfMode=1  then '一键上架' 
    when OnShelfMode=2  then '草稿上架'
    when OnShelfMode=3  then '表格上架'
    when OnShelfMode=4  then '关联导入'
    when OnShelfMode=5  then '批量跟卖'
    when OnShelfMode=6  then '凤凰重刊'
    when OnShelfMode=7  then '复制上架'
    when OnShelfMode=8  then '智能刊登'
    else '' end  as '上架方式',
     CASE
        WHEN IsOffShelf = 0 THEN '在线'
        WHEN IsOffShelf = 1 THEN '下架'
        WHEN IsOffShelf = 2 THEN '售完'
        WHEN IsOffShelf = 3 THEN '草稿'
        WHEN IsOffShelf = 4 THEN '刊登中'
        WHEN IsOffShelf = 5 THEN '刊登失败'
        ELSE ''
      END '在线状态'
    from(
    SELECT
    ROW_NUMBER() OVER (ORDER BY ID asc) AS [PageIndex] ,* FROM (
    select a.OrderSourceName 
    ,a.SKU 
    ,a.OrderSourceSKU
    ,a.RecommendedBrowseNodeName 
    ,(select top 1 d.PathName from RB_Amazon_Product_KeyClassResult d (nolock) where d.CustomerID=a.CustomerID and d.SKU= a.SKU order by d.SerialNo asc ) as LastRecommendedBrowseNodeName
    ,a.BusinessTeamName 
    ,a.BusinessUserName  
    ,a.AddAdminName 
    ,c.BusinessTeamName as offBusinessTeamName
    ,a.PublishTime 
    ,a.msaleNum 
    ,a.OnShelfMode
    ,a.IsOffShelf
    ,a.ID
    from RB_Amazon_Product_Base a (nolock)
    inner join  RB_OrderSource d(nolock)
    on a.CustomerID=d.CustomerID
    and a.OrderSourceID=d.ID
    left join RB_Admin b (nolock) on a.CustomerID=b.CustomerID and a.AddAdminID = b.ID
    left join RB_BusinessTeam c (nolock) on c.CustomerID = b.CustomerID and c.id = b.BusinessTeamID
    where a.CustomerID=1  and a.OrderSourceSKUID >0 and a.OnShelfMode in(1,2,7,8)
    and  d.OrderSourceCountry='US'
    and a.PublishTime >='2022-01-01' and a.PublishTime <'2022-05-01'
     ) AS TempTable ) AS  PagerTable
    WHERE PagerTable.[PageIndex] BETWEEN 1 AND 600000

  3. 2022-05-26 10:29:54, 由 zhengqiao 编辑。
    修改了 所属迭代,旧值为 "628",新值为 "631"。
    修改了 任务描述,区别为:
    001- select top 100 a.OrderSourceName '来源渠道',a.SKU '系统SKU',a.OrderSourceSKU '渠道SKU',a.RecommendedBrowseNodeName '上架类目路径',(select top 1 d.PathName from RB_Amazon_Product_KeyClassResult d (nolock) where d.CustomerID=a.CustomerID and d.SKU= a.SKU order by d.SerialNo asc ) '推荐类目路径',a.BusinessTeamName '销售小组',a.BusinessUserName '销售人员',a.AddAdminName '上架人员',c.BusinessTeamName '上架小组',a.PublishTime '刊登时间',a.msaleNum '近30天销量',case when a.OnShelfMode=1 then '一键上架'when a.OnShelfMode=2 then '草稿上架'when a.OnShelfMode=3 then '表格上架'when a.OnShelfMode=4 then '关联导入'when a.OnShelfMode=5 then '批量跟卖'when a.OnShelfMode=6 then '凤凰重刊'when a.OnShelfMode=7 then '复制上架'when a.OnShelfMode=8 then '智能刊登'else '' end as '上架方式',case when a.IsOffShelf=0 then '在线' else '下架' end '在线状态'from RB_Amazon_Product_Base a (nolock)left join RB_Admin b (nolock) on a.CustomerID=b.CustomerID and a.AddAdminID = b.IDleft join RB_BusinessTeam c (nolock) on c.CustomerID = b.CustomerID and c.id = b.BusinessTeamIDwhere a.CustomerID=1 and a.OrderSourceSKUID &gt;1and a.PublishTime &gt;='2022-01-01' and a.PublishTime &lt;'2022-05-01'
    001+ select top 100 a.OrderSourceName '来源渠道',a.SKU '系统SKU',a.OrderSourceSKU '渠道SKU',a.RecommendedBrowseNodeName '上架类目路径',(select top 1 d.PathName from RB_Amazon_Product_KeyClassResult d (nolock) where d.CustomerID=a.CustomerID and d.SKU= a.SKU order by d.SerialNo asc ) '推荐类目路径',a.BusinessTeamName '销售小组',a.BusinessUserName '销售人员',a.AddAdminName '上架人员',c.BusinessTeamName '上架小组',a.PublishTime '刊登时间',a.msaleNum '近30天销量',case when a.OnShelfMode=1 then '一键上架'when a.OnShelfMode=2 then '草稿上架'when a.OnShelfMode=3 then '表格上架'when a.OnShelfMode=4 then '关联导入'when a.OnShelfMode=5 then '批量跟卖'when a.OnShelfMode=6 then '凤凰重刊'when a.OnShelfMode=7 then '复制上架'when a.OnShelfMode=8 then '智能刊登'else '' end as '上架方式',case when a.IsOffShelf=0 then '在线' else '下架' end '在线状态'from RB_Amazon_Product_Base a (nolock)left join RB_Admin b (nolock) on a.CustomerID=b.CustomerID and a.AddAdminID = b.IDleft join RB_BusinessTeam c (nolock) on c.CustomerID = b.CustomerID and c.id = b.BusinessTeamIDwhere a.CustomerID=1 and a.OrderSourceSKUID &gt;1and a.PublishTime &gt;='2022-01-01' and a.PublishTime &lt;'2022-05-01'
    002-
    002+
    001- <p><br />select top 100 a.OrderSourceName '来源渠道'<br />,a.SKU '系统SKU'<br />,a.OrderSourceSKU '渠道SKU'<br />,a.RecommendedBrowseNodeName '上架类目路径'<br />,(select top 1 d.PathName from RB_Amazon_Product_KeyClassResult d (nolock) where d.CustomerID=a.CustomerID and d.SKU= a.SKU order by d.SerialNo asc ) '推荐类目路径'<br />,a.BusinessTeamName '销售小组'<br />,a.BusinessUserName '销售人员'<br />,a.AddAdminName '上架人员'<br />,c.BusinessTeamName '上架小组'<br />,a.PublishTime '刊登时间'<br />,a.msaleNum '近30天销量'<br />,case when a.OnShelfMode=1 then '一键上架'<br />when a.OnShelfMode=2 then '草稿上架'<br />when a.OnShelfMode=3 then '表格上架'<br />when a.OnShelfMode=4 then '关联导入'<br />when a.OnShelfMode=5 then '批量跟卖'<br />when a.OnShelfMode=6 then '凤凰重刊'<br />when a.OnShelfMode=7 then '复制上架'<br />when a.OnShelfMode=8 then '智能刊登'<br />else '' end as '上架方式',<br />case when a.IsOffShelf=0 then '在线' else '下架' end '在线状态'<br />from RB_Amazon_Product_Base a (nolock)<br />left join RB_Admin b (nolock) on a.CustomerID=b.CustomerID and a.AddAdminID = b.ID<br />left join RB_BusinessTeam c (nolock) on c.CustomerID = b.CustomerID and c.id = b.BusinessTeamID<br />where a.CustomerID=1 and a.OrderSourceSKUID &gt;1<br />and a.PublishTime &gt;='2022-01-01' and a.PublishTime &lt;'2022-05-01'<br /></p><div><br /></div>
    001+ <p><br />select top 100 a.OrderSourceName '来源渠道'<br />,a.SKU '系统SKU'<br />,a.OrderSourceSKU '渠道SKU'<br />,a.RecommendedBrowseNodeName '上架类目路径'<br />,(select top 1 d.PathName from RB_Amazon_Product_KeyClassResult d (nolock) where d.CustomerID=a.CustomerID and d.SKU= a.SKU order by d.SerialNo asc ) '推荐类目路径'<br />,a.BusinessTeamName '销售小组'<br />,a.BusinessUserName '销售人员'<br />,a.AddAdminName '上架人员'<br />,c.BusinessTeamName '上架小组'<br />,a.PublishTime '刊登时间'<br />,a.msaleNum '近30天销量'<br />,case when a.OnShelfMode=1 then '一键上架'<br />when a.OnShelfMode=2 then '草稿上架'<br />when a.OnShelfMode=3 then '表格上架'<br />when a.OnShelfMode=4 then '关联导入'<br />when a.OnShelfMode=5 then '批量跟卖'<br />when a.OnShelfMode=6 then '凤凰重刊'<br />when a.OnShelfMode=7 then '复制上架'<br />when a.OnShelfMode=8 then '智能刊登'<br />else '' end as '上架方式',<br />case when a.IsOffShelf=0 then '在线' else '下架' end '在线状态'<br />from RB_Amazon_Product_Base a (nolock)<br />left join RB_Admin b (nolock) on a.CustomerID=b.CustomerID and a.AddAdminID = b.ID<br />left join RB_BusinessTeam c (nolock) on c.CustomerID = b.CustomerID and c.id = b.BusinessTeamID<br />where a.CustomerID=1 and a.OrderSourceSKUID &gt;1<br />and a.PublishTime &gt;='2022-01-01' and a.PublishTime &lt;'2022-05-01'</p>
    002-
    002+ <div><br /></div>
  4. 2022-06-16 18:08:15, 由 罗友军 关闭。
    修改了 任务状态,旧值为 "done",新值为 "closed"。
    修改了 指派给 ,旧值为 "luoyoujun",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "luoyoujun"。
    修改了 关闭时间,旧值为 "0000-00-00 00:00:00",新值为 "2022-06-16 18:08:15"。
    修改了 关闭原因,旧值为 "",新值为 "done"。
所属迭代 【智汇】产品部 6月分支 版本(2022年)
所属模块 /
相关需求 历史刊登数据,实际上架类目与系统推荐类目数据导出
指派给 Closed 于 2022-06-16 18:08:15
任务类型 后端
任务标签 初始
开发组
任务状态 已关闭
进度 100%
优先级 P2
关键词
抄送给
由谁创建 罗友军 于 2022-05-20 15:19:53
由谁完成 魏鹏军 于 2022-05-23 09:16:52
由谁取消 暂无
由谁关闭 罗友军 于 2022-06-16 18:08:15
关闭原因 已完成
最后编辑 罗友军 于 2022-06-16 18:08:15
团队 最初预计 总计消耗 预计剩余
工时信息
最初预计 4工时
总计消耗 4工时
预计剩余 0工时
预计开始 0000-00-00
实际开始 2022-05-23
截止日期 0000-00-00