From 59b5fef684706fd27bcde78fbaeb8772121700e8 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Tue, 23 Aug 2022 20:18:11 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=85=B1=E5=AF=8C=E5=88=B6=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- svc/small_public_platoon_relate_commission.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svc/small_public_platoon_relate_commission.go b/svc/small_public_platoon_relate_commission.go index 154fea8..86e0996 100644 --- a/svc/small_public_platoon_relate_commission.go +++ b/svc/small_public_platoon_relate_commission.go @@ -80,7 +80,7 @@ func BatchSmallGetPublicPlatoonRelateCommission(engine *xorm.Engine, masterId st "key": "is_open", "value": 1, }) - if len(fatherPositions) > userPublicPlatoonSetting.SeveralTimes { + if len(fatherPositions) > userPublicPlatoonSetting.SeveralRows { remainder1 := (userPublicPlatoonRelation.ReturnCommissionNum) % userPublicPlatoonSetting.SeveralRows if remainder1 == 0 { fatherPosition = fatherPositions[userPublicPlatoonSetting.SeveralRows-1]