From 8472e435766794b7e6c87a3c4022d618d48577c7 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Fri, 2 Dec 2022 11:05:21 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=B8=AD=E5=9F=BA=E7=A7=AF=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rule/integral_release_settlement.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rule/integral_release_settlement.go b/rule/integral_release_settlement.go index 21418ae..c355aa9 100644 --- a/rule/integral_release_settlement.go +++ b/rule/integral_release_settlement.go @@ -257,7 +257,7 @@ func CalcReleaseRate(integralReleaseBasic *model.IntegralReleaseBasic, ordDiscou } for _, value := range businessDiscountSet { - if value.Range[0] < ordDiscountRatio && ordDiscountRatio <= value.Range[1] { + if value.Range[0] <= ordDiscountRatio && ordDiscountRatio < value.Range[1] { releaseSpeed = value.ReleaseSpeed } }