任务描述
暂无
需求描述

1.1. 背景


    背景:现有Lazada付款数据为采集下载,因稳定性需求部分调整为接口对接


1.2. 验收目标


            1. Lazada付款 新增2 个对接 ( 2个接口 )

              2. ERP增加数据表 RB_Report_Lazada_payment  ,RB_Report_Lazada_payment_deatil                      

              3. 添加自定义报告,对应按时间条件下载数据


2.   功能设计

2.1. 业务流程

无

2.2.1 操作路径

1.  自定义报告 ---Lazada付款报告

1.  自定义报告 ---Lazada付款明细报告


2.2.3 Lazada付款 新增2 个对接 ( 2个接口 )

2.2.3.1  功能点描述:

原设计:无


新增:

Open Platform (lazada.com) 

https://open.lazada.com/apps/doc/api?path=%2Ffinance%2Fpayout%2Fstatus%2Fget

  (RB_Lazada_Account_Fee )  

下载字段:

subtotal2": "51.20",

subtotal1": "51.20", 

"shipment_fee_credit": "51.20", 

"payout": "3962.41 EUR", 

"item_revenue": "0", 

"created_at": "2018-01-04 00:23:04", 

"other_revenue_total": "0", 

"fees_total": "51.20", 

"refunds": "0", 

"guarantee_deposit": "0", "

updated_at": "2018-01-04 00:23:04",

"fees_on_refunds_total": "0", 

"closing_balance": "3962.41", 

"paid": "0", 

"opening_balance": "0.00",

"statement_number": "EG100RT-20141228", 

"shipment_fee": "51.20"

逻辑1:每天下载前一天范围,持续下载 20 天范围数据。

逻辑2:根据这 7 个字段去除重复 。payout ,statement_number,closing_balance,created_at,updated_at,fees_total,opening_balance

 



Open Platform (lazada.com)

  (RB_Lazada_Account_Fee_deatil )  

逻辑1:每天下载前一天范围,持续下载 20 天范围数据。

逻辑2:根据这 8 个字段去除重复 order_no,transaction_date,amount,paid_status,transaction_type,transaction_number,statement,seller_sku

下载字段:

      "order_no": "123445666666",
      "transaction_date": "17 May 2016",
      "amount": "-0.62",
      "paid_status": "Not paid",
      "shipping_provider": "LEX",
      "WHT_included_in_amount": "Yes",
      "payment_ref_id": "paymentRefId",
      "lazada_sku": "Item test -123",
      "fee_type": "13",
      "transaction_type": "Payment Fee",
      "orderItem_no": "1666666",
      "orderItem_status": "orderItemStatus",
      "reference": "1340",
      "fee_name": "feeName",
      "shipping_speed": "shippingSpeed",
      "WHT_amount": "0.0112",
      "transaction_number": "SG103EF-1P9VK1A",
      "seller_sku": "sellerSKU",
      "statement": "11 May 2016 - 17 May 2016",
      "details": "details",
      "comment": "comment",
      "VAT_in_amount": "0.0672",
      "shipment_type": "Dropshipping"



2.2.3 ERP增加数据表 RB_Report_Lazada_payment  ,RB_Report_Lazada_payment_deatil     

2.2.3.1  功能点描述:

原设计:无


新增数据表:

RB_Report_Lazada_payment  ,RB_Report_Lazada_payment_deatil  ,



2.2.3 添加自定义报告,对应按时间条件下载数据   

2.2.3.1  功能点描述:

原设计:无


新增

增加 2份自定义报告,实现按业务时间,来源渠道进行下载。

1. LAZADA店铺付款报告(RB_Report_Lazada_payment)

2. LAZADA订单付款报告((RB_Report_Lazada_payment_deatil )

验收标准
暂无
历史记录  
  1. 2022-11-01 17:58:27, 由 林鸿贵 创建。
  2. 2022-11-02 13:55:22, 由 林鸿贵 添加备注。

  3. 2022-11-02 14:23:39, 由 林鸿贵 添加备注。
    https://alidocs.dingtalk.com/i/nodes/OBldywvrKxo89qvjeMpw8Qk2ngpNbLz4?iframeQuery=mode%3D2%26sheetId%3Dsheet1
  4. 2022-11-07 09:35:59, 由 林鸿贵 添加备注。

    测试环境:

    验证场景:



    1. Lazada付款 新增2 个对接 ( 2个接口 )

    2. ERP增加数据表


    RB_Report_Lazada_payment

    RB_Report_Lazada_payment_deatil



    2、自定义报告上线后由开发在线上配置SQL

  5. 2022-11-07 09:36:07, 由 林鸿贵 完成。
    修改了 总计消耗,旧值为 "0",新值为 "3"。
    修改了 实际完成,旧值为 "",新值为 "2022-11-07 09:36:01"。
    修改了 任务状态,旧值为 "wait",新值为 "done"。
    修改了 实际开始,旧值为 "0000-00-00 00:00:00",新值为 "2022-11-07 09:36:06"。
    修改了 预计剩余,旧值为 "9",新值为 "0"。
    修改了 由谁完成,旧值为 "",新值为 "linhonggui"。
  6. 2022-11-07 09:36:09, 由 林鸿贵 关闭。
    修改了 任务状态,旧值为 "done",新值为 "closed"。
    修改了 指派给 ,旧值为 "linhonggui",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "linhonggui"。
    修改了 关闭时间,旧值为 "0000-00-00 00:00:00",新值为 "2022-11-07 09:36:09"。
    修改了 关闭原因,旧值为 "",新值为 "done"。
  7. 2022-11-07 09:54:46, 由 林鸿贵 添加备注。

所属迭代 技术研发中心 11月第1版本(2022年)
所属模块 /
相关需求 Lazada付款接口对接
指派给 Closed 于 2022-11-07 09:36:09
任务类型 测试
任务标签 初始
开发组 百货开发组
任务状态 已关闭
进度 100%
优先级 P2
关键词
抄送给
由谁创建 林鸿贵 于 2022-11-01 17:58:27
由谁完成 林鸿贵 于 2022-11-07 09:36:01
由谁取消 暂无
由谁关闭 林鸿贵 于 2022-11-07 09:36:09
关闭原因 已完成
最后编辑 林鸿贵 于 2022-11-07 09:53:41
团队 最初预计 总计消耗 预计剩余
工时信息
最初预计 9工时
总计消耗 3工时
预计剩余 0工时
预计开始 0000-00-00
实际开始 2022-11-07
截止日期 2022-11-15