任务描述
暂无
需求描述

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-10-28 14:32:12, 由 许瑞丰 创建。
  2. 2022-10-31 11:23:53, 由 何智军 完成。
    修改了 总计消耗,旧值为 "0",新值为 "9"。
    修改了 指派给 ,旧值为 "hezhijun",新值为 "xuruifeng"。
    修改了 实际完成,旧值为 "",新值为 "2022-10-31 10:42:03"。
    修改了 任务状态,旧值为 "wait",新值为 "done"。
    修改了 实际开始,旧值为 "0000-00-00 00:00:00",新值为 "2022-10-31 11:16:41"。
    修改了 预计剩余,旧值为 "9",新值为 "0"。
    修改了 由谁完成,旧值为 "",新值为 "hezhijun"。

    变动及影响

    1、Lazada支付费用正常下载

    提交记录


    自测报告

    增加Lazada支付费用新表RB_Lazada_PayoutStatus


    1、执行Lazada支付费用下载服务

    2、检查数据库表中是否有下载成功费用

    注:需求中的Lazada订单付款费用报告目前系统中已下载,参考表RB_Lazada_TransactionDetail

  3. 2022-11-18 09:18:02, 由 zhengqiao 关闭。
    修改了 任务状态,旧值为 "done",新值为 "closed"。
    修改了 指派给 ,旧值为 "xuruifeng",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "zhengqiao"。
    修改了 关闭时间,旧值为 "0000-00-00 00:00:00",新值为 "2022-11-18 09:18:02"。
    修改了 关闭原因,旧值为 "",新值为 "done"。
所属迭代 技术研发中心 11月第1版本(2022年)
所属模块 /
相关需求 Lazada付款接口对接
指派给 Closed 于 2022-11-18 09:18:02
任务类型 后端
任务标签 初始
开发组 多平台开发组
任务状态 已关闭
进度 100%
优先级 P2
关键词
抄送给
由谁创建 许瑞丰 于 2022-10-28 14:32:12
由谁完成 何智军 于 2022-10-31 10:42:03
由谁取消 暂无
由谁关闭 zhengqiao 于 2022-11-18 09:18:02
关闭原因 已完成
最后编辑 zhengqiao 于 2022-11-18 09:18:02
团队 最初预计 总计消耗 预计剩余
工时信息
最初预计 9工时
总计消耗 9工时
预计剩余 0工时
预计开始 2022-10-28
实际开始 2022-10-31
截止日期 2022-10-31