diff --git a/svc/public_platoon_relate_commission.go b/svc/public_platoon_relate_commission.go index b161a78..ba48222 100644 --- a/svc/public_platoon_relate_commission.go +++ b/svc/public_platoon_relate_commission.go @@ -58,8 +58,8 @@ func BatchGetPublicPlatoonRelateCommissionByOrder(engine *xorm.Engine, masterId var directPush = make(map[string]string) var selfRateList = make(map[string]string) var commonWealthSystem = make(map[string]string) - var pendingAmount = param.PendingAmount for _, coinId := range lvGrade.ReturnType { + var pendingAmount = param.PendingAmount if zhios_order_relate_utils.StrToInt(coinId) > 0 { //积分更换基数 pendingAmount = param.PendingIntegral } diff --git a/svc/reward_commission.go b/svc/reward_commission.go index c704a0a..924e985 100644 --- a/svc/reward_commission.go +++ b/svc/reward_commission.go @@ -508,8 +508,8 @@ func BatchGetPublicPlatoonRelateCommissionByGoods(engine *xorm.Engine, masterId var directPush = make(map[string]string) var selfRateList = make(map[string]string) var commonWealthSystem = make(map[string]string) - var pendingAmount = param.PendingAmount for _, coinId := range lvGrade.ReturnType { + var pendingAmount = param.PendingAmount if zhios_order_relate_utils.StrToInt(coinId) > 0 { //积分更换基数 pendingAmount = param.PendingIntegral }