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}) } }