diff --git a/business/jxcallback/orderman/order.go b/business/jxcallback/orderman/order.go index 6b4f3ad07..e764717d8 100644 --- a/business/jxcallback/orderman/order.go +++ b/business/jxcallback/orderman/order.go @@ -718,13 +718,13 @@ func (c *OrderManager) RefreshHistoryOrdersEarningPrice(ctx *jxcontext.Context, }() for _, value := range order.Skus { if _, err = dao.UpdateEntity(db, value, "EarningPrice", "StoreSubID"); err != nil { - return "", err + return nil, err } } jxutils.RefreshOrderSkuRelated(order) num, err := dao.UpdateEntity(db, order, "EarningPrice") if err != nil { - return "", err + return nil, err } dao.Commit(db) retVal = num