From 3b5320a4d7114b98707deb70d76f50ec869ebc12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Thu, 18 Jun 2020 17:44:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E7=89=A9=E6=96=99=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxcallback/orderman/order.go | 1 - business/model/dao/store_sku.go | 2 -- business/partner/purchase/jx/localjx/order.go | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/business/jxcallback/orderman/order.go b/business/jxcallback/orderman/order.go index 8e836191b..2a2451ef3 100644 --- a/business/jxcallback/orderman/order.go +++ b/business/jxcallback/orderman/order.go @@ -355,7 +355,6 @@ func (c *OrderManager) updateOrderSkuOtherInfo(order *model.GoodsOrder, db *dao. return err } skumapper := storeSkuPriceAndWeight2Map(l) - fmt.Println("testl", utils.Format4Output(l, false)) for _, v := range orderSkus { v.VendorOrderID = order.VendorOrderID v.VendorID = order.VendorID diff --git a/business/model/dao/store_sku.go b/business/model/dao/store_sku.go index 8782f2e93..f9250a351 100644 --- a/business/model/dao/store_sku.go +++ b/business/model/dao/store_sku.go @@ -619,8 +619,6 @@ func GetStoreSkuPriceAndWeight(db *DaoDB, vendorStoreID string, vendorID int, ve } else { sqlParams = append(sqlParams, vendorSkuIDs) } - fmt.Println("testvendorsku", sql) - fmt.Println(sqlParams) err = GetRows(db, &l, sql, sqlParams...) return l, err } diff --git a/business/partner/purchase/jx/localjx/order.go b/business/partner/purchase/jx/localjx/order.go index 7614f9449..ee675ec6c 100644 --- a/business/partner/purchase/jx/localjx/order.go +++ b/business/partner/purchase/jx/localjx/order.go @@ -1423,7 +1423,7 @@ func GetMatterOrderStatus(ctx *jxcontext.Context, vendorOrderID string) (result var ( db = dao.GetDB() ) - order, err := partner.CurOrderManager.LoadOrder(vendorOrderID, model.VendorIDJX) + order, err := dao.GetSimpleOrder(db, vendorOrderID) if err != nil { return nil, err }