From 4103fd356ba26f6a1bf685ec0c34f1f7976acfab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Mon, 30 Nov 2020 09:05:52 +0800 Subject: [PATCH] a --- business/jxcallback/orderman/orderman_ext.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/business/jxcallback/orderman/orderman_ext.go b/business/jxcallback/orderman/orderman_ext.go index 860ef3963..8c3ac8dc0 100644 --- a/business/jxcallback/orderman/orderman_ext.go +++ b/business/jxcallback/orderman/orderman_ext.go @@ -1334,6 +1334,9 @@ func RefreshJdShopOrdersEarningPrice(ctx *jxcontext.Context, orderStartTime, ord for _, v := range results.BillList.Result { if v.DueAmount != 0 { order, _ := partner.CurOrderManager.LoadOrder(utils.Int64ToStr(v.OrderID), model.VendorIDJD) + if order == nil { + continue + } stores, _ := dao.GetStoreList(db, []int{jxutils.GetSaleStoreIDFromOrder(order)}, nil, nil, nil, "") if len(stores) > 0 { store := stores[0]