This commit is contained in:
suyl
2021-07-28 14:21:22 +08:00
parent 10ca5606c2
commit 7b645cc5da

View File

@@ -1534,6 +1534,7 @@ func RefreshJdShopOrdersEarningPrice(ctx *jxcontext.Context, orderStartTime, ord
if err != nil {
return err
}
if results != nil {
for _, v := range results.BillList.Result {
if v.DueAmount != 0 {
order, err := partner.CurOrderManager.LoadOrder(utils.Int64ToStr(v.OrderID), model.VendorIDJD)
@@ -1553,6 +1554,7 @@ func RefreshJdShopOrdersEarningPrice(ctx *jxcontext.Context, orderStartTime, ord
}
}
}
}
return err
}