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]