diff --git a/business/jxstore/tempop/tempop.go b/business/jxstore/tempop/tempop.go index 501c873ce..0c4e3d907 100644 --- a/business/jxstore/tempop/tempop.go +++ b/business/jxstore/tempop/tempop.go @@ -1926,6 +1926,11 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) { if len(order.Skus) == 0 { if len(order2.Skus) > 0 { for _, v := range order2.Skus { + var shopPrice int64 + if storeSkus, _ := dao.GetStoresSkusInfo(dao.GetDB(), []int{order.StoreID}, []int{v.SkuID}); len(storeSkus) > 0 { + shopPrice = int64(storeSkus[0].Price) + v.ShopPrice = shopPrice + } dao.CreateEntity(dao.GetDB(), v) } }