Browse Source

update 共富制度

tags/v1.4.5
DengBiao 2 years ago
parent
commit
7047a568ee
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      svc/public_platoon_relate_commission.go

+ 1
- 1
svc/public_platoon_relate_commission.go View File

@@ -84,7 +84,7 @@ func BatchGetPublicPlatoonRelateCommissionByOrder(engine *xorm.Engine, masterId
if remainder1 == 0 { if remainder1 == 0 {
fatherPosition = fatherPositions[len(fatherPositions)-1] fatherPosition = fatherPositions[len(fatherPositions)-1]
} else { } else {
fatherPosition = fatherPositions[len(fatherPositions)-remainder1]
fatherPosition = fatherPositions[remainder1-1]
} }
//} else { //} else {
// remainder2 := (userPublicPlatoonRelation.ReturnCommissionNum) % userPublicPlatoonSetting.SeveralRows // remainder2 := (userPublicPlatoonRelation.ReturnCommissionNum) % userPublicPlatoonSetting.SeveralRows


Loading…
Cancel
Save