a
This commit is contained in:
@@ -1334,6 +1334,9 @@ func RefreshJdShopOrdersEarningPrice(ctx *jxcontext.Context, orderStartTime, ord
|
|||||||
for _, v := range results.BillList.Result {
|
for _, v := range results.BillList.Result {
|
||||||
if v.DueAmount != 0 {
|
if v.DueAmount != 0 {
|
||||||
order, _ := partner.CurOrderManager.LoadOrder(utils.Int64ToStr(v.OrderID), model.VendorIDJD)
|
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, "")
|
stores, _ := dao.GetStoreList(db, []int{jxutils.GetSaleStoreIDFromOrder(order)}, nil, nil, nil, "")
|
||||||
if len(stores) > 0 {
|
if len(stores) > 0 {
|
||||||
store := stores[0]
|
store := stores[0]
|
||||||
|
|||||||
Reference in New Issue
Block a user