## 451平级收益处理需要判断自己和上一级的奖衔;
This commit is contained in:
parent
b4f29b3c3e
commit
1bf3753cc9
|
|
@ -1348,9 +1348,14 @@ public class BonusSettleRangeHandle extends BonusSettleHandle {
|
|||
|
||||
beforeRangeRatio = bdAwards.getRangeRatio();
|
||||
beforeAwardsValue = calAwardsValue;
|
||||
} else if (EAwards.GLOBAL_CHAIRMAN.getValue() == beforeAwardsValue && beforeSameAlgebra < 3
|
||||
&& EOrderType.DISCOUNT_ORDER.getValue() != saOrderExt.getOrderType()) {
|
||||
// 前一个等级是皇冠大使,需要有3代平级(五折专区不走平级收益)
|
||||
} else if (EAwards.GLOBAL_CHAIRMAN.getValue() == beforeAwardsValue
|
||||
&& EAwards.GLOBAL_CHAIRMAN.getValue() == calAwardsValue
|
||||
&& beforeSameAlgebra < 3
|
||||
&& (EOrderType.RETAIL_REGISTER.getValue() == saOrderExt.getOrderType()
|
||||
|| EOrderType.RETAIL_UPGRADE.getValue() == saOrderExt.getOrderType()
|
||||
|| EOrderType.RETAIL_REPURCHASE.getValue() == saOrderExt.getOrderType())
|
||||
) {
|
||||
// 前一个等级是皇冠大使 当前会员等级是皇冠大使,需要有3代平级(41、42、43有平级收益)
|
||||
sameBonusIncome = orderAchieve.multiply(BonusConstants.SAME_LEVEL_RATIO).multiply(bdAwards.getSameLevelRatio());
|
||||
beforeSameAlgebra += 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue