From 743c3446e369a72e46b83cd2a7bb34618d2234b1 Mon Sep 17 00:00:00 2001 From: gazebo Date: Wed, 24 Jul 2019 16:56:43 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E5=9C=A8updateOrderSkuOtherInfo=E4=B8=AD?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E5=95=86=E5=93=81=E6=B4=BB=E5=8A=A8=E4=BB=B7?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E4=BB=A5=E8=AE=A2=E5=8D=95=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E6=97=B6=E9=97=B4=EF=BC=88=E8=80=8C=E4=B8=8D=E6=98=AF=E5=BD=93?= =?UTF-8?q?=E5=89=8D=E6=97=B6=E9=97=B4=EF=BC=89=E4=B8=BA=E5=87=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxcallback/orderman/order.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxcallback/orderman/order.go b/business/jxcallback/orderman/order.go index 90010b9f1..9cf88624d 100644 --- a/business/jxcallback/orderman/order.go +++ b/business/jxcallback/orderman/order.go @@ -288,7 +288,7 @@ func (c *OrderManager) updateOrderSkuOtherInfo(order *model.GoodsOrder, db *dao. var skuPriceMap map[int64]*dao.PromotionStoreSku if len(skuIDMap) > 0 { - skuPriceMap, err = dao.GetPromotionSkuPriceMap(db, model.VendorIDJX, []int{jxStoreID}, jxutils.IntMap2List(skuIDMap), time.Now(), time.Now()) + skuPriceMap, err = dao.GetPromotionSkuPriceMap(db, model.VendorIDJX, []int{jxStoreID}, jxutils.IntMap2List(skuIDMap), order.OrderCreatedAt, order.OrderCreatedAt) if err != nil { globals.SugarLogger.Errorf("updateOrderSkuOtherInfo can not get sku promotion info for orderID:%s, error:%v", order.VendorOrderID, err) return err