任务描述
暂无
需求描述
业务背景

多变体刊登流程现在主体刊登子体自动刊登成功,字体没有根据规则

业务价值

提高效率,节约人力2H/人/周,影响人员:6人,故每个月节约人力:2/8*6*20=18.5人天/月 价值量:211100CNY/月

需求评级

优先级:P1


需求内容:https://alidocs.dingtalk.com/i/nodes/G1DKw2zgV2RYrlNMfwoGLyGdVB5r9YAn?utm_scene=team_space

验收标准
暂无
历史记录  
  1. 2023-08-10 18:27:10, 由 闫峰 创建。
  2. 2023-08-15 18:02:39, 由 闫峰 启动。
    修改了 实际开始,旧值为 "0000-00-00 00:00:00",新值为 "2023-08-15 18:02:35"。
    修改了 预计剩余,旧值为 "0",新值为 "0.01"。
    修改了 任务状态,旧值为 "wait",新值为 "doing"。
  3. 2023-08-15 19:36:16, 由 郭晗 编辑。
    修改了 任务状态,旧值为 "doing",新值为 "wait"。
    修改了 预计剩余,旧值为 "0.01",新值为 "0"。
    修改了 实际开始,旧值为 "2023-08-15 18:02:35",新值为 "0000-00-00 00:00:00"。
    SELECT
    id,customerId,sku,
    p.productState,p.min_sale_num,p.productGroupSku,p.qlength,p.qwidth,p.qheight,p.qlength+p.qwidth+p.qheight '三边和',p.weight,
    (p.qlength*p.qwidth*p.qheight)/10 '体积重',(p.qlength*p.qwidth*p.qheight)/10/p.weight*1000 '抛率',p.plug_relate_type '强电',p.with_battery '产品物流属性'
    FROM 
    ( SELECT
    rp.id,
    rp.product_name AS productName,
    rp.is_group AS isGroup,
    rp.customer_id AS customerId,
    rp.product_state AS productState,
    rp.sku AS sku,
    rp.product_group_sku AS productGroupSku,
    rp.last_supplier_price AS lastSupplierPrice,
    rp.last_buy_price AS lastBuyPrice,
    rp.market_price AS marketPrice,
    rp.last_buy_ship_fee AS lastBuyShipFee,
    rp.add_time AS addTime,
    rp.brand_id AS brandId,
    rp.net_weight AS netWeight,
    rp.gross_weight AS grossWeight,
    rp.pack_weight AS packWeight,
    rp.unit_name AS unitName,
    rp.unit_num AS unitNum,
    rp.product_color AS productColor,
    rp.product_size AS productSize,
    rp.is_main_group_sku AS isMainGroupSku,
    rp.product_property AS tort,
    rp.pack_length AS packLength,
    rp.pack_width AS packWidth,
    rp.pack_height AS packHeight,
    rp.length AS length,
    rp.width AS width,
    rp.height AS height,
    rp.plug_relate_type AS plug_relate_type,
    rp.with_battery AS with_battery,
    CASE

    WHEN rp.pack_length > 0 
    AND rp.pack_width > 0 
    AND rp.pack_height > 0 THEN
    rp.pack_length ELSE rp.length 
    END AS qlength,
    CASE

    WHEN rp.pack_length > 0 
    AND rp.pack_width > 0 
    AND rp.pack_height > 0 THEN
    rp.pack_width ELSE rp.width 
    END AS qwidth,
    CASE

    WHEN rp.pack_length > 0 
    AND rp.pack_width > 0 
    AND rp.pack_height > 0 THEN
    rp.pack_height ELSE rp.height 
    END AS qheight,
    CASE
    WHEN rp.pack_weight > 0 THEN
    rp.pack_weight ELSE rp.gross_weight 
    END AS weight,
    rp.min_sale_num 
    FROM
    rb_product rp
    JOIN rb_product_admin rpa ON rpa.customer_id=rp.customer_id AND rpa.sku=rp.sku AND rpa.check_status=1
    WHERE rp.customer_id = 1 
    AND rp.sku IN ('17136654', '17100935', '17012693', '17209163', '17128451', '17104396', '17104700', '17071563', '17098341', '17152101', '17148485', '17148501', '17137150', '17088156', '17126394', '17057503', '17011545', '16955615', '17148442', '17142350', '17064006', '17054647', '17098240', '17056620', '17152046', '17071119', '17039988', '17056131', '17103766', '17126395', '17184029', '17135618', '17209116', '17145804', '17139606', '17055827', '17118285', '17098281', '17055299', '17117947', '17079667', '16955539', '17056672', '17156512', '17073023', '17161905', '17118274', '17032401', '17093933', '17104180', '17079708', '17056654', '17006715', '17091530', '17088192', '17149801', '17126396', '17077087', '17095855', '17103979', '17042238', '16955610', '17176798', '17153013', '17142687', '17116911', '17087840', '17055398', '17128340', '17056661', '17006856')


    ) p 
    WHERE NOT EXISTS (
    SELECT 1 FROM rb_product_no_sale rpns WHERE p.customerId=rpns.customer_id AND p.sku=rpns.sku AND rpns.platform_id=45)
    --  AND p.productState IN ( 0,1,5 )#产品状态
    -- AND  (1<=p.min_sale_num  AND  p.min_sale_num<=500)#起批量
    -- AND (6<=p.qlength AND 6<=p.qwidth and 6<=p.qheight )  AND  ( p.qlength<=30 AND p.qwidth<=30 and p.qheight<=30)#单边长
    -- AND  (1<=(p.qlength + p.qwidth + p.qheight)  AND  (p.qlength + p.qwidth + p.qheight)<=1000)#三边和
    -- AND  (0.001<=p.weight   AND  p.weight<=50000)#包裹重
    -- AND  (0.01<= (p.qlength*p.qwidth*p.qheight)/10  AND (p.qlength*p.qwidth*p.qheight)/10<=1000)#体积重
    -- AND  (0.01<= (p.qlength*p.qwidth*p.qheight)/10/p.weight*1000   AND  (p.qlength*p.qwidth*p.qheight)/10/p.weight*1000<=1000)#抛率
    -- AND  p.plug_relate_type not in (0,1,2,3,4,5)#强电插头
    -- AND  p.with_battery IN (12)#产品物流属性

    ORDER BY id DESC LIMIT 500





  4. 2023-08-17 15:01:17, 由 闫峰 启动。
    修改了 实际开始,旧值为 "0000-00-00 00:00:00",新值为 "2023-08-17 15:01:11"。
    修改了 预计剩余,旧值为 "0",新值为 "0.01"。
    修改了 任务状态,旧值为 "wait",新值为 "doing"。
  5. 2023-08-17 15:02:21, 由 闫峰 添加备注。

    变体刊登 Is Primary Variant  Variant Group ID校验

  6. 2023-08-17 16:12:41, 由 闫峰 添加备注。
  7. 2023-08-17 18:03:38, 由 闫峰 添加备注。
  8. 2023-08-17 19:03:06, 由 郭晗 添加备注。
  9. 2023-08-17 21:40:31, 由 郭晗 添加备注。

    失败的返还刊登额度

  10. 2023-08-17 23:09:42, 由 闫峰 完成。
    修改了 总计消耗,旧值为 "0",新值为 "0.01"。
    修改了 实际完成,旧值为 "",新值为 "2023-08-17 23:09:39"。
    修改了 任务状态,旧值为 "doing",新值为 "done"。
    修改了 预计剩余,旧值为 "0.01",新值为 "0"。
    修改了 由谁完成,旧值为 "",新值为 "yanfeng"。
  11. 2023-08-24 22:02:10, 由 闫峰 关闭。
    修改了 任务状态,旧值为 "done",新值为 "closed"。
    修改了 指派给 ,旧值为 "yanfeng",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "yanfeng"。
    修改了 关闭时间,旧值为 "0000-00-00 00:00:00",新值为 "2023-08-24 22:02:10"。
    修改了 关闭原因,旧值为 "",新值为 "done"。
所属迭代 Walmart专项v2
所属模块 /
相关需求 IDS:沃尔玛智能刊登多变体刊登规则和禁售数据源
指派给 Closed 于 2023-08-24 22:02:10
任务类型 测试
任务标签 初始
开发组 百货开发组
任务状态 已关闭
进度 100%
优先级 P2
关键词
抄送给
由谁创建 闫峰 于 2023-08-10 18:27:10
由谁完成 闫峰 于 2023-08-17 23:09:39
由谁取消 暂无
由谁关闭 闫峰 于 2023-08-24 22:02:10
关闭原因 已完成
最后编辑 闫峰 于 2023-08-24 22:02:10
团队 最初预计 总计消耗 预计剩余
工时信息
最初预计 0工时
总计消耗 0.01工时
预计剩余 0工时
预计开始 2023-08-21
实际开始 2023-08-17
截止日期 2023-08-25