ForceUpdateVendorPrice找不到门店商品时,给出具体信息

This commit is contained in:
gazebo
2019-11-28 15:52:36 +08:00
parent 9c37dd84fc
commit 406b522d05

View File

@@ -981,7 +981,7 @@ func ForceUpdateVendorPrice(ctx *jxcontext.Context, vendorID int, actType int, s
storeSkuBindList = append(storeSkuBindList, storeSkuBind)
}
} else {
errList.AddErr(err)
errList.AddErr(fmt.Errorf("获取门店:%d商品:%d出错:%s", v.StoreID, v.SkuID, err))
}
}
if err = errList.GetErrListAsOne(); err != nil {