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