From 5f0616124174cb21ff17061a4150b94c2314c774 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Fri, 21 Aug 2020 09:57:21 +0800 Subject: [PATCH] ceshi --- business/jxstore/act/act.go | 1 + 1 file changed, 1 insertion(+) diff --git a/business/jxstore/act/act.go b/business/jxstore/act/act.go index 48344d6a4..718180362 100644 --- a/business/jxstore/act/act.go +++ b/business/jxstore/act/act.go @@ -424,6 +424,7 @@ func getActRule(vendorID, actType int) (actRule *tActRuleInfo, err error) { func checkDiscountValidation(vendorIDs []int, actType int, pricePercentage float64) (err error) { pricePercentageMin := int(math.Floor(pricePercentage)) pricePercentageMax := int(math.Ceil(pricePercentage)) + fmt.Println(pricePercentageMin, pricePercentageMax, pricePercentage) errList := errlist.New() for _, vendorID := range vendorIDs { actRule, err2 := getActRule(vendorID, actType)