From 0b48fc2f9a7711d6a1d38d4783a6f6212b15e7c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Tue, 18 Aug 2020 15:07:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=8E=BB=E6=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/act/act.go | 3 --- business/partner/purchase/jx/localjx/order.go | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/business/jxstore/act/act.go b/business/jxstore/act/act.go index 79718e34e..8c6d0f295 100644 --- a/business/jxstore/act/act.go +++ b/business/jxstore/act/act.go @@ -1564,8 +1564,6 @@ func ChangeJxPriceByDiscountAct(ctx *jxcontext.Context) { } } }() - fmt.Println("33333333333333333333333333333333333333333333333333333333333333", actualStockOut) - fmt.Println("4444444444444444444444444444444444444444444444444444444444", shouldStockOut) //第一档时间内 if (time.Now().Hour() >= 10 && time.Now().Hour() < 20) || (time.Now().Hour() == 20 && time.Now().Minute() < 1) { pricePercentage = 0.02 @@ -1600,7 +1598,6 @@ func ChangeJxPriceByDiscountAct(ctx *jxcontext.Context) { actStoreSku.TrendType = model.TrendTypeNothing } actStoreSku.TrendPrcie = int(actualPrice) - fmt.Println("555555555555555555555555555555555555555555555555555555555", utils.Format4Output(actStoreSku, false)) if _, err = dao.UpdateEntity(db, actStoreSku, "TrendType", "TrendPrcie"); err != nil { dao.Rollback(db) } diff --git a/business/partner/purchase/jx/localjx/order.go b/business/partner/purchase/jx/localjx/order.go index 1c1ba3c5d..d431c9d9a 100644 --- a/business/partner/purchase/jx/localjx/order.go +++ b/business/partner/purchase/jx/localjx/order.go @@ -1889,6 +1889,7 @@ func CreateOrderByPriceDefend(ctx *jxcontext.Context) { if _, err := CreateOrder(ctx, jxOrder, v.AddressID, OrderCreateTypeNormal, 0, false); err == nil { err = SettleDiscountActByPriceDefend(ctx, v) } + // dao.GetStoresSkusInfo(db, []int{v.StoreID}, []int{v.SkuID}) } }