任务描述
暂无
需求描述

背景:

shopee V2平台,标发后并非发货,需修改最后发货时间显示逻辑;


优化:

1、针对shopee V2平台,发货状态是“未发货”和“部分发货”的订单,即使标发了,依然显示剩余发货时间,只有在全部发货状态,才隐藏剩余发货时间;


更新后检查,订单添加时间在11.1 00:00  ~  11.16  24:00之间,剩余发货时间,是否正常显示,如果没有正常显示,则刷新下数据;


2、运输统计界面->批量重新计算运费,针对包裹体积的计算优化


3、谷仓接口会返回入库单的状态,和上架数量。 应该获取上架数量 和 入库单状态 作为入库单完结依据




当前的逻辑是只是判断了 接口这个字段如果有值就判断为收货完结 


相关字段:overseas_receiving_count



逻辑调整为:
首先判断入库单的状态:"receiving_status": 10,
"overseas_shelves_count" 这个字段有值 才能算收货上架了






验收标准
暂无
历史记录  
  1. 2022-11-21 14:32:52, 由 程伟 创建。
  2. 2022-11-21 18:43:04, 由 鞠智明 启动。
    修改了 实际开始,旧值为 "0000-00-00 00:00:00",新值为 "2022-11-21 18:43:01"。
    修改了 任务状态,旧值为 "wait",新值为 "doing"。
  3. 2022-11-21 19:06:29, 由 鞠智明 完成。
    修改了 总计消耗,旧值为 "0",新值为 "2"。
    修改了 实际完成,旧值为 "",新值为 "2022-11-21 18:43:05"。
    修改了 任务状态,旧值为 "doing",新值为 "done"。
    修改了 预计剩余,旧值为 "2",新值为 "0"。
    修改了 由谁完成,旧值为 "",新值为 "juzhiming"。

    开发报告

    1.入库单获取谷仓平台收货信息,接口字段调整,首先判断入库单状态ReceivingStatus =10,erp收货数量取值:Overseas_shelves_count,

    创建海外仓备库订单:

    生成包裹-同时同步海外仓

    操作自动完结-获取收货信息

    调用接口:

    POST https://uat-oms.eminxing.com/default/svc/web-service?service=getGRNDetail HTTP/1.1
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 4.0.30319.42000)
    Content-Type: text/xml; charset=utf-8
    SOAPAction: "http://www.example.org/Ec/callService"
    Host: uat-oms.eminxing.com
    Content-Length: 542

    <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><callService xmlns="http://www.example.org/Ec/"><paramsJson xmlns="">{"receiving_code":"RVG1149-221121-0010"}</paramsJson><appToken xmlns="">7013991264f611e98ea200e01b680258</appToken><appKey xmlns="">6ff50abf64f611e98ea200e01b680258</appKey><service xmlns="">getGRNDetail</service></callService></soap:Body></soap:Envelope>


    返回参数

    HTTP/1.1 200 OK
    Server: nginx
    Date: Mon, 21 Nov 2022 11:00:02 GMT
    Content-Type: text/xml; charset=utf-8
    Content-Length: 1759
    Connection: close
    X-Content-Type-Options: nosniff
    Referrer-Policy: origin
    X-Download-Options: noopen
    Strict-Transport-Security: max-age=31536000; i n c l u d eSubdomains; preload
    X-Permitted-Cross-Domain-Policies: master-only
    X-Frame-Options: SAMEORIGIN
    Content-Security-Policy: default-src 'self' data:uat-oms.eminxing.com  'unsafe-inline' 'unsafe-e v a l' mediastream:
    X-Content-Type-Options: : nosniff
    X-XSS-Protection: 1; mode=block

    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.example.org/Ec/"><SOAP-ENV:Body><ns1:callServiceResponse><response>{"ask":"Success","message":"Success","data":{"receiving_code":"RVG1149-221121-0010","reference_no":"JD69967","transit_type":0,"sm_code":null,"weight":10,"volume":0.001,"receiving_desc":"是的发多少","receiving_status":9,"receiving_shipping_type":1,"create_at":"2022-11-21 18:15:04","udpate_at":"2022-11-21 18:23:46","update_at":"2022-11-21 18:23:46","warehouse_code":"USEA","transit_warehouse_code":null,"overseas_box_total":null,"overseas_sku_total":null,"box_total_count":3,"sku_total_count":5,"tracking_number":"D6996711212sdsg","customs_type":null,"clearance_service":null,"export_company":null,"import_company":null,"collecting_service":null,"transit_box_total":3,"collecting_address":[],"eta_date":"2022-12-01 00:00:00","gc_putaway_time":null,"transfer_detail":[],"overseas_detail":[{"box_no":"1","product_sku":"TEST180717","fba_product_code":"","overseas_pre_count":2,"overseas_receiving_count":2,"overseas_shelves_count":0,"reference_box_no":"D69967-1","sn_list":[]},{"box_no":"2","product_sku":"TEST180717","fba_product_code":"","overseas_pre_count":2,"overseas_receiving_count":2,"overseas_shelves_count":0,"reference_box_no":"D69967-2","sn_list":[]},{"box_no":"3","product_sku":"TEST180717","fba_product_code":"","overseas_pre_count":1,"overseas_receiving_count":1,"overseas_shelves_count":0,"reference_box_no":"D69967-3","sn_list":[]}],"wp_code":"USEA-5","is_delay":0,"is_rollover":0,"booking_cabin_no":null,"tax_rebate_data_url":null,"customers_send_info":null}}</response></ns1:callServiceResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>



    当前入库单是刚收货,还没有上架,不能完结



    上架完成后

  4. 2022-11-22 10:05:18, 由 鞠智明 关闭。
    修改了 任务状态,旧值为 "done",新值为 "closed"。
    修改了 指派给 ,旧值为 "juzhiming",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "juzhiming"。
    修改了 关闭时间,旧值为 "0000-00-00 00:00:00",新值为 "2022-11-22 10:05:18"。
    修改了 关闭原因,旧值为 "",新值为 "done"。
所属迭代 技术研发中心 11月分支版本(2022年)
所属模块 /
相关需求 shopee剩余发货时间逻辑更改&运输统计优化&谷仓优化
指派给 Closed 于 2022-11-22 10:05:18
任务类型 后端
任务标签 初始
开发组
任务状态 已关闭
进度 100%
优先级 P2
关键词
抄送给
由谁创建 程伟 于 2022-11-21 14:32:52
由谁完成 鞠智明 于 2022-11-21 18:43:05
由谁取消 暂无
由谁关闭 鞠智明 于 2022-11-22 10:05:18
关闭原因 已完成
最后编辑 鞠智明 于 2022-11-22 10:05:18
团队 最初预计 总计消耗 预计剩余
工时信息
最初预计 2工时
总计消耗 2工时
预计剩余 0工时
预计开始 0000-00-00
实际开始 2022-11-21
截止日期 0000-00-00